[INFO] cloning repository https://github.com/maceip/dmap-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maceip/dmap-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaceip%2Fdmap-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaceip%2Fdmap-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2b3500ecd790a9ac08a2c670a5199383ef698f5 [INFO] building maceip/dmap-rs against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaceip%2Fdmap-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maceip/dmap-rs on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maceip/dmap-rs [INFO] finished tweaking git repo https://github.com/maceip/dmap-rs [INFO] tweaked toml for git repo https://github.com/maceip/dmap-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/maceip/dmap-rs 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ebnf v0.1.4 [INFO] [stderr] Downloaded parse-hyperlinks v0.23.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66f18fa565f5e71ee81e7f8c701a541ba07314fccdf91b8b1cd94fa11f5885e6 [INFO] running `Command { std: "docker" "start" "-a" "66f18fa565f5e71ee81e7f8c701a541ba07314fccdf91b8b1cd94fa11f5885e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66f18fa565f5e71ee81e7f8c701a541ba07314fccdf91b8b1cd94fa11f5885e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66f18fa565f5e71ee81e7f8c701a541ba07314fccdf91b8b1cd94fa11f5885e6", kill_on_drop: false }` [INFO] [stdout] 66f18fa565f5e71ee81e7f8c701a541ba07314fccdf91b8b1cd94fa11f5885e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 778abe75026d87997ce8991aefbc34c8354e9ff76be64c7d3f7139c848cf9f90 [INFO] running `Command { std: "docker" "start" "-a" "778abe75026d87997ce8991aefbc34c8354e9ff76be64c7d3f7139c848cf9f90", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling subtle v2.6.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling byte-slice-cast v1.2.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cc v1.0.100 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling camino v1.1.7 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling auto_impl v1.2.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling k256 v0.13.3 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling strum v0.26.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling const-hex v1.12.0 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling winnow v0.6.13 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.12 [INFO] [stderr] Compiling scale-info-derive v2.11.3 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling toml_edit v0.22.14 [INFO] [stderr] Compiling num_enum v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling parity-scale-codec v3.6.12 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling impl-codec v0.6.0 [INFO] [stderr] Compiling scale-info v2.11.3 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling ethbloom v0.13.0 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling toml v0.8.14 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling js-sys v0.3.69 [INFO] [stderr] Compiling ethereum-types v0.14.1 [INFO] [stderr] Compiling open-fastrlp v0.1.4 [INFO] [stderr] Compiling ethabi v18.0.0 [INFO] [stderr] Compiling hyper v0.14.29 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ethers-core v2.0.14 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling coins-core v0.8.7 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling gloo-timers v0.2.6 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling send_wrapper v0.4.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling hashers v1.0.1 [INFO] [stderr] Compiling scrypt v0.10.0 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling jsonwebtoken v8.3.0 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling coins-bip32 v0.8.7 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling enr v0.10.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling eth-keystore v0.5.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling ethers-providers v2.0.14 [INFO] [stderr] Compiling ethers-contract-abigen v2.0.14 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.13 [INFO] [stderr] Compiling coins-bip39 v0.8.7 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling data-encoding-macro v0.1.15 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling ethers-signers v2.0.14 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling ethers-etherscan v2.0.14 [INFO] [stderr] Compiling futures-locks v0.7.1 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling multihash v0.19.1 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling ethers-addressbook v2.0.14 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling cid v0.11.1 [INFO] [stderr] Compiling parse-hyperlinks v0.23.4 [INFO] [stderr] Compiling ebnf v0.1.4 [INFO] [stderr] Compiling ethers-contract-derive v2.0.14 [INFO] [stderr] Compiling ethers-contract v2.0.14 [INFO] [stderr] Compiling ethers-middleware v2.0.14 [INFO] [stderr] Compiling ethers v2.0.14 [INFO] [stderr] Compiling dmap-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `!`, `(`, `+`, `,`, `::`, `:`, `<`, `=`, or `>`, found `}` [INFO] [stdout] --> src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DmapLib { [INFO] [stdout] | ------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub parser: OnceCell [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ethers::utils::hexlify` [INFO] [stdout] --> src/main.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use ethers::utils::{hex, hexlify, keccak256}; [INFO] [stdout] | ^^^^^^^ no `hexlify` in `utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `try_join` in `tokio` [INFO] [stdout] --> src/main.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 63 | let (meta, data) = tokio::try_join!( [INFO] [stdout] | ^^^^^^^^ could not find `try_join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `grammar` [INFO] [stdout] --> src/main.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | let rules = grammar::Grammars::W3C.get_rules(self.grammar).expect("Invalid grammar"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `grammar` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `grammar`, use `cargo add grammar` 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 `grammar` [INFO] [stdout] --> src/main.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 43 | self.parser.get_or_init(|| grammar::Parser::new(rules)); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `grammar` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `grammar`, use `cargo add grammar` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Keccak256` [INFO] [stdout] --> src/main.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use sha3::{Digest, Keccak256}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Node`, `RegexExtKind`, and `SymbolKind` [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use ebnf::{Node, SymbolKind, RegexExtKind}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `dmap_rs` [INFO] [stdout] --> src/main.rs:179:2 [INFO] [stdout] | [INFO] [stdout] 179 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Provider: PrehashSigner<(Signature, RecoveryId)>` is not satisfied [INFO] [stdout] --> src/main.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | pub signer: Wallet>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `PrehashSigner<(ecdsa::Signature, RecoveryId)>` is not implemented for `ethers::ethers_providers::Provider` [INFO] [stdout] = help: the following other types implement trait `PrehashSigner`: [INFO] [stdout] `SigningKey` implements `PrehashSigner` [INFO] [stdout] `ecdsa::signing::SigningKey` implements `PrehashSigner<(ecdsa::Signature, RecoveryId)>` [INFO] [stdout] `ecdsa::signing::SigningKey` implements `PrehashSigner>` [INFO] [stdout] `ecdsa::signing::SigningKey` implements `PrehashSigner>` [INFO] [stdout] note: required by a bound in `ethers::ethers_signers::Wallet` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-signers-2.0.14/src/wallet/mod.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Wallet> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Wallet` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/dmap_rs-b38bebed77efd961.long-type-10909869575218629164.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | self.get(dmap, &slot).await [INFO] [stdout] | --- ^^^^^ expected `&str`, found `&[u8; 32]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&[u8; 32]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/main.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | pub async fn get(&self, dmap: &Dmap, slot: &str) -> Result<(String, String), Box> { [INFO] [stdout] | ^^^ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `send_transaction` found for struct `Wallet` in the current scope [INFO] [stdout] --> src/main.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | dmap.signer.send_transaction(TransactionRequest { [INFO] [stdout] | ------------^^^^^^^^^^^^^^^^ method not found in `Wallet>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ethers::types::Bytes: From` is not satisfied [INFO] [stdout] --> src/main.rs:79:33 [INFO] [stdout] | [INFO] [stdout] 79 | data: Some(calldata.into()), [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `ethers::types::Bytes` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `ethers::types::Bytes` implements `From<&[u8; N]>` [INFO] [stdout] `ethers::types::Bytes` implements `From>` [INFO] [stdout] `ethers::types::Bytes` implements `From<[u8; N]>` [INFO] [stdout] `ethers::types::Bytes` implements `From` [INFO] [stdout] = note: required for `std::string::String` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Provider: PrehashSigner<(Signature, RecoveryId)>` is not satisfied [INFO] [stdout] --> src/main.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Debug, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 121 | pub signer: Wallet>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `PrehashSigner<(ecdsa::Signature, RecoveryId)>` is not implemented for `ethers::ethers_providers::Provider` [INFO] [stdout] = help: the following other types implement trait `PrehashSigner`: [INFO] [stdout] `SigningKey` implements `PrehashSigner` [INFO] [stdout] `ecdsa::signing::SigningKey` implements `PrehashSigner<(ecdsa::Signature, RecoveryId)>` [INFO] [stdout] `ecdsa::signing::SigningKey` implements `PrehashSigner>` [INFO] [stdout] `ecdsa::signing::SigningKey` implements `PrehashSigner>` [INFO] [stdout] = note: required for `Wallet>` to implement `Debug` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `&Wallet>` to implement `Debug` [INFO] [stdout] = note: required for the cast from `&&Wallet>` to `&dyn Debug` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/dmap_rs-b38bebed77efd961.long-type-10909869575218629164.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Provider: PrehashSigner<(Signature, RecoveryId)>` is not satisfied [INFO] [stdout] --> src/main.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Debug, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 121 | pub signer: Wallet>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `PrehashSigner<(ecdsa::Signature, RecoveryId)>` is not implemented for `ethers::ethers_providers::Provider` [INFO] [stdout] = help: the following other types implement trait `PrehashSigner`: [INFO] [stdout] `SigningKey` implements `PrehashSigner` [INFO] [stdout] `ecdsa::signing::SigningKey` implements `PrehashSigner<(ecdsa::Signature, RecoveryId)>` [INFO] [stdout] `ecdsa::signing::SigningKey` implements `PrehashSigner>` [INFO] [stdout] `ecdsa::signing::SigningKey` implements `PrehashSigner>` [INFO] [stdout] note: required by a bound in `ethers::ethers_signers::Wallet` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-signers-2.0.14/src/wallet/mod.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Wallet> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Wallet` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/dmap_rs-b38bebed77efd961.long-type-10909869575218629164.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `[u8; 32]` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:170:41 [INFO] [stdout] | [INFO] [stdout] 170 | let mut data = keccak256(signature).to_string()[0..10].to_string(); [INFO] [stdout] | ^^^^^^^^^ `[u8; 32]` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `[u8; 32]: std::fmt::Display` [INFO] [stdout] which is required by `[u8; 32]: ToString` [INFO] [stdout] `[u8]: std::fmt::Display` [INFO] [stdout] which is required by `[u8]: ToString` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use sha3::{Digest, Keccak256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0433, E0599, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dmap-rs` (bin "dmap-rs") due to 13 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "778abe75026d87997ce8991aefbc34c8354e9ff76be64c7d3f7139c848cf9f90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "778abe75026d87997ce8991aefbc34c8354e9ff76be64c7d3f7139c848cf9f90", kill_on_drop: false }` [INFO] [stdout] 778abe75026d87997ce8991aefbc34c8354e9ff76be64c7d3f7139c848cf9f90