[INFO] fetching crate mwc-web3 0.15.0... [INFO] testing mwc-web3-0.15.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate mwc-web3 0.15.0 into /workspace/builds/worker-1-tc2/source [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config [INFO] started tweaking crates.io crate mwc-web3 0.15.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate mwc-web3 0.15.0 [INFO] tweaked toml for crates.io crate mwc-web3 0.15.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate 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 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ffef9058748d583060e3f1766415d0f7f8460705b493b04fc80f6aaf0c21cfae [INFO] running `Command { std: "docker" "start" "-a" "ffef9058748d583060e3f1766415d0f7f8460705b493b04fc80f6aaf0c21cfae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffef9058748d583060e3f1766415d0f7f8460705b493b04fc80f6aaf0c21cfae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffef9058748d583060e3f1766415d0f7f8460705b493b04fc80f6aaf0c21cfae", kill_on_drop: false }` [INFO] [stdout] ffef9058748d583060e3f1766415d0f7f8460705b493b04fc80f6aaf0c21cfae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 53f14afa537b2530243c9400199814b02ca789a6a4c242071239d53ee01ac826 [INFO] running `Command { std: "docker" "start" "-a" "53f14afa537b2530243c9400199814b02ca789a6a4c242071239d53ee01ac826", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling cc v1.1.36 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling thiserror v1.0.68 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling typed-headers v0.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling secp256k1 v0.20.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.68 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling tokio-tls v0.3.1 [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 soketto v0.4.2 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling parity-scale-codec v1.3.7 [INFO] [stderr] Compiling ethbloom v0.10.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling jsonrpc-core v17.1.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.3 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling hyper v0.13.10 [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 ethabi v13.0.0 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling hyper-proxy v0.8.0 [INFO] [stderr] Compiling 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 56.05s [INFO] running `Command { std: "docker" "inspect" "53f14afa537b2530243c9400199814b02ca789a6a4c242071239d53ee01ac826", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53f14afa537b2530243c9400199814b02ca789a6a4c242071239d53ee01ac826", kill_on_drop: false }` [INFO] [stdout] 53f14afa537b2530243c9400199814b02ca789a6a4c242071239d53ee01ac826 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 27d3b50b7a571992c0c5c8ede341652cc94ebc810339b4db89cb0e5c75f5dafb [INFO] running `Command { std: "docker" "start" "-a" "27d3b50b7a571992c0c5c8ede341652cc94ebc810339b4db89cb0e5c75f5dafb", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.95 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.95 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [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] Compiling atty v0.2.14 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.45 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.95 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.95 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.95 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling js-sys v0.3.72 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.45 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.45 [INFO] [stderr] Compiling mwc-web3 v0.15.0 (/opt/rustwide/workdir) [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.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_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_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/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 hyper::server::conn::Http; [INFO] [stdout] | [INFO] [stdout] 1 + use mwc_web3::transports::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 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 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_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 hyper::server::conn::Http; [INFO] [stdout] | [INFO] [stdout] 1 + use mwc_web3::transports::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 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_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 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_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 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_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 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 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] [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 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/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 hyper::server::conn::Http; [INFO] [stdout] | [INFO] [stdout] 1 + use mwc_web3::transports::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 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/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 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 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 hyper::server::conn::Http; [INFO] [stdout] | [INFO] [stdout] 1 + use mwc_web3::transports::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/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 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 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] 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] 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 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_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 hyper::server::conn::Http; [INFO] [stdout] | [INFO] [stdout] 1 + use mwc_web3::transports::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/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 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/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 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] [stderr] error: could not compile `mwc-web3` (example "bench") due to 5 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/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/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] 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] [stderr] error: could not compile `mwc-web3` (example "transport_http") due to 3 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] [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 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 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 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 hyper::server::conn::Http; [INFO] [stdout] | [INFO] [stdout] 1 + use mwc_web3::transports::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 futures::future::Either; [INFO] [stdout] | [INFO] [stdout] 1 + use mwc_web3::transports::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 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] [stderr] error: could not compile `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/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] [stderr] error: could not compile `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 `mwc-web3` (example "transport_ws") due to 3 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mwc-web3` (example "transport_either") due to 8 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mwc-web3` (example "contract") 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 `mwc-web3` (example "contract_log_pubsub") due to 4 previous errors [INFO] [stderr] error: could not compile `mwc-web3` (example "contract_log_filter") due to 4 previous errors [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 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_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 hyper::server::conn::Http; [INFO] [stdout] | [INFO] [stdout] 3 + use mwc_web3::transports::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/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 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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mwc-web3` (example "contract_storage") due to 4 previous errors [INFO] [stdout] warning: function `random_doesnt_panic` is never used [INFO] [stdout] --> src/types/uint.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | fn random_doesnt_panic() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] running `Command { std: "docker" "inspect" "27d3b50b7a571992c0c5c8ede341652cc94ebc810339b4db89cb0e5c75f5dafb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27d3b50b7a571992c0c5c8ede341652cc94ebc810339b4db89cb0e5c75f5dafb", kill_on_drop: false }` [INFO] [stdout] 27d3b50b7a571992c0c5c8ede341652cc94ebc810339b4db89cb0e5c75f5dafb