[INFO] fetching crate ratatui-macros 0.7.0-alpha.0... [INFO] testing ratatui-macros-0.7.0-alpha.0 against beta-2024-12-08 for beta-1.84.0-4 [INFO] extracting crate ratatui-macros 0.7.0-alpha.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate ratatui-macros 0.7.0-alpha.0 on toolchain beta-2024-12-08 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ratatui-macros 0.7.0-alpha.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ratatui-macros 0.7.0-alpha.0 [INFO] tweaked toml for crates.io crate ratatui-macros 0.7.0-alpha.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 75 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3f5b21cb9c70e50c0043ee5200bdd3effc25cb3e0a34f4cc8ea33949f4dd287 [INFO] running `Command { std: "docker" "start" "-a" "e3f5b21cb9c70e50c0043ee5200bdd3effc25cb3e0a34f4cc8ea33949f4dd287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3f5b21cb9c70e50c0043ee5200bdd3effc25cb3e0a34f4cc8ea33949f4dd287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3f5b21cb9c70e50c0043ee5200bdd3effc25cb3e0a34f4cc8ea33949f4dd287", kill_on_drop: false }` [INFO] [stdout] e3f5b21cb9c70e50c0043ee5200bdd3effc25cb3e0a34f4cc8ea33949f4dd287 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c879317a03b584d81ff01e6cb9fce32f362d92e018f7de4c22b7eb89deff5eb1 [INFO] running `Command { std: "docker" "start" "-a" "c879317a03b584d81ff01e6cb9fce32f362d92e018f7de4c22b7eb89deff5eb1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling foldhash v0.1.3 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling compact_str v0.8.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling line-clipping v0.2.1 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling unicode-truncate v2.0.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ratatui-core v0.1.0-alpha.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling instability v0.3.3 [INFO] [stderr] Compiling ratatui-widgets v0.3.0-alpha.0 [INFO] [stderr] Compiling ratatui-macros v0.7.0-alpha.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.36s [INFO] running `Command { std: "docker" "inspect" "c879317a03b584d81ff01e6cb9fce32f362d92e018f7de4c22b7eb89deff5eb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c879317a03b584d81ff01e6cb9fce32f362d92e018f7de4c22b7eb89deff5eb1", kill_on_drop: false }` [INFO] [stdout] c879317a03b584d81ff01e6cb9fce32f362d92e018f7de4c22b7eb89deff5eb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] adc14a8d07af206818a9da24319751915968ddb53308e6681a36020e278686c2 [INFO] running `Command { std: "docker" "start" "-a" "adc14a8d07af206818a9da24319751915968ddb53308e6681a36020e278686c2", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling target-triple v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling dissimilar v1.0.9 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling trybuild v1.0.101 [INFO] [stderr] Compiling ratatui-macros v0.7.0-alpha.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 30.22s [INFO] running `Command { std: "docker" "inspect" "adc14a8d07af206818a9da24319751915968ddb53308e6681a36020e278686c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adc14a8d07af206818a9da24319751915968ddb53308e6681a36020e278686c2", kill_on_drop: false }` [INFO] [stdout] adc14a8d07af206818a9da24319751915968ddb53308e6681a36020e278686c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8e0b5e15959f3c1590be53df1408bcf3934d89b3d95b07865ed8b29cf5f64f21 [INFO] running `Command { std: "docker" "start" "-a" "8e0b5e15959f3c1590be53df1408bcf3934d89b3d95b07865ed8b29cf5f64f21", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ratatui_macros-40d4695ef339d0db) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test line::tests::line_literal ... ok [INFO] [stdout] test line::tests::line_repeated_span ... ok [INFO] [stdout] test line::tests::line_vec_count_syntax_with_span ... ok [INFO] [stdout] test line::tests::line_raw_instead_of_literal ... ok [INFO] [stdout] test row::tests::multiple_rows ... ok [INFO] [stdout] test row::tests::row_empty ... ok [INFO] [stdout] test line::tests::line_single_span ... ok [INFO] [stdout] test line::tests::line_vec_count_syntax ... ok [INFO] [stdout] test row::tests::row_explicit_use_of_span_and_line ... ok [INFO] [stdout] test line::tests::line_empty ... ok [INFO] [stdout] test row::tests::row_literal ... ok [INFO] [stdout] test row::tests::row_repeated_cell ... ok [INFO] [stdout] test row::tests::row_vec_count_syntax ... ok [INFO] [stdout] test row::tests::row_single_cell ... ok [INFO] [stderr] Running tests/macros.rs (/opt/rustwide/target/debug/deps/macros-4087d43945aaf645) [INFO] [stdout] test span::tests::raw ... ok [INFO] [stdout] test span::tests::styled ... ok [INFO] [stdout] test text::tests::text ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test layout_constraints_macro ... ok [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Checking foldhash v0.1.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking unicode-truncate v2.0.0 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking line-clipping v0.2.1 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Checking compact_str v0.8.0 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling instability v0.3.3 [INFO] [stderr] Checking ratatui-core v0.1.0-alpha.0 [INFO] [stderr] Checking ratatui-widgets v0.3.0-alpha.0 [INFO] [stderr] Checking ratatui-macros v0.7.0-alpha.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking ratatui-macros-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/ratatui-macros) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.71s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/ui/fails.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: No rules expected the token `,` while trying to match the end of the macro [INFO] [stderr] --> tests/ui/fails.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | constraints![,]; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::constraints` which comes from the expansion of the macro `constraints` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: unexpected end of macro invocation [INFO] [stderr] --> tests/ui/fails.rs:8:18 [INFO] [stderr] | [INFO] [stderr] 8 | let [a, b] = constraints![ [INFO] [stderr] | __________________^ [INFO] [stderr] 9 | | == 1/2, [INFO] [stderr] 10 | | == 2, [INFO] [stderr] 11 | | ]; [INFO] [stderr] | |_____^ missing tokens in macro arguments [INFO] [stderr] | [INFO] [stderr] note: while trying to match `==` [INFO] [stderr] --> src/layout.rs [INFO] [stderr] | [INFO] [stderr] | (== $token:tt %) => { [INFO] [stderr] | ^^ [INFO] [stderr] = note: this error originates in the macro `$crate::constraints` which comes from the expansion of the macro `constraints` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `;` [INFO] [stderr] --> tests/ui/fails.rs:15:53 [INFO] [stderr] | [INFO] [stderr] 15 | let [a, b, c] = constraints![ == 1, == 10%, == 2; 4]; [INFO] [stderr] | ^ no rules expected this token in macro call [INFO] [stderr] | [INFO] [stderr] note: while trying to match `%` [INFO] [stderr] --> src/layout.rs [INFO] [stderr] | [INFO] [stderr] | (== $token:tt %) => { [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: first parameter must be a formatting specifier followed by a comma OR a `Style` followed by a semicolon [INFO] [stderr] --> tests/ui/fails.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | let _ = span!(Modifier::BOLD, "hello world"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `span` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: argument never used [INFO] [stderr] --> tests/ui/fails.rs:19:28 [INFO] [stderr] | [INFO] [stderr] 19 | let _ = span!("hello", "hello world"); [INFO] [stderr] | ------- ^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | [INFO] [stderr] | formatting specifier missing [INFO] [stderr] [INFO] [stderr] error[E0527]: pattern requires 2 elements but array has 3 [INFO] [stderr] --> tests/ui/fails.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | let [a, b] = constraints![ [INFO] [stderr] | ^^^^^^ expected 3 elements [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: No rules expected the token `,` while trying to match the end of the macro [INFO] [stderr] --> tests/ui/fails.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | constraints![,]; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::constraints` which comes from the expansion of the macro `constraints` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: unexpected end of macro invocation [INFO] [stderr] --> tests/ui/fails.rs:8:18 [INFO] [stderr] | [INFO] [stderr] 8 | let [a, b] = constraints![ [INFO] [stderr] | __________________^ [INFO] [stderr] 9 | | == 1/2, [INFO] [stderr] 10 | | == 2, [INFO] [stderr] 11 | | ]; [INFO] [stderr] | |_____^ missing tokens in macro arguments [INFO] [stderr] | [INFO] [stderr] note: while trying to match `==` [INFO] [stderr] --> src/layout.rs [INFO] [stderr] | [INFO] [stderr] | (== $token:tt %) => { [INFO] [stderr] | ^^ [INFO] [stderr] = note: this error originates in the macro `$crate::constraints` which comes from the expansion of the macro `constraints` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: no rules expected `;` [INFO] [stderr] --> tests/ui/fails.rs:15:53 [INFO] [stderr] | [INFO] [stderr] 15 | let [a, b, c] = constraints![ == 1, == 10%, == 2; 4]; [INFO] [stderr] | ^ no rules expected this token in macro call [INFO] [stderr] | [INFO] [stderr] note: while trying to match `%` [INFO] [stderr] --> src/layout.rs [INFO] [stderr] | [INFO] [stderr] | (== $token:tt %) => { [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: first parameter must be a formatting specifier followed by a comma OR a `Style` followed by a semicolon [INFO] [stderr] --> tests/ui/fails.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | let _ = span!(Modifier::BOLD, "hello world"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `span` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: argument never used [INFO] [stderr] --> tests/ui/fails.rs:19:28 [INFO] [stderr] | [INFO] [stderr] 19 | let _ = span!("hello", "hello world"); [INFO] [stderr] | ------- ^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | [INFO] [stderr] | formatting specifier missing [INFO] [stderr] [INFO] [stderr] error[E0527]: pattern requires 2 elements but array has 3 [INFO] [stderr] --> tests/ui/fails.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | let [a, b] = constraints![ [INFO] [stderr] | ^^^^^^ expected 3 elements [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test fails ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- fails stdout ---- [INFO] [stdout] thread 'fails' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/trybuild-1.0.101/src/run.rs:101:13: [INFO] [stdout] 1 of 1 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5835b620977a - std::backtrace_rs::backtrace::libunwind::trace::h8810477743020387 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5835b620977a - std::backtrace_rs::backtrace::trace_unsynchronized::h3aa55355dd6c54a6 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5835b620977a - std::sys::backtrace::_print_fmt::h8588b0f62410823f [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5835b620977a - ::fmt::h98c26ac25ffe89bb [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5835b6232b93 - core::fmt::rt::Argument::fmt::hf95377f4aebd453b [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5835b6232b93 - core::fmt::write::h0dd5f6e2238c7982 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/mod.rs:1189:21 [INFO] [stdout] 6: 0x5835b6205e23 - std::io::Write::write_fmt::h03bb0ca26e6faf8c [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/io/mod.rs:1884:15 [INFO] [stdout] 7: 0x5835b62095c2 - std::sys::backtrace::BacktraceLock::print::h5c19c1c038ee186d [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5835b620b1fd - std::panicking::default_hook::{{closure}}::h77172f079a1fcb13 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:268:22 [INFO] [stdout] 9: 0x5835b620b007 - std::panicking::default_hook::he5f8e3b203ccddba [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:292:9 [INFO] [stdout] 10: 0x5835b618db87 - as core::ops::function::Fn>::call::h7a3c7b4a1ae77f2f [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9 [INFO] [stdout] 11: 0x5835b618db87 - test::test_main::{{closure}}::hf0d3b69ae9b353d1 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x5835b620b8a8 - as core::ops::function::Fn>::call::h6332e82e7b189abd [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9 [INFO] [stdout] 13: 0x5835b620b8a8 - std::panicking::rust_panic_with_hook::h53863d4e9018df39 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:809:13 [INFO] [stdout] 14: 0x5835b620b66a - std::panicking::begin_panic_handler::{{closure}}::h67280e6fa0757873 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:674:13 [INFO] [stdout] 15: 0x5835b6209c59 - std::sys::backtrace::__rust_end_short_backtrace::h1dac3f54d6fbbeb2 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x5835b620b2fc - rust_begin_unwind [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:665:5 [INFO] [stdout] 17: 0x5835b5e842c0 - core::panicking::panic_fmt::h6792bd1b2bf01041 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panicking.rs:76:14 [INFO] [stdout] 18: 0x5835b5e9b76f - trybuild::run::::run::h32cdf63bfc699f43 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/trybuild-1.0.101/src/run.rs:101:13 [INFO] [stdout] 19: 0x5835b5ea0c88 - ::drop::h8bdca4568f434c3e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/trybuild-1.0.101/src/lib.rs:340:13 [INFO] [stdout] 20: 0x5835b5e85f37 - core::ptr::drop_in_place::hd1c25635ab7f8717 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ptr/mod.rs:521:1 [INFO] [stdout] 21: 0x5835b5e8b203 - macros::fails::h8f008f7915a45fb7 [INFO] [stdout] at /opt/rustwide/workdir/tests/macros.rs:104:1 [INFO] [stdout] 22: 0x5835b5e8b197 - macros::fails::{{closure}}::h9e59e99f24efbb03 [INFO] [stdout] at /opt/rustwide/workdir/tests/macros.rs:101:11 [INFO] [stdout] 23: 0x5835b5e85d96 - core::ops::function::FnOnce::call_once::h0aeb34a58c223126 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5835b61926ab - core::ops::function::FnOnce::call_once::h871bf86719ec9aa4 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5835b61926ab - test::__rust_begin_short_backtrace::h2167df1e2b7d76fd [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:632:18 [INFO] [stdout] 26: 0x5835b6192098 - test::run_test_in_process::{{closure}}::h15d92f75a3adfb79 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:60 [INFO] [stdout] 27: 0x5835b6192098 - as core::ops::function::FnOnce<()>>::call_once::hb6c8955835a8dbbb [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5835b6192098 - std::panicking::try::do_call::hc79d0fc888a0bd30 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40 [INFO] [stdout] 29: 0x5835b6192098 - std::panicking::try::hb8a7878e3a8589d6 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19 [INFO] [stdout] 30: 0x5835b6192098 - std::panic::catch_unwind::hb8e4600ff0ff5cfa [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14 [INFO] [stdout] 31: 0x5835b6192098 - test::run_test_in_process::hc2900b0b18688dd6 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:27 [INFO] [stdout] 32: 0x5835b6192098 - test::run_test::{{closure}}::hac2a9cb07be3d48d [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:576:43 [INFO] [stdout] 33: 0x5835b6155b3a - test::run_test::{{closure}}::h4a5b729e66a38cd8 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:606:41 [INFO] [stdout] 34: 0x5835b6155b3a - std::sys::backtrace::__rust_begin_short_backtrace::h0496fb742492f573 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 35: 0x5835b61594b4 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbb6d257c550a54bd [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:561:17 [INFO] [stdout] 36: 0x5835b61594b4 - as core::ops::function::FnOnce<()>>::call_once::h46696fe4a6832328 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5835b61594b4 - std::panicking::try::do_call::h2625a51b667bfb64 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40 [INFO] [stdout] 38: 0x5835b61594b4 - std::panicking::try::hb956a59a1973aa4c [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19 [INFO] [stdout] 39: 0x5835b61594b4 - std::panic::catch_unwind::h64f3b9d1067ef6a0 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14 [INFO] [stdout] 40: 0x5835b61594b4 - std::thread::Builder::spawn_unchecked_::{{closure}}::h42b2841295b6c0b2 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:559:30 [INFO] [stdout] 41: 0x5835b61594b4 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6127de71b8124639 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5835b62107bb - as core::ops::function::FnOnce>::call_once::h42f0ba71002a1b2c [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9 [INFO] [stdout] 43: 0x5835b62107bb - as core::ops::function::FnOnce>::call_once::had9e47d7a3dcecb8 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9 [INFO] [stdout] 44: 0x5835b62107bb - std::sys::pal::unix::thread::Thread::new::thread_start::h48cf765408f6f5f2 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 45: 0x7bfd19428ac3 - [INFO] [stdout] 46: 0x7bfd194b9a04 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] fails [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 35.17s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test macros` [INFO] running `Command { std: "docker" "inspect" "8e0b5e15959f3c1590be53df1408bcf3934d89b3d95b07865ed8b29cf5f64f21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e0b5e15959f3c1590be53df1408bcf3934d89b3d95b07865ed8b29cf5f64f21", kill_on_drop: false }` [INFO] [stdout] 8e0b5e15959f3c1590be53df1408bcf3934d89b3d95b07865ed8b29cf5f64f21