[INFO] fetching crate treefmt 0.6.1... [INFO] testing treefmt-0.6.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate treefmt 0.6.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate treefmt 0.6.1 [INFO] finished tweaking crates.io crate treefmt 0.6.1 [INFO] tweaked toml for crates.io crate treefmt 0.6.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate treefmt 0.6.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate treefmt 0.6.1 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap-verbosity-flag v2.0.1 [INFO] [stderr] Downloaded regex-automata v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9c806494d1088b881d0214eb770a05def8198e938751295781d2ecc1144026a [INFO] running `Command { std: "docker" "start" "-a" "c9c806494d1088b881d0214eb770a05def8198e938751295781d2ecc1144026a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9c806494d1088b881d0214eb770a05def8198e938751295781d2ecc1144026a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9c806494d1088b881d0214eb770a05def8198e938751295781d2ecc1144026a", kill_on_drop: false }` [INFO] [stdout] c9c806494d1088b881d0214eb770a05def8198e938751295781d2ecc1144026a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86974256668d3978295ca59508c5dd3dbfe301d9001614a5542ee0986db18589 [INFO] running `Command { std: "docker" "start" "-a" "86974256668d3978295ca59508c5dd3dbfe301d9001614a5542ee0986db18589", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.3 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling bstr v1.6.0 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling serde_json v1.0.102 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling ryu v1.0.14 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling itoa v1.0.8 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling path-clean v0.1.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling syn v2.0.25 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling filetime v0.2.21 [INFO] [stderr] Compiling regex-automata v0.3.2 [INFO] [stderr] Compiling directories v3.0.2 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling terminal_size v0.2.6 [INFO] [stderr] Compiling clap_builder v4.3.11 [INFO] [stderr] Compiling serde_derive v1.0.171 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling globset v0.4.10 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling console v0.13.0 [INFO] [stderr] Compiling ignore v0.4.20 [INFO] [stderr] Compiling clap v4.3.11 [INFO] [stderr] Compiling clap-verbosity-flag v2.0.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling treefmt v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.15s [INFO] running `Command { std: "docker" "inspect" "86974256668d3978295ca59508c5dd3dbfe301d9001614a5542ee0986db18589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86974256668d3978295ca59508c5dd3dbfe301d9001614a5542ee0986db18589", kill_on_drop: false }` [INFO] [stdout] 86974256668d3978295ca59508c5dd3dbfe301d9001614a5542ee0986db18589 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de05e0aaa77b1a45a693734b371805df41438ba5d271fe9ae7ea7edcabbf5c8c [INFO] running `Command { std: "docker" "start" "-a" "de05e0aaa77b1a45a693734b371805df41438ba5d271fe9ae7ea7edcabbf5c8c", kill_on_drop: false }` [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling plotters-backend v0.3.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling fragile v2.0.0 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling csv v1.2.2 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling plotters-svg v0.3.5 [INFO] [stderr] Compiling plotters v0.3.5 [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling mockall v0.11.4 [INFO] [stderr] Compiling treefmt v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.05s [INFO] running `Command { std: "docker" "inspect" "de05e0aaa77b1a45a693734b371805df41438ba5d271fe9ae7ea7edcabbf5c8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de05e0aaa77b1a45a693734b371805df41438ba5d271fe9ae7ea7edcabbf5c8c", kill_on_drop: false }` [INFO] [stdout] de05e0aaa77b1a45a693734b371805df41438ba5d271fe9ae7ea7edcabbf5c8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7675c3d6acef6a84f2625ac1cf8be6b48e0a618fd5341cba0fa736380e67ef8f [INFO] running `Command { std: "docker" "start" "-a" "7675c3d6acef6a84f2625ac1cf8be6b48e0a618fd5341cba0fa736380e67ef8f", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/treefmt-be8f316a06510008) [INFO] [stdout] [INFO] [stdout] running 33 tests [INFO] [stdout] test command::tests::current_dir_prefers_pwd_env_var ... ignored, std::env::set_var: should not be run in parallel. [INFO] [stdout] test command::tests::current_dir_uses_dereferenced_path_when_pwd_env_var_not_set ... ignored, std::env::set_var: should not be run in parallel. [INFO] [stdout] test config::tests::test_cwd ... ok [INFO] [stdout] test config::tests::test_fmt_command ... ok [INFO] [stdout] test config::tests::test_fmt_excludes ... ok [INFO] [stdout] test config::tests::test_fmt_includes ... ok [INFO] [stdout] test config::tests::test_fmt_work_dir ... ok [INFO] [stdout] test engine::tests::test_diff_matches_no_changes_no_files ... ok [INFO] [stdout] test engine::tests::test_diff_matches_no_changes ... ok [INFO] [stdout] test config::tests::test_fmt_options ... ok [INFO] [stdout] test config::tests::test_root ... ok [INFO] [stdout] test engine::tests::test_diff_matches_with_changes ... ok [INFO] [stdout] test config::tests::test_from_path ... ok [INFO] [stdout] test config::tests::test_lookup ... ok [INFO] [stdout] test engine::tests::test_formatter_loading_selected_allow_missing ... ok [INFO] [stdout] test config::tests::test_global_config ... ok [INFO] [stdout] test tests::test_expand_if_path_single_pattern ... ok [INFO] [stdout] test tests::test_expand_if_path_single_pattern_with_slash ... ok [INFO] [stdout] test engine::tests::test_formatter_loading_some ... ok [INFO] [stdout] test engine::tests::test_formatter_loading_some_missing_formatter_allowed ... ok [INFO] [stdout] test engine::tests::test_walker_some_matches_local_exclude ... ok [INFO] [stdout] test tests::test_expand_if_path_wildcard ... ok [INFO] [stdout] test engine::tests::test_walker_no_matches ... ok [INFO] [stdout] test engine::tests::test_walker_some_matches_specific_include ... ok [INFO] [stdout] test engine::tests::test_walker_some_matches_gitignore ... ok [INFO] [stdout] test engine::tests::test_walker_some_matches ... ok [INFO] [stdout] test engine::tests::test_walker_some_matches_ignore_gitignore ... ok [INFO] [stdout] test engine::tests::test_walker_some_matches_ignore_gitignore_not_a_git_directory ... ok [INFO] [stdout] test engine::tests::test_walker_some_matches_exclude_gitignore ... ok [INFO] [stdout] test engine::tests::test_walker_some_matches_global_exclude ... ok [INFO] [stdout] test engine::tests::test_formatter_loading_selected_missing - should panic ... ok [INFO] [stdout] test engine::tests::test_formatter_loading_some_missing_formatter - should panic ... ok [INFO] [stdout] test engine::tests::test_formatter_loading_missing_includes - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/treefmt-2ca35969603dd822) [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] [stderr] Doc-tests treefmt [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" "7675c3d6acef6a84f2625ac1cf8be6b48e0a618fd5341cba0fa736380e67ef8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7675c3d6acef6a84f2625ac1cf8be6b48e0a618fd5341cba0fa736380e67ef8f", kill_on_drop: false }` [INFO] [stdout] 7675c3d6acef6a84f2625ac1cf8be6b48e0a618fd5341cba0fa736380e67ef8f