[INFO] fetching crate ic-web3 0.1.7... [INFO] checking ic-web3-0.1.7 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate ic-web3 0.1.7 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate ic-web3 0.1.7 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config [INFO] started tweaking crates.io crate ic-web3 0.1.7 [INFO] finished tweaking crates.io crate ic-web3 0.1.7 [INFO] tweaked toml for crates.io crate ic-web3 0.1.7 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate ic-web3 0.1.7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-6-tc1/source/examples/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `ic-web3` [INFO] [stderr] * `example` target `main` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-cdk-macros v0.6.8 [INFO] [stderr] Downloaded candid v0.8.2 [INFO] [stderr] Downloaded byte-slice-cast v1.2.1 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.32 [INFO] [stderr] Downloaded ic-cdk v0.6.8 [INFO] [stderr] Downloaded async-io v1.7.0 [INFO] [stderr] Downloaded ethbloom v0.12.1 [INFO] [stderr] Downloaded parity-scale-codec v3.1.5 [INFO] [stderr] Downloaded async-global-executor v2.2.0 [INFO] [stderr] Downloaded proc-macro-crate v1.2.0 [INFO] [stderr] Downloaded anyhow v1.0.59 [INFO] [stderr] Downloaded ic0 v0.18.6 [INFO] [stderr] Downloaded lalrpop v0.19.8 [INFO] [stderr] Downloaded parity-scale-codec-derive v3.1.3 [INFO] [stderr] Downloaded serde_tokenstream v0.1.3 [INFO] [stderr] Downloaded ethabi v17.1.0 [INFO] [stderr] Downloaded ethereum-types v0.13.1 [INFO] [stderr] Downloaded web3-async-native-tls v0.4.0 [INFO] [stderr] Downloaded lalrpop-util v0.19.8 [INFO] [stderr] Downloaded serde_bytes v0.11.7 [INFO] [stderr] Downloaded typed-arena v2.0.1 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.32 [INFO] [stderr] Downloaded sha3 v0.10.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d384893b10173adc5e4022820489d9a06959728fce268b40b1163696bfb0fb5 [INFO] running `Command { std: "docker" "start" "-a" "0d384893b10173adc5e4022820489d9a06959728fce268b40b1163696bfb0fb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d384893b10173adc5e4022820489d9a06959728fce268b40b1163696bfb0fb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d384893b10173adc5e4022820489d9a06959728fce268b40b1163696bfb0fb5", kill_on_drop: false }` [INFO] [stdout] 0d384893b10173adc5e4022820489d9a06959728fce268b40b1163696bfb0fb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75953b5ff722e042f107e9640a1223179db3d9aca9ca1afc6e3d37b87a9e91b7 [INFO] running `Command { std: "docker" "start" "-a" "75953b5ff722e042f107e9640a1223179db3d9aca9ca1afc6e3d37b87a9e91b7", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `ic-web3` [INFO] [stderr] * `example` target `main` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.127 [INFO] [stderr] Compiling serde_derive v1.0.142 [INFO] [stderr] Compiling serde v1.0.142 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.82 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lalrpop-util v0.19.8 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking wyz v0.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.10.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking rlp v0.5.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.82 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking byte-slice-cast v1.2.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.82 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.82 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling paste v1.0.8 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling candid_derive v0.5.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.82 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Checking uint v0.9.3 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking keccak v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking sha3 v0.10.2 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Checking ic0 v0.18.6 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking js-sys v0.3.59 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.32 [INFO] [stderr] Checking pin-project v1.0.11 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking impl-serde v0.3.2 [INFO] [stderr] Checking ethbloom v0.12.1 [INFO] [stderr] Checking serde_bytes v0.11.7 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling serde_tokenstream v0.1.3 [INFO] [stderr] Checking jsonrpc-core v18.0.0 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.32 [INFO] [stderr] Checking wasm-bindgen-test v0.3.32 [INFO] [stderr] Compiling proc-macro-crate v1.2.0 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Compiling parity-scale-codec-derive v3.1.3 [INFO] [stderr] Compiling candid v0.8.2 [INFO] [stderr] Compiling num_enum v0.5.7 [INFO] [stderr] Checking parity-scale-codec v3.1.5 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking primitive-types v0.11.1 [INFO] [stderr] Checking ethereum-types v0.13.1 [INFO] [stderr] Checking ethabi v17.1.0 [INFO] [stderr] Compiling ic-cdk-macros v0.6.8 [INFO] [stderr] Checking ic-cdk v0.6.8 [INFO] [stderr] Checking ic-web3 v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hyper` [INFO] [stdout] --> src/transports/ic_http.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | use hyper::body::HttpBody; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hyper` [INFO] [stdout] --> src/transports/ic_http.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | use hyper::service::{make_service_fn, service_fn}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::signing::SecretKey`, `crate::signing::SecretKeyRef` [INFO] [stdout] --> src/api/accounts.rs:439:19 [INFO] [stdout] | [INFO] [stdout] 439 | signing::{SecretKey, SecretKeyRef}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ no `SecretKeyRef` in `signing` [INFO] [stdout] | | [INFO] [stdout] | no `SecretKey` in `signing` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] libsecp256k1::SecretKey [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/transports/ic_http.rs:176:7 [INFO] [stdout] | [INFO] [stdout] 176 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arbitrary_precision` [INFO] [stdout] --> src/helpers.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | if cfg!(feature = "arbitrary_precision") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `arbitrary_precision` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `signing` [INFO] [stdout] --> src/contract/deploy.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "signing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `signing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `signing` [INFO] [stdout] --> src/contract/deploy.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(feature = "signing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `signing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `http` [INFO] [stdout] --> src/transports/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(any(feature = "http", feature = "http-rustls"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `http` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `http-rustls` [INFO] [stdout] --> src/transports/mod.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(any(feature = "http", feature = "http-rustls"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `http-rustls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `http` [INFO] [stdout] --> src/transports/mod.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(any(feature = "http", feature = "http-rustls"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `http` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `http-rustls` [INFO] [stdout] --> src/transports/mod.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(any(feature = "http", feature = "http-rustls"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `http-rustls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ws-tokio` [INFO] [stdout] --> src/transports/mod.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(any(feature = "ws-tokio", feature = "ws-async-std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `ws-tokio` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ws-async-std` [INFO] [stdout] --> src/transports/mod.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(any(feature = "ws-tokio", feature = "ws-async-std"))] [INFO] [stdout] | ^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"async-std"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `ws-async-std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ws-tokio` [INFO] [stdout] --> src/transports/mod.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(any(feature = "ws-tokio", feature = "ws-async-std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `ws-tokio` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ws-async-std` [INFO] [stdout] --> src/transports/mod.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(any(feature = "ws-tokio", feature = "ws-async-std"))] [INFO] [stdout] | ^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"async-std"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `ws-async-std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ipc-tokio` [INFO] [stdout] --> src/transports/mod.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "ipc-tokio")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `ipc-tokio` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ipc-tokio` [INFO] [stdout] --> src/transports/mod.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(feature = "ipc-tokio")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `ipc-tokio` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test` [INFO] [stdout] --> src/transports/mod.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(any(feature = "test", test))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `test` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hyper` [INFO] [stdout] --> src/transports/ic_http.rs:164:35 [INFO] [stdout] | [INFO] [stdout] 164 | assert_eq!(req.method(), &hyper::Method::POST); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `hyper` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::rpc::RemoteProcedure::Method` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 164 | assert_eq!(req.method(), &crate::rpc::RemoteProcedure); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 164 | assert_eq!(req.method(), &jsonrpc_core::RemoteProcedure); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hyper` [INFO] [stdout] --> src/transports/ic_http.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | let server = hyper::Server::bind(&addr.parse().unwrap()).serve(service); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secret_key_address` in module `signing` [INFO] [stdout] --> src/api/accounts.rs:465:38 [INFO] [stdout] | [INFO] [stdout] 465 | let from: Address = signing::secret_key_address(&key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `signing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secret_key_address` in module `signing` [INFO] [stdout] --> src/api/accounts.rs:590:41 [INFO] [stdout] | [INFO] [stdout] 590 | let address: Address = signing::secret_key_address(&key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `signing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hyper` [INFO] [stdout] --> src/transports/ic_http.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | Ok(hyper::Response::new(response.into())) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `hyper` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 156 + use crate::rpc::Response; [INFO] [stdout] | [INFO] [stdout] 156 + use jsonrpc_core::Response; [INFO] [stdout] | [INFO] [stdout] help: if you import `Response`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 173 - Ok(hyper::Response::new(response.into())) [INFO] [stdout] 173 + Ok(Response::new(response.into())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arbitrary_precision` [INFO] [stdout] --> src/helpers.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | if cfg!(feature = "arbitrary_precision") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `arbitrary_precision` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `signing` [INFO] [stdout] --> src/contract/deploy.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "signing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `signing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `signing` [INFO] [stdout] --> src/contract/deploy.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(feature = "signing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `signing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `http` [INFO] [stdout] --> src/transports/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(any(feature = "http", feature = "http-rustls"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `http` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `http-rustls` [INFO] [stdout] --> src/transports/mod.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(any(feature = "http", feature = "http-rustls"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `http-rustls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `http` [INFO] [stdout] --> src/transports/mod.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(any(feature = "http", feature = "http-rustls"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `http` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `http-rustls` [INFO] [stdout] --> src/transports/mod.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(any(feature = "http", feature = "http-rustls"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `http-rustls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ws-tokio` [INFO] [stdout] --> src/transports/mod.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(any(feature = "ws-tokio", feature = "ws-async-std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `ws-tokio` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ws-async-std` [INFO] [stdout] --> src/transports/mod.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(any(feature = "ws-tokio", feature = "ws-async-std"))] [INFO] [stdout] | ^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"async-std"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `ws-async-std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ws-tokio` [INFO] [stdout] --> src/transports/mod.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(any(feature = "ws-tokio", feature = "ws-async-std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `ws-tokio` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ws-async-std` [INFO] [stdout] --> src/transports/mod.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(any(feature = "ws-tokio", feature = "ws-async-std"))] [INFO] [stdout] | ^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"async-std"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `ws-async-std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ipc-tokio` [INFO] [stdout] --> src/transports/mod.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "ipc-tokio")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `ipc-tokio` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ipc-tokio` [INFO] [stdout] --> src/transports/mod.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(feature = "ipc-tokio")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `ipc-tokio` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test` [INFO] [stdout] --> src/transports/mod.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(any(feature = "test", test))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-native-tls`, `async-std`, `default`, `eip-1193`, `headers`, `js-sys`, `rand`, `soketto`, `tokio`, `tokio-stream`, `tokio-util`, `url`, `wasm`, `wasm-bindgen`, and `wasm-bindgen-futures` [INFO] [stdout] = help: consider adding `test` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/transports/ic_http.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Http` [INFO] [stdout] --> src/transports/ic_http.rs:191:22 [INFO] [stdout] | [INFO] [stdout] 191 | let client = Http::new(&format!("http://{}", addr)).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `Http` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/api/accounts.rs:474:50 [INFO] [stdout] | [INFO] [stdout] 474 | futures::executor::block_on(accounts.sign_transaction(tx, &key)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------- two arguments of type `ic::KeyInfo` and `u64` are missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/api/accounts.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | pub async fn sign_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | &self, [INFO] [stdout] 126 | tx: TransactionParameters, [INFO] [stdout] | ------------------------- [INFO] [stdout] 127 | from: String, [INFO] [stdout] | ------------ [INFO] [stdout] 128 | key_info: KeyInfo, [INFO] [stdout] | ----------------- [INFO] [stdout] 129 | chain_id: u64, [INFO] [stdout] | ------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 474 | futures::executor::block_on(accounts.sign_transaction(tx, &key, /* ic::KeyInfo */, /* u64 */)) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/api/accounts.rs:505:46 [INFO] [stdout] | [INFO] [stdout] 505 | futures::executor::block_on(accounts.sign_transaction( [INFO] [stdout] | ______________________________________________^^^^^^^^^^^^^^^^- [INFO] [stdout] 506 | | TransactionParameters { [INFO] [stdout] 507 | | nonce: Some(0.into()), [INFO] [stdout] 508 | | gas_price: Some(1.into()), [INFO] [stdout] ... | [INFO] [stdout] 512 | | &key, [INFO] [stdout] 513 | | )) [INFO] [stdout] | |_________- two arguments of type `ic::KeyInfo` and `u64` are missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/api/accounts.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | pub async fn sign_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | &self, [INFO] [stdout] 126 | tx: TransactionParameters, [INFO] [stdout] | ------------------------- [INFO] [stdout] 127 | from: String, [INFO] [stdout] | ------------ [INFO] [stdout] 128 | key_info: KeyInfo, [INFO] [stdout] | ----------------- [INFO] [stdout] 129 | chain_id: u64, [INFO] [stdout] | ------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 505 ~ futures::executor::block_on(accounts.sign_transaction(TransactionParameters { [INFO] [stdout] 506 + nonce: Some(0.into()), [INFO] [stdout] 507 + gas_price: Some(1.into()), [INFO] [stdout] 508 + chain_id: Some(42), [INFO] [stdout] 509 + ..Default::default() [INFO] [stdout] 510 ~ }, &key, /* ic::KeyInfo */, /* u64 */)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sign` found for struct `accounts::Accounts` in the current scope [INFO] [stdout] --> src/api/accounts.rs:548:31 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Accounts { [INFO] [stdout] | ---------------------- method `sign` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 548 | let signed = accounts.sign("Some data", SecretKeyRef::new(&key)); [INFO] [stdout] | ^^^^ method not found in `Accounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for struct `accounts::Accounts` in the current scope [INFO] [stdout] --> src/api/accounts.rs:576:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Accounts { [INFO] [stdout] | ---------------------- method `recover` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 576 | accounts.recover(recovery).unwrap(), [INFO] [stdout] | ^^^^^^^ method not found in `Accounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sign` found for struct `accounts::Accounts` in the current scope [INFO] [stdout] --> src/api/accounts.rs:594:31 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Accounts { [INFO] [stdout] | ---------------------- method `sign` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 594 | let signed = accounts.sign("rust-web3 rocks!", &key); [INFO] [stdout] | ^^^^ method not found in `Accounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for struct `accounts::Accounts` in the current scope [INFO] [stdout] --> src/api/accounts.rs:595:34 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Accounts { [INFO] [stdout] | ---------------------- method `recover` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 595 | let recovered = accounts.recover(&signed).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Accounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/api/accounts.rs:598:59 [INFO] [stdout] | [INFO] [stdout] 598 | let signed = futures::executor::block_on(accounts.sign_transaction( [INFO] [stdout] | ___________________________________________________________^^^^^^^^^^^^^^^^- [INFO] [stdout] 599 | | TransactionParameters { [INFO] [stdout] 600 | | nonce: Some(0.into()), [INFO] [stdout] 601 | | gas_price: Some(1.into()), [INFO] [stdout] ... | [INFO] [stdout] 605 | | &key, [INFO] [stdout] 606 | | )) [INFO] [stdout] | |_________- two arguments of type `ic::KeyInfo` and `u64` are missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/api/accounts.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | pub async fn sign_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | &self, [INFO] [stdout] 126 | tx: TransactionParameters, [INFO] [stdout] | ------------------------- [INFO] [stdout] 127 | from: String, [INFO] [stdout] | ------------ [INFO] [stdout] 128 | key_info: KeyInfo, [INFO] [stdout] | ----------------- [INFO] [stdout] 129 | chain_id: u64, [INFO] [stdout] | ------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 598 ~ let signed = futures::executor::block_on(accounts.sign_transaction(TransactionParameters { [INFO] [stdout] 599 + nonce: Some(0.into()), [INFO] [stdout] 600 + gas_price: Some(1.into()), [INFO] [stdout] 601 + chain_id: Some(42), [INFO] [stdout] 602 + ..Default::default() [INFO] [stdout] 603 ~ }, &key, /* ic::KeyInfo */, /* u64 */)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for struct `accounts::Accounts` in the current scope [INFO] [stdout] --> src/api/accounts.rs:608:34 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Accounts { [INFO] [stdout] | ---------------------- method `recover` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 608 | let recovered = accounts.recover(&signed).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Accounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/api/accounts.rs:637:25 [INFO] [stdout] | [INFO] [stdout] 637 | let signed = tx.sign(key, 1); [INFO] [stdout] | ^^^^ - argument #2 of type `ic::KeyInfo` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/api/accounts.rs:390:22 [INFO] [stdout] | [INFO] [stdout] 390 | pub async fn sign(self, from: String, key_info: KeyInfo, chain_id: u64) -> SignedTransaction { [INFO] [stdout] | ^^^^ ------------ ----------------- ------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 637 | let signed = tx.sign(key, /* ic::KeyInfo */, 1); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `impl futures::Future` [INFO] [stdout] --> src/api/accounts.rs:648:9 [INFO] [stdout] | [INFO] [stdout] 648 | assert_eq!(signed, expected); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | impl futures::Future [INFO] [stdout] | SignedTransaction [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `impl futures::Future` doesn't implement `Debug` [INFO] [stdout] --> src/api/accounts.rs:648:9 [INFO] [stdout] | [INFO] [stdout] 648 | assert_eq!(signed, expected); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `impl futures::Future` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `impl futures::Future` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hyper` [INFO] [stdout] --> src/transports/ic_http.rs:158:26 [INFO] [stdout] | [INFO] [stdout] 158 | async fn server(req: hyper::Request) -> hyper::Result> { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hyper` [INFO] [stdout] --> src/transports/ic_http.rs:158:41 [INFO] [stdout] | [INFO] [stdout] 158 | async fn server(req: hyper::Request) -> hyper::Result> { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hyper` [INFO] [stdout] --> src/transports/ic_http.rs:158:58 [INFO] [stdout] | [INFO] [stdout] 158 | async fn server(req: hyper::Request) -> hyper::Result> { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hyper` [INFO] [stdout] --> src/transports/ic_http.rs:158:72 [INFO] [stdout] | [INFO] [stdout] 158 | async fn server(req: hyper::Request) -> hyper::Result> { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hyper` [INFO] [stdout] --> src/transports/ic_http.rs:158:88 [INFO] [stdout] | [INFO] [stdout] 158 | async fn server(req: hyper::Request) -> hyper::Result> { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hyper` [INFO] [stdout] --> src/transports/ic_http.rs:183:59 [INFO] [stdout] | [INFO] [stdout] 183 | let service = make_service_fn(|_| async { Ok::<_, hyper::Error>(service_fn(server)) }); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0369, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ic-web3` (lib test) due to 29 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "75953b5ff722e042f107e9640a1223179db3d9aca9ca1afc6e3d37b87a9e91b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75953b5ff722e042f107e9640a1223179db3d9aca9ca1afc6e3d37b87a9e91b7", kill_on_drop: false }` [INFO] [stdout] 75953b5ff722e042f107e9640a1223179db3d9aca9ca1afc6e3d37b87a9e91b7