[INFO] fetching crate cyfrin-foundry-compilers 0.3.20-aderyn... [INFO] testing cyfrin-foundry-compilers-0.3.20-aderyn against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate cyfrin-foundry-compilers 0.3.20-aderyn into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cyfrin-foundry-compilers 0.3.20-aderyn on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 405 packages to latest compatible versions [INFO] [stderr] Adding alloy-json-abi v0.7.7 (available: v1.4.1) [INFO] [stderr] Adding alloy-primitives v0.7.7 (available: v1.4.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.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 649a2d13c96cc488f1cc165bbcf66dcfaf314d397a42c3385325b19e6c341cc0 [INFO] running `Command { std: "docker" "start" "-a" "649a2d13c96cc488f1cc165bbcf66dcfaf314d397a42c3385325b19e6c341cc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "649a2d13c96cc488f1cc165bbcf66dcfaf314d397a42c3385325b19e6c341cc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "649a2d13c96cc488f1cc165bbcf66dcfaf314d397a42c3385325b19e6c341cc0", kill_on_drop: false }` [INFO] [stdout] 649a2d13c96cc488f1cc165bbcf66dcfaf314d397a42c3385325b19e6c341cc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c58a6cf5be908bab134fc4ede9929b5fb058891d4bd6106b2b9ec3a39608b96 [INFO] running `Command { std: "docker" "start" "-a" "6c58a6cf5be908bab134fc4ede9929b5fb058891d4bd6106b2b9ec3a39608b96", kill_on_drop: false }` [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling const-hex v1.17.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling winnow v0.6.26 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling path-slash v0.2.1 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling ruint v1.17.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling alloy-sol-type-parser v0.7.7 [INFO] [stderr] Compiling alloy-primitives v0.7.7 [INFO] [stderr] Compiling alloy-json-abi v0.7.7 [INFO] [stderr] Compiling solang-parser v0.3.3 [INFO] [stderr] Compiling cyfrin-foundry-compilers v0.3.20-aderyn (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/flatten.rs:242:27 [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.60s [INFO] running `Command { std: "docker" "inspect" "6c58a6cf5be908bab134fc4ede9929b5fb058891d4bd6106b2b9ec3a39608b96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c58a6cf5be908bab134fc4ede9929b5fb058891d4bd6106b2b9ec3a39608b96", kill_on_drop: false }` [INFO] [stdout] 6c58a6cf5be908bab134fc4ede9929b5fb058891d4bd6106b2b9ec3a39608b96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f1c6a2315aa085f3e23a29675c909a21adbad270c007aec4f4dc59169e0a5d7 [INFO] running `Command { std: "docker" "start" "-a" "6f1c6a2315aa085f3e23a29675c909a21adbad270c007aec4f4dc59169e0a5d7", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling clap_builder v4.5.51 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling clap v4.5.51 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling ruint v1.17.0 [INFO] [stderr] Compiling alloy-primitives v0.7.7 [INFO] [stderr] Compiling alloy-json-abi v0.7.7 [INFO] [stderr] Compiling 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:242:27 [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cyfrin-foundry-compilers` (lib test) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6f1c6a2315aa085f3e23a29675c909a21adbad270c007aec4f4dc59169e0a5d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f1c6a2315aa085f3e23a29675c909a21adbad270c007aec4f4dc59169e0a5d7", kill_on_drop: false }` [INFO] [stdout] 6f1c6a2315aa085f3e23a29675c909a21adbad270c007aec4f4dc59169e0a5d7