[INFO] fetching crate cyfrin-foundry-compilers 0.3.20-aderyn... [INFO] checking cyfrin-foundry-compilers-0.3.20-aderyn against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate cyfrin-foundry-compilers 0.3.20-aderyn into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate cyfrin-foundry-compilers 0.3.20-aderyn [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cyfrin-foundry-compilers 0.3.20-aderyn [INFO] tweaked toml for crates.io crate cyfrin-foundry-compilers 0.3.20-aderyn written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cyfrin-foundry-compilers 0.3.20-aderyn on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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 403 packages to latest compatible versions [INFO] [stderr] Adding alloy-json-abi v0.7.7 (available: v1.3.1) [INFO] [stderr] Adding alloy-primitives v0.7.7 (available: v1.3.1) [INFO] [stderr] Adding criterion v0.5.1 (available: v0.7.0) [INFO] [stderr] Adding dirs v5.0.1 (available: v6.0.0) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.14.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding solang-parser v0.3.3 (available: v0.3.5) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6bf5f63bb4283b3db2cf999a51bf40910ae19cbc9a697688b2232101c4b5f3b1 [INFO] running `Command { std: "docker" "start" "-a" "6bf5f63bb4283b3db2cf999a51bf40910ae19cbc9a697688b2232101c4b5f3b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bf5f63bb4283b3db2cf999a51bf40910ae19cbc9a697688b2232101c4b5f3b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bf5f63bb4283b3db2cf999a51bf40910ae19cbc9a697688b2232101c4b5f3b1", kill_on_drop: false }` [INFO] [stdout] 6bf5f63bb4283b3db2cf999a51bf40910ae19cbc9a697688b2232101c4b5f3b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ac9b5c350c20d27ef6c17205c15cccb6ed37deb6c00a9e3dd212688bacdae1b [INFO] running `Command { std: "docker" "start" "-a" "2ac9b5c350c20d27ef6c17205c15cccb6ed37deb6c00a9e3dd212688bacdae1b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking winnow v0.6.26 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking clap_builder v4.5.44 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking clap v4.5.45 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking memmap2 v0.9.8 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking path-slash v0.2.1 [INFO] [stderr] Checking dunce v1.0.5 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stderr] Compiling solang-parser v0.3.3 [INFO] [stderr] Checking ruint v1.16.0 [INFO] [stderr] Checking const-hex v1.15.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking alloy-sol-type-parser v0.7.7 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking alloy-primitives v0.7.7 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking alloy-json-abi v0.7.7 [INFO] [stderr] Checking cyfrin-foundry-compilers v0.3.20-aderyn (/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:216:19 [INFO] [stdout] | [INFO] [stdout] 216 | 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:2363:21 [INFO] [stdout] | [INFO] [stdout] 2363 | 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:507:27 [INFO] [stdout] | [INFO] [stdout] 507 | 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:516:17 [INFO] [stdout] | [INFO] [stdout] 516 | 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:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | 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:784:21 [INFO] [stdout] | [INFO] [stdout] 784 | 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:793:21 [INFO] [stdout] | [INFO] [stdout] 793 | 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:805:34 [INFO] [stdout] | [INFO] [stdout] 805 | 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:817:34 [INFO] [stdout] | [INFO] [stdout] 817 | serde_json::from_str(include_str!("../../test-data/library-remapping-in-2.json")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/flatten.rs:238:10 [INFO] [stdout] | [INFO] [stdout] 238 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 241 | target_license: Option<&'a str>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 242 | ) -> FlatteningResult<'_> { [INFO] [stdout] | -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 242 - ) -> FlatteningResult<'_> { [INFO] [stdout] 242 + ) -> FlatteningResult<'a> { [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] error[E0432]: unresolved import `foundry_compilers` [INFO] [stdout] --> benches/compile_many.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use foundry_compilers::{CompilerInput, Solc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `foundry_compilers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `foundry_compilers`, use `cargo add foundry_compilers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cyfrin-foundry-compilers` (bench "compile_many") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cyfrin-foundry-compilers` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "2ac9b5c350c20d27ef6c17205c15cccb6ed37deb6c00a9e3dd212688bacdae1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ac9b5c350c20d27ef6c17205c15cccb6ed37deb6c00a9e3dd212688bacdae1b", kill_on_drop: false }` [INFO] [stdout] 2ac9b5c350c20d27ef6c17205c15cccb6ed37deb6c00a9e3dd212688bacdae1b