[INFO] fetching crate maudfmt 0.1.7... [INFO] testing maudfmt-0.1.7 against 1.90.0 for beta-1.91-3 [INFO] extracting crate maudfmt 0.1.7 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate maudfmt 0.1.7 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate maudfmt 0.1.7 [INFO] tweaked toml for crates.io crate maudfmt 0.1.7 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate maudfmt 0.1.7 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate maudfmt 0.1.7 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wit-bindgen v0.45.0 [INFO] [stderr] Downloaded tempfile v3.21.0 [INFO] [stderr] Downloaded assert_fs v1.1.3 [INFO] [stderr] Downloaded assert_cmd v2.0.17 [INFO] [stderr] Downloaded str_indices v0.4.4 [INFO] [stderr] Downloaded predicates v3.1.3 [INFO] [stderr] Downloaded clap_builder v4.5.46 [INFO] [stderr] Downloaded crop v0.4.3 [INFO] [stderr] Downloaded clap v4.5.46 [INFO] [stderr] Downloaded wasi v0.14.3+wasi-0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0b9c2063aa0e952fcd1bfb6365e6d5e0165e4794d995d53681448688f7a99f3 [INFO] running `Command { std: "docker" "start" "-a" "d0b9c2063aa0e952fcd1bfb6365e6d5e0165e4794d995d53681448688f7a99f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0b9c2063aa0e952fcd1bfb6365e6d5e0165e4794d995d53681448688f7a99f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0b9c2063aa0e952fcd1bfb6365e6d5e0165e4794d995d53681448688f7a99f3", kill_on_drop: false }` [INFO] [stdout] d0b9c2063aa0e952fcd1bfb6365e6d5e0165e4794d995d53681448688f7a99f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b82baeca90fae527bb62d8b10dc8b9a0d71e9e284f96b1ec2f8bde39b153567e [INFO] running `Command { std: "docker" "start" "-a" "b82baeca90fae527bb62d8b10dc8b9a0d71e9e284f96b1ec2f8bde39b153567e", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling str_indices v0.4.4 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling clap_builder v4.5.46 [INFO] [stderr] Compiling crop v0.4.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling clap v4.5.46 [INFO] [stderr] Compiling maudfmt v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.46s [INFO] running `Command { std: "docker" "inspect" "b82baeca90fae527bb62d8b10dc8b9a0d71e9e284f96b1ec2f8bde39b153567e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b82baeca90fae527bb62d8b10dc8b9a0d71e9e284f96b1ec2f8bde39b153567e", kill_on_drop: false }` [INFO] [stdout] b82baeca90fae527bb62d8b10dc8b9a0d71e9e284f96b1ec2f8bde39b153567e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25de007d467c30d4b5f9faeae014d7b002f76356cd3f38f248d4500173fd0cf1 [INFO] running `Command { std: "docker" "start" "-a" "25de007d467c30d4b5f9faeae014d7b002f76356cd3f38f248d4500173fd0cf1", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling assert_fs v1.1.3 [INFO] [stderr] Compiling maudfmt v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.36s [INFO] running `Command { std: "docker" "inspect" "25de007d467c30d4b5f9faeae014d7b002f76356cd3f38f248d4500173fd0cf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25de007d467c30d4b5f9faeae014d7b002f76356cd3f38f248d4500173fd0cf1", kill_on_drop: false }` [INFO] [stdout] 25de007d467c30d4b5f9faeae014d7b002f76356cd3f38f248d4500173fd0cf1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e15185a8895d84b0572c258792be1aac79e50a37c9214f2e930602a11c735c80 [INFO] running `Command { std: "docker" "start" "-a" "e15185a8895d84b0572c258792be1aac79e50a37c9214f2e930602a11c735c80", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/maudfmt-f4af686352771a57) [INFO] [stdout] [INFO] [stdout] running 92 tests [INFO] [stdout] test collect::test::rustfmt_skip ... ok [INFO] [stdout] test collect::test::rustfmt_skip_one_liner ... ok [INFO] [stdout] test print::comment_and_whitespace::test::comment_empty_block ... ok [INFO] [stdout] test collect::test::rustfmt_skip_only_one ... ok [INFO] [stdout] test print::comment_and_whitespace::test::comment_end_block ... ok [INFO] [stdout] test format::test::maudfmt_ignore_with_comment_text ... ok [INFO] [stdout] test print::comment_and_whitespace::test::comments_before_after_elements ... ok [INFO] [stdout] test format::test::maudfmt_ignore_multiple_lines ... ok [INFO] [stdout] test print::comment_and_whitespace::test::comment_end_block_before_control ... ok [INFO] [stdout] test print::comment_and_whitespace::test::comments_with_classes_and_ids ... ok [INFO] [stdout] test print::comment_and_whitespace::test::comments_at_block_boundaries ... ok [INFO] [stdout] test print::comment_and_whitespace::test::comments_with_attributes ... ok [INFO] [stdout] test format::test::maudfmt_ignore_long_line_no_split ... ok [INFO] [stdout] test print::comment_and_whitespace::test::comment_markup ... ok [INFO] [stdout] test format::test::maudfmt_ignore_with_extra_brace ... ok [INFO] [stdout] test print::comment_and_whitespace::test::ensure_leading_space_in_comments ... ok [INFO] [stdout] test print::comment_and_whitespace::test::comments_with_complex_splices ... ok [INFO] [stdout] test print::comment_and_whitespace::test::keep_single_whitespace ... ok [INFO] [stdout] test print::control_flow::test::comment_inline ... ok [INFO] [stdout] test print::comment_and_whitespace::test::keep_indents_in_comments_blocks ... ok [INFO] [stdout] test print::comment_and_whitespace::test::keep_comment_1 ... ok [INFO] [stdout] test print::comment_and_whitespace::test::keep_whitespace ... ok [INFO] [stdout] test print::comment_and_whitespace::test::comments_with_match_expressions ... ok [INFO] [stdout] test print::comment_and_whitespace::test::force_expand_attrs ... ok [INFO] [stdout] test print::comment_and_whitespace::test::force_expand_inline ... ok [INFO] [stdout] test print::comment_and_whitespace::test::comments_slashes_in_string ... ok [INFO] [stdout] test print::comment_and_whitespace::test::comments_mixed_with_control_and_elements ... ok [INFO] [stdout] test print::comment_and_whitespace::test::utf8_characters_in_content_and_comments ... ok [INFO] [stdout] test print::comment_and_whitespace::test::keep_indents_in_comments_attrs ... ok [INFO] [stdout] test print::comment_and_whitespace::test::comments_before_after_control_structures ... ok [INFO] [stdout] test print::comment_and_whitespace::test::comments_with_nested_blocks ... ok [INFO] [stdout] test print::comment_and_whitespace::test::inline_comments_on_constructs ... ok [INFO] [stdout] test print::control_flow::test::control_for ... ok [INFO] [stdout] test print::control_flow::test::control_if ... ok [INFO] [stdout] test print::control_flow::test::control_for_range ... ok [INFO] [stdout] test print::control_flow::test::control_if_else ... ok [INFO] [stdout] test print::control_flow::test::control_let_long_binary_expr ... ok [INFO] [stdout] test print::control_flow::test::control_let_long_field_access ... ok [INFO] [stdout] test print::control_flow::test::control_let_medium_length_stays_inline ... ok [INFO] [stdout] test print::comment_and_whitespace::test::comments_with_while_loops ... ok [INFO] [stdout] test print::control_flow::test::control_match_with_guard ... ok [INFO] [stdout] test print::control_flow::test::control_if_elseif_else ... ok [INFO] [stdout] test print::element::test::line_length_attrs_empty ... ok [INFO] [stdout] test print::element::test::line_length_attrs_empty_toggle ... ok [INFO] [stdout] test print::control_flow::test::control_let_medium_length_wraps ... ok [INFO] [stdout] test print::element::test::line_length_attrs_normal ... ok [INFO] [stdout] test print::element::test::line_length_class ... ok [INFO] [stdout] test print::element::test::implicit_div ... ok [INFO] [stdout] test print::element::test::line_length_element_body_expand_one_el ... ok [INFO] [stdout] test print::element::test::line_length_element_body_no_expand ... ok [INFO] [stdout] test print::control_flow::test::control_while ... ok [INFO] [stdout] test print::element::test::line_length_element_body_expand_multi_el ... ok [INFO] [stdout] test print::control_flow::test::control_match ... ok [INFO] [stdout] test print::element::test::line_length_attrs_optional ... ok [INFO] [stdout] test print::element::test::line_length_element_body_no_expand_multi_el ... ok [INFO] [stdout] test print::element::test::classes_and_ids ... ok [INFO] [stdout] test print::element::test::line_length_element_not_empty ... ok [INFO] [stdout] test print::control_flow::test::control_while_let ... ok [INFO] [stdout] test print::element::test::line_length_element_id ... ok [INFO] [stdout] test print::element::test::empty_attributes ... ok [INFO] [stdout] test print::element::test::elements_with_contents ... ok [INFO] [stdout] test print::element::test::custom_elements_and_attributes ... ok [INFO] [stdout] test print::element::test::indented_multi_line_attribute_value ... ok [INFO] [stdout] test print::control_flow::test::if_let ... ok [INFO] [stdout] test print::element::test::multiline_attribute_toggle_expression ... ok [INFO] [stdout] test print::element::test::line_length_element_empty ... ok [INFO] [stdout] test print::element::test::quoted_attributes ... ok [INFO] [stdout] test print::lit::test::lit ... ok [INFO] [stdout] test print::element::test::quoted_class_and_ids ... ok [INFO] [stdout] test print::element::test::toggle_classes ... ok [INFO] [stdout] test print::lit::test::correct_multiline_string_indent_in_splices ... ok [INFO] [stdout] test print::control_flow::test::control_let ... ok [INFO] [stdout] test print::element::test::toggle_empty_attributes ... ok [INFO] [stdout] test print::element::test::quoted_attributes_special_chars ... ok [INFO] [stdout] test print::element::test::toggle_optional_attributes ... ok [INFO] [stdout] test print::element::test::splice_concatenation ... ok [INFO] [stdout] test print::lit::test::whitespace_in_multi_line_strings_edge_case ... ok [INFO] [stdout] test print::test::empty ... ok [INFO] [stdout] test print::splice::test::doctype ... ok [INFO] [stdout] test print::test::empty_full_macro_declaration ... ok [INFO] [stdout] test print::markup::test::semi ... ok [INFO] [stdout] test print::element::test::splice_in_attributes ... ok [INFO] [stdout] test print::splice::test::escaping ... ok [INFO] [stdout] test print::element::test::non_empty_attributes ... ok [INFO] [stdout] test print::splice::test::line_length_long_splice ... ok [INFO] [stdout] test print::element::test::splice_classes_and_ids ... ok [INFO] [stdout] test print::splice::test::blank_line_above_splice ... ok [INFO] [stdout] test print::splice::test::splices ... ok [INFO] [stdout] test print::splice::test::splices_block ... ok [INFO] [stdout] test print::element::test::multiline_attribute_toggle_block ... ok [INFO] [stdout] test print::element::test::void_element ... ok [INFO] [stdout] test print::expr::test::if_let_chain ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 92 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/maudfmt-827c2f9d20712ed0) [INFO] [stdout] [INFO] [stderr] Running tests/cli.rs (/opt/rustwide/target/debug/deps/cli-1787b2b76c530c99) [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] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test format_file_with_custom_macro_names ... ok [INFO] [stdout] test format_stdin_with_custom_macro_names ... ok [INFO] [stdout] test format_file_from_stdin ... ok [INFO] [stdout] test format_dir_from_argument ... ok [INFO] [stdout] test format_file_from_argument ... ok [INFO] [stdout] test format_multiple_files_from_argument ... ok [INFO] [stderr] Running tests/rustfmt_arg.rs (/opt/rustwide/target/debug/deps/rustfmt_arg-8bc3c997972a35f4) [INFO] [stdout] test format_file_with_custom_macro_names_short_arg ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test execute_rustfmt_on_stdin ... FAILED [INFO] [stdout] test execute_rustfmt_on_files ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- execute_rustfmt_on_stdin stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'execute_rustfmt_on_stdin' panicked at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5: [INFO] [stdout] Unexpected stdout, failed diff original var [INFO] [stdout] ├── original: use maud::{html, Markup, DOCTYPE}; [INFO] [stdout] │ [INFO] [stdout] │ /// A basic header with a dynamic `page_title`. [INFO] [stdout] │ fn header(page_title: &str) -> Markup { [INFO] [stdout] │ html! { [INFO] [stdout] │ (DOCTYPE) [INFO] [stdout] │ meta charset="utf-8"; [INFO] [stdout] │ title { (page_title) } [INFO] [stdout] │ } [INFO] [stdout] │ } [INFO] [stdout] │ [INFO] [stdout] │ /// A static footer. [INFO] [stdout] │ fn footer() -> Markup { [INFO] [stdout] │ html! { [INFO] [stdout] │ footer { [INFO] [stdout] │ a href="rss.atom" { "RSS Feed" } [INFO] [stdout] │ } [INFO] [stdout] │ } [INFO] [stdout] │ } [INFO] [stdout] │ [INFO] [stdout] │ /// The final Markup, including `header` and `footer`. [INFO] [stdout] │ /// [INFO] [stdout] │ /// Additionally takes a `greeting_box` that's `Markup`, not `&str`. [INFO] [stdout] │ pub fn page(title: &str, greeting_box: Markup) -> Markup { [INFO] [stdout] │ html! { [INFO] [stdout] │ (header(title)) [INFO] [stdout] │ h1 { (title) } [INFO] [stdout] │ (greeting_box) [INFO] [stdout] │ (footer()) [INFO] [stdout] │ } [INFO] [stdout] │ } [INFO] [stdout] ├── diff: [INFO] [stdout] │ --- orig [INFO] [stdout] │ +++ var [INFO] [stdout] │ @@ -1 +1 @@ [INFO] [stdout] │ -use maud::{html, Markup, DOCTYPE}; [INFO] [stdout] │ +use maud::{DOCTYPE, html, Markup}; [INFO] [stdout] │ @@ -4,7 +4,5 @@ [INFO] [stdout] │ -fn header(page_title: &str) -> Markup { [INFO] [stdout] │ - html! { [INFO] [stdout] │ - (DOCTYPE) [INFO] [stdout] │ - meta charset="utf-8"; [INFO] [stdout] │ - title { (page_title) } [INFO] [stdout] │ - } [INFO] [stdout] │ -} [INFO] [stdout] │ +fn header(page_title: &str) -> Markup {html! { [INFO] [stdout] │ + (DOCTYPE) [INFO] [stdout] │ + meta charset="utf-8"; [INFO] [stdout] │ + title { (page_title) } [INFO] [stdout] │ +} } [INFO] [stdout] │ @@ -13,5 +11,3 @@ [INFO] [stdout] │ -fn footer() -> Markup { [INFO] [stdout] │ - html! { [INFO] [stdout] │ - footer { [INFO] [stdout] │ - a href="rss.atom" { "RSS Feed" } [INFO] [stdout] │ - } [INFO] [stdout] │ +fn footer() -> Markup { html! { [INFO] [stdout] │ + footer { [INFO] [stdout] │ + a href="rss.atom" { "RSS Feed" } [INFO] [stdout] │ @@ -19 +15 @@ [INFO] [stdout] │ -} [INFO] [stdout] │ +} } [INFO] [stdout] │ @@ -24,8 +20,6 @@ [INFO] [stdout] │ -pub fn page(title: &str, greeting_box: Markup) -> Markup { [INFO] [stdout] │ - html! { [INFO] [stdout] │ - (header(title)) [INFO] [stdout] │ - h1 { (title) } [INFO] [stdout] │ - (greeting_box) [INFO] [stdout] │ - (footer()) [INFO] [stdout] │ - } [INFO] [stdout] │ -} [INFO] [stdout] │ +pub fn page(title: &str, greeting_box: Markup) -> Markup { html! { [INFO] [stdout] │ + (header(title)) [INFO] [stdout] │ + h1 { (title) } [INFO] [stdout] │ + (greeting_box) [INFO] [stdout] │ + (footer()) [INFO] [stdout] │ +} } [INFO] [stdout] └── var as str: use maud::{DOCTYPE, html, Markup}; [INFO] [stdout] [INFO] [stdout] /// A basic header with a dynamic `page_title`. [INFO] [stdout] fn header(page_title: &str) -> Markup {html! { [INFO] [stdout] (DOCTYPE) [INFO] [stdout] meta charset="utf-8"; [INFO] [stdout] title { (page_title) } [INFO] [stdout] } } [INFO] [stdout] [INFO] [stdout] /// A static footer. [INFO] [stdout] fn footer() -> Markup { html! { [INFO] [stdout] footer { [INFO] [stdout] a href="rss.atom" { "RSS Feed" } [INFO] [stdout] } [INFO] [stdout] } } [INFO] [stdout] [INFO] [stdout] /// The final Markup, including `header` and `footer`. [INFO] [stdout] /// [INFO] [stdout] /// Additionally takes a `greeting_box` that's `Markup`, not `&str`. [INFO] [stdout] pub fn page(title: &str, greeting_box: Markup) -> Markup { html! { [INFO] [stdout] (header(title)) [INFO] [stdout] h1 { (title) } [INFO] [stdout] (greeting_box) [INFO] [stdout] (footer()) [INFO] [stdout] } } [INFO] [stdout] [INFO] [stdout] command=`"/opt/rustwide/target/debug/maudfmt" "--rustfmt" "-s"` [INFO] [stdout] stdin=```` [INFO] [stdout] use maud::{DOCTYPE, html, Markup}; [INFO] [stdout] [INFO] [stdout] /// A basic header with a dynamic `page_title`. [INFO] [stdout] fn header(page_title: &str) -> Markup {html!{(DOCTYPE) meta charset=\"utf-8\";title{(page_title)}} } [INFO] [stdout] [INFO] [stdout] /// A static footer. [INFO] [stdout] fn footer() -> Markup { html!{footer{a href=\"rss.atom\"{\"RSS Feed\"}}} } [INFO] [stdout] [INFO] [stdout] /// The final Markup, including `header` and `footer`. [INFO] [stdout] /// [INFO] [stdout] /// Additionally takes a `greeting_box` that\'s `Markup`, not `&str`. [INFO] [stdout] pub fn page(title: &str, greeting_box: Markup) -> Markup { html!{(header(title)) h1{(title)}(greeting_box)(footer())} } [INFO] [stdout] ``` [INFO] [stdout] ` [INFO] [stdout] code=0 [INFO] [stdout] stdout=``` [INFO] [stdout] use maud::{DOCTYPE, html, Markup}; [INFO] [stdout] [INFO] [stdout] /// A basic header with a dynamic `page_title`. [INFO] [stdout] fn header(page_title: &str) -> Markup {html! { [INFO] [stdout] (DOCTYPE) [INFO] [stdout] meta charset=\"utf-8\"; [INFO] [stdout] title { (page_title) } [INFO] [stdout] } } [INFO] [stdout] [INFO] [stdout] /// A static footer. [INFO] [stdout] fn footer() -> Markup { html! { [INFO] [stdout] footer { [INFO] [stdout] a href=\"rss.atom\" { \"RSS Feed\" } [INFO] [stdout] } [INFO] [stdout] } } [INFO] [stdout] [INFO] [stdout] /// The final Markup, including `header` and `footer`. [INFO] [stdout] /// [INFO] [stdout] /// Additionally takes a `greeting_box` that\'s `Markup`, not `&str`. [INFO] [stdout] pub fn page(title: &str, greeting_box: Markup) -> Markup { html! { [INFO] [stdout] (header(title)) [INFO] [stdout] h1 { (title) } [INFO] [stdout] (greeting_box) [INFO] [stdout] (footer()) [INFO] [stdout] } } [INFO] [stdout] ``` [INFO] [stdout] [INFO] [stdout] stderr=<332 lines total> [INFO] [stdout] ``` [INFO] [stdout] [src/print/mod.rs:21:5] &ast = Markups { [INFO] [stdout] markups: [ [INFO] [stdout] Splice { [INFO] [stdout] paren_token: Paren, [INFO] [stdout] expr: Expr::Path { [INFO] [stdout] attrs: [], [INFO] [stdout] qself: None, [INFO] [stdout] path: Path { [INFO] [stdout] leading_colon: None, [INFO] [stdout] segments: [ [INFO] [stdout] PathSegment { [INFO] [stdout] ident: Ident { [INFO] [stdout] sym: DOCTYPE, [INFO] [stdout] span: bytes(131..138), [INFO] [stdout] }, [INFO] [stdout] arguments: PathArguments::None, [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] ``` [INFO] [stdout] <272 lines omitted> [INFO] [stdout] ``` [INFO] [stdout] segments: [ [INFO] [stdout] PathSegment { [INFO] [stdout] ident: Ident { [INFO] [stdout] sym: greeting_box, [INFO] [stdout] span: bytes(499..511), [INFO] [stdout] }, [INFO] [stdout] arguments: PathArguments::None, [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] Splice { [INFO] [stdout] paren_token: Paren, [INFO] [stdout] expr: Expr::Call { [INFO] [stdout] attrs: [], [INFO] [stdout] func: Expr::Path { [INFO] [stdout] attrs: [], [INFO] [stdout] qself: None, [INFO] [stdout] path: Path { [INFO] [stdout] leading_colon: None, [INFO] [stdout] segments: [ [INFO] [stdout] PathSegment { [INFO] [stdout] ident: Ident { [INFO] [stdout] sym: footer, [INFO] [stdout] span: bytes(513..519), [INFO] [stdout] }, [INFO] [stdout] arguments: PathArguments::None, [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] paren_token: Paren, [INFO] [stdout] args: [], [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] } [INFO] [stdout] error: \'rustfmt\' is not installed for the toolchain \'1.90.0-x86_64-unknown-linux-gnu\'. [INFO] [stdout] To install, run `rustup component add --toolchain 1.90.0-x86_64-unknown-linux-gnu rustfmt` [INFO] [stdout] ``` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60b7fd888332 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60b7fd888332 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60b7fd888332 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60b7fd888332 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60b7fd8b0453 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60b7fd8b0453 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60b7fd884863 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60b7fd884863 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60b7fd888182 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60b7fd8899c9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x60b7fd8897fe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x60b7fd7aa3e4 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x60b7fd7aa3e4 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60b7fd88a39e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x60b7fd88a39e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x60b7fd88a16a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x60b7fd888829 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60b7fd889dfd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x60b7fd8aebd0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x60b7fd7eb270 - core::panicking::panic_display::h76ee6e5cc41cfc21 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:268:5 [INFO] [stdout] 20: 0x60b7fd7edd6b - assert_cmd::assert::AssertError::panic::panic_cold_display::hfee7d0f6a3e94e26 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic.rs:100:13 [INFO] [stdout] 21: 0x60b7fd7ec9e7 - assert_cmd::assert::AssertError::panic::h13a12f0645fbe285 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/assert_cmd-2.0.17/src/assert.rs:1033:9 [INFO] [stdout] 22: 0x60b7fd7e8727 - core::ops::function::FnOnce::call_once::h6ac2c0f5ecc0c67d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 23: 0x60b7fd7e47d4 - core::result::Result::unwrap_or_else::h25224dfd25363c8d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1525:23 [INFO] [stdout] 24: 0x60b7fd76c3f5 - assert_cmd::assert::Assert::stdout::h1d0b587b26f30621 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/assert_cmd-2.0.17/src/assert.rs:364:31 [INFO] [stdout] 25: 0x60b7fd76b690 - rustfmt_arg::execute_rustfmt_on_stdin::h521e665875e78ba2 [INFO] [stdout] at /opt/rustwide/workdir/tests/rustfmt_arg.rs:84:10 [INFO] [stdout] 26: 0x60b7fd76b1d7 - rustfmt_arg::execute_rustfmt_on_stdin::{{closure}}::h6c06ee24f9bfa6e4 [INFO] [stdout] at /opt/rustwide/workdir/tests/rustfmt_arg.rs:72:34 [INFO] [stdout] 27: 0x60b7fd76cbf6 - core::ops::function::FnOnce::call_once::habc49adf9c5c711f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 28: 0x60b7fd7afc4b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 29: 0x60b7fd7afc4b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x60b7fd7aed85 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x60b7fd7aed85 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x60b7fd7aed85 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x60b7fd7aed85 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x60b7fd7aed85 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x60b7fd7aed85 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x60b7fd7aed85 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x60b7fd772984 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x60b7fd772984 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 39: 0x60b7fd77635a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x60b7fd77635a - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x60b7fd77635a - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x60b7fd77635a - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x60b7fd77635a - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x60b7fd77635a - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x60b7fd77635a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 46: 0x60b7fd88d65f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 47: 0x60b7fd88d65f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 48: 0x778f3d644aa4 - [INFO] [stdout] 49: 0x778f3d6d1a34 - clone [INFO] [stdout] 50: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- execute_rustfmt_on_files stdout ---- [INFO] [stdout] [tests/rustfmt_arg.rs:56:5] &IN_FILE = "use maud::{DOCTYPE, html, Markup};\n\n/// A basic header with a dynamic `page_title`.\nfn header(page_title: &str) -> Markup {html!{(DOCTYPE) meta charset=\"utf-8\";title{(page_title)}} }\n\n/// A static footer.\nfn footer() -> Markup { html!{footer{a href=\"rss.atom\"{\"RSS Feed\"}}} }\n\n/// The final Markup, including `header` and `footer`.\n///\n/// Additionally takes a `greeting_box` that's `Markup`, not `&str`.\npub fn page(title: &str, greeting_box: Markup) -> Markup { html!{(header(title)) h1{(title)}(greeting_box)(footer())} }\n" [INFO] [stdout] [INFO] [stdout] thread 'execute_rustfmt_on_files' panicked at tests/rustfmt_arg.rs:66:5: [INFO] [stdout] assertion failed: `(left == right)` [INFO] [stdout] [INFO] [stdout] Diff < left / right > : [INFO] [stdout] use maud::{html, Markup, DOCTYPE}; [INFO] [stdout] [INFO] [stdout] /// A basic header with a dynamic `page_title`. [INFO] [stdout]  Markup {html! { [INFO] [stdout] < (DOCTYPE) [INFO] [stdout] < meta charset="utf-8"; [INFO] [stdout] < title { (page_title) } [INFO] [stdout] <} } [INFO] [stdout] >fn header(page_title: &str) -> Markup { [INFO] [stdout] > html! { [INFO] [stdout] > (DOCTYPE) [INFO] [stdout] > meta charset="utf-8"; [INFO] [stdout] > title { (page_title) } [INFO] [stdout] > } [INFO] [stdout] >} [INFO] [stdout] [INFO] [stdout] /// A static footer. [INFO] [stdout]  Markup { html! { [INFO] [stdout] < footer { [INFO] [stdout] < a href="rss.atom" { "RSS Feed" } [INFO] [stdout] >fn footer() -> Markup { [INFO] [stdout] > html! { [INFO] [stdout] > footer { [INFO] [stdout] > a href="rss.atom" { "RSS Feed" } [INFO] [stdout] > } [INFO] [stdout] } [INFO] [stdout] <} } [INFO] [stdout] >} [INFO] [stdout] [INFO] [stdout] /// The final Markup, including `header` and `footer`. [INFO] [stdout] /// [INFO] [stdout] /// Additionally takes a `greeting_box` that's `Markup`, not `&str`. [INFO] [stdout]  Markup { html! { [INFO] [stdout] < (header(title)) [INFO] [stdout] < h1 { (title) } [INFO] [stdout] < (greeting_box) [INFO] [stdout] < (footer()) [INFO] [stdout] <} } [INFO] [stdout] >pub fn page(title: &str, greeting_box: Markup) -> Markup { [INFO] [stdout] > html! { [INFO] [stdout] > (header(title)) [INFO] [stdout] > h1 { (title) } [INFO] [stdout] > (greeting_box) [INFO] [stdout] > (footer()) [INFO] [stdout] > } [INFO] [stdout] >} [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60b7fd888332 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60b7fd888332 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60b7fd888332 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60b7fd888332 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60b7fd8b0453 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60b7fd8b0453 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60b7fd884863 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60b7fd884863 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60b7fd888182 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60b7fd8899c9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x60b7fd8897fe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x60b7fd7aa3e4 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x60b7fd7aa3e4 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60b7fd88a39e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x60b7fd88a39e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x60b7fd88a16a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x60b7fd888829 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60b7fd889dfd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x60b7fd8aebd0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x60b7fd76b130 - rustfmt_arg::execute_rustfmt_on_files::h74ecaeefcae56747 [INFO] [stdout] at /opt/rustwide/workdir/tests/rustfmt_arg.rs:66:5 [INFO] [stdout] 20: 0x60b7fd76ab27 - rustfmt_arg::execute_rustfmt_on_files::{{closure}}::hc7548218b9b52af2 [INFO] [stdout] at /opt/rustwide/workdir/tests/rustfmt_arg.rs:55:34 [INFO] [stdout] 21: 0x60b7fd76cb76 - core::ops::function::FnOnce::call_once::h0a868fd527c531e0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 22: 0x60b7fd7afc4b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 23: 0x60b7fd7afc4b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 24: 0x60b7fd7aed85 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 25: 0x60b7fd7aed85 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 26: 0x60b7fd7aed85 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 27: 0x60b7fd7aed85 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 28: 0x60b7fd7aed85 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 29: 0x60b7fd7aed85 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 30: 0x60b7fd7aed85 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 31: 0x60b7fd772984 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 32: 0x60b7fd772984 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 33: 0x60b7fd77635a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 34: 0x60b7fd77635a - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 35: 0x60b7fd77635a - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 36: 0x60b7fd77635a - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 37: 0x60b7fd77635a - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 38: 0x60b7fd77635a - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 39: 0x60b7fd77635a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 40: 0x60b7fd88d65f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 41: 0x60b7fd88d65f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 42: 0x778f3d644aa4 - [INFO] [stdout] 43: 0x778f3d6d1a34 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] execute_rustfmt_on_files [INFO] [stdout] execute_rustfmt_on_stdin [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.91s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test rustfmt_arg` [INFO] running `Command { std: "docker" "inspect" "e15185a8895d84b0572c258792be1aac79e50a37c9214f2e930602a11c735c80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e15185a8895d84b0572c258792be1aac79e50a37c9214f2e930602a11c735c80", kill_on_drop: false }` [INFO] [stdout] e15185a8895d84b0572c258792be1aac79e50a37c9214f2e930602a11c735c80