[INFO] fetching crate cs_mwc-web3 0.15.0... [INFO] testing cs_mwc-web3-0.15.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate cs_mwc-web3 0.15.0 into /workspace/builds/worker-3-tc2/source [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config [INFO] started tweaking crates.io crate cs_mwc-web3 0.15.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate cs_mwc-web3 0.15.0 [INFO] tweaked toml for crates.io crate cs_mwc-web3 0.15.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cs_mwc-web3 0.15.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cs_mwc-web3 0.15.0 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66fdd2856b44ff335486a43a7462c37bd164662e3cd908490805cb5731bcf49d [INFO] running `Command { std: "docker" "start" "-a" "66fdd2856b44ff335486a43a7462c37bd164662e3cd908490805cb5731bcf49d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66fdd2856b44ff335486a43a7462c37bd164662e3cd908490805cb5731bcf49d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66fdd2856b44ff335486a43a7462c37bd164662e3cd908490805cb5731bcf49d", kill_on_drop: false }` [INFO] [stdout] 66fdd2856b44ff335486a43a7462c37bd164662e3cd908490805cb5731bcf49d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6950439e2aab6e3508e2df73ae8e4cc24b593a04f9f810bb11438338e1507cb [INFO] running `Command { std: "docker" "start" "-a" "d6950439e2aab6e3508e2df73ae8e4cc24b593a04f9f810bb11438338e1507cb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling typed-headers v0.2.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling secp256k1 v0.20.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling parity-scale-codec v1.3.7 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling ethbloom v0.10.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling jsonrpc-core v17.1.0 [INFO] [stderr] Compiling soketto v0.4.2 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling primitive-types v0.8.0 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling ethereum-types v0.10.0 [INFO] [stderr] Compiling ethabi v13.0.0 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling hyper-proxy v0.8.0 [INFO] [stderr] Compiling cs_mwc-web3 v0.15.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BigEndianHash` [INFO] [stdout] --> src/types/uint.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | pub use ethereum_types::{BigEndianHash, Bloom as H2048, H128, H160, H256, H512, H520, H64, U128, U256, U64}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.77s [INFO] running `Command { std: "docker" "inspect" "d6950439e2aab6e3508e2df73ae8e4cc24b593a04f9f810bb11438338e1507cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6950439e2aab6e3508e2df73ae8e4cc24b593a04f9f810bb11438338e1507cb", kill_on_drop: false }` [INFO] [stdout] d6950439e2aab6e3508e2df73ae8e4cc24b593a04f9f810bb11438338e1507cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a125a41e7d902291f2489885c3bd2914b09571150af2e6c618b189b03b4626aa [INFO] running `Command { std: "docker" "start" "-a" "a125a41e7d902291f2489885c3bd2914b09571150af2e6c618b189b03b4626aa", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.103 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling wasm-bindgen v0.2.103 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.103 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.53 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.103 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.103 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling js-sys v0.3.80 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling parity-scale-codec v1.3.7 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling ethbloom v0.10.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling jsonrpc-core v17.1.0 [INFO] [stderr] Compiling soketto v0.4.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.53 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.53 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling primitive-types v0.8.0 [INFO] [stderr] Compiling ethereum-types v0.10.0 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling ethabi v13.0.0 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling hyper-proxy v0.8.0 [INFO] [stderr] Compiling cs_mwc-web3 v0.15.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BigEndianHash` [INFO] [stdout] --> src/types/uint.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | pub use ethereum_types::{BigEndianHash, Bloom as H2048, H128, H160, H256, H512, H520, H64, U128, U256, U64}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/helpers.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | pub mod tests { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/contract_log_pubsub.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use web3::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/contract_log_filter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use web3::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/contract.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use web3::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/pubsub.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use web3::futures::{future, StreamExt}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/contract_storage.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use web3::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/contract_log_filter.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | async fn main() -> web3::contract::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::contract; [INFO] [stdout] | [INFO] [stdout] help: if you import `contract`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 10 - async fn main() -> web3::contract::Result<()> { [INFO] [stdout] 10 + async fn main() -> contract::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/contract_log_filter.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | let web3 = web3::Web3::new(web3::transports::Http::new("http://localhost:8545")?); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::Web3; [INFO] [stdout] | [INFO] [stdout] help: if you import `Web3`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 12 - let web3 = web3::Web3::new(web3::transports::Http::new("http://localhost:8545")?); [INFO] [stdout] 12 + let web3 = Web3::new(web3::transports::Http::new("http://localhost:8545")?); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/contract_log_filter.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | let web3 = web3::Web3::new(web3::transports::Http::new("http://localhost:8545")?); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::transports::Http; [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::server::conn::Http; [INFO] [stdout] | [INFO] [stdout] help: if you import `Http`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 12 - let web3 = web3::Web3::new(web3::transports::Http::new("http://localhost:8545")?); [INFO] [stdout] 12 + let web3 = web3::Web3::new(Http::new("http://localhost:8545")?); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/transport_ws.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | let transport = web3::transports::WebSocket::new("ws://localhost:8546").await?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::transports::WebSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `WebSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 6 - let transport = web3::transports::WebSocket::new("ws://localhost:8546").await?; [INFO] [stdout] 6 + let transport = WebSocket::new("ws://localhost:8546").await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/contract.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | async fn main() -> web3::contract::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::contract; [INFO] [stdout] | [INFO] [stdout] help: if you import `contract`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - async fn main() -> web3::contract::Result<()> { [INFO] [stdout] 8 + async fn main() -> contract::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/transport_ws.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | let web3 = web3::Web3::new(transport); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::Web3; [INFO] [stdout] | [INFO] [stdout] help: if you import `Web3`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 7 - let web3 = web3::Web3::new(transport); [INFO] [stdout] 7 + let web3 = Web3::new(transport); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/contract.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | let http = web3::transports::Http::new("http://localhost:8545")?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::transports::Http; [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::server::conn::Http; [INFO] [stdout] | [INFO] [stdout] help: if you import `Http`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 10 - let http = web3::transports::Http::new("http://localhost:8545")?; [INFO] [stdout] 10 + let http = Http::new("http://localhost:8545")?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/contract.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | let web3 = web3::Web3::new(http); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::Web3; [INFO] [stdout] | [INFO] [stdout] help: if you import `Web3`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 11 - let web3 = web3::Web3::new(http); [INFO] [stdout] 11 + let web3 = Web3::new(http); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/transport_http.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | let transport = web3::transports::Http::new("http://localhost:8545")?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::transports::Http; [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::server::conn::Http; [INFO] [stdout] | [INFO] [stdout] help: if you import `Http`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 6 - let transport = web3::transports::Http::new("http://localhost:8545")?; [INFO] [stdout] 6 + let transport = Http::new("http://localhost:8545")?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/transport_http.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | let web3 = web3::Web3::new(transport); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::Web3; [INFO] [stdout] | [INFO] [stdout] help: if you import `Web3`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 7 - let web3 = web3::Web3::new(transport); [INFO] [stdout] 7 + let web3 = Web3::new(transport); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/transport_either.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | pub type Transport = web3::transports::Either; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::transports; [INFO] [stdout] | [INFO] [stdout] help: if you import `transports`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - pub type Transport = web3::transports::Either; [INFO] [stdout] 3 + pub type Transport = transports::Either; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/transport_either.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | pub type Transport = web3::transports::Either; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::transports; [INFO] [stdout] | [INFO] [stdout] help: if you import `transports`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - pub type Transport = web3::transports::Either; [INFO] [stdout] 3 + pub type Transport = web3::transports::Either; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/transport_either.rs:3:76 [INFO] [stdout] | [INFO] [stdout] 3 | pub type Transport = web3::transports::Either; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::transports; [INFO] [stdout] | [INFO] [stdout] help: if you import `transports`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - pub type Transport = web3::transports::Either; [INFO] [stdout] 3 + pub type Transport = web3::transports::Either; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/transport_either.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | let transport = web3::transports::Http::new("http://localhost:8545")?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::transports::Http; [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::server::conn::Http; [INFO] [stdout] | [INFO] [stdout] help: if you import `Http`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - let transport = web3::transports::Http::new("http://localhost:8545")?; [INFO] [stdout] 8 + let transport = Http::new("http://localhost:8545")?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/transport_either.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | run(web3::transports::Either::Right(transport)).await [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::transports::Either; [INFO] [stdout] | [INFO] [stdout] 1 + use futures::future::Either; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio_util::either::Either; [INFO] [stdout] | [INFO] [stdout] help: if you import `Either`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 10 - run(web3::transports::Either::Right(transport)).await [INFO] [stdout] 10 + run(Either::Right(transport)).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/transport_either.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | let web3 = web3::Web3::new(transport); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::Web3; [INFO] [stdout] | [INFO] [stdout] help: if you import `Web3`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 14 - let web3 = web3::Web3::new(transport); [INFO] [stdout] 14 + let web3 = Web3::new(transport); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/transport_batch.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | let http = web3::transports::Http::new("http://localhost:8545")?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::transports::Http; [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::server::conn::Http; [INFO] [stdout] | [INFO] [stdout] help: if you import `Http`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - let http = web3::transports::Http::new("http://localhost:8545")?; [INFO] [stdout] 4 + let http = Http::new("http://localhost:8545")?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/contract_storage.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | async fn main() -> web3::contract::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 3 + use cs_mwc_web3::contract; [INFO] [stdout] | [INFO] [stdout] help: if you import `contract`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 10 - async fn main() -> web3::contract::Result<()> { [INFO] [stdout] 10 + async fn main() -> contract::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/transport_batch.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | let web3 = web3::Web3::new(web3::transports::Batch::new(http)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::Web3; [INFO] [stdout] | [INFO] [stdout] help: if you import `Web3`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - let web3 = web3::Web3::new(web3::transports::Batch::new(http)); [INFO] [stdout] 5 + let web3 = Web3::new(web3::transports::Batch::new(http)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/contract_storage.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let transport = web3::transports::Http::new("http://localhost:8545")?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use cs_mwc_web3::transports::Http; [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::server::conn::Http; [INFO] [stdout] | [INFO] [stdout] help: if you import `Http`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 12 - let transport = web3::transports::Http::new("http://localhost:8545")?; [INFO] [stdout] 12 + let transport = Http::new("http://localhost:8545")?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/transport_batch.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | let web3 = web3::Web3::new(web3::transports::Batch::new(http)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::transports::Batch; [INFO] [stdout] | [INFO] [stdout] help: if you import `Batch`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - let web3 = web3::Web3::new(web3::transports::Batch::new(http)); [INFO] [stdout] 5 + let web3 = web3::Web3::new(Batch::new(http)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/contract_storage.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | let web3 = web3::Web3::new(transport); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use cs_mwc_web3::Web3; [INFO] [stdout] | [INFO] [stdout] help: if you import `Web3`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 13 - let web3 = web3::Web3::new(transport); [INFO] [stdout] 13 + let web3 = Web3::new(transport); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/transport_ws.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() -> web3::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/bench.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | let http = web3::transports::Http::new("http://localhost:8545/")?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::transports::Http; [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::server::conn::Http; [INFO] [stdout] | [INFO] [stdout] help: if you import `Http`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 12 - let http = web3::transports::Http::new("http://localhost:8545/")?; [INFO] [stdout] 12 + let http = Http::new("http://localhost:8545/")?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/bench.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | let ipc = web3::transports::WebSocket::new("./jsonrpc.ipc").await?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::transports::WebSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `WebSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 15 - let ipc = web3::transports::WebSocket::new("./jsonrpc.ipc").await?; [INFO] [stdout] 15 + let ipc = WebSocket::new("./jsonrpc.ipc").await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/bench.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | let web3 = web3::Web3::new(transport); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::Web3; [INFO] [stdout] | [INFO] [stdout] help: if you import `Web3`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 27 - let web3 = web3::Web3::new(transport); [INFO] [stdout] 27 + let web3 = Web3::new(transport); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/transport_batch.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | async fn main() -> web3::Result { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/transport_either.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() -> web3::Result { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/transport_either.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | async fn run(transport: Transport) -> web3::Result { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cs_mwc-web3` (example "transport_ws") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/pubsub.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | let ws = web3::transports::WebSocket::new("ws://localhost:8546").await?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::transports::WebSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `WebSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - let ws = web3::transports::WebSocket::new("ws://localhost:8546").await?; [INFO] [stdout] 5 + let ws = WebSocket::new("ws://localhost:8546").await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/pubsub.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | let web3 = web3::Web3::new(ws.clone()); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::Web3; [INFO] [stdout] | [INFO] [stdout] help: if you import `Web3`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 6 - let web3 = web3::Web3::new(ws.clone()); [INFO] [stdout] 6 + let web3 = Web3::new(ws.clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/transport_http.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() -> web3::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cs_mwc-web3` (example "transport_batch") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/bench.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | async fn main() -> web3::Result { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/bench.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | fn bench(id: &str, transport: T, max: usize) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/contract_log_pubsub.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | async fn main() -> web3::contract::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::contract; [INFO] [stdout] | [INFO] [stdout] help: if you import `contract`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 10 - async fn main() -> web3::contract::Result<()> { [INFO] [stdout] 10 + async fn main() -> contract::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/contract_log_pubsub.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | let web3 = web3::Web3::new(web3::transports::WebSocket::new("ws://localhost:8546").await?); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::Web3; [INFO] [stdout] | [INFO] [stdout] help: if you import `Web3`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 12 - let web3 = web3::Web3::new(web3::transports::WebSocket::new("ws://localhost:8546").await?); [INFO] [stdout] 12 + let web3 = Web3::new(web3::transports::WebSocket::new("ws://localhost:8546").await?); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/contract_log_pubsub.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | let web3 = web3::Web3::new(web3::transports::WebSocket::new("ws://localhost:8546").await?); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cs_mwc_web3::transports::WebSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `WebSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 12 - let web3 = web3::Web3::new(web3::transports::WebSocket::new("ws://localhost:8546").await?); [INFO] [stdout] 12 + let web3 = web3::Web3::new(WebSocket::new("ws://localhost:8546").await?); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cs_mwc-web3` (example "transport_either") due to 8 previous errors [INFO] [stderr] error: could not compile `cs_mwc-web3` (example "contract_log_filter") due to 4 previous errors [INFO] [stderr] error: could not compile `cs_mwc-web3` (example "bench") due to 5 previous errors [INFO] [stderr] error: could not compile `cs_mwc-web3` (example "contract") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web3` [INFO] [stdout] --> examples/pubsub.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() -> web3::Result { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `web3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web3`, use `cargo add web3` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cs_mwc-web3` (example "transport_http") due to 3 previous errors [INFO] [stderr] error: could not compile `cs_mwc-web3` (example "contract_storage") due to 4 previous errors [INFO] [stderr] error: could not compile `cs_mwc-web3` (example "pubsub") due to 4 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cs_mwc-web3` (example "contract_log_pubsub") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "a125a41e7d902291f2489885c3bd2914b09571150af2e6c618b189b03b4626aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a125a41e7d902291f2489885c3bd2914b09571150af2e6c618b189b03b4626aa", kill_on_drop: false }` [INFO] [stdout] a125a41e7d902291f2489885c3bd2914b09571150af2e6c618b189b03b4626aa