Skip to content

trace_macros-gate.rs fails distcheck #34822

Closed
@alexcrichton

Description

@alexcrichton
---- [compile-fail] compile-fail/trace_macros-gate.rs stdout ----

error: /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/obj/tmp/distcheck/rustc-nightly/src/test/compile-fail/trace_macros-gate.rs:29: expected note not found: in this expansion

error: 0 unexpected errors found, 1 expected errors not found
status: exit code: 101
command: x86_64-unknown-linux-gnu/stage2/bin/rustc /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/obj/tmp/distcheck/rustc-nightly/src/test/compile-fail/trace_macros-gate.rs -L x86_64-unknown-linux-gnu/test/compile-fail/ --target=x86_64-unknown-linux-gnu --error-format json -Z unstable-options -L x86_64-unknown-linux-gnu/test/compile-fail/trace_macros-gate.stage2-x86_64-unknown-linux-gnu.compile-fail.libaux -C prefer-dynamic -o x86_64-unknown-linux-gnu/test/compile-fail/trace_macros-gate.stage2-x86_64-unknown-linux-gnu --cfg rtopt -C rpath -O -L x86_64-unknown-linux-gnu/rt
not found errors (from test file): [
    Error {
        line_num: 29,
        kind: Some(
            Note
        ),
        msg: "in this expansion"
    }
]

thread '[compile-fail] compile-fail/trace_macros-gate.rs' panicked at 'explicit panic', /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/obj/tmp/distcheck/rustc-nightly/src/tools/compiletest/src/runtest.rs:1081


failures:
    [compile-fail] compile-fail/trace_macros-gate.rs

This also happened on beta and I had no idea why, so I committed this fix: 8dc253b.

I believe this is specifically related to distcheck, which the auto bots don't run. Something about that configuration is different in terms of how errors are reported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions