[INFO] fetching crate sway-fmt 0.22.1... [INFO] testing sway-fmt-0.22.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate sway-fmt 0.22.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate sway-fmt 0.22.1 [INFO] finished tweaking crates.io crate sway-fmt 0.22.1 [INFO] tweaked toml for crates.io crate sway-fmt 0.22.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sway-fmt 0.22.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 198 packages to latest compatible versions [INFO] [stderr] Adding sway-core v0.22.1 (available: v0.69.1) [INFO] [stderr] Adding sway-types v0.22.1 (available: v0.69.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2da5a93266f1835dd10852ca64e6c46bbfa383b44f76a7debbbda787aa063978 [INFO] running `Command { std: "docker" "start" "-a" "2da5a93266f1835dd10852ca64e6c46bbfa383b44f76a7debbbda787aa063978", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2da5a93266f1835dd10852ca64e6c46bbfa383b44f76a7debbbda787aa063978", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2da5a93266f1835dd10852ca64e6c46bbfa383b44f76a7debbbda787aa063978", kill_on_drop: false }` [INFO] [stdout] 2da5a93266f1835dd10852ca64e6c46bbfa383b44f76a7debbbda787aa063978 [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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5678871b6339b8226596eea7a377e19b2b6760457c016d85eb877cf819a19f9 [INFO] running `Command { std: "docker" "start" "-a" "c5678871b6339b8226596eea7a377e19b2b6760457c016d85eb877cf819a19f9", kill_on_drop: false }` [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling base58 v0.1.0 [INFO] [stderr] Compiling bech32 v0.7.3 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling fuel-types v0.5.3 [INFO] [stderr] Compiling borrown v0.1.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling fuel-storage v0.2.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling base58check v0.1.0 [INFO] [stderr] Compiling fuel-asm v0.8.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling peg-runtime v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling encode_unicode v0.3.6 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling peg-macros v0.7.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling generational-arena v0.2.9 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling tai64 v4.1.0 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling sway-utils v0.22.1 [INFO] [stderr] Compiling str_indices v0.4.4 [INFO] [stderr] Compiling vec1 v1.12.1 [INFO] [stderr] Compiling ropey v1.6.1 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling peg v0.7.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling secp256k1 v0.24.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling extension-trait v1.0.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling der v0.6.1 [INFO] [stderr] Compiling crypto-bigint v0.4.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling fuel-merkle v0.3.0 [INFO] [stderr] Compiling filecheck v0.5.0 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling rfc6979 v0.3.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling sec1 v0.3.0 [INFO] [stderr] Compiling elliptic-curve v0.12.3 [INFO] [stderr] Compiling ecdsa v0.14.8 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling k256 v0.11.6 [INFO] [stderr] Compiling coins-core v0.7.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling coins-bip32 v0.7.0 [INFO] [stderr] Compiling prettytable-rs v0.8.0 [INFO] [stderr] Compiling prettydiff v0.5.1 [INFO] [stderr] Compiling coins-bip39 v0.7.0 [INFO] [stderr] Compiling fuel-crypto v0.6.2 [INFO] [stderr] Compiling fuel-tx v0.18.0 [INFO] [stderr] Compiling sway-types v0.22.1 [INFO] [stderr] Compiling fuel-vm v0.15.0 [INFO] [stderr] Compiling sway-ast v0.22.1 [INFO] [stderr] Compiling sway-ir v0.22.1 [INFO] [stderr] Compiling sway-parse v0.22.1 [INFO] [stderr] Compiling sway-core v0.22.1 [INFO] [stderr] Compiling sway-fmt v0.22.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "c5678871b6339b8226596eea7a377e19b2b6760457c016d85eb877cf819a19f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5678871b6339b8226596eea7a377e19b2b6760457c016d85eb877cf819a19f9", kill_on_drop: false }` [INFO] [stdout] c5678871b6339b8226596eea7a377e19b2b6760457c016d85eb877cf819a19f9 [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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccfa956ff6f90b2add536132ab1951205fc70f4eb54336742bda195cdce4f56d [INFO] running `Command { std: "docker" "start" "-a" "ccfa956ff6f90b2add536132ab1951205fc70f4eb54336742bda195cdce4f56d", kill_on_drop: false }` [INFO] [stderr] Compiling sway-fmt v0.22.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.51s [INFO] running `Command { std: "docker" "inspect" "ccfa956ff6f90b2add536132ab1951205fc70f4eb54336742bda195cdce4f56d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccfa956ff6f90b2add536132ab1951205fc70f4eb54336742bda195cdce4f56d", kill_on_drop: false }` [INFO] [stdout] ccfa956ff6f90b2add536132ab1951205fc70f4eb54336742bda195cdce4f56d [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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f09c6d9144ae514488270a622d05b823765f0d0065355d99606e94120a8307d8 [INFO] running `Command { std: "docker" "start" "-a" "f09c6d9144ae514488270a622d05b823765f0d0065355d99606e94120a8307d8", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sway_fmt-dce868564d6e9903) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test fmt::tests::test_comparison_operators ... ok [INFO] [stdout] test fmt::tests::test_comments ... ok [INFO] [stdout] test traversal_helper::tests::test_format_use_statement_length_leaves_input_unchanged ... ok [INFO] [stdout] test fmt::tests::test_op_equal ... ok [INFO] [stdout] test fmt::tests::test_enums ... ok [INFO] [stdout] test fmt::tests::test_multiline_string ... ok [INFO] [stdout] test traversal_helper::tests::test_format_use_statement_length_formats_long_input ... ok [INFO] [stdout] test traversal_helper::tests::test_format_use_statement_formats_long_input_with_aliases ... ok [INFO] [stdout] test traversal_helper::tests::test_sort_and_filter_use_expression ... ok [INFO] [stdout] test fmt::tests::test_data_types ... ok [INFO] [stdout] test fmt::tests::test_indentation ... ok [INFO] [stdout] test fmt::tests::test_logical_not_operator ... ok [INFO] [stdout] test fmt::tests::test_string_in_brackets ... ok [INFO] [stdout] test fmt::tests::test_use_statement ... ok [INFO] [stdout] test fmt::tests::test_whitespace_handling ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests sway_fmt [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" "f09c6d9144ae514488270a622d05b823765f0d0065355d99606e94120a8307d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f09c6d9144ae514488270a622d05b823765f0d0065355d99606e94120a8307d8", kill_on_drop: false }` [INFO] [stdout] f09c6d9144ae514488270a622d05b823765f0d0065355d99606e94120a8307d8