[INFO] fetching crate mwc-web3 0.15.0... [INFO] checking mwc-web3-0.15.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate mwc-web3 0.15.0 into /workspace/builds/worker-2-tc2/source [INFO] removed /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mwc-web3 0.15.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 023170a92ac07387b8fc6a98cf43a8b433c9cfb9e626f181369c27898ce01671 [INFO] running `Command { std: "docker" "start" "-a" "023170a92ac07387b8fc6a98cf43a8b433c9cfb9e626f181369c27898ce01671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "023170a92ac07387b8fc6a98cf43a8b433c9cfb9e626f181369c27898ce01671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "023170a92ac07387b8fc6a98cf43a8b433c9cfb9e626f181369c27898ce01671", kill_on_drop: false }` [INFO] [stdout] 023170a92ac07387b8fc6a98cf43a8b433c9cfb9e626f181369c27898ce01671 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2312494b4c5ba6b02b1258bd763cbbe8893ef723c3a70f9878494df6cf721a65 [INFO] running `Command { std: "docker" "start" "-a" "2312494b4c5ba6b02b1258bd763cbbe8893ef723c3a70f9878494df6cf721a65", 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] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling cc v1.1.36 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking litemap v0.7.3 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.95 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.95 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling thiserror v1.0.68 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking tokio v1.41.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking secp256k1 v0.20.3 [INFO] [stderr] Checking typed-headers v0.2.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.95 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [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 openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling thiserror-impl v1.0.68 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.45 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.95 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.95 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking js-sys v0.3.72 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking soketto v0.4.2 [INFO] [stderr] Checking parity-scale-codec v1.3.7 [INFO] [stderr] Checking impl-serde v0.3.2 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.45 [INFO] [stderr] Checking ethbloom v0.10.0 [INFO] [stderr] Checking wasm-bindgen-test v0.3.45 [INFO] [stderr] Checking jsonrpc-core v17.1.0 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.3 [INFO] [stderr] Checking async-native-tls v0.3.3 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking primitive-types v0.8.0 [INFO] [stderr] Checking ethereum-types v0.10.0 [INFO] [stderr] Checking ethabi v13.0.0 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking hyper-proxy v0.8.0 [INFO] [stderr] Checking 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] 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_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/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/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_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.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/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/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] 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_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/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] [stderr] error: could not compile `mwc-web3` (example "contract") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 "transport_http") due to 3 previous errors [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_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] [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/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/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] [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_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] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mwc-web3` (example "pubsub") 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: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/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/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_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] [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 "contract_storage") due to 4 previous errors [INFO] [stderr] error: could not compile `mwc-web3` (example "transport_either") due to 8 previous errors [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] [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/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] [stderr] error: could not compile `mwc-web3` (example "bench") due to 5 previous errors [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] 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] 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: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 `mwc-web3` (example "transport_ws") due to 3 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" "2312494b4c5ba6b02b1258bd763cbbe8893ef723c3a70f9878494df6cf721a65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2312494b4c5ba6b02b1258bd763cbbe8893ef723c3a70f9878494df6cf721a65", kill_on_drop: false }` [INFO] [stdout] 2312494b4c5ba6b02b1258bd763cbbe8893ef723c3a70f9878494df6cf721a65