[INFO] cloning repository https://github.com/motemotech/ERC7579-UserOperation-Server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/motemotech/ERC7579-UserOperation-Server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmotemotech%2FERC7579-UserOperation-Server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmotemotech%2FERC7579-UserOperation-Server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dc97e528684008bdcb33e1582a144eee5ff9122f
[INFO] building motemotech/ERC7579-UserOperation-Server against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmotemotech%2FERC7579-UserOperation-Server" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/motemotech/ERC7579-UserOperation-Server on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/motemotech/ERC7579-UserOperation-Server
[INFO] finished tweaking git repo https://github.com/motemotech/ERC7579-UserOperation-Server
[INFO] tweaked toml for git repo https://github.com/motemotech/ERC7579-UserOperation-Server written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/motemotech/ERC7579-UserOperation-Server 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded alloy-sol-macro-input v0.8.5
[INFO] [stderr] Downloaded alloy-transport-ws v0.3.6
[INFO] [stderr] Downloaded ssz_rs_derive v0.9.0
[INFO] [stderr] Downloaded alloy v0.3.6
[INFO] [stderr] Downloaded alloy-sol-types v0.8.5
[INFO] [stderr] Downloaded alloy-core v0.8.5
[INFO] [stderr] Downloaded alloy-network-primitives v0.3.6
[INFO] [stderr] Downloaded alloy-pubsub v0.3.6
[INFO] [stderr] Downloaded alloy-signer v0.3.6
[INFO] [stderr] Downloaded alloy-sol-macro v0.8.5
[INFO] [stderr] Downloaded alloy-signer-local v0.3.6
[INFO] [stderr] Downloaded alloy-json-rpc v0.3.6
[INFO] [stderr] Downloaded alloy-transport v0.3.6
[INFO] [stderr] Downloaded alloy-rlp-derive v0.3.8
[INFO] [stderr] Downloaded alloy-transport-http v0.3.6
[INFO] [stderr] Downloaded alloy-rpc-client v0.3.6
[INFO] [stderr] Downloaded alloy-contract v0.3.6
[INFO] [stderr] Downloaded alloy-json-abi v0.8.5
[INFO] [stderr] Downloaded alloy-serde v0.3.6
[INFO] [stderr] Downloaded alloy-rpc-types v0.3.6
[INFO] [stderr] Downloaded alloy-sol-type-parser v0.8.5
[INFO] [stderr] Downloaded alloy-rpc-types-engine v0.3.6
[INFO] [stderr] Downloaded alloy-sol-macro-expander v0.8.5
[INFO] [stderr] Downloaded alloy-network v0.3.6
[INFO] [stderr] Downloaded alloy-transport-ipc v0.3.6
[INFO] [stderr] Downloaded alloy-chains v0.1.34
[INFO] [stderr] Downloaded syn-solidity v0.8.5
[INFO] [stderr] Downloaded alloy-dyn-abi v0.8.5
[INFO] [stderr] Downloaded alloy-provider v0.3.6
[INFO] [stderr] Downloaded alloy-consensus v0.3.6
[INFO] [stderr] Downloaded alloy-rpc-types-eth v0.3.6
[INFO] [stderr] Downloaded alloy-primitives v0.8.5
[INFO] [stderr] Downloaded alloy-genesis v0.3.6
[INFO] [stderr] Downloaded ssz_rs v0.9.0
[INFO] [stderr] Downloaded alloy-eips v0.3.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b60af773b46b1a649f04ad4e1068e30cbc8a4d25dfb76010651cd2fce182f22a
[INFO] running `Command { std: "docker" "start" "-a" "b60af773b46b1a649f04ad4e1068e30cbc8a4d25dfb76010651cd2fce182f22a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b60af773b46b1a649f04ad4e1068e30cbc8a4d25dfb76010651cd2fce182f22a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b60af773b46b1a649f04ad4e1068e30cbc8a4d25dfb76010651cd2fce182f22a", kill_on_drop: false }`
[INFO] [stdout] b60af773b46b1a649f04ad4e1068e30cbc8a4d25dfb76010651cd2fce182f22a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e51ab641d49d4aca7e00bc511874d379d0d7fdf64bfd86547d84e8f4c41b3c70
[INFO] running `Command { std: "docker" "start" "-a" "e51ab641d49d4aca7e00bc511874d379d0d7fdf64bfd86547d84e8f4c41b3c70", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.86
[INFO] [stderr] Compiling unicode-ident v1.0.13
[INFO] [stderr] Compiling cfg-if v1.0.0
[INFO] [stderr] Compiling serde v1.0.210
[INFO] [stderr] Compiling version_check v0.9.5
[INFO] [stderr] Compiling libc v0.2.159
[INFO] [stderr] Compiling typenum v1.17.0
[INFO] [stderr] Compiling subtle v2.6.1
[INFO] [stderr] Compiling once_cell v1.20.1
[INFO] [stderr] Compiling const-oid v0.9.6
[INFO] [stderr] Compiling itoa v1.0.11
[INFO] [stderr] Compiling equivalent v1.0.1
[INFO] [stderr] Compiling autocfg v1.4.0
[INFO] [stderr] Compiling cpufeatures v0.2.14
[INFO] [stderr] Compiling winnow v0.6.20
[INFO] [stderr] Compiling crunchy v0.2.2
[INFO] [stderr] Compiling shlex v1.3.0
[INFO] [stderr] Compiling generic-array v0.14.7
[INFO] [stderr] Compiling cc v1.1.24
[INFO] [stderr] Compiling hashbrown v0.15.0
[INFO] [stderr] Compiling tiny-keccak v2.0.2
[INFO] [stderr] Compiling memchr v2.7.4
[INFO] [stderr] Compiling indexmap v2.6.0
[INFO] [stderr] Compiling base16ct v0.2.0
[INFO] [stderr] Compiling ryu v1.0.18
[INFO] [stderr] Compiling quote v1.0.37
[INFO] [stderr] Compiling log v0.4.22
[INFO] [stderr] Compiling syn v2.0.79
[INFO] [stderr] Compiling pin-project-lite v0.2.14
[INFO] [stderr] Compiling unicode-xid v0.2.6
[INFO] [stderr] Compiling arrayvec v0.7.6
[INFO] [stderr] Compiling syn v1.0.109
[INFO] [stderr] Compiling byteorder v1.5.0
[INFO] [stderr] Compiling getrandom v0.2.15
[INFO] [stderr] Compiling thiserror v1.0.64
[INFO] [stderr] Compiling futures-core v0.3.30
[INFO] [stderr] Compiling rand_core v0.6.4
[INFO] [stderr] Compiling lock_api v0.4.12
[INFO] [stderr] Compiling parking_lot_core v0.9.10
[INFO] [stderr] Compiling futures-sink v0.3.30
[INFO] [stderr] Compiling smallvec v1.13.2
[INFO] [stderr] Compiling scopeguard v1.2.0
[INFO] [stderr] Compiling serde_json v1.0.128
[INFO] [stderr] Compiling heck v0.5.0
[INFO] [stderr] Compiling ff v0.13.0
[INFO] [stderr] Compiling futures-channel v0.3.30
[INFO] [stderr] Compiling group v0.13.0
[INFO] [stderr] Compiling signal-hook-registry v1.4.2
[INFO] [stderr] Compiling mio v1.0.2
[INFO] [stderr] Compiling socket2 v0.5.7
[INFO] [stderr] Compiling slab v0.4.9
[INFO] [stderr] Compiling paste v1.0.15
[INFO] [stderr] Compiling parking_lot v0.12.3
[INFO] [stderr] Compiling ruint-macro v1.2.1
[INFO] [stderr] Compiling tracing-core v0.1.32
[INFO] [stderr] Compiling allocator-api2 v0.2.18
[INFO] [stderr] Compiling futures-task v0.3.30
[INFO] [stderr] Compiling pin-utils v0.1.0
[INFO] [stderr] Compiling fnv v1.0.7
[INFO] [stderr] Compiling hex-literal v0.4.1
[INFO] [stderr] Compiling futures-io v0.3.30
[INFO] [stderr] Compiling zeroize v1.8.1
[INFO] [stderr] Compiling byte-slice-cast v1.2.2
[INFO] [stderr] Compiling ring v0.17.8
[INFO] [stderr] Compiling dunce v1.0.5
[INFO] [stderr] Compiling static_assertions v1.1.0
[INFO] [stderr] Compiling httparse v1.9.5
[INFO] [stderr] Compiling foldhash v0.1.3
[INFO] [stderr] Compiling bitflags v2.6.0
[INFO] [stderr] Compiling spin v0.9.8
[INFO] [stderr] Compiling untrusted v0.9.0
[INFO] [stderr] Compiling tower-service v0.3.3
[INFO] [stderr] Compiling rustversion v1.0.17
[INFO] [stderr] Compiling percent-encoding v2.3.1
[INFO] [stderr] Compiling tinyvec_macros v0.1.1
[INFO] [stderr] Compiling tinyvec v1.8.0
[INFO] [stderr] Compiling form_urlencoded v1.2.1
[INFO] [stderr] Compiling keccak v0.1.5
[INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr] Compiling unicode-bidi v0.3.15
[INFO] [stderr] Compiling regex-syntax v0.8.5
[INFO] [stderr] Compiling try-lock v0.2.5
[INFO] [stderr] Compiling want v0.3.1
[INFO] [stderr] Compiling httpdate v1.0.3
[INFO] [stderr] Compiling unicode-normalization v0.1.24
[INFO] [stderr] Compiling rustc-hex v2.1.0
[INFO] [stderr] Compiling num-traits v0.2.19
[INFO] [stderr] Compiling sync_wrapper v0.1.2
[INFO] [stderr] Compiling block-buffer v0.10.4
[INFO] [stderr] Compiling crypto-common v0.1.6
[INFO] [stderr] Compiling semver v1.0.23
[INFO] [stderr] Compiling camino v1.1.9
[INFO] [stderr] Compiling digest v0.10.7
[INFO] [stderr] Compiling idna v0.5.0
[INFO] [stderr] Compiling rustix v0.38.37
[INFO] [stderr] Compiling vcpkg v0.2.15
[INFO] [stderr] Compiling syn-solidity v0.8.5
[INFO] [stderr] Compiling proc-macro-error2 v2.0.1
[INFO] [stderr] Compiling url v2.5.2
[INFO] [stderr] Compiling pkg-config v0.3.31
[INFO] [stderr] Compiling blst v0.3.13
[INFO] [stderr] Compiling linux-raw-sys v0.4.14
[INFO] [stderr] Compiling openssl-sys v0.9.103
[INFO] [stderr] Compiling rustls-pki-types v1.9.0
[INFO] [stderr] Compiling serde_derive v1.0.210
[INFO] [stderr] Compiling zeroize_derive v1.4.2
[INFO] [stderr] Compiling zerocopy-derive v0.7.35
[INFO] [stderr] Compiling thiserror-impl v1.0.64
[INFO] [stderr] Compiling tokio-macros v2.4.0
[INFO] [stderr] Compiling derive_more-impl v1.0.0
[INFO] [stderr] Compiling der v0.7.9
[INFO] [stderr] Compiling tracing-attributes v0.1.27
[INFO] [stderr] Compiling zerocopy v0.7.35
[INFO] [stderr] Compiling crypto-bigint v0.5.5
[INFO] [stderr] Compiling hmac v0.12.1
[INFO] [stderr] Compiling sha2 v0.10.8
[INFO] [stderr] Compiling rfc6979 v0.4.0
[INFO] [stderr] Compiling spki v0.7.3
[INFO] [stderr] Compiling pkcs8 v0.10.2
[INFO] [stderr] Compiling sec1 v0.7.3
[INFO] [stderr] Compiling signature v2.2.0
[INFO] [stderr] Compiling tracing v0.1.40
[INFO] [stderr] Compiling futures-macro v0.3.30
[INFO] [stderr] Compiling ppv-lite86 v0.2.20
[INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2
[INFO] [stderr] Compiling elliptic-curve v0.13.8
[INFO] [stderr] Compiling rand_chacha v0.3.1
[INFO] [stderr] Compiling ecdsa v0.16.9
[INFO] [stderr] Compiling alloy-rlp-derive v0.3.8
[INFO] [stderr] Compiling k256 v0.13.4
[INFO] [stderr] Compiling futures-util v0.3.30
[INFO] [stderr] Compiling rand v0.8.5
[INFO] [stderr] Compiling rlp-derive v0.1.0
[INFO] [stderr] Compiling derive_more v0.99.18
[INFO] [stderr] Compiling auto_impl v1.2.0
[INFO] [stderr] Compiling strum_macros v0.26.4
[INFO] [stderr] Compiling sha3 v0.10.8
[INFO] [stderr] Compiling derive_more v1.0.0
[INFO] [stderr] Compiling fixed-hash v0.8.0
[INFO] [stderr] Compiling mime v0.3.17
[INFO] [stderr] Compiling sha1 v0.10.6
[INFO] [stderr] Compiling async-trait v0.1.83
[INFO] [stderr] Compiling num_cpus v1.16.0
[INFO] [stderr] Compiling aho-corasick v1.1.3
[INFO] [stderr] Compiling fastrand v2.1.1
[INFO] [stderr] Compiling data-encoding v2.6.0
[INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93
[INFO] [stderr] Compiling utf-8 v0.7.6
[INFO] [stderr] Compiling bytes v1.7.2
[INFO] [stderr] Compiling hex v0.4.3
[INFO] [stderr] Compiling serde_spanned v0.6.8
[INFO] [stderr] Compiling toml_datetime v0.6.8
[INFO] [stderr] Compiling const-hex v1.13.1
[INFO] [stderr] Compiling toml_edit v0.22.22
[INFO] [stderr] Compiling tokio v1.40.0
[INFO] [stderr] Compiling alloy-rlp v0.3.8
[INFO] [stderr] Compiling ruint v1.12.3
[INFO] [stderr] Compiling impl-serde v0.4.0
[INFO] [stderr] Compiling alloy-primitives v0.8.5
[INFO] [stderr] Compiling alloy-sol-type-parser v0.8.5
[INFO] [stderr] Compiling http v1.1.0
[INFO] [stderr] Compiling rlp v0.5.2
[INFO] [stderr] Compiling alloy-json-abi v0.8.5
[INFO] [stderr] Compiling strum v0.26.3
[INFO] [stderr] Compiling impl-rlp v0.3.0
[INFO] [stderr] Compiling open-fastrlp-derive v0.1.1
[INFO] [stderr] Compiling cargo-platform v0.1.8
[INFO] [stderr] Compiling proc-macro-crate v3.2.0
[INFO] [stderr] Compiling uint v0.9.5
[INFO] [stderr] Compiling serde_urlencoded v0.7.1
[INFO] [stderr] Compiling alloy-sol-macro-input v0.8.5
[INFO] [stderr] Compiling base64 v0.21.7
[INFO] [stderr] Compiling http-body v1.0.1
[INFO] [stderr] Compiling regex-automata v0.4.8
[INFO] [stderr] Compiling tempfile v3.13.0
[INFO] [stderr] Compiling alloy-sol-macro-expander v0.8.5
[INFO] [stderr] Compiling http v0.2.12
[INFO] [stderr] Compiling threadpool v1.8.1
[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.3
[INFO] [stderr] Compiling c-kzg v1.0.3
[INFO] [stderr] Compiling ahash v0.8.11
[INFO] [stderr] Compiling encoding_rs v0.8.34
[INFO] [stderr] Compiling ipnet v2.10.0
[INFO] [stderr] Compiling rustls v0.21.12
[INFO] [stderr] Compiling num_enum v0.7.3
[INFO] [stderr] Compiling tower-layer v0.3.3
[INFO] [stderr] Compiling tokio-util v0.7.12
[INFO] [stderr] Compiling parity-scale-codec v3.6.12
[INFO] [stderr] Compiling regex v1.11.0
[INFO] [stderr] Compiling scale-info v2.11.3
[INFO] [stderr] Compiling alloy-sol-macro v0.8.5
[INFO] [stderr] Compiling impl-codec v0.6.0
[INFO] [stderr] Compiling pin-project-internal v1.1.5
[INFO] [stderr] Compiling alloy-sol-types v0.8.5
[INFO] [stderr] Compiling sct v0.7.1
[INFO] [stderr] Compiling rustls-webpki v0.101.7
[INFO] [stderr] Compiling ethbloom v0.13.0
[INFO] [stderr] Compiling primitive-types v0.12.2
[INFO] [stderr] Compiling bumpalo v3.16.0
[INFO] [stderr] Compiling openssl v0.10.66
[INFO] [stderr] Compiling foreign-types-shared v0.1.1
[INFO] [stderr] Compiling futures-utils-wasm v0.1.0
[INFO] [stderr] Compiling atomic-waker v1.1.2
[INFO] [stderr] Compiling h2 v0.4.6
[INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93
[INFO] [stderr] Compiling foreign-types v0.3.2
[INFO] [stderr] Compiling pin-project v1.1.5
[INFO] [stderr] Compiling tower v0.5.1
[INFO] [stderr] Compiling ethereum-types v0.14.1
[INFO] [stderr] Compiling alloy-serde v0.3.6
[INFO] [stderr] Compiling alloy-eip2930 v0.1.0
[INFO] [stderr] Compiling alloy-eip7702 v0.1.1
[INFO] [stderr] Compiling openssl-macros v0.1.1
[INFO] [stderr] Compiling rustls v0.23.13
[INFO] [stderr] Compiling native-tls v0.2.12
[INFO] [stderr] Compiling base64 v0.22.1
[INFO] [stderr] Compiling alloy-eips v0.3.6
[INFO] [stderr] Compiling ethabi v18.0.0
[INFO] [stderr] Compiling open-fastrlp v0.1.4
[INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93
[INFO] [stderr] Compiling hyper v1.4.1
[INFO] [stderr] Compiling hashbrown v0.14.5
[INFO] [stderr] Compiling http-body-util v0.1.2
[INFO] [stderr] Compiling cargo_metadata v0.18.1
[INFO] [stderr] Compiling inout v0.1.3
[INFO] [stderr] Compiling rustls-webpki v0.102.8
[INFO] [stderr] Compiling chrono v0.4.38
[INFO] [stderr] Compiling wasm-bindgen v0.2.93
[INFO] [stderr] Compiling openssl-probe v0.1.5
[INFO] [stderr] Compiling prettyplease v0.2.22
[INFO] [stderr] Compiling alloy-json-rpc v0.3.6
[INFO] [stderr] Compiling ethers-core v2.0.14
[INFO] [stderr] Compiling alloy-transport v0.3.6
[INFO] [stderr] Compiling cipher v0.4.4
[INFO] [stderr] Compiling hyper-util v0.1.9
[INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93
[INFO] [stderr] Compiling tokio-rustls v0.24.1
[INFO] [stderr] Compiling h2 v0.3.26
[INFO] [stderr] Compiling http-body v0.4.6
[INFO] [stderr] Compiling futures-executor v0.3.30
[INFO] [stderr] Compiling num-integer v0.1.46
[INFO] [stderr] Compiling sync_wrapper v1.0.1
[INFO] [stderr] Compiling time-core v0.1.2
[INFO] [stderr] Compiling radium v0.7.0
[INFO] [stderr] Compiling either v1.13.0
[INFO] [stderr] Compiling num-conv v0.1.0
[INFO] [stderr] Compiling lazy_static v1.5.0
[INFO] [stderr] Compiling eyre v0.6.12
[INFO] [stderr] Compiling powerfmt v0.2.0
[INFO] [stderr] Compiling itertools v0.13.0
[INFO] [stderr] Compiling deranged v0.3.11
[INFO] [stderr] Compiling num-bigint v0.4.6
[INFO] [stderr] Compiling time-macros v0.2.18
[INFO] [stderr] Compiling futures v0.3.30
[INFO] [stderr] Compiling tokio-native-tls v0.3.1
[INFO] [stderr] Compiling alloy-consensus v0.3.6
[INFO] [stderr] Compiling alloy-network-primitives v0.3.6
[INFO] [stderr] Compiling tokio-stream v0.1.16
[INFO] [stderr] Compiling ring v0.16.20
[INFO] [stderr] Compiling bimap v0.6.3
[INFO] [stderr] Compiling webpki-roots v0.25.4
[INFO] [stderr] Compiling tap v1.0.1
[INFO] [stderr] Compiling indenter v0.3.3
[INFO] [stderr] Compiling same-file v1.0.6
[INFO] [stderr] Compiling alloy-pubsub v0.3.6
[INFO] [stderr] Compiling wyz v0.5.1
[INFO] [stderr] Compiling walkdir v2.5.0
[INFO] [stderr] Compiling alloy-rpc-types-eth v0.3.6
[INFO] [stderr] Compiling hyper v0.14.30
[INFO] [stderr] Compiling tungstenite v0.23.0
[INFO] [stderr] Compiling tokio-rustls v0.26.0
[INFO] [stderr] Compiling time v0.3.36
[INFO] [stderr] Compiling js-sys v0.3.70
[INFO] [stderr] Compiling hyper-tls v0.6.0
[INFO] [stderr] Compiling rustls-pemfile v1.0.4
[INFO] [stderr] Compiling bs58 v0.5.1
[INFO] [stderr] Compiling ripemd v0.1.3
[INFO] [stderr] Compiling webpki-roots v0.26.6
[INFO] [stderr] Compiling rustls-pemfile v2.2.0
[INFO] [stderr] Compiling base64 v0.13.1
[INFO] [stderr] Compiling bech32 v0.9.1
[INFO] [stderr] Compiling funty v2.0.0
[INFO] [stderr] Compiling untrusted v0.7.1
[INFO] [stderr] Compiling doctest-file v1.0.0
[INFO] [stderr] Compiling hyper-rustls v0.24.2
[INFO] [stderr] Compiling spin v0.5.2
[INFO] [stderr] Compiling crossbeam-utils v0.8.20
[INFO] [stderr] Compiling coins-core v0.8.7
[INFO] [stderr] Compiling reqwest v0.11.27
[INFO] [stderr] Compiling interprocess v2.2.1
[INFO] [stderr] Compiling bitvec v1.0.1
[INFO] [stderr] Compiling simple_asn1 v0.6.2
[INFO] [stderr] Compiling pem v1.1.1
[INFO] [stderr] Compiling reqwest v0.12.8
[INFO] [stderr] Compiling tokio-tungstenite v0.23.1
[INFO] [stderr] Compiling Inflector v0.11.4
[INFO] [stderr] Compiling salsa20 v0.10.2
[INFO] [stderr] Compiling gloo-timers v0.2.6
[INFO] [stderr] Compiling tungstenite v0.20.1
[INFO] [stderr] Compiling toml v0.8.19
[INFO] [stderr] Compiling alloy-signer v0.3.6
[INFO] [stderr] Compiling pbkdf2 v0.11.0
[INFO] [stderr] Compiling fxhash v0.2.1
[INFO] [stderr] Compiling opaque-debug v0.3.1
[INFO] [stderr] Compiling send_wrapper v0.4.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 alloy-network v0.3.6
[INFO] [stderr] Compiling tokio-tungstenite v0.20.1
[INFO] [stderr] Compiling alloy-transport-http v0.3.6
[INFO] [stderr] Compiling alloy-transport-ws v0.3.6
[INFO] [stderr] Compiling jsonwebtoken v8.3.0
[INFO] [stderr] Compiling alloy-transport-ipc v0.3.6
[INFO] [stderr] Compiling coins-bip32 v0.8.7
[INFO] [stderr] Compiling ethers-contract-abigen v2.0.14
[INFO] [stderr] Compiling aes v0.8.4
[INFO] [stderr] Compiling ctr v0.9.2
[INFO] [stderr] Compiling tracing-futures v0.2.5
[INFO] [stderr] Compiling enr v0.10.0
[INFO] [stderr] Compiling uuid v0.8.2
[INFO] [stderr] Compiling pbkdf2 v0.12.2
[INFO] [stderr] Compiling async-stream-impl v0.3.6
[INFO] [stderr] Compiling digest v0.9.0
[INFO] [stderr] Compiling block-buffer v0.9.0
[INFO] [stderr] Compiling instant v0.1.13
[INFO] [stderr] Compiling eth-keystore v0.5.0
[INFO] [stderr] Compiling ethers-providers v2.0.14
[INFO] [stderr] Compiling sha2 v0.9.9
[INFO] [stderr] Compiling async-stream v0.3.6
[INFO] [stderr] Compiling coins-bip39 v0.8.7
[INFO] [stderr] Compiling dashmap v6.1.0
[INFO] [stderr] Compiling alloy-rpc-client v0.3.6
[INFO] [stderr] Compiling alloy-dyn-abi v0.8.5
[INFO] [stderr] Compiling lru v0.12.4
[INFO] [stderr] Compiling alloy-chains v0.1.34
[INFO] [stderr] Compiling ethers-signers v2.0.14
[INFO] [stderr] Compiling ssz_rs v0.9.0
[INFO] [stderr] Compiling alloy-provider v0.3.6
[INFO] [stderr] Compiling ethers-etherscan v2.0.14
[INFO] [stderr] Compiling futures-locks v0.7.1
[INFO] [stderr] Compiling ethers-contract-derive v2.0.14
[INFO] [stderr] Compiling anyhow v1.0.89
[INFO] [stderr] Compiling alloy-core v0.8.5
[INFO] [stderr] Compiling alloy-signer-local v0.3.6
[INFO] [stderr] Compiling alloy-rpc-types v0.3.6
[INFO] [stderr] Compiling ethers-addressbook v2.0.14
[INFO] [stderr] Compiling axum-core v0.4.5
[INFO] [stderr] Compiling serde_path_to_error v0.1.16
[INFO] [stderr] Compiling ssz_rs_derive v0.9.0
[INFO] [stderr] Compiling matchit v0.7.3
[INFO] [stderr] Compiling alloy-contract v0.3.6
[INFO] [stderr] Compiling alloy v0.3.6
[INFO] [stderr] Compiling dotenv v0.15.0
[INFO] [stderr] Compiling ethers-contract v2.0.14
[INFO] [stderr] Compiling axum v0.7.7
[INFO] [stderr] Compiling ethers-middleware v2.0.14
[INFO] [stderr] Compiling ethers v2.0.14
[INFO] [stderr] Compiling erc7579-useroperation-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Bytes`, `H256`, and `Signer`
[INFO] [stdout] --> src/main.rs:2:28
[INFO] [stdout] |
[INFO] [stdout] 2 | signers::{LocalWallet, Signer},
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] 3 | providers::{Provider, Http},
[INFO] [stdout] 4 | types::{Bytes, U256, Address, H256},
[INFO] [stdout] | ^^^^^ ^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `sync::Arc`
[INFO] [stdout] --> src/main.rs:9:5
[INFO] [stdout] |
[INFO] [stdout] 9 | sync::Arc
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `ethers::middleware::transformer::ds_proxy::factory`
[INFO] [stdout] --> src/types.rs:3:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use ethers::middleware::transformer::ds_proxy::factory;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `ethers::signers::Wallet`
[INFO] [stdout] --> src/types.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | use ethers::signers::Wallet;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout] --> src/types.rs:111:88
[INFO] [stdout] |
[INFO] [stdout] 111 | "simple-account" => Ok(WalletFactoryAddresses::SimpleAccountFactoryAddress((
[INFO] [stdout] | ________________________________________________________________________________________^
[INFO] [stdout] 112 | | SIMPLE_ACCOUNT_FACTORY.parse::
().unwrap()),
[INFO] [stdout] | |________________^ ^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout] |
[INFO] [stdout] 111 - "simple-account" => Ok(WalletFactoryAddresses::SimpleAccountFactoryAddress((
[INFO] [stdout] 112 - SIMPLE_ACCOUNT_FACTORY.parse::().unwrap()),
[INFO] [stdout] 111 + "simple-account" => Ok(WalletFactoryAddresses::SimpleAccountFactoryAddress(SIMPLE_ACCOUNT_FACTORY.parse::().unwrap(),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout] --> src/types.rs:114:93
[INFO] [stdout] |
[INFO] [stdout] 114 | "simple-account-test" => Ok(WalletFactoryAddresses::SimpleAccountFactoryAddress((
[INFO] [stdout] | _____________________________________________________________________________________________^
[INFO] [stdout] 115 | | GETH_SIMPLE_ACCOUNT_FACTORY.parse::().unwrap()),
[INFO] [stdout] | |________________^ ^
[INFO] [stdout] |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout] |
[INFO] [stdout] 114 - "simple-account-test" => Ok(WalletFactoryAddresses::SimpleAccountFactoryAddress((
[INFO] [stdout] 115 - GETH_SIMPLE_ACCOUNT_FACTORY.parse::().unwrap()),
[INFO] [stdout] 114 + "simple-account-test" => Ok(WalletFactoryAddresses::SimpleAccountFactoryAddress(GETH_SIMPLE_ACCOUNT_FACTORY.parse::().unwrap(),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout] --> src/types.rs:117:88
[INFO] [stdout] |
[INFO] [stdout] 117 | "msa-account-sepolia" => Ok(WalletFactoryAddresses::MSABasicFactoryAddress((
[INFO] [stdout] | ________________________________________________________________________________________^
[INFO] [stdout] 118 | | MSA_FACTORY_SEPOLIA.parse::().unwrap()),
[INFO] [stdout] | |________________^ ^
[INFO] [stdout] |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout] |
[INFO] [stdout] 117 - "msa-account-sepolia" => Ok(WalletFactoryAddresses::MSABasicFactoryAddress((
[INFO] [stdout] 118 - MSA_FACTORY_SEPOLIA.parse::().unwrap()),
[INFO] [stdout] 117 + "msa-account-sepolia" => Ok(WalletFactoryAddresses::MSABasicFactoryAddress(MSA_FACTORY_SEPOLIA.parse::().unwrap(),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `ssz_rs::Sized`
[INFO] [stdout] --> src/primitives/user_operation.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | use ssz_rs::Sized;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `AddAssign` and `slice::Windows`
[INFO] [stdout] --> src/primitives/user_operation.rs:6:11
[INFO] [stdout] |
[INFO] [stdout] 6 | ops::{AddAssign, Deref},
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] 7 | slice::Windows,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `U64`, `core::k256::elliptic_curve::consts::U245`, and `middleware::transformer::ds_proxy::factory`
[INFO] [stdout] --> src/primitives/user_operation.rs:11:58
[INFO] [stdout] |
[INFO] [stdout] 11 | ...}, core::k256::elliptic_curve::consts::U245, middleware::transformer::ds_proxy::factory, types::{Address, Bytes, Log, TransactionReceipt, H256, U256, U64}, ...
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `UserOperationPartial` and `UserOperation`
[INFO] [stdout] --> src/main.rs:22:34
[INFO] [stdout] |
[INFO] [stdout] 22 | use primitives::user_operation::{UserOperation, UserOperationPartial};
[INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout] --> src/main.rs:26:13
[INFO] [stdout] |
[INFO] [stdout] 26 | use serde::{Deserialize, Serialize};
[INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout] --> src/main.rs:27:5
[INFO] [stdout] |
[INFO] [stdout] 27 | use std::error::Error;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout] --> src/main.rs:28:5
[INFO] [stdout] |
[INFO] [stdout] 28 | use serde_json::Value;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::userop_middleware::JsonRpcResponse`
[INFO] [stdout] --> src/main.rs:30:5
[INFO] [stdout] |
[INFO] [stdout] 30 | use crate::userop_middleware::JsonRpcResponse;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `SmartWalletAccountFactory`
[INFO] [stdout] --> src/uo_builder.rs:3:41
[INFO] [stdout] |
[INFO] [stdout] 3 | use crate::traits::{SmartWalletAccount, SmartWalletAccountFactory, MSABasicFactory};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `MSABasicFactory`
[INFO] [stdout] --> src/uo_builder.rs:3:68
[INFO] [stdout] |
[INFO] [stdout] 3 | use crate::traits::{SmartWalletAccount, SmartWalletAccountFactory, MSABasicFactory};
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/userop_middleware.rs:206:13
[INFO] [stdout] |
[INFO] [stdout] 206 | let mut mode_code_single = [0u8; 32];
[INFO] [stdout] | ----^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/main.rs:57:9
[INFO] [stdout] |
[INFO] [stdout] 57 | let mut uo_middleware: UserOpMiddleware> = UserOpMiddleware::new(
[INFO] [stdout] | ----^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `UserOperationBuilder` is never constructed
[INFO] [stdout] --> src/uo_builder.rs:18:12
[INFO] [stdout] |
[INFO] [stdout] 18 | pub struct UserOperationBuilder {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `UserOperationBuilder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout] --> src/uo_builder.rs:48:12
[INFO] [stdout] |
[INFO] [stdout] 46 | impl UserOperationBuilder {
[INFO] [stdout] | ----------------------------------------------------- associated items in this implementation
[INFO] [stdout] 47 |
[INFO] [stdout] 48 | pub fn new(
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 | pub fn from_uo(
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 | fn match_wallet(
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 | pub fn factory_contract_address(&self) -> Address {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 | pub fn factory_contract(&self) -> WalletFactoryRegistry {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 139 | pub fn wallet_contract(&self) -> Box {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 | pub fn signer_address(&self) -> Address {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 | pub fn scw_address(&self) -> Option {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 151 | pub fn salt(&self) -> Option {
[INFO] [stdout] | ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 | pub fn uo(&self) -> &UserOperationPartial {
[INFO] [stdout] | ^^
[INFO] [stdout] ...
[INFO] [stdout] 159 | pub fn uo_hash(&self) -> &Option {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 163 | pub async fn set_scw_address(&mut self) -> anyhow::Result {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 182 | pub fn set_uo(&mut self, uo: UserOperationPartial) -> &mut Self {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 187 | pub fn set_wallet(&mut self, wallet_name: String) -> anyhow::Result<&mut Self> {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 | pub fn set_uo_sender(&mut self, sender: Address) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 | pub fn set_uo_nonce(&mut self, nonce: U256) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 | pub fn set_uo_factory(&mut self, factory: Address) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 | pub fn set_uo_factory_data(&mut self, factory_data: Bytes) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 216 | pub fn set_uo_call_data(&mut self, call_data: Bytes) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 221 | pub fn set_uo_call_gas_limit(&mut self, call_gas_limit: U256) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 | pub fn set_uo_verification_gas_limit(&mut self, verification_gas_limit: U256) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 231 | pub fn set_uo_pre_verification_gas(&mut self, pre_verification_gas: U256) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 236 | pub fn set_uo_max_fee_per_gas(&mut self, max_fee_per_gas: U256) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 241 | pub fn set_uo_max_priority_fee_per_gas(&mut self, max_priority_fee_per_gas: U256) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 246 | pub fn set_uo_paymaster(&mut self, paymaster: String) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 251 | pub fn set_uo_paymaster_verification_gas_limit(&mut self, paymaster_verification_gas_limit: U256) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 256 | pub fn set_uo_paymaster_post_op_gas_limit(&mut self, paymaster_post_op_gas_limit: U256) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 261 | pub fn set_uo_paymaster_data(&mut self, paymaster_data: Bytes) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 266 | pub fn set_uo_signature(&mut self, signature: Bytes) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 271 | pub(crate) fn set_uo_hash(&mut self, uo_hash: UserOperationHash) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 276 | pub fn build_uo(&self) -> anyhow::Result {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SimpleAccountExecute` is never constructed
[INFO] [stdout] --> src/gen/simple_account.rs:22:12
[INFO] [stdout] |
[INFO] [stdout] 22 | pub struct SimpleAccountExecute(executeCall);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `new` and `encode` are never used
[INFO] [stdout] --> src/gen/simple_account.rs:24:12
[INFO] [stdout] |
[INFO] [stdout] 23 | impl SimpleAccountExecute {
[INFO] [stdout] | ------------------------- associated items in this implementation
[INFO] [stdout] 24 | pub fn new(address: Address, value: U256, func: Bytes) -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 | pub fn encode(&self) -> Vec {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `SmartContractWalletDeploymentError` and `UserOpBuilderError` are never constructed
[INFO] [stdout] --> src/errors.rs:11:5
[INFO] [stdout] |
[INFO] [stdout] 6 | pub enum UserOpMiddlewareError {
[INFO] [stdout] | --------------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 11 | SmartContractWalletDeploymentError,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 | UserOpBuilderError(UserOpBuilderError),
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `UserOpMiddlewareError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `MiddlewareError`, `SmartContractWalletAddressNotSet`, `SmartContractWalletHasBeenDeployed`, `SmartContractWalletHasNotBeenDeployed`, `MissingUserOperationField`, and `UnknownError` are never constructed
[INFO] [stdout] --> src/errors.rs:34:5
[INFO] [stdout] |
[INFO] [stdout] 31 | pub enum UserOpBuilderError {
[INFO] [stdout] | ------------------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 34 | MiddlewareError(M::Error),
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 | SmartContractWalletAddressNotSet,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 | SmartContractWalletHasBeenDeployed,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 | SmartContractWalletHasNotBeenDeployed,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 | MissingUserOperationField(String),
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 | UnknownError,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `UserOpBuilderError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: type alias `SignerType` is never used
[INFO] [stdout] --> src/types.rs:20:10
[INFO] [stdout] |
[INFO] [stdout] 20 | pub type SignerType = NonceManagerMiddleware, LocalWallet>>;
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: type alias `MSABasicWalletMap` is never used
[INFO] [stdout] --> src/types.rs:23:10
[INFO] [stdout] |
[INFO] [stdout] 23 | pub type MSABasicWalletMap = HashMap>>>;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `jsonrpc` and `id` are never read
[INFO] [stdout] --> src/types.rs:45:9
[INFO] [stdout] |
[INFO] [stdout] 44 | pub struct Response {
[INFO] [stdout] | -------- fields in this struct
[INFO] [stdout] 45 | pub jsonrpc: String,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] 46 | pub id: u64,
[INFO] [stdout] | ^^
[INFO] [stdout] |
[INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `jsonrpc` and `id` are never read
[INFO] [stdout] --> src/types.rs:52:16
[INFO] [stdout] |
[INFO] [stdout] 51 | pub(crate) struct ErrorResponse {
[INFO] [stdout] | ------------- fields in this struct
[INFO] [stdout] 52 | pub(crate) jsonrpc: String,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] 53 | pub(crate) id: u64,
[INFO] [stdout] | ^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ErrorResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `DeployedContract` is never constructed
[INFO] [stdout] --> src/types.rs:63:12
[INFO] [stdout] |
[INFO] [stdout] 63 | pub struct DeployedContract {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `new` and `contract` are never used
[INFO] [stdout] --> src/types.rs:69:12
[INFO] [stdout] |
[INFO] [stdout] 68 | impl DeployedContract {
[INFO] [stdout] | --------------------------- associated items in this implementation
[INFO] [stdout] 69 | pub fn new(contract: C, addr: Address) -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 | pub fn contract(&self) -> &C {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout] --> src/types.rs:101:33
[INFO] [stdout] |
[INFO] [stdout] 101 | SimpleAccountFactoryAddress(Address),
[INFO] [stdout] | --------------------------- ^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | field in this variant
[INFO] [stdout] |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout] |
[INFO] [stdout] 101 - SimpleAccountFactoryAddress(Address),
[INFO] [stdout] 101 + SimpleAccountFactoryAddress(()),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout] --> src/types.rs:102:28
[INFO] [stdout] |
[INFO] [stdout] 102 | MSABasicFactoryAddress(Address)
[INFO] [stdout] | ---------------------- ^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | field in this variant
[INFO] [stdout] |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout] |
[INFO] [stdout] 102 - MSABasicFactoryAddress(Address)
[INFO] [stdout] 102 + MSABasicFactoryAddress(())
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: enum `WalletFactoryRegistry` is never used
[INFO] [stdout] --> src/types.rs:127:10
[INFO] [stdout] |
[INFO] [stdout] 127 | pub enum WalletFactoryRegistry {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `WalletFactoryRegistry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `ENTRY_POINT_MAINNET_V7` is never used
[INFO] [stdout] --> src/consts.rs:1:11
[INFO] [stdout] |
[INFO] [stdout] 1 | pub const ENTRY_POINT_MAINNET_V7: &str = "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: trait `SmartWalletAccountFactory` is never used
[INFO] [stdout] --> src/traits.rs:14:11
[INFO] [stdout] |
[INFO] [stdout] 14 | pub trait SmartWalletAccountFactory: Debug {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: trait `MSABasicFactory` is never used
[INFO] [stdout] --> src/traits.rs:26:11
[INFO] [stdout] |
[INFO] [stdout] 26 | pub trait MSABasicFactory: Debug {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: methods `execute` and `clone_box` are never used
[INFO] [stdout] --> src/traits.rs:41:8
[INFO] [stdout] |
[INFO] [stdout] 40 | pub trait SmartWalletAccount: Debug + Send {
[INFO] [stdout] | ------------------ methods in this trait
[INFO] [stdout] 41 | fn execute(&self, dest: Address, value: U256, func: Bytes) -> Vec {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 | fn clone_box(&self) -> Box;
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout] --> src/primitives/user_operation.rs:48:12
[INFO] [stdout] |
[INFO] [stdout] 46 | impl UserOperation {
[INFO] [stdout] | ------------------ methods in this implementation
[INFO] [stdout] 47 |
[INFO] [stdout] 48 | pub fn pack(&self) -> Bytes {
[INFO] [stdout] | ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 | pub fn pack_without_signature(&self) -> Bytes {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 | pub fn hash(&self, entry_point: &Address, chain_id: &U256) -> UserOperationHash {
[INFO] [stdout] | ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 | pub fn sender(mut self, sender: Address) -> Self {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 | pub fn nonce(mut self, nonce: U256) -> Self {
[INFO] [stdout] | ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 | pub fn factory(mut self, facotry: Address) -> Self {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 | pub fn factory_data(mut self, factory_data: Bytes) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 92 | pub fn call_data(mut self, call_data: Bytes) -> Self {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97 | pub fn call_gas_limit(mut self, call_gas_limit: U256) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 | pub fn verification_gas_limit(mut self, verification_gas_limit: U256) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 | pub fn pre_verification_gas(mut self, pre_verification_gas: U256) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 | pub fn max_fee_per_gas(mut self, max_fee_per_gas: U256) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 | pub fn max_priority_fee_per_gas(mut self, max_priority_fee_per_gas: U256) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 | pub fn paymaster(mut self, paymaster: String) -> Self {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 | pub fn paymaster_verification_gas_limit(mut self, paymaster_verification_gas_limit: U256) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 | pub fn paymaster_post_op_gas_limit(mut self, paymaster_post_op_gas_limit: U256) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 | pub fn paymaster_data(mut self, paymaster_data: Bytes) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 | pub fn signature(mut self, signature: Bytes) -> Self {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `get_address` is never used
[INFO] [stdout] --> src/primitives/utils.rs:12:8
[INFO] [stdout] |
[INFO] [stdout] 12 | pub fn get_address(buf: &[u8]) -> Option {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `factory` and `bootstrap` are never read
[INFO] [stdout] --> src/userop_middleware.rs:51:9
[INFO] [stdout] |
[INFO] [stdout] 41 | pub struct UserOpMiddleware {
[INFO] [stdout] | ---------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 51 | pub factory: Address,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] 52 | pub bootstrap: Address,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `UserOpMiddleware` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout] --> src/userop_middleware.rs:299:12
[INFO] [stdout] |
[INFO] [stdout] 90 | impl UserOpMiddleware {
[INFO] [stdout] | ---------------------------------------------------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 299 | pub fn supported_entry_point(&self) -> Address {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 303 | pub async fn ask_supported_entry_point(&self) -> Result, Box> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 330 | pub fn chain_id(&self) -> u64 {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 334 | pub async fn get_user_operation_receipt(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 355 | pub async fn get_user_operation_by_hash(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 430 | pub async fn uo_calldata_from_tx(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 471 | pub fn build_random_uo_builder(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 487 | pub async fn sign_uo(&self, uo: UserOperation) -> anyhow::Result {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6m 37s
[INFO] running `Command { std: "docker" "inspect" "e51ab641d49d4aca7e00bc511874d379d0d7fdf64bfd86547d84e8f4c41b3c70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e51ab641d49d4aca7e00bc511874d379d0d7fdf64bfd86547d84e8f4c41b3c70", kill_on_drop: false }`
[INFO] [stdout] e51ab641d49d4aca7e00bc511874d379d0d7fdf64bfd86547d84e8f4c41b3c70
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 103f4a804be8b270bbf380937ab46c8d32445e7f4be537d6b5259cc80f81a52b
[INFO] running `Command { std: "docker" "start" "-a" "103f4a804be8b270bbf380937ab46c8d32445e7f4be537d6b5259cc80f81a52b", kill_on_drop: false }`
[INFO] [stderr] Compiling erc7579-useroperation-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Bytes`, `H256`, and `Signer`
[INFO] [stdout] --> src/main.rs:2:28
[INFO] [stdout] |
[INFO] [stdout] 2 | signers::{LocalWallet, Signer},
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] 3 | providers::{Provider, Http},
[INFO] [stdout] 4 | types::{Bytes, U256, Address, H256},
[INFO] [stdout] | ^^^^^ ^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `sync::Arc`
[INFO] [stdout] --> src/main.rs:9:5
[INFO] [stdout] |
[INFO] [stdout] 9 | sync::Arc
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `ethers::middleware::transformer::ds_proxy::factory`
[INFO] [stdout] --> src/types.rs:3:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use ethers::middleware::transformer::ds_proxy::factory;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `ethers::signers::Wallet`
[INFO] [stdout] --> src/types.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | use ethers::signers::Wallet;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout] --> src/types.rs:111:88
[INFO] [stdout] |
[INFO] [stdout] 111 | "simple-account" => Ok(WalletFactoryAddresses::SimpleAccountFactoryAddress((
[INFO] [stdout] | ________________________________________________________________________________________^
[INFO] [stdout] 112 | | SIMPLE_ACCOUNT_FACTORY.parse::().unwrap()),
[INFO] [stdout] | |________________^ ^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout] |
[INFO] [stdout] 111 - "simple-account" => Ok(WalletFactoryAddresses::SimpleAccountFactoryAddress((
[INFO] [stdout] 112 - SIMPLE_ACCOUNT_FACTORY.parse::().unwrap()),
[INFO] [stdout] 111 + "simple-account" => Ok(WalletFactoryAddresses::SimpleAccountFactoryAddress(SIMPLE_ACCOUNT_FACTORY.parse::().unwrap(),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout] --> src/types.rs:114:93
[INFO] [stdout] |
[INFO] [stdout] 114 | "simple-account-test" => Ok(WalletFactoryAddresses::SimpleAccountFactoryAddress((
[INFO] [stdout] | _____________________________________________________________________________________________^
[INFO] [stdout] 115 | | GETH_SIMPLE_ACCOUNT_FACTORY.parse::().unwrap()),
[INFO] [stdout] | |________________^ ^
[INFO] [stdout] |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout] |
[INFO] [stdout] 114 - "simple-account-test" => Ok(WalletFactoryAddresses::SimpleAccountFactoryAddress((
[INFO] [stdout] 115 - GETH_SIMPLE_ACCOUNT_FACTORY.parse::().unwrap()),
[INFO] [stdout] 114 + "simple-account-test" => Ok(WalletFactoryAddresses::SimpleAccountFactoryAddress(GETH_SIMPLE_ACCOUNT_FACTORY.parse::().unwrap(),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout] --> src/types.rs:117:88
[INFO] [stdout] |
[INFO] [stdout] 117 | "msa-account-sepolia" => Ok(WalletFactoryAddresses::MSABasicFactoryAddress((
[INFO] [stdout] | ________________________________________________________________________________________^
[INFO] [stdout] 118 | | MSA_FACTORY_SEPOLIA.parse::().unwrap()),
[INFO] [stdout] | |________________^ ^
[INFO] [stdout] |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout] |
[INFO] [stdout] 117 - "msa-account-sepolia" => Ok(WalletFactoryAddresses::MSABasicFactoryAddress((
[INFO] [stdout] 118 - MSA_FACTORY_SEPOLIA.parse::().unwrap()),
[INFO] [stdout] 117 + "msa-account-sepolia" => Ok(WalletFactoryAddresses::MSABasicFactoryAddress(MSA_FACTORY_SEPOLIA.parse::().unwrap(),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `ssz_rs::Sized`
[INFO] [stdout] --> src/primitives/user_operation.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | use ssz_rs::Sized;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `AddAssign` and `slice::Windows`
[INFO] [stdout] --> src/primitives/user_operation.rs:6:11
[INFO] [stdout] |
[INFO] [stdout] 6 | ops::{AddAssign, Deref},
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] 7 | slice::Windows,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `U64`, `core::k256::elliptic_curve::consts::U245`, and `middleware::transformer::ds_proxy::factory`
[INFO] [stdout] --> src/primitives/user_operation.rs:11:58
[INFO] [stdout] |
[INFO] [stdout] 11 | ...}, core::k256::elliptic_curve::consts::U245, middleware::transformer::ds_proxy::factory, types::{Address, Bytes, Log, TransactionReceipt, H256, U256, U64}, ...
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `UserOperationPartial` and `UserOperation`
[INFO] [stdout] --> src/main.rs:22:34
[INFO] [stdout] |
[INFO] [stdout] 22 | use primitives::user_operation::{UserOperation, UserOperationPartial};
[INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout] --> src/main.rs:26:13
[INFO] [stdout] |
[INFO] [stdout] 26 | use serde::{Deserialize, Serialize};
[INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout] --> src/main.rs:27:5
[INFO] [stdout] |
[INFO] [stdout] 27 | use std::error::Error;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout] --> src/main.rs:28:5
[INFO] [stdout] |
[INFO] [stdout] 28 | use serde_json::Value;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::userop_middleware::JsonRpcResponse`
[INFO] [stdout] --> src/main.rs:30:5
[INFO] [stdout] |
[INFO] [stdout] 30 | use crate::userop_middleware::JsonRpcResponse;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `SmartWalletAccountFactory`
[INFO] [stdout] --> src/uo_builder.rs:3:41
[INFO] [stdout] |
[INFO] [stdout] 3 | use crate::traits::{SmartWalletAccount, SmartWalletAccountFactory, MSABasicFactory};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `MSABasicFactory`
[INFO] [stdout] --> src/uo_builder.rs:3:68
[INFO] [stdout] |
[INFO] [stdout] 3 | use crate::traits::{SmartWalletAccount, SmartWalletAccountFactory, MSABasicFactory};
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/userop_middleware.rs:206:13
[INFO] [stdout] |
[INFO] [stdout] 206 | let mut mode_code_single = [0u8; 32];
[INFO] [stdout] | ----^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/main.rs:57:9
[INFO] [stdout] |
[INFO] [stdout] 57 | let mut uo_middleware: UserOpMiddleware> = UserOpMiddleware::new(
[INFO] [stdout] | ----^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `UserOperationBuilder` is never constructed
[INFO] [stdout] --> src/uo_builder.rs:18:12
[INFO] [stdout] |
[INFO] [stdout] 18 | pub struct UserOperationBuilder {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `UserOperationBuilder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout] --> src/uo_builder.rs:48:12
[INFO] [stdout] |
[INFO] [stdout] 46 | impl UserOperationBuilder {
[INFO] [stdout] | ----------------------------------------------------- associated items in this implementation
[INFO] [stdout] 47 |
[INFO] [stdout] 48 | pub fn new(
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 | pub fn from_uo(
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 | fn match_wallet(
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 | pub fn factory_contract_address(&self) -> Address {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 | pub fn factory_contract(&self) -> WalletFactoryRegistry {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 139 | pub fn wallet_contract(&self) -> Box {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 | pub fn signer_address(&self) -> Address {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 | pub fn scw_address(&self) -> Option {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 151 | pub fn salt(&self) -> Option {
[INFO] [stdout] | ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 | pub fn uo(&self) -> &UserOperationPartial {
[INFO] [stdout] | ^^
[INFO] [stdout] ...
[INFO] [stdout] 159 | pub fn uo_hash(&self) -> &Option {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 163 | pub async fn set_scw_address(&mut self) -> anyhow::Result {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 182 | pub fn set_uo(&mut self, uo: UserOperationPartial) -> &mut Self {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 187 | pub fn set_wallet(&mut self, wallet_name: String) -> anyhow::Result<&mut Self> {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 | pub fn set_uo_sender(&mut self, sender: Address) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 | pub fn set_uo_nonce(&mut self, nonce: U256) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 | pub fn set_uo_factory(&mut self, factory: Address) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 | pub fn set_uo_factory_data(&mut self, factory_data: Bytes) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 216 | pub fn set_uo_call_data(&mut self, call_data: Bytes) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 221 | pub fn set_uo_call_gas_limit(&mut self, call_gas_limit: U256) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 | pub fn set_uo_verification_gas_limit(&mut self, verification_gas_limit: U256) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 231 | pub fn set_uo_pre_verification_gas(&mut self, pre_verification_gas: U256) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 236 | pub fn set_uo_max_fee_per_gas(&mut self, max_fee_per_gas: U256) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 241 | pub fn set_uo_max_priority_fee_per_gas(&mut self, max_priority_fee_per_gas: U256) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 246 | pub fn set_uo_paymaster(&mut self, paymaster: String) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 251 | pub fn set_uo_paymaster_verification_gas_limit(&mut self, paymaster_verification_gas_limit: U256) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 256 | pub fn set_uo_paymaster_post_op_gas_limit(&mut self, paymaster_post_op_gas_limit: U256) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 261 | pub fn set_uo_paymaster_data(&mut self, paymaster_data: Bytes) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 266 | pub fn set_uo_signature(&mut self, signature: Bytes) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 271 | pub(crate) fn set_uo_hash(&mut self, uo_hash: UserOperationHash) -> &mut Self {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 276 | pub fn build_uo(&self) -> anyhow::Result {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SimpleAccountExecute` is never constructed
[INFO] [stdout] --> src/gen/simple_account.rs:22:12
[INFO] [stdout] |
[INFO] [stdout] 22 | pub struct SimpleAccountExecute(executeCall);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `new` and `encode` are never used
[INFO] [stdout] --> src/gen/simple_account.rs:24:12
[INFO] [stdout] |
[INFO] [stdout] 23 | impl SimpleAccountExecute {
[INFO] [stdout] | ------------------------- associated items in this implementation
[INFO] [stdout] 24 | pub fn new(address: Address, value: U256, func: Bytes) -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 | pub fn encode(&self) -> Vec {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `SmartContractWalletDeploymentError` and `UserOpBuilderError` are never constructed
[INFO] [stdout] --> src/errors.rs:11:5
[INFO] [stdout] |
[INFO] [stdout] 6 | pub enum UserOpMiddlewareError {
[INFO] [stdout] | --------------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 11 | SmartContractWalletDeploymentError,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 | UserOpBuilderError(UserOpBuilderError),
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `UserOpMiddlewareError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `MiddlewareError`, `SmartContractWalletAddressNotSet`, `SmartContractWalletHasBeenDeployed`, `SmartContractWalletHasNotBeenDeployed`, `MissingUserOperationField`, and `UnknownError` are never constructed
[INFO] [stdout] --> src/errors.rs:34:5
[INFO] [stdout] |
[INFO] [stdout] 31 | pub enum UserOpBuilderError {
[INFO] [stdout] | ------------------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 34 | MiddlewareError(M::Error),
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 | SmartContractWalletAddressNotSet,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 | SmartContractWalletHasBeenDeployed,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 | SmartContractWalletHasNotBeenDeployed,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 | MissingUserOperationField(String),
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 | UnknownError,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `UserOpBuilderError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: type alias `SignerType` is never used
[INFO] [stdout] --> src/types.rs:20:10
[INFO] [stdout] |
[INFO] [stdout] 20 | pub type SignerType = NonceManagerMiddleware, LocalWallet>>;
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: type alias `MSABasicWalletMap` is never used
[INFO] [stdout] --> src/types.rs:23:10
[INFO] [stdout] |
[INFO] [stdout] 23 | pub type MSABasicWalletMap = HashMap>>>;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `jsonrpc` and `id` are never read
[INFO] [stdout] --> src/types.rs:45:9
[INFO] [stdout] |
[INFO] [stdout] 44 | pub struct Response {
[INFO] [stdout] | -------- fields in this struct
[INFO] [stdout] 45 | pub jsonrpc: String,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] 46 | pub id: u64,
[INFO] [stdout] | ^^
[INFO] [stdout] |
[INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `jsonrpc` and `id` are never read
[INFO] [stdout] --> src/types.rs:52:16
[INFO] [stdout] |
[INFO] [stdout] 51 | pub(crate) struct ErrorResponse {
[INFO] [stdout] | ------------- fields in this struct
[INFO] [stdout] 52 | pub(crate) jsonrpc: String,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] 53 | pub(crate) id: u64,
[INFO] [stdout] | ^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ErrorResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `DeployedContract` is never constructed
[INFO] [stdout] --> src/types.rs:63:12
[INFO] [stdout] |
[INFO] [stdout] 63 | pub struct DeployedContract {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `new` and `contract` are never used
[INFO] [stdout] --> src/types.rs:69:12
[INFO] [stdout] |
[INFO] [stdout] 68 | impl DeployedContract {
[INFO] [stdout] | --------------------------- associated items in this implementation
[INFO] [stdout] 69 | pub fn new(contract: C, addr: Address) -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 | pub fn contract(&self) -> &C {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout] --> src/types.rs:101:33
[INFO] [stdout] |
[INFO] [stdout] 101 | SimpleAccountFactoryAddress(Address),
[INFO] [stdout] | --------------------------- ^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | field in this variant
[INFO] [stdout] |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout] |
[INFO] [stdout] 101 - SimpleAccountFactoryAddress(Address),
[INFO] [stdout] 101 + SimpleAccountFactoryAddress(()),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout] --> src/types.rs:102:28
[INFO] [stdout] |
[INFO] [stdout] 102 | MSABasicFactoryAddress(Address)
[INFO] [stdout] | ---------------------- ^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | field in this variant
[INFO] [stdout] |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout] |
[INFO] [stdout] 102 - MSABasicFactoryAddress(Address)
[INFO] [stdout] 102 + MSABasicFactoryAddress(())
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: enum `WalletFactoryRegistry` is never used
[INFO] [stdout] --> src/types.rs:127:10
[INFO] [stdout] |
[INFO] [stdout] 127 | pub enum WalletFactoryRegistry {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `WalletFactoryRegistry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `ENTRY_POINT_MAINNET_V7` is never used
[INFO] [stdout] --> src/consts.rs:1:11
[INFO] [stdout] |
[INFO] [stdout] 1 | pub const ENTRY_POINT_MAINNET_V7: &str = "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: trait `SmartWalletAccountFactory` is never used
[INFO] [stdout] --> src/traits.rs:14:11
[INFO] [stdout] |
[INFO] [stdout] 14 | pub trait SmartWalletAccountFactory: Debug {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: trait `MSABasicFactory` is never used
[INFO] [stdout] --> src/traits.rs:26:11
[INFO] [stdout] |
[INFO] [stdout] 26 | pub trait MSABasicFactory: Debug {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: methods `execute` and `clone_box` are never used
[INFO] [stdout] --> src/traits.rs:41:8
[INFO] [stdout] |
[INFO] [stdout] 40 | pub trait SmartWalletAccount: Debug + Send {
[INFO] [stdout] | ------------------ methods in this trait
[INFO] [stdout] 41 | fn execute(&self, dest: Address, value: U256, func: Bytes) -> Vec {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 | fn clone_box(&self) -> Box;
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout] --> src/primitives/user_operation.rs:48:12
[INFO] [stdout] |
[INFO] [stdout] 46 | impl UserOperation {
[INFO] [stdout] | ------------------ methods in this implementation
[INFO] [stdout] 47 |
[INFO] [stdout] 48 | pub fn pack(&self) -> Bytes {
[INFO] [stdout] | ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 | pub fn pack_without_signature(&self) -> Bytes {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 | pub fn hash(&self, entry_point: &Address, chain_id: &U256) -> UserOperationHash {
[INFO] [stdout] | ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 | pub fn sender(mut self, sender: Address) -> Self {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 | pub fn nonce(mut self, nonce: U256) -> Self {
[INFO] [stdout] | ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 | pub fn factory(mut self, facotry: Address) -> Self {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 | pub fn factory_data(mut self, factory_data: Bytes) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 92 | pub fn call_data(mut self, call_data: Bytes) -> Self {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97 | pub fn call_gas_limit(mut self, call_gas_limit: U256) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 | pub fn verification_gas_limit(mut self, verification_gas_limit: U256) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 | pub fn pre_verification_gas(mut self, pre_verification_gas: U256) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 | pub fn max_fee_per_gas(mut self, max_fee_per_gas: U256) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 | pub fn max_priority_fee_per_gas(mut self, max_priority_fee_per_gas: U256) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 | pub fn paymaster(mut self, paymaster: String) -> Self {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 | pub fn paymaster_verification_gas_limit(mut self, paymaster_verification_gas_limit: U256) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 | pub fn paymaster_post_op_gas_limit(mut self, paymaster_post_op_gas_limit: U256) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 | pub fn paymaster_data(mut self, paymaster_data: Bytes) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 | pub fn signature(mut self, signature: Bytes) -> Self {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `get_address` is never used
[INFO] [stdout] --> src/primitives/utils.rs:12:8
[INFO] [stdout] |
[INFO] [stdout] 12 | pub fn get_address(buf: &[u8]) -> Option {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `factory` and `bootstrap` are never read
[INFO] [stdout] --> src/userop_middleware.rs:51:9
[INFO] [stdout] |
[INFO] [stdout] 41 | pub struct UserOpMiddleware {
[INFO] [stdout] | ---------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 51 | pub factory: Address,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] 52 | pub bootstrap: Address,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `UserOpMiddleware` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout] --> src/userop_middleware.rs:299:12
[INFO] [stdout] |
[INFO] [stdout] 90 | impl UserOpMiddleware {
[INFO] [stdout] | ---------------------------------------------------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 299 | pub fn supported_entry_point(&self) -> Address {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 303 | pub async fn ask_supported_entry_point(&self) -> Result, Box> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 330 | pub fn chain_id(&self) -> u64 {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 334 | pub async fn get_user_operation_receipt(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 355 | pub async fn get_user_operation_by_hash(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 430 | pub async fn uo_calldata_from_tx(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 471 | pub fn build_random_uo_builder(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 487 | pub async fn sign_uo(&self, uo: UserOperation) -> anyhow::Result {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.56s
[INFO] running `Command { std: "docker" "inspect" "103f4a804be8b270bbf380937ab46c8d32445e7f4be537d6b5259cc80f81a52b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "103f4a804be8b270bbf380937ab46c8d32445e7f4be537d6b5259cc80f81a52b", kill_on_drop: false }`
[INFO] [stdout] 103f4a804be8b270bbf380937ab46c8d32445e7f4be537d6b5259cc80f81a52b