[INFO] fetching crate puppet-fmt 0.1.2... [INFO] testing puppet-fmt-0.1.2 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate puppet-fmt 0.1.2 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate puppet-fmt 0.1.2 [INFO] finished tweaking crates.io crate puppet-fmt 0.1.2 [INFO] tweaked toml for crates.io crate puppet-fmt 0.1.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate puppet-fmt 0.1.2 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 puppet-fmt 0.1.2 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 argh_derive v0.1.13 [INFO] [stderr] Downloaded tree-sitter-language v0.1.4 [INFO] [stderr] Downloaded tree-sitter-puppet v1.3.0 [INFO] [stderr] Downloaded argh v0.1.13 [INFO] [stderr] Downloaded rust-fuzzy-search v0.1.1 [INFO] [stderr] Downloaded argh_shared v0.1.13 [INFO] [stderr] Downloaded tree-sitter v0.24.7 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f746a965717906d03340be95be70f273db7cabbb8d20d16c06e012cc4cd8d3af [INFO] running `Command { std: "docker" "start" "-a" "f746a965717906d03340be95be70f273db7cabbb8d20d16c06e012cc4cd8d3af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f746a965717906d03340be95be70f273db7cabbb8d20d16c06e012cc4cd8d3af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f746a965717906d03340be95be70f273db7cabbb8d20d16c06e012cc4cd8d3af", kill_on_drop: false }` [INFO] [stdout] f746a965717906d03340be95be70f273db7cabbb8d20d16c06e012cc4cd8d3af [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c713e1230df96482652afe998302264adf0db96c3d3edceb9e1c58fa73d2fa0e [INFO] running `Command { std: "docker" "start" "-a" "c713e1230df96482652afe998302264adf0db96c3d3edceb9e1c58fa73d2fa0e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling argh_shared v0.1.13 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling tree-sitter-language v0.1.4 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling cc v1.2.11 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling rust-fuzzy-search v0.1.1 [INFO] [stderr] Compiling rustc-hash v2.1.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling tree-sitter-puppet v1.3.0 [INFO] [stderr] Compiling tree-sitter v0.24.7 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tempfile v3.16.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling argh_derive v0.1.13 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling argh v0.1.13 [INFO] [stderr] Compiling puppet-fmt v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:410:24 [INFO] [stdout] | [INFO] [stdout] 410 | fn heredoc_start(line: &[u8]) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 410 | fn heredoc_start(line: &[u8]) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.61s [INFO] running `Command { std: "docker" "inspect" "c713e1230df96482652afe998302264adf0db96c3d3edceb9e1c58fa73d2fa0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c713e1230df96482652afe998302264adf0db96c3d3edceb9e1c58fa73d2fa0e", kill_on_drop: false }` [INFO] [stdout] c713e1230df96482652afe998302264adf0db96c3d3edceb9e1c58fa73d2fa0e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 824af7b08c1cd1eee80d1d54cdfb0ae249af5464afcd0b97d9f1f4955a1798c8 [INFO] running `Command { std: "docker" "start" "-a" "824af7b08c1cd1eee80d1d54cdfb0ae249af5464afcd0b97d9f1f4955a1798c8", kill_on_drop: false }` [INFO] [stderr] Compiling puppet-fmt v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:410:24 [INFO] [stdout] | [INFO] [stdout] 410 | fn heredoc_start(line: &[u8]) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 410 | fn heredoc_start(line: &[u8]) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.23s [INFO] running `Command { std: "docker" "inspect" "824af7b08c1cd1eee80d1d54cdfb0ae249af5464afcd0b97d9f1f4955a1798c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "824af7b08c1cd1eee80d1d54cdfb0ae249af5464afcd0b97d9f1f4955a1798c8", kill_on_drop: false }` [INFO] [stdout] 824af7b08c1cd1eee80d1d54cdfb0ae249af5464afcd0b97d9f1f4955a1798c8 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d2efbfbd75efda995da9122ee1a9a29be6ec7f96fad2e1264718006fa8d2e12e [INFO] running `Command { std: "docker" "start" "-a" "d2efbfbd75efda995da9122ee1a9a29be6ec7f96fad2e1264718006fa8d2e12e", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/main.rs:410:24 [INFO] [stderr] | [INFO] [stderr] 410 | fn heredoc_start(line: &[u8]) -> Option { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 410 | fn heredoc_start(line: &[u8]) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `puppet-fmt` (bin "puppet-fmt" test) generated 1 warning (run `cargo fix --bin "puppet-fmt" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/puppet_fmt-ca30a734cb400194) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test tests::extra_indentation ... ok [INFO] [stdout] test tests::test_class ... ok [INFO] [stdout] test tests::define_and_function ... ok [INFO] [stdout] test tests::test_autoindent ... ok [INFO] [stdout] test tests::test_double_quoted ... ok [INFO] [stdout] test tests::dont_align_selector_arrows ... ok [INFO] [stdout] test tests::test_arrow_alignment ... ok [INFO] [stdout] test tests::test_fold_2_indentations ... ok [INFO] [stdout] test tests::test_heredoc ... ok [INFO] [stdout] test tests::test_autospace ... ok [INFO] [stdout] test tests::test_heredoc_end ... ok [INFO] [stdout] test tests::test_heredoc_start ... ok [INFO] [stdout] test tests::test_single_quote_in_double_quoted_string ... ok [INFO] [stdout] test tests::test_if_else ... ok [INFO] [stdout] test tests::test_resource_like_class_definition ... ok [INFO] [stdout] test tests::test_multiline ... ok [INFO] [stdout] test tests::test_relation ... ok [INFO] [stdout] test tests::test_hash ... ok [INFO] [stdout] test tests::test_trailing_whitespace ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d2efbfbd75efda995da9122ee1a9a29be6ec7f96fad2e1264718006fa8d2e12e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2efbfbd75efda995da9122ee1a9a29be6ec7f96fad2e1264718006fa8d2e12e", kill_on_drop: false }` [INFO] [stdout] d2efbfbd75efda995da9122ee1a9a29be6ec7f96fad2e1264718006fa8d2e12e