[INFO] fetching crate ethers-solc 2.0.14... [INFO] checking ethers-solc-2.0.14 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate ethers-solc 2.0.14 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate ethers-solc 2.0.14 [INFO] removed 2 missing tests [INFO] finished tweaking crates.io crate ethers-solc 2.0.14 [INFO] tweaked toml for crates.io crate ethers-solc 2.0.14 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ethers-solc 2.0.14 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--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] Locking 393 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.5.1 (available: v0.6.0) [INFO] [stderr] Adding dirs v5.0.1 (available: v6.0.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] [stderr] Adding solang-parser v0.3.3 (available: v0.3.5) [INFO] [stderr] Adding svm-rs v0.3.5 (available: v0.5.16) [INFO] [stderr] Adding svm-rs-builds v0.2.3 (available: v0.5.16) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] [stderr] Adding yansi v0.5.1 (available: v1.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b169f9daee2583c148f35423af6a86bc89c099cb092706ed2f0574ef5253a28 [INFO] running `Command { std: "docker" "start" "-a" "3b169f9daee2583c148f35423af6a86bc89c099cb092706ed2f0574ef5253a28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b169f9daee2583c148f35423af6a86bc89c099cb092706ed2f0574ef5253a28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b169f9daee2583c148f35423af6a86bc89c099cb092706ed2f0574ef5253a28", kill_on_drop: false }` [INFO] [stdout] 3b169f9daee2583c148f35423af6a86bc89c099cb092706ed2f0574ef5253a28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7e2f97bb28096873a7436dba32a2edadb639860b533d6dcc1b68933943d8f51 [INFO] running `Command { std: "docker" "start" "-a" "c7e2f97bb28096873a7436dba32a2edadb639860b533d6dcc1b68933943d8f51", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking const-hex v1.14.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking dunce v1.0.5 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking path-slash v0.2.1 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking num_enum v0.7.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking scale-info v2.11.6 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking ethbloom v0.13.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Compiling solang-parser v0.3.3 [INFO] [stderr] Checking ethereum-types v0.14.1 [INFO] [stderr] Checking ethabi v18.0.0 [INFO] [stderr] Checking open-fastrlp v0.1.4 [INFO] [stderr] Checking ethers-core v2.0.14 [INFO] [stderr] Checking ethers-solc v2.0.14 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/artifacts/ast/../../../test-data/ast/ast-erc4626.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/artifacts/ast/lowfidelity.rs:214:19 [INFO] [stdout] | [INFO] [stdout] 214 | let ast = include_str!("../../../test-data/ast/ast-erc4626.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/artifacts/../../test-data/foundryissue2462.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/artifacts/mod.rs:2581:21 [INFO] [stdout] | [INFO] [stdout] 2581 | let input = include_str!("../../test-data/foundryissue2462.json").trim(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../test-data/out-source-maps.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/sourcemap.rs:512:27 [INFO] [stdout] | [INFO] [stdout] 512 | let source_maps = include_str!("../test-data/out-source-maps.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../test-data/cheatcodes.sol-sourcemap.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/sourcemap.rs:521:17 [INFO] [stdout] | [INFO] [stdout] 521 | let s = include_str!("../test-data/cheatcodes.sol-sourcemap.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../test-data/hh-greeter-artifact.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/hh.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | let s = include_str!("../test-data/hh-greeter-artifact.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/compile/../../test-data/in/compiler-in-1.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/compile/mod.rs:780:21 [INFO] [stdout] | [INFO] [stdout] 780 | let input = include_str!("../../test-data/in/compiler-in-1.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/compile/../../test-data/in/compiler-in-1.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/compile/mod.rs:789:21 [INFO] [stdout] | [INFO] [stdout] 789 | let input = include_str!("../../test-data/in/compiler-in-1.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/compile/../../test-data/library-remapping-in.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/compile/mod.rs:801:34 [INFO] [stdout] | [INFO] [stdout] 801 | serde_json::from_str(include_str!("../../test-data/library-remapping-in.json")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/compile/../../test-data/library-remapping-in-2.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/compile/mod.rs:813:34 [INFO] [stdout] | [INFO] [stdout] 813 | serde_json::from_str(include_str!("../../test-data/library-remapping-in-2.json")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `functions` are never read [INFO] [stdout] --> src/resolver/parse.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct SolContract { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 140 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 141 | pub functions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SolContract` 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: field `name` is never read [INFO] [stdout] --> src/resolver/parse.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct SolLibrary { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 178 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SolLibrary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/artifacts/mod.rs:1549:17 [INFO] [stdout] | [INFO] [stdout] 1549 | pub fn find(&self, contract: impl AsRef) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1549 | pub fn find(&self, contract: impl AsRef) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/artifacts/mod.rs:1574:16 [INFO] [stdout] | [INFO] [stdout] 1574 | pub fn get(&self, path: &str, contract: &str) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1574 | pub fn get(&self, path: &str, contract: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/artifacts/mod.rs:1624:17 [INFO] [stdout] | [INFO] [stdout] 1624 | pub fn find(&self, contract: impl AsRef) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1624 | pub fn find(&self, contract: impl AsRef) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/artifact_output/mod.rs:479:30 [INFO] [stdout] | [INFO] [stdout] 479 | fn get_contract_bytecode(&self) -> CompactContractBytecodeCow; [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 479 | fn get_contract_bytecode(&self) -> CompactContractBytecodeCow<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/artifact_output/mod.rs:482:21 [INFO] [stdout] | [INFO] [stdout] 482 | fn get_bytecode(&self) -> Option> { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 482 | fn get_bytecode(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/artifact_output/mod.rs:487:28 [INFO] [stdout] | [INFO] [stdout] 487 | fn get_bytecode_object(&self) -> Option> { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 487 | fn get_bytecode_object(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/artifact_output/mod.rs:496:27 [INFO] [stdout] | [INFO] [stdout] 496 | fn get_bytecode_bytes(&self) -> Option> { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 496 | fn get_bytecode_bytes(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/artifact_output/mod.rs:505:30 [INFO] [stdout] | [INFO] [stdout] 505 | fn get_deployed_bytecode(&self) -> Option> { [INFO] [stdout] | ^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 505 | fn get_deployed_bytecode(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/artifact_output/mod.rs:510:37 [INFO] [stdout] | [INFO] [stdout] 510 | fn get_deployed_bytecode_object(&self) -> Option> { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 510 | fn get_deployed_bytecode_object(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/artifact_output/mod.rs:519:36 [INFO] [stdout] | [INFO] [stdout] 519 | fn get_deployed_bytecode_bytes(&self) -> Option> { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn get_deployed_bytecode_bytes(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/artifact_output/mod.rs:528:16 [INFO] [stdout] | [INFO] [stdout] 528 | fn get_abi(&self) -> Option> { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 528 | fn get_abi(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/artifact_output/mod.rs:541:27 [INFO] [stdout] | [INFO] [stdout] 541 | fn get_source_map_str(&self) -> Option> { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 541 | fn get_source_map_str(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/artifact_output/mod.rs:557:36 [INFO] [stdout] | [INFO] [stdout] 557 | fn get_source_map_deployed_str(&self) -> Option> { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 557 | fn get_source_map_deployed_str(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/artifact_output/mod.rs:587:30 [INFO] [stdout] | [INFO] [stdout] 587 | fn get_contract_bytecode(&self) -> CompactContractBytecodeCow { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 587 | fn get_contract_bytecode(&self) -> CompactContractBytecodeCow<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cache.rs:909:23 [INFO] [stdout] | [INFO] [stdout] 909 | pub fn output_ctx(&self) -> OutputContext { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 909 | pub fn output_ctx(&self) -> OutputContext<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/resolver/mod.rs:253:32 [INFO] [stdout] | [INFO] [stdout] 253 | pub(crate) fn display_node(&self, index: usize) -> DisplayNode { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 253 | pub(crate) fn display_node(&self, index: usize) -> DisplayNode<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/compile/output/mod.rs:502:10 [INFO] [stdout] | [INFO] [stdout] 502 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 503 | ignored_error_codes: &'a [u64], [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 504 | compiler_severity_filter: Severity, [INFO] [stdout] 505 | ) -> OutputDiagnostics { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 505 | ) -> OutputDiagnostics<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/compile/output/mod.rs:580:23 [INFO] [stdout] | [INFO] [stdout] 580 | pub fn find_first(&self, contract: impl AsRef) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 580 | pub fn find_first(&self, contract: impl AsRef) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/compile/output/mod.rs:697:9 [INFO] [stdout] | [INFO] [stdout] 697 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 700 | ) -> Option { [INFO] [stdout] | ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 700 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/compile/output/contracts.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 54 | ctx: &OutputContext, [INFO] [stdout] 55 | ) -> MappedArtifactFiles { [INFO] [stdout] | ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 55 | ) -> MappedArtifactFiles<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/compile/output/contracts.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn find_first(&self, contract: impl AsRef) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 108 | pub fn find_first(&self, contract: impl AsRef) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/compile/output/contracts.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 131 | ) -> Option { [INFO] [stdout] | ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 131 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/compile/output/contracts.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 205 | ) -> Option { [INFO] [stdout] | ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 205 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/report/mod.rs:228:14 [INFO] [stdout] | [INFO] [stdout] 228 | Some(GLOBAL_REPORTER.as_ref().expect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/utils.rs:61:36 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn find_import_paths(contract: &str) -> impl Iterator { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 61 | pub fn find_import_paths(contract: &str) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/utils.rs:72:38 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn find_version_pragma(contract: &str) -> Option { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn find_version_pragma(contract: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ethers-solc` (lib test) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "c7e2f97bb28096873a7436dba32a2edadb639860b533d6dcc1b68933943d8f51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7e2f97bb28096873a7436dba32a2edadb639860b533d6dcc1b68933943d8f51", kill_on_drop: false }` [INFO] [stdout] c7e2f97bb28096873a7436dba32a2edadb639860b533d6dcc1b68933943d8f51