[INFO] fetching crate starknet-contract 0.1.0... [INFO] building starknet-contract-0.1.0 against try#f41a2ab7b0d9462073425dd6c04abbeb4805cb77 for pr-97334-2 [INFO] extracting crate starknet-contract 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate starknet-contract 0.1.0 on toolchain f41a2ab7b0d9462073425dd6c04abbeb4805cb77 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate starknet-contract 0.1.0 [INFO] finished tweaking crates.io crate starknet-contract 0.1.0 [INFO] tweaked toml for crates.io crate starknet-contract 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e9d01c2891b93fa96beaf71a0bd417fa23fdf772ca949081f333ae204d77efb [INFO] running `Command { std: "docker" "start" "-a" "0e9d01c2891b93fa96beaf71a0bd417fa23fdf772ca949081f333ae204d77efb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e9d01c2891b93fa96beaf71a0bd417fa23fdf772ca949081f333ae204d77efb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e9d01c2891b93fa96beaf71a0bd417fa23fdf772ca949081f333ae204d77efb", kill_on_drop: false }` [INFO] [stdout] 0e9d01c2891b93fa96beaf71a0bd417fa23fdf772ca949081f333ae204d77efb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aba14273902c5454437619a2fc3b1dba3887b54ddbd96d434ab0639de263fa52 [INFO] running `Command { std: "docker" "start" "-a" "aba14273902c5454437619a2fc3b1dba3887b54ddbd96d434ab0639de263fa52", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling tokio v1.24.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling nom8 v0.2.0 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling toml_datetime v0.5.1 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling paste v1.0.11 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling byte-slice-cast v1.2.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling ark-std v0.3.0 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling ark-serialize v0.3.0 [INFO] [stderr] Compiling toml_edit v0.18.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling unicode-bidi v0.3.10 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.0 [INFO] [stderr] Compiling keccak v0.1.3 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling async-trait v0.1.63 [INFO] [stderr] Compiling sha3 v0.10.6 [INFO] [stderr] Compiling ipnet v2.7.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.2 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling zeroize_derive v1.3.3 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-asm v0.3.0 [INFO] [stderr] Compiling ark-ff-macros v0.3.0 [INFO] [stderr] Compiling auto_impl v0.5.0 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling zeroize v1.5.7 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling rfc6979 v0.1.0 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling pest v2.5.4 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling hyper-rustls v0.23.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling ark-ff v0.3.0 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling ethbloom v0.11.1 [INFO] [stderr] Compiling reqwest v0.11.14 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling primitive-types v0.10.1 [INFO] [stderr] Compiling ethereum-types v0.12.1 [INFO] [stderr] Compiling starknet-ff v0.1.0 [INFO] [stderr] Compiling starknet-crypto v0.1.0 [INFO] [stderr] Compiling starknet-core v0.2.0 [INFO] [stderr] Compiling starknet-providers v0.2.0 [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:252:44 [INFO] [stdout] | [INFO] [stdout] 252 | ) -> Result { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 253 | | let mut request_url = self.extend_feeder_gateway_url("get_code"); [INFO] [stdout] 254 | | request_url [INFO] [stdout] 255 | | .query_pairs_mut() [INFO] [stdout] ... | [INFO] [stdout] 271 | | } [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'a> Fn(&'a str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 254 | / request_url [INFO] [stdout] 255 | | .query_pairs_mut() [INFO] [stdout] 256 | | .append_pair("contractAddress", &format!("{:#x}", contract_address)); [INFO] [stdout] | |________________________________________________________________________________- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 261 | .await? [INFO] [stdout] | ^^^^^^ await occurs here, with the value maybe used later [INFO] [stdout] ... [INFO] [stdout] 272 | } [INFO] [stdout] | - the value is later dropped here [INFO] [stdout] = note: required for the cast from `[async block@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:252:44: 272:6]` to the object type `dyn Future> + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:278:48 [INFO] [stdout] | [INFO] [stdout] 278 | ) -> Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 279 | | let mut request_url = self.extend_feeder_gateway_url("get_full_contract"); [INFO] [stdout] 280 | | request_url [INFO] [stdout] 281 | | .query_pairs_mut() [INFO] [stdout] ... | [INFO] [stdout] 293 | | } [INFO] [stdout] 294 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'a> Fn(&'a str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 280 | / request_url [INFO] [stdout] 281 | | .query_pairs_mut() [INFO] [stdout] 282 | | .append_pair("contractAddress", &format!("{:#x}", contract_address)); [INFO] [stdout] | |________________________________________________________________________________- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 287 | .await? [INFO] [stdout] | ^^^^^^ await occurs here, with the value maybe used later [INFO] [stdout] ... [INFO] [stdout] 294 | } [INFO] [stdout] | - the value is later dropped here [INFO] [stdout] = note: required for the cast from `[async block@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:278:48: 294:6]` to the object type `dyn Future> + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:300:44 [INFO] [stdout] | [INFO] [stdout] 300 | ) -> Result { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 301 | | let mut request_url = self.extend_feeder_gateway_url("get_class_hash_at"); [INFO] [stdout] 302 | | request_url [INFO] [stdout] 303 | | .query_pairs_mut() [INFO] [stdout] ... | [INFO] [stdout] 315 | | } [INFO] [stdout] 316 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'a> Fn(&'a str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 302 | / request_url [INFO] [stdout] 303 | | .query_pairs_mut() [INFO] [stdout] 304 | | .append_pair("contractAddress", &format!("{:#x}", contract_address)); [INFO] [stdout] | |________________________________________________________________________________- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 309 | .await? [INFO] [stdout] | ^^^^^^ await occurs here, with the value maybe used later [INFO] [stdout] ... [INFO] [stdout] 316 | } [INFO] [stdout] | - the value is later dropped here [INFO] [stdout] = note: required for the cast from `[async block@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:300:44: 316:6]` to the object type `dyn Future> + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:321:48 [INFO] [stdout] | [INFO] [stdout] 321 | ) -> Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 322 | | let mut request_url = self.extend_feeder_gateway_url("get_class_by_hash"); [INFO] [stdout] 323 | | request_url [INFO] [stdout] 324 | | .query_pairs_mut() [INFO] [stdout] ... | [INFO] [stdout] 335 | | } [INFO] [stdout] 336 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'a> Fn(&'a str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:329:13 [INFO] [stdout] | [INFO] [stdout] 323 | / request_url [INFO] [stdout] 324 | | .query_pairs_mut() [INFO] [stdout] 325 | | .append_pair("classHash", &format!("{:#x}", class_hash)); [INFO] [stdout] | |____________________________________________________________________- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 329 | .await? [INFO] [stdout] | ^^^^^^ await occurs here, with the value maybe used later [INFO] [stdout] ... [INFO] [stdout] 336 | } [INFO] [stdout] | - the value is later dropped here [INFO] [stdout] = note: required for the cast from `[async block@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:321:48: 336:6]` to the object type `dyn Future> + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:343:44 [INFO] [stdout] | [INFO] [stdout] 343 | ) -> Result { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 344 | | let mut request_url = self.extend_feeder_gateway_url("get_storage_at"); [INFO] [stdout] 345 | | request_url [INFO] [stdout] 346 | | .query_pairs_mut() [INFO] [stdout] ... | [INFO] [stdout] 359 | | } [INFO] [stdout] 360 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'a> Fn(&'a str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 345 | / request_url [INFO] [stdout] 346 | | .query_pairs_mut() [INFO] [stdout] 347 | | .append_pair("contractAddress", &format!("{:#x}", contract_address)) [INFO] [stdout] 348 | | .append_pair("key", &key.to_string()); [INFO] [stdout] | |_________________________________________________- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 353 | .await? [INFO] [stdout] | ^^^^^^ await occurs here, with the value maybe used later [INFO] [stdout] ... [INFO] [stdout] 360 | } [INFO] [stdout] | - the value is later dropped here [INFO] [stdout] = note: required for the cast from `[async block@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:343:44: 360:6]` to the object type `dyn Future> + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:365:53 [INFO] [stdout] | [INFO] [stdout] 365 | ) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 366 | | let mut request_url = self.extend_feeder_gateway_url("get_transaction_status"); [INFO] [stdout] 367 | | request_url [INFO] [stdout] 368 | | .query_pairs_mut() [INFO] [stdout] ... | [INFO] [stdout] 379 | | } [INFO] [stdout] 380 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'a> Fn(&'a str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 367 | / request_url [INFO] [stdout] 368 | | .query_pairs_mut() [INFO] [stdout] 369 | | .append_pair("transactionHash", &format!("{:#x}", transaction_hash)); [INFO] [stdout] | |________________________________________________________________________________- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 373 | .await? [INFO] [stdout] | ^^^^^^ await occurs here, with the value maybe used later [INFO] [stdout] ... [INFO] [stdout] 380 | } [INFO] [stdout] | - the value is later dropped here [INFO] [stdout] = note: required for the cast from `[async block@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:365:53: 380:6]` to the object type `dyn Future> + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:385:47 [INFO] [stdout] | [INFO] [stdout] 385 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 386 | | let mut request_url = self.extend_feeder_gateway_url("get_transaction"); [INFO] [stdout] 387 | | request_url [INFO] [stdout] 388 | | .query_pairs_mut() [INFO] [stdout] ... | [INFO] [stdout] 399 | | } [INFO] [stdout] 400 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'a> Fn(&'a str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 387 | / request_url [INFO] [stdout] 388 | | .query_pairs_mut() [INFO] [stdout] 389 | | .append_pair("transactionHash", &format!("{:#x}", transaction_hash)); [INFO] [stdout] | |________________________________________________________________________________- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 393 | .await? [INFO] [stdout] | ^^^^^^ await occurs here, with the value maybe used later [INFO] [stdout] ... [INFO] [stdout] 400 | } [INFO] [stdout] | - the value is later dropped here [INFO] [stdout] = note: required for the cast from `[async block@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:385:47: 400:6]` to the object type `dyn Future> + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:405:50 [INFO] [stdout] | [INFO] [stdout] 405 | ) -> Result { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 406 | | let mut request_url = self.extend_feeder_gateway_url("get_transaction_receipt"); [INFO] [stdout] 407 | | request_url [INFO] [stdout] 408 | | .query_pairs_mut() [INFO] [stdout] ... | [INFO] [stdout] 419 | | } [INFO] [stdout] 420 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'a> Fn(&'a str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:413:13 [INFO] [stdout] | [INFO] [stdout] 407 | / request_url [INFO] [stdout] 408 | | .query_pairs_mut() [INFO] [stdout] 409 | | .append_pair("transactionHash", &format!("{:#x}", transaction_hash)); [INFO] [stdout] | |________________________________________________________________________________- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 413 | .await? [INFO] [stdout] | ^^^^^^ await occurs here, with the value maybe used later [INFO] [stdout] ... [INFO] [stdout] 420 | } [INFO] [stdout] | - the value is later dropped here [INFO] [stdout] = note: required for the cast from `[async block@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:405:50: 420:6]` to the object type `dyn Future> + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:425:48 [INFO] [stdout] | [INFO] [stdout] 425 | ) -> Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 426 | | let mut request_url = self.extend_feeder_gateway_url("get_transaction_trace"); [INFO] [stdout] 427 | | request_url [INFO] [stdout] 428 | | .query_pairs_mut() [INFO] [stdout] ... | [INFO] [stdout] 436 | | } [INFO] [stdout] 437 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'a> Fn(&'a str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:431:49 [INFO] [stdout] | [INFO] [stdout] 427 | / request_url [INFO] [stdout] 428 | | .query_pairs_mut() [INFO] [stdout] 429 | | .append_pair("transactionHash", &format!("{:#x}", transaction_hash)); [INFO] [stdout] | |________________________________________________________________________________- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 430 | [INFO] [stdout] 431 | match self.send_get_request(request_url).await? { [INFO] [stdout] | ^^^^^^ await occurs here, with the value maybe used later [INFO] [stdout] ... [INFO] [stdout] 437 | } [INFO] [stdout] | - the value is later dropped here [INFO] [stdout] = note: required for the cast from `[async block@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:425:48: 437:6]` to the object type `dyn Future> + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:439:98 [INFO] [stdout] | [INFO] [stdout] 439 | async fn get_block_hash_by_id(&self, block_number: u64) -> Result { [INFO] [stdout] | __________________________________________________________________________________________________^ [INFO] [stdout] 440 | | let mut request_url = self.extend_feeder_gateway_url("get_block_hash_by_id"); [INFO] [stdout] 441 | | request_url [INFO] [stdout] 442 | | .query_pairs_mut() [INFO] [stdout] ... | [INFO] [stdout] 453 | | } [INFO] [stdout] 454 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'a> Fn(&'a str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 441 | / request_url [INFO] [stdout] 442 | | .query_pairs_mut() [INFO] [stdout] 443 | | .append_pair("blockId", &block_number.to_string()); [INFO] [stdout] | |______________________________________________________________- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 447 | .await? [INFO] [stdout] | ^^^^^^ await occurs here, with the value maybe used later [INFO] [stdout] ... [INFO] [stdout] 454 | } [INFO] [stdout] | - the value is later dropped here [INFO] [stdout] = note: required for the cast from `[async block@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:439:98: 454:6]` to the object type `dyn Future> + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:456:96 [INFO] [stdout] | [INFO] [stdout] 456 | async fn get_block_id_by_hash(&self, block_hash: FieldElement) -> Result { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 457 | | let mut request_url = self.extend_feeder_gateway_url("get_block_id_by_hash"); [INFO] [stdout] 458 | | request_url [INFO] [stdout] 459 | | .query_pairs_mut() [INFO] [stdout] ... | [INFO] [stdout] 470 | | } [INFO] [stdout] 471 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'a> Fn(&'a str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:464:13 [INFO] [stdout] | [INFO] [stdout] 458 | / request_url [INFO] [stdout] 459 | | .query_pairs_mut() [INFO] [stdout] 460 | | .append_pair("blockHash", &format!("{:#x}", block_hash)); [INFO] [stdout] | |____________________________________________________________________- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 464 | .await? [INFO] [stdout] | ^^^^^^ await occurs here, with the value maybe used later [INFO] [stdout] ... [INFO] [stdout] 471 | } [INFO] [stdout] | - the value is later dropped here [INFO] [stdout] = note: required for the cast from `[async block@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:456:96: 471:6]` to the object type `dyn Future> + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:476:44 [INFO] [stdout] | [INFO] [stdout] 476 | ) -> Result { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 477 | | let mut request_url = self.extend_feeder_gateway_url("get_transaction_hash_by_id"); [INFO] [stdout] 478 | | request_url [INFO] [stdout] 479 | | .query_pairs_mut() [INFO] [stdout] ... | [INFO] [stdout] 490 | | } [INFO] [stdout] 491 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'a> Fn(&'a str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:484:13 [INFO] [stdout] | [INFO] [stdout] 478 | / request_url [INFO] [stdout] 479 | | .query_pairs_mut() [INFO] [stdout] 480 | | .append_pair("transactionId", &transaction_number.to_string()); [INFO] [stdout] | |__________________________________________________________________________- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 484 | .await? [INFO] [stdout] | ^^^^^^ await occurs here, with the value maybe used later [INFO] [stdout] ... [INFO] [stdout] 491 | } [INFO] [stdout] | - the value is later dropped here [INFO] [stdout] = note: required for the cast from `[async block@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:476:44: 491:6]` to the object type `dyn Future> + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:496:35 [INFO] [stdout] | [INFO] [stdout] 496 | ) -> Result { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 497 | | let mut request_url = self.extend_feeder_gateway_url("get_transaction_id_by_hash"); [INFO] [stdout] 498 | | request_url [INFO] [stdout] 499 | | .query_pairs_mut() [INFO] [stdout] ... | [INFO] [stdout] 510 | | } [INFO] [stdout] 511 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'a> Fn(&'a str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:504:13 [INFO] [stdout] | [INFO] [stdout] 498 | / request_url [INFO] [stdout] 499 | | .query_pairs_mut() [INFO] [stdout] 500 | | .append_pair("transactionHash", &format!("{:#x}", transaction_hash)); [INFO] [stdout] | |________________________________________________________________________________- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 504 | .await? [INFO] [stdout] | ^^^^^^ await occurs here, with the value maybe used later [INFO] [stdout] ... [INFO] [stdout] 511 | } [INFO] [stdout] | - the value is later dropped here [INFO] [stdout] = note: required for the cast from `[async block@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/starknet-providers-0.2.0/src/sequencer_gateway.rs:496:35: 511:6]` to the object type `dyn Future> + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `starknet-providers` due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "aba14273902c5454437619a2fc3b1dba3887b54ddbd96d434ab0639de263fa52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aba14273902c5454437619a2fc3b1dba3887b54ddbd96d434ab0639de263fa52", kill_on_drop: false }` [INFO] [stdout] aba14273902c5454437619a2fc3b1dba3887b54ddbd96d434ab0639de263fa52