[INFO] fetching crate solang-forge-fmt 0.2.0... [INFO] testing solang-forge-fmt-0.2.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate solang-forge-fmt 0.2.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate solang-forge-fmt 0.2.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate solang-forge-fmt 0.2.0 [INFO] tweaked toml for crates.io crate solang-forge-fmt 0.2.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate solang-forge-fmt 0.2.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate solang-forge-fmt 0.2.0 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solang-parser v0.3.5 [INFO] [stderr] Downloaded similar-asserts v1.7.0 [INFO] [stderr] Downloaded const-hex v1.14.1 [INFO] [stderr] Downloaded alloy-primitives v0.7.7 [INFO] [stderr] Downloaded cc v1.2.24 [INFO] [stderr] Downloaded pest v2.8.0 [INFO] [stderr] Downloaded ruint v1.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ad9a2679f1e41ce57ccb735383c4a6c32d83305278eff7cdf34ba81c790f1a7 [INFO] running `Command { std: "docker" "start" "-a" "2ad9a2679f1e41ce57ccb735383c4a6c32d83305278eff7cdf34ba81c790f1a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ad9a2679f1e41ce57ccb735383c4a6c32d83305278eff7cdf34ba81c790f1a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ad9a2679f1e41ce57ccb735383c4a6c32d83305278eff7cdf34ba81c790f1a7", kill_on_drop: false }` [INFO] [stdout] 2ad9a2679f1e41ce57ccb735383c4a6c32d83305278eff7cdf34ba81c790f1a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 904b4b9f4f0c33e11d062b28e51ec38f803274cf4ca35a22252e8dd0780c176c [INFO] running `Command { std: "docker" "start" "-a" "904b4b9f4f0c33e11d062b28e51ec38f803274cf4ca35a22252e8dd0780c176c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling const-hex v1.14.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling ruint v1.15.0 [INFO] [stderr] Compiling ariadne v0.4.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling alloy-primitives v0.7.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling solang-parser v0.3.5 [INFO] [stderr] Compiling solang-forge-fmt v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.57s [INFO] running `Command { std: "docker" "inspect" "904b4b9f4f0c33e11d062b28e51ec38f803274cf4ca35a22252e8dd0780c176c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "904b4b9f4f0c33e11d062b28e51ec38f803274cf4ca35a22252e8dd0780c176c", kill_on_drop: false }` [INFO] [stdout] 904b4b9f4f0c33e11d062b28e51ec38f803274cf4ca35a22252e8dd0780c176c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65a2a1c8e12fd268c624b7b108232fff4f4c70baa390dd480bb588209653ba61 [INFO] running `Command { std: "docker" "start" "-a" "65a2a1c8e12fd268c624b7b108232fff4f4c70baa390dd480bb588209653ba61", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling similar-asserts v1.7.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling solang-parser v0.3.5 [INFO] [stderr] Compiling solang-forge-fmt v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 53.98s [INFO] running `Command { std: "docker" "inspect" "65a2a1c8e12fd268c624b7b108232fff4f4c70baa390dd480bb588209653ba61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65a2a1c8e12fd268c624b7b108232fff4f4c70baa390dd480bb588209653ba61", kill_on_drop: false }` [INFO] [stdout] 65a2a1c8e12fd268c624b7b108232fff4f4c70baa390dd480bb588209653ba61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8c30bc25a244a4019bd7ead3a2af0732cdd4eb2ed07290b6e81da33d5568078d [INFO] running `Command { std: "docker" "start" "-a" "8c30bc25a244a4019bd7ead3a2af0732cdd4eb2ed07290b6e81da33d5568078d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/solang_forge_fmt-8d2101b9a34db141) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test string::tests::quoted_ranges ... ok [INFO] [stdout] test buffer::tests::test_preserves_original_content_with_default_settings ... ok [INFO] [stdout] test buffer::tests::test_identical_temp_buf ... ok [INFO] [stdout] test string::tests::quote_state_char_indices ... ok [INFO] [stdout] test helpers::tests::test_interface_format ... ok [INFO] [stdout] test buffer::tests::test_buffer_indents ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] Running tests/formatter.rs (/opt/rustwide/target/debug/deps/formatter-c414e982b3401ad7) [INFO] [stdout] [INFO] [stdout] running 53 tests [INFO] [stdout] test Annotation ... ok [INFO] [stdout] test ConstructorDefinition ... ok [INFO] [stdout] test BlockCommentsFunction ... ok [INFO] [stdout] test EnumDefinition ... ok [INFO] [stdout] test BlockComments ... ok [INFO] [stdout] test ConstructorModifierStyle ... ok [INFO] [stdout] test EmitStatement ... ok [INFO] [stdout] test DoWhileStatement ... ok [INFO] [stdout] test EnumVariants ... ok [INFO] [stdout] test HexUnderscore ... ok [INFO] [stdout] test ErrorDefinition ... ok [INFO] [stdout] test ForStatement ... ok [INFO] [stdout] test DocComments ... ok [INFO] [stdout] test FunctionDefinitionWithFunctionReturns ... ok [INFO] [stdout] test IfStatement2 ... ok [INFO] [stdout] test ConditionalOperatorExpression ... ok [INFO] [stdout] test MappingType ... ok [INFO] [stdout] test ModifierDefinition ... ok [INFO] [stdout] test ContractDefinition ... ok [INFO] [stdout] test PragmaDirective ... ok [INFO] [stdout] test Repros ... ok [INFO] [stdout] test NumberLiteralUnderscore ... ok [INFO] [stdout] test FunctionCall ... ok [INFO] [stdout] test FunctionCallArgsStatement ... ok [INFO] [stdout] test ImportDirective ... ok [INFO] [stdout] test FunctionType ... ok [INFO] [stdout] test SortedImports ... ok [INFO] [stdout] test StructDefinition ... ok [INFO] [stdout] test ThisExpression ... ok [INFO] [stdout] test ArrayExpressions ... ok [INFO] [stdout] test RevertNamedArgsStatement ... ok [INFO] [stdout] test TrailingComma ... ok [INFO] [stdout] test TypeDefinition ... ok [INFO] [stdout] test EventDefinition ... ok [INFO] [stdout] test IntTypes ... ok [INFO] [stdout] test NamedFunctionCallExpression ... ok [INFO] [stdout] test StatementBlock ... ok [INFO] [stdout] test UnitExpression ... ok [INFO] [stdout] test UsingDirective ... ok [INFO] [stdout] test OperatorExpressions ... ok [INFO] [stdout] test ReturnStatement ... ok [INFO] [stdout] test RevertStatement ... ok [INFO] [stdout] test SimpleComments ... ok [INFO] [stdout] test LiteralExpression ... ok [INFO] [stdout] test YulStrings ... ok [INFO] [stdout] test WhileStatement ... ok [INFO] [stdout] test TryStatement ... ok [INFO] [stdout] test VariableAssignment ... ok [INFO] [stdout] test VariableDefinition ... ok [INFO] [stdout] test Yul ... ok [INFO] [stdout] test IfStatement ... ok [INFO] [stdout] test InlineDisable ... ok [INFO] [stdout] test FunctionDefinition ... ok [INFO] [stderr] Doc-tests solang_forge_fmt [INFO] [stdout] [INFO] [stdout] test result: ok. 53 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8c30bc25a244a4019bd7ead3a2af0732cdd4eb2ed07290b6e81da33d5568078d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c30bc25a244a4019bd7ead3a2af0732cdd4eb2ed07290b6e81da33d5568078d", kill_on_drop: false }` [INFO] [stdout] 8c30bc25a244a4019bd7ead3a2af0732cdd4eb2ed07290b6e81da33d5568078d