Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make rustc test suite pass #381

Open
bjorn3 opened this issue Feb 26, 2019 · 35 comments
Open

Make rustc test suite pass #381

bjorn3 opened this issue Feb 26, 2019 · 35 comments
Labels
C-bug Category: This is a bug.

Comments

@bjorn3
Copy link
Member

bjorn3 commented Feb 26, 2019

cc #247

I got a branch to test it at https://github.com/bjorn3/rustc_codegen_cranelift/tree/wip_test_rustc_testsuite.

Excluding the following tests: src/test/run-pass/{asm-*,abi-*,extern/,panic-runtime/,panics/,unsized-locals/,proc-macro/,threads-sendsync/,thinlto/,simd/}

The following run-pass tests fail:

failures:
    [run-pass] run-pass/allocator/custom.rs
    [run-pass] run-pass/allocator/xcrate-use.rs
    [run-pass] run-pass/allocator/xcrate-use2.rs
    [run-pass] run-pass/arbitrary_self_types_pointers_and_wrappers.rs
    [run-pass] run-pass/arbitrary_self_types_stdlib_pointers.rs
    [run-pass] run-pass/array-slice-vec/box-of-array-of-drop-1.rs
    [run-pass] run-pass/array-slice-vec/box-of-array-of-drop-2.rs
    [run-pass] run-pass/array-slice-vec/check-static-mut-slices.rs
    [run-pass] run-pass/array-slice-vec/check-static-slice.rs
    [run-pass] run-pass/array-slice-vec/estr-slice.rs
    [run-pass] run-pass/array-slice-vec/evec-slice.rs
    [run-pass] run-pass/array-slice-vec/nested-vec-2.rs
    [run-pass] run-pass/array-slice-vec/nested-vec-3.rs
    [run-pass] run-pass/array-slice-vec/rcvr-borrowed-to-slice.rs
    [run-pass] run-pass/array-slice-vec/repeated-vector-syntax.rs
    [run-pass] run-pass/array-slice-vec/slice-panic-1.rs
    [run-pass] run-pass/array-slice-vec/slice-panic-2.rs
    [run-pass] run-pass/associated-consts/associated-const-cross-crate-const-eval.rs
    [run-pass] run-pass/associated-consts/associated-const-cross-crate-defaults.rs
    [run-pass] run-pass/associated-consts/associated-const-cross-crate.rs
    [run-pass] run-pass/associated-consts/associated-const-match-patterns.rs
    [run-pass] run-pass/associated-types/associated-types-cc.rs
    [run-pass] run-pass/associated-types/associated-types-project-from-type-param-via-bound-in-where.rs
    [run-pass] run-pass/async-await.rs
    [run-pass] run-pass/atomic-access-bool.rs
    [run-pass] run-pass/attr-before-view-item.rs
    [run-pass] run-pass/attr-before-view-item2.rs
    [run-pass] run-pass/augmented-assignments-feature-gate-cross.rs
    [run-pass] run-pass/auto-instantiate.rs
    [run-pass] run-pass/backtrace-debuginfo.rs
    [run-pass] run-pass/backtrace.rs
    [run-pass] run-pass/binding/fn-arg-incomplete-pattern-drop-order.rs
    [run-pass] run-pass/binding/fn-pattern-expected-type-2.rs
    [run-pass] run-pass/binding/match-beginning-vert.rs
    [run-pass] run-pass/binding/match-pattern-lit.rs
    [run-pass] run-pass/binding/pattern-in-closure.rs
    [run-pass] run-pass/bitwise.rs
    [run-pass] run-pass/blind-item-mixed-crate-use-item.rs
    [run-pass] run-pass/block-arg.rs
    [run-pass] run-pass/borrowck/borrowck-mut-uniq.rs
    [run-pass] run-pass/builtin-clone-unwind.rs
    [run-pass] run-pass/builtin-superkinds-capabilities-transitive.rs
    [run-pass] run-pass/builtin-superkinds-capabilities-xc.rs
    [run-pass] run-pass/builtin-superkinds-in-metadata.rs
    [run-pass] run-pass/catch-unwind-bang.rs
    [run-pass] run-pass/cfg/cfg_inner_static.rs
    [run-pass] run-pass/check-static-recursion-foreign.rs
    [run-pass] run-pass/cleanup-rvalue-for-scope.rs
    [run-pass] run-pass/cleanup-rvalue-scopes.rs
    [run-pass] run-pass/cleanup-rvalue-temp-during-incomplete-alloc.rs
    [run-pass] run-pass/clone-with-exterior.rs
    [run-pass] run-pass/coherence/coherence-bigint-int.rs#old
    [run-pass] run-pass/coherence/coherence-bigint-int.rs#re
    [run-pass] run-pass/coherence/coherence-bigint-vecint.rs#old
    [run-pass] run-pass/coherence/coherence-bigint-vecint.rs#re
    [run-pass] run-pass/coherence/coherence-blanket.rs#old
    [run-pass] run-pass/coherence/coherence-blanket.rs#re
    [run-pass] run-pass/coherence/coherence-covered-type-parameter.rs#old
    [run-pass] run-pass/coherence/coherence-covered-type-parameter.rs#re
    [run-pass] run-pass/coherence/coherence-iterator-vec-any-elem.rs#old
    [run-pass] run-pass/coherence/coherence-iterator-vec-any-elem.rs#re
    [run-pass] run-pass/coherence/coherence-iterator-vec.rs#old
    [run-pass] run-pass/coherence/coherence-iterator-vec.rs#re
    [run-pass] run-pass/coherence/coherence_copy_like.rs#old
    [run-pass] run-pass/coherence/coherence_copy_like.rs#re
    [run-pass] run-pass/coherence/re-rebalance-coherence.rs
    [run-pass] run-pass/command-exec.rs
    [run-pass] run-pass/command-pre-exec.rs
    [run-pass] run-pass/compiletest-skip-codegen.rs
    [run-pass] run-pass/complex.rs
    [run-pass] run-pass/const-int-conversion.rs
    [run-pass] run-pass/const-int-saturating-arith.rs
    [run-pass] run-pass/consts/const-binops.rs
    [run-pass] run-pass/consts/const-block-cross-crate-fn.rs
    [run-pass] run-pass/consts/const-cross-crate-const.rs
    [run-pass] run-pass/consts/const-cross-crate-extern.rs
    [run-pass] run-pass/consts/const-endianess.rs
    [run-pass] run-pass/consts/const-fields-and-indexing.rs
    [run-pass] run-pass/consts/const-fn-stability-calls.rs
    [run-pass] run-pass/consts/const-region-ptrs.rs
    [run-pass] run-pass/consts/const-str-ptr.rs
    [run-pass] run-pass/consts/const-struct.rs
    [run-pass] run-pass/consts/const-vecs-and-slices.rs
    [run-pass] run-pass/core-run-destroy.rs
    [run-pass] run-pass/crate-method-reexport-grrrrrrr.rs
    [run-pass] run-pass/cross-crate/anon-extern-mod-cross-crate-2.rs
    [run-pass] run-pass/cross-crate/cci_borrow.rs
    [run-pass] run-pass/cross-crate/cci_capture_clause.rs
    [run-pass] run-pass/cross-crate/cci_impl_exe.rs
    [run-pass] run-pass/cross-crate/cci_iter_exe.rs
    [run-pass] run-pass/cross-crate/cci_nested_exe.rs
    [run-pass] run-pass/cross-crate/cci_no_inline_exe.rs
    [run-pass] run-pass/cross-crate/cross-crate-const-pat.rs
    [run-pass] run-pass/cross-crate/cross-crate-newtype-struct-pat.rs
    [run-pass] run-pass/cross-crate/moves-based-on-type-cross-crate.rs
    [run-pass] run-pass/cross-crate/reexported-static-methods-cross-crate.rs
    [run-pass] run-pass/cross-crate/static-array-across-crate.rs
    [run-pass] run-pass/cross-crate/xcrate-address-insignificant.rs
    [run-pass] run-pass/cross-crate/xcrate-associated-type-defaults.rs
    [run-pass] run-pass/cross-crate/xcrate-static-addresses.rs
    [run-pass] run-pass/cross-crate/xcrate-trait-lifetime-param.rs
    [run-pass] run-pass/cross-crate/xcrate-unit-struct.rs
    [run-pass] run-pass/cross-crate/xcrate_generic_fn_nested_return.rs
    [run-pass] run-pass/ctfe/references.rs
    [run-pass] run-pass/debuginfo-lto.rs
    [run-pass] run-pass/default-method-simple.rs
    [run-pass] run-pass/deriving/deriving-eq-ord-boxed-slice.rs
    [run-pass] run-pass/drop/drop-trait-enum.rs
    [run-pass] run-pass/drop/dropck-eyepatch-extern-crate.rs
    [run-pass] run-pass/drop/dropck-eyepatch-reorder.rs
    [run-pass] run-pass/drop/dropck-eyepatch.rs
    [run-pass] run-pass/drop/dropck_legal_cycles.rs
    [run-pass] run-pass/drop/dynamic-drop.rs#lexical
    [run-pass] run-pass/drop/dynamic-drop.rs#nll
    [run-pass] run-pass/duplicated-external-mods.rs
    [run-pass] run-pass/dynamically-sized-types/dst-field-align.rs
    [run-pass] run-pass/edition-keywords-2015-2015.rs
    [run-pass] run-pass/edition-keywords-2015-2018.rs
    [run-pass] run-pass/edition-keywords-2018-2015.rs
    [run-pass] run-pass/edition-keywords-2018-2018.rs
    [run-pass] run-pass/empty_global_asm.rs
    [run-pass] run-pass/env-funky-keys.rs
    [run-pass] run-pass/env-null-vars.rs
    [run-pass] run-pass/env-vars.rs
    [run-pass] run-pass/expr-block-generic-unique1.rs
    [run-pass] run-pass/fact.rs
    [run-pass] run-pass/fds-are-cloexec.rs
    [run-pass] run-pass/for-loop-while/foreach-put-structured.rs
    [run-pass] run-pass/for-loop-while/foreach-simple-outer-slot.rs
    [run-pass] run-pass/for-loop-while/linear-for-loop.rs
    [run-pass] run-pass/for-loop-while/loop-break-cont.rs
    [run-pass] run-pass/for-loop-while/while-loop-constraints-2.rs
    [run-pass] run-pass/for-loop-while/while-with-break.rs
    [run-pass] run-pass/for-loop-while/while.rs
    [run-pass] run-pass/foreign/foreign-call-no-runtime.rs
    [run-pass] run-pass/foreign/foreign-dupe.rs
    [run-pass] run-pass/foreign/foreign-fn-with-byval.rs
    [run-pass] run-pass/functions-closures/clone-closure.rs
    [run-pass] run-pass/functions-closures/closure-reform.rs
    [run-pass] run-pass/functions-closures/closure-to-fn-coercion.rs
    [run-pass] run-pass/functions-closures/copy-closure.rs
    [run-pass] run-pass/functions-closures/fn-abi.rs
    [run-pass] run-pass/futures-api.rs
    [run-pass] run-pass/generator/borrow-in-tail-expr.rs
    [run-pass] run-pass/generator/conditional-drop.rs
    [run-pass] run-pass/generator/control-flow.rs
    [run-pass] run-pass/generator/drop-env.rs
    [run-pass] run-pass/generator/issue-44197.rs
    [run-pass] run-pass/generator/issue-52398.rs
    [run-pass] run-pass/generator/iterator-count.rs
    [run-pass] run-pass/generator/live-upvar-across-yield.rs
    [run-pass] run-pass/generator/match-bindings.rs
    [run-pass] run-pass/generator/nested_generators.rs
    [run-pass] run-pass/generator/non-static-is-unpin.rs
    [run-pass] run-pass/generator/panic-drops.rs
    [run-pass] run-pass/generator/panic-safe.rs
    [run-pass] run-pass/generator/pin-box-generator.rs
    [run-pass] run-pass/generator/resume-after-return.rs
    [run-pass] run-pass/generator/smoke.rs
    [run-pass] run-pass/generator/static-generators.rs
    [run-pass] run-pass/generator/too-live-local-in-immovable-gen.rs
    [run-pass] run-pass/generator/xcrate-reachable.rs
    [run-pass] run-pass/generator/xcrate.rs
    [run-pass] run-pass/generator/yield-in-box.rs
    [run-pass] run-pass/generator/yield-in-initializer.rs
    [run-pass] run-pass/generics/generic-default-type-params-cross-crate.rs
    [run-pass] run-pass/generics/generic-derived-type.rs
    [run-pass] run-pass/generics/generic-fn.rs
    [run-pass] run-pass/generics/generic-tag-values.rs
    [run-pass] run-pass/hashmap-memory.rs
    [run-pass] run-pass/hygiene/legacy_interaction.rs
    [run-pass] run-pass/hygiene/wrap_unhygienic_example.rs
    [run-pass] run-pass/hygiene/xcrate.rs
    [run-pass] run-pass/ifmt.rs
    [run-pass] run-pass/impl-for-never.rs
    [run-pass] run-pass/impl-privacy-xc-1.rs
    [run-pass] run-pass/impl-privacy-xc-2.rs
    [run-pass] run-pass/impl-trait/example-calendar.rs#nll
    [run-pass] run-pass/impl-trait/example-calendar.rs#normal
    [run-pass] run-pass/impl-trait/nesting.rs
    [run-pass] run-pass/impl-trait/xcrate.rs
    [run-pass] run-pass/impl-trait/xcrate_simple.rs
    [run-pass] run-pass/imports/import-crate-with-invalid-spans/main.rs
    [run-pass] run-pass/imports/import-glob-0.rs
    [run-pass] run-pass/imports/import.rs
    [run-pass] run-pass/imports/import8.rs
    [run-pass] run-pass/inherit-env.rs
    [run-pass] run-pass/init-large-type.rs
    [run-pass] run-pass/inner-module.rs
    [run-pass] run-pass/inner-static.rs
    [run-pass] run-pass/intrinsics/intrinsic-alignment.rs
    [run-pass] run-pass/intrinsics/intrinsic-atomics-cc.rs
    [run-pass] run-pass/intrinsics/intrinsic-atomics.rs
    [run-pass] run-pass/intrinsics/intrinsic-move-val-cleanups.rs
    [run-pass] run-pass/intrinsics/intrinsics-integer.rs
    [run-pass] run-pass/intrinsics/intrinsics-math.rs
    [run-pass] run-pass/invoke-external-foreign.rs
    [run-pass] run-pass/issue-18952.rs
    [run-pass] run-pass/issue-45510.rs
    [run-pass] run-pass/issues/issue-10028.rs
    [run-pass] run-pass/issues/issue-10031.rs
    [run-pass] run-pass/issues/issue-11224.rs
    [run-pass] run-pass/issues/issue-11225-1.rs
    [run-pass] run-pass/issues/issue-11225-2.rs
    [run-pass] run-pass/issues/issue-11225-3.rs
    [run-pass] run-pass/issues/issue-11508.rs
    [run-pass] run-pass/issues/issue-11529.rs
    [run-pass] run-pass/issues/issue-12133-1.rs
    [run-pass] run-pass/issues/issue-12133-2.rs
    [run-pass] run-pass/issues/issue-12133-3.rs
    [run-pass] run-pass/issues/issue-12612.rs
    [run-pass] run-pass/issues/issue-12660.rs
    [run-pass] run-pass/issues/issue-13304.rs
    [run-pass] run-pass/issues/issue-13494.rs
    [run-pass] run-pass/issues/issue-13507-2.rs
    [run-pass] run-pass/issues/issue-13620.rs
    [run-pass] run-pass/issues/issue-13872.rs
    [run-pass] run-pass/issues/issue-14344.rs
    [run-pass] run-pass/issues/issue-14382.rs
    [run-pass] run-pass/issues/issue-14421.rs
    [run-pass] run-pass/issues/issue-14422.rs
    [run-pass] run-pass/issues/issue-14875.rs
    [run-pass] run-pass/issues/issue-15155.rs
    [run-pass] run-pass/issues/issue-15562.rs
    [run-pass] run-pass/issues/issue-15571.rs
    [run-pass] run-pass/issues/issue-16492.rs
    [run-pass] run-pass/issues/issue-16560.rs
    [run-pass] run-pass/issues/issue-16597-empty.rs
    [run-pass] run-pass/issues/issue-16597.rs
    [run-pass] run-pass/issues/issue-16643.rs
    [run-pass] run-pass/issues/issue-16739.rs
    [run-pass] run-pass/issues/issue-17503.rs
    [run-pass] run-pass/issues/issue-17662.rs
    [run-pass] run-pass/issues/issue-17718.rs
    [run-pass] run-pass/issues/issue-18501.rs
    [run-pass] run-pass/issues/issue-18514.rs
    [run-pass] run-pass/issues/issue-18711.rs
    [run-pass] run-pass/issues/issue-18804/main.rs
    [run-pass] run-pass/issues/issue-19293.rs
    [run-pass] run-pass/issues/issue-19340-1.rs
    [run-pass] run-pass/issues/issue-19367.rs
    [run-pass] run-pass/issues/issue-20055-box-trait.rs
    [run-pass] run-pass/issues/issue-20055-box-unsized-array.rs
    [run-pass] run-pass/issues/issue-20389.rs
    [run-pass] run-pass/issues/issue-20427.rs
    [run-pass] run-pass/issues/issue-20823.rs
    [run-pass] run-pass/issues/issue-20953.rs
    [run-pass] run-pass/issues/issue-21058.rs
    [run-pass] run-pass/issues/issue-21291.rs
    [run-pass] run-pass/issues/issue-21922.rs
    [run-pass] run-pass/issues/issue-22258.rs
    [run-pass] run-pass/issues/issue-22992.rs
    [run-pass] run-pass/issues/issue-2316-c.rs
    [run-pass] run-pass/issues/issue-23338-ensure-param-drop-order.rs
    [run-pass] run-pass/issues/issue-23611-enum-swap-in-drop.rs
    [run-pass] run-pass/issues/issue-23781.rs
    [run-pass] run-pass/issues/issue-2380-b.rs
    [run-pass] run-pass/issues/issue-2414-c.rs
    [run-pass] run-pass/issues/issue-24313.rs
    [run-pass] run-pass/issues/issue-2472.rs
    [run-pass] run-pass/issues/issue-24945-repeat-dash-opts.rs
    [run-pass] run-pass/issues/issue-25089.rs
    [run-pass] run-pass/issues/issue-25185.rs
    [run-pass] run-pass/issues/issue-2526-a.rs
    [run-pass] run-pass/issues/issue-25467.rs
    [run-pass] run-pass/issues/issue-2631-b.rs
    [run-pass] run-pass/issues/issue-26484.rs
    [run-pass] run-pass/issues/issue-26655.rs
    [run-pass] run-pass/issues/issue-2723-b.rs
    [run-pass] run-pass/issues/issue-27639.rs
    [run-pass] run-pass/issues/issue-27859.rs
    [run-pass] run-pass/issues/issue-28676.rs
    [run-pass] run-pass/issues/issue-28950.rs
    [run-pass] run-pass/issues/issue-29485.rs
    [run-pass] run-pass/issues/issue-29488.rs
    [run-pass] run-pass/issues/issue-29663.rs
    [run-pass] run-pass/issues/issue-2989.rs
    [run-pass] run-pass/issues/issue-29948.rs
    [run-pass] run-pass/issues/issue-30018-nopanic.rs
    [run-pass] run-pass/issues/issue-30018-panic.rs
    [run-pass] run-pass/issues/issue-3012-2.rs
    [run-pass] run-pass/issues/issue-31702.rs
    [run-pass] run-pass/issues/issue-32805.rs
    [run-pass] run-pass/issues/issue-32947.rs
    [run-pass] run-pass/issues/issue-33096.rs
    [run-pass] run-pass/issues/issue-33537.rs
    [run-pass] run-pass/issues/issue-33770.rs
    [run-pass] run-pass/issues/issue-3389.rs
    [run-pass] run-pass/issues/issue-33992.rs
    [run-pass] run-pass/issues/issue-34053.rs
    [run-pass] run-pass/issues/issue-34569.rs
    [run-pass] run-pass/issues/issue-34796.rs
    [run-pass] run-pass/issues/issue-34932.rs
    [run-pass] run-pass/issues/issue-36768.rs
    [run-pass] run-pass/issues/issue-36954.rs
    [run-pass] run-pass/issues/issue-37291/main.rs
    [run-pass] run-pass/issues/issue-3743.rs
    [run-pass] run-pass/issues/issue-3794.rs
    [run-pass] run-pass/issues/issue-38074.rs
    [run-pass] run-pass/issues/issue-38190.rs
    [run-pass] run-pass/issues/issue-38226.rs
    [run-pass] run-pass/issues/issue-38715.rs
    [run-pass] run-pass/issues/issue-38763.rs
    [run-pass] run-pass/issues/issue-38987.rs
    [run-pass] run-pass/issues/issue-39720.rs
    [run-pass] run-pass/issues/issue-3979-xcrate.rs
    [run-pass] run-pass/issues/issue-39823.rs
    [run-pass] run-pass/issues/issue-39827.rs
    [run-pass] run-pass/issues/issue-40408.rs
    [run-pass] run-pass/issues/issue-40883.rs
    [run-pass] run-pass/issues/issue-41053.rs
    [run-pass] run-pass/issues/issue-41394.rs
    [run-pass] run-pass/issues/issue-41696.rs
    [run-pass] run-pass/issues/issue-42007.rs
    [run-pass] run-pass/issues/issue-4208.rs
    [run-pass] run-pass/issues/issue-42148.rs
    [run-pass] run-pass/issues/issue-42210.rs
    [run-pass] run-pass/issues/issue-4252.rs
    [run-pass] run-pass/issues/issue-43853.rs
    [run-pass] run-pass/issues/issue-4446.rs
    [run-pass] run-pass/issues/issue-4448.rs
    [run-pass] run-pass/issues/issue-4545.rs
    [run-pass] run-pass/issues/issue-45731.rs
    [run-pass] run-pass/issues/issue-46519.rs
    [run-pass] run-pass/issues/issue-46855.rs
    [run-pass] run-pass/issues/issue-47638.rs
    [run-pass] run-pass/issues/issue-48508.rs
    [run-pass] run-pass/issues/issue-48984.rs
    [run-pass] run-pass/issues/issue-49298.rs
    [run-pass] run-pass/issues/issue-49973.rs
    [run-pass] run-pass/issues/issue-5060.rs
    [run-pass] run-pass/issues/issue-50811.rs
    [run-pass] run-pass/issues/issue-50865-private-impl-trait/main.rs
    [run-pass] run-pass/issues/issue-51582.rs
    [run-pass] run-pass/issues/issue-52140/main.rs
    [run-pass] run-pass/issues/issue-52141/main.rs
    [run-pass] run-pass/issues/issue-52557.rs
    [run-pass] run-pass/issues/issue-52705/main.rs
    [run-pass] run-pass/issues/issue-5321-immediates-with-bare-self.rs
    [run-pass] run-pass/issues/issue-5518.rs
    [run-pass] run-pass/issues/issue-5521.rs
    [run-pass] run-pass/issues/issue-5550.rs
    [run-pass] run-pass/issues/issue-5666.rs
    [run-pass] run-pass/issues/issue-6919.rs
    [run-pass] run-pass/issues/issue-7178.rs
    [run-pass] run-pass/issues/issue-7563.rs
    [run-pass] run-pass/issues/issue-7899.rs
    [run-pass] run-pass/issues/issue-8044.rs
    [run-pass] run-pass/issues/issue-8259.rs
    [run-pass] run-pass/issues/issue-8401.rs
    [run-pass] run-pass/issues/issue-8460.rs
    [run-pass] run-pass/issues/issue-8827.rs
    [run-pass] run-pass/issues/issue-9123.rs
    [run-pass] run-pass/issues/issue-9188.rs
    [run-pass] run-pass/issues/issue-9396.rs
    [run-pass] run-pass/issues/issue-9446.rs
    [run-pass] run-pass/issues/issue-9906.rs
    [run-pass] run-pass/issues/issue-9968.rs
    [run-pass] run-pass/issues/issue2170exe.rs
    [run-pass] run-pass/issues/issue24687-embed-debuginfo/main.rs
    [run-pass] run-pass/issues/issue28498-ugeh-with-lifetime-param.rs
    [run-pass] run-pass/issues/issue28498-ugeh-with-passed-to-fn.rs
    [run-pass] run-pass/issues/issue28498-ugeh-with-trait-bound.rs
    [run-pass] run-pass/issues/issue_3136_b.rs
    [run-pass] run-pass/issues/issue_9155.rs
    [run-pass] run-pass/istr.rs
    [run-pass] run-pass/iterators/iter-step-overflow-debug.rs
    [run-pass] run-pass/iterators/iter-sum-overflow-debug.rs
    [run-pass] run-pass/iterators/iter-sum-overflow-overflow-checks.rs
    [run-pass] run-pass/kinds-in-metadata.rs
    [run-pass] run-pass/link-cfg-works.rs
    [run-pass] run-pass/linkage1.rs
    [run-pass] run-pass/llvm-pr32379.rs
    [run-pass] run-pass/log-poly.rs
    [run-pass] run-pass/logging-only-prints-once.rs
    [run-pass] run-pass/lto-still-runs-thread-dtors.rs
    [run-pass] run-pass/macro-quote-cond.rs
    [run-pass] run-pass/macro-quote-test.rs
    [run-pass] run-pass/macros/macro-as-fn-body.rs
    [run-pass] run-pass/macros/macro-comma-behavior.rs#core
    [run-pass] run-pass/macros/macro-comma-behavior.rs#std
    [run-pass] run-pass/macros/macro-comma-support.rs#core
    [run-pass] run-pass/macros/macro-comma-support.rs#std
    [run-pass] run-pass/macros/macro-crate-def-only.rs
    [run-pass] run-pass/macros/macro-crate-nonterminal-renamed.rs
    [run-pass] run-pass/macros/macro-crate-nonterminal.rs
    [run-pass] run-pass/macros/macro-export-inner-module.rs
    [run-pass] run-pass/macros/macro-stability.rs
    [run-pass] run-pass/macros/macro-use-all-and-none.rs
    [run-pass] run-pass/macros/macro-use-all.rs
    [run-pass] run-pass/macros/macro-use-both.rs
    [run-pass] run-pass/macros/macro-use-one.rs
    [run-pass] run-pass/macros/macro-with-braces-in-expr-position.rs
    [run-pass] run-pass/macros/macro_with_super_2.rs
    [run-pass] run-pass/macros/paths-in-macro-invocations.rs
    [run-pass] run-pass/macros/syntax-extension-source-utils.rs
    [run-pass] run-pass/macros/try-macro.rs
    [run-pass] run-pass/macros/two-macro-use.rs
    [run-pass] run-pass/macros/use-macro-self.rs
    [run-pass] run-pass/methods/method-self-arg-aux1.rs
    [run-pass] run-pass/methods/method-self-arg-aux2.rs
    [run-pass] run-pass/mir/mir_calls_to_shims.rs
    [run-pass] run-pass/mir/mir_codegen_calls.rs
    [run-pass] run-pass/mir/mir_codegen_calls_variadic.rs
    [run-pass] run-pass/mir/mir_drop_order.rs
    [run-pass] run-pass/mir/mir_fat_ptr_drop.rs
    [run-pass] run-pass/mir/mir_misc_casts.rs
    [run-pass] run-pass/mir/mir_overflow_off.rs
    [run-pass] run-pass/mir/mir_raw_fat_ptr.rs
    [run-pass] run-pass/mir/mir_refs_correct.rs
    [run-pass] run-pass/moves/moves-based-on-type-capture-clause.rs
    [run-pass] run-pass/mpsc_stress.rs
    [run-pass] run-pass/multi-panic.rs
    [run-pass] run-pass/nested_item_main.rs
    [run-pass] run-pass/new-box.rs
    [run-pass] run-pass/new-impl-syntax.rs
    [run-pass] run-pass/no-landing-pads.rs
    [run-pass] run-pass/no-stdio.rs
    [run-pass] run-pass/numbers-arithmetic/float-int-invalid-const-cast.rs
    [run-pass] run-pass/numbers-arithmetic/float-literal-inference.rs
    [run-pass] run-pass/numbers-arithmetic/float.rs
    [run-pass] run-pass/numbers-arithmetic/float_math.rs
    [run-pass] run-pass/numbers-arithmetic/i128-ffi.rs
    [run-pass] run-pass/numbers-arithmetic/i128.rs
    [run-pass] run-pass/numbers-arithmetic/int-abs-overflow.rs
    [run-pass] run-pass/numbers-arithmetic/next-power-of-two-overflow-debug.rs
    [run-pass] run-pass/numbers-arithmetic/next-power-of-two-overflow-ndebug.rs
    [run-pass] run-pass/numbers-arithmetic/num-wrapping.rs
    [run-pass] run-pass/numbers-arithmetic/saturating-float-casts.rs
    [run-pass] run-pass/numbers-arithmetic/shift.rs
    [run-pass] run-pass/numbers-arithmetic/u128-as-f32.rs
    [run-pass] run-pass/numbers-arithmetic/u128.rs
    [run-pass] run-pass/opeq.rs
    [run-pass] run-pass/out-of-stack.rs
    [run-pass] run-pass/over-constrained-vregs.rs
    [run-pass] run-pass/overloaded/overloaded-autoderef-xcrate.rs
    [run-pass] run-pass/packed/packed-struct-size-xc.rs
    [run-pass] run-pass/panic-uninitialized-zeroed.rs
    [run-pass] run-pass/print-stdout-eprint-stderr.rs
    [run-pass] run-pass/privacy/priv-impl-prim-ty.rs
    [run-pass] run-pass/privacy/privacy-reexport.rs
    [run-pass] run-pass/privacy/pub-use-xcrate.rs
    [run-pass] run-pass/privacy/pub_use_mods_xcrate_exe.rs
    [run-pass] run-pass/proc_macro.rs
    [run-pass] run-pass/process/process-envs.rs
    [run-pass] run-pass/process/process-sigpipe.rs
    [run-pass] run-pass/process/process-spawn-with-unicode-params.rs
    [run-pass] run-pass/range_inclusive.rs
    [run-pass] run-pass/raw-fat-ptr.rs
    [run-pass] run-pass/rcvr-borrowed-to-region.rs
    [run-pass] run-pass/reachable-unnameable-items.rs
    [run-pass] run-pass/reexport-should-still-link.rs
    [run-pass] run-pass/reexport-test-harness-main.rs
    [run-pass] run-pass/resource-destruct.rs
    [run-pass] run-pass/rfcs/rfc-2005-default-binding-mode/enum.rs
    [run-pass] run-pass/rfcs/rfc-2005-default-binding-mode/general.rs
    [run-pass] run-pass/rfcs/rfc-2008-non-exhaustive/enums.rs
    [run-pass] run-pass/rfcs/rfc-2008-non-exhaustive/structs.rs
    [run-pass] run-pass/rfcs/rfc-2126-extern-absolute-paths/basic.rs
    [run-pass] run-pass/rfcs/rfc-2126-extern-absolute-paths/test.rs
    [run-pass] run-pass/rfcs/rfc-2302-self-struct-ctor.rs
    [run-pass] run-pass/rfcs/rfc1857-drop-order.rs
    [run-pass] run-pass/running-with-no-runtime.rs
    [run-pass] run-pass/segfault-no-out-of-stack.rs
    [run-pass] run-pass/self/builtin-superkinds-self-type.rs
    [run-pass] run-pass/self/explicit_self_xcrate_exe.rs
    [run-pass] run-pass/self/string-self-append.rs
    [run-pass] run-pass/self/ufcs-explicit-self.rs
    [run-pass] run-pass/sepcomp/sepcomp-cci.rs
    [run-pass] run-pass/sepcomp/sepcomp-extern.rs
    [run-pass] run-pass/sepcomp/sepcomp-lib-lto.rs
    [run-pass] run-pass/sepcomp/sepcomp-lib.rs
    [run-pass] run-pass/sepcomp/sepcomp-unwind.rs
    [run-pass] run-pass/signal-alternate-stack-cleanup.rs
    [run-pass] run-pass/sigpipe-should-be-ignored.rs
    [run-pass] run-pass/simple_global_asm.rs
    [run-pass] run-pass/sleep.rs
    [run-pass] run-pass/specialization/cross-crate-defaults.rs
    [run-pass] run-pass/specialization/defaultimpl/allowed-cross-crate.rs
    [run-pass] run-pass/specialization/specialization-allowed-cross-crate.rs
    [run-pass] run-pass/specialization/specialization-cross-crate-no-gate.rs
    [run-pass] run-pass/specialization/specialization-cross-crate.rs
    [run-pass] run-pass/sse2.rs
    [run-pass] run-pass/stack-probes-lto.rs
    [run-pass] run-pass/stack-probes.rs
    [run-pass] run-pass/statics/static-fn-inline-xc.rs
    [run-pass] run-pass/statics/static-fn-trait-xc.rs
    [run-pass] run-pass/statics/static-function-pointer-xc.rs
    [run-pass] run-pass/statics/static-method-xcrate.rs
    [run-pass] run-pass/statics/static-mut-xc.rs
    [run-pass] run-pass/stdio-is-blocking.rs
    [run-pass] run-pass/structs-enums/class-cast-to-trait-cross-crate-2.rs
    [run-pass] run-pass/structs-enums/class-cast-to-trait-multiple-types.rs
    [run-pass] run-pass/structs-enums/class-impl-very-parameterized-trait.rs
    [run-pass] run-pass/structs-enums/class-implement-trait-cross-crate.rs
    [run-pass] run-pass/structs-enums/class-implement-traits.rs
    [run-pass] run-pass/structs-enums/class-method-cross-crate.rs
    [run-pass] run-pass/structs-enums/class-methods-cross-crate.rs
    [run-pass] run-pass/structs-enums/class-poly-methods-cross-crate.rs
    [run-pass] run-pass/structs-enums/classes-cross-crate.rs
    [run-pass] run-pass/structs-enums/classes-simple-cross-crate.rs
    [run-pass] run-pass/structs-enums/classes.rs
    [run-pass] run-pass/structs-enums/discrim-explicit-23030.rs
    [run-pass] run-pass/structs-enums/empty-struct-braces.rs
    [run-pass] run-pass/structs-enums/enum-discrim-width-stuff.rs
    [run-pass] run-pass/structs-enums/ivec-tag.rs
    [run-pass] run-pass/structs-enums/namespaced-enum-emulate-flat-xc.rs
    [run-pass] run-pass/structs-enums/namespaced-enum-glob-import-xcrate.rs
    [run-pass] run-pass/structs-enums/namespaced-enums-xcrate.rs
    [run-pass] run-pass/structs-enums/newtype-struct-xc-2.rs
    [run-pass] run-pass/structs-enums/newtype-struct-xc.rs
    [run-pass] run-pass/structs-enums/rec-align-u32.rs
    [run-pass] run-pass/structs-enums/rec-align-u64.rs
    [run-pass] run-pass/structs-enums/rec-auto.rs
    [run-pass] run-pass/structs-enums/small-enum-range-edge.rs
    [run-pass] run-pass/structs-enums/struct-aliases-xcrate.rs
    [run-pass] run-pass/structs-enums/struct-destructuring-cross-crate.rs
    [run-pass] run-pass/structs-enums/struct-return.rs
    [run-pass] run-pass/structs-enums/struct_variant_xc.rs
    [run-pass] run-pass/structs-enums/struct_variant_xc_match.rs
    [run-pass] run-pass/structs-enums/unit-like-struct-drop-run.rs
    [run-pass] run-pass/supported-cast.rs
    [run-pass] run-pass/svh-add-nothing.rs
    [run-pass] run-pass/tail-cps.rs
    [run-pass] run-pass/tcp-stress.rs
    [run-pass] run-pass/terminate-in-initializer.rs
    [run-pass] run-pass/test-allow-dead-extern-static-no-warning.rs
    [run-pass] run-pass/test-allow-fail-attr.rs
    [run-pass] run-pass/test-fn-signature-verification-for-explicit-return-type.rs
    [run-pass] run-pass/test-main-not-dead-attr.rs
    [run-pass] run-pass/test-main-not-dead.rs
    [run-pass] run-pass/test-runner-hides-buried-main.rs
    [run-pass] run-pass/test-runner-hides-main.rs
    [run-pass] run-pass/test-runner-hides-start.rs
    [run-pass] run-pass/test-should-fail-good-message.rs
    [run-pass] run-pass/traits/anon_trait_static_method_exe.rs
    [run-pass] run-pass/traits/trait-bounds-in-arc.rs
    [run-pass] run-pass/traits/trait-coercion-generic.rs
    [run-pass] run-pass/traits/trait-coercion.rs
    [run-pass] run-pass/traits/trait-default-method-xc-2.rs
    [run-pass] run-pass/traits/trait-default-method-xc.rs
    [run-pass] run-pass/traits/trait-impl.rs
    [run-pass] run-pass/traits/trait-inheritance-auto-xc-2.rs
    [run-pass] run-pass/traits/trait-inheritance-auto-xc.rs
    [run-pass] run-pass/traits/trait-inheritance-cross-trait-call-xc.rs
    [run-pass] run-pass/traits/trait-inheritance-overloading-xc-exe.rs
    [run-pass] run-pass/traits/trait-inheritance-self-in-supertype.rs
    [run-pass] run-pass/traits/trait-safety-ok-cc.rs
    [run-pass] run-pass/traits/trait-static-method-overwriting.rs
    [run-pass] run-pass/traits/traits-conditional-model-fn.rs
    [run-pass] run-pass/trivial-message.rs
    [run-pass] run-pass/tydesc-name.rs
    [run-pass] run-pass/typeid-intrinsic.rs
    [run-pass] run-pass/unary-minus-suffix-inference.rs
    [run-pass] run-pass/unboxed-closures/unboxed-closures-boxed.rs
    [run-pass] run-pass/unboxed-closures/unboxed-closures-cross-crate.rs
    [run-pass] run-pass/unboxed-closures/unboxed-closures-monomorphization.rs
    [run-pass] run-pass/unboxed-closures/unboxed-closures-unique-type-id.rs
    [run-pass] run-pass/uniform-paths/issue-53691.rs
    [run-pass] run-pass/union/union-basic.rs
    [run-pass] run-pass/union/union-c-interop.rs
    [run-pass] run-pass/unique/unique-send-2.rs
    [run-pass] run-pass/unwind-resource.rs
    [run-pass] run-pass/unwind-unique.rs
    [run-pass] run-pass/use_inline_dtor.rs
    [run-pass] run-pass/using-target-feature-unstable.rs
    [run-pass] run-pass/utf8.rs
    [run-pass] run-pass/utf8_idents.rs
    [run-pass] run-pass/variadic-ffi.rs
    [run-pass] run-pass/volatile-fat-ptr.rs
    [run-pass] run-pass/weird-exprs.rs
    [run-pass] run-pass/where-clauses/where-clauses-cross-crate.rs
    [run-pass] run-pass/where-clauses/where-clauses-method.rs
    [run-pass] run-pass/where-clauses/where-clauses.rs
    [run-pass] run-pass/yield.rs
    [run-pass] run-pass/yield1.rs
    [run-pass] run-pass/yield2.rs

test result: FAILED. 1401 passed; 577 failed; 805 ignored; 0 measured; 0 filtered out

Note: those 805 ignored are tests passed when I ran it previous time.

The most common runtime errors are:

  • thread 'main' panicked at 'assertion failed: `(left == right)`
      left: `22`,
     right: `0`', sysroot_src/src/libstd/sys/unix/mutex.rs:112:9
    
  • thread 'main' panicked at 'assertion failed: c.borrow().is_none()', sysroot_src/src/libstd/sys_common/thread_info.rs:37:26
    
@bjorn3 bjorn3 added the C-bug Category: This is a bug. label Feb 26, 2019
@bjorn3 bjorn3 added this to the MVP milestone Feb 26, 2019
@bjorn3 bjorn3 self-assigned this Feb 26, 2019
@bjorn3 bjorn3 pinned this issue Feb 26, 2019
@bjorn3 bjorn3 mentioned this issue Feb 27, 2019
15 tasks
@bjorn3
Copy link
Member Author

bjorn3 commented Feb 27, 2019

Ignoring all emscripten ignored tests brings failed down to 525. Emscripten doesn't support threading, u/i128 and inline asm just like cg_clif.

@bjorn3
Copy link
Member Author

bjorn3 commented Feb 28, 2019

Filled #388 for multithreading support.

@bjorn3
Copy link
Member Author

bjorn3 commented Mar 3, 2019

And down to 510 thanks to 2ce5387.

    [run-pass] run-pass/allocator/custom.rs
    [run-pass] run-pass/allocator/xcrate-use.rs
    [run-pass] run-pass/allocator/xcrate-use2.rs
    [run-pass] run-pass/array-slice-vec/check-static-slice.rs
    [run-pass] run-pass/array-slice-vec/estr-slice.rs
    [run-pass] run-pass/array-slice-vec/evec-slice.rs
    [run-pass] run-pass/array-slice-vec/nested-vec-2.rs
    [run-pass] run-pass/array-slice-vec/rcvr-borrowed-to-slice.rs
    [run-pass] run-pass/array-slice-vec/repeated-vector-syntax.rs
    [run-pass] run-pass/array-slice-vec/slice-2.rs
    [run-pass] run-pass/associated-consts/associated-const-cross-crate-const-eval.rs
    [run-pass] run-pass/associated-consts/associated-const-cross-crate-defaults.rs
    [run-pass] run-pass/associated-consts/associated-const-cross-crate.rs
    [run-pass] run-pass/associated-consts/associated-const-match-patterns.rs
    [run-pass] run-pass/associated-types/associated-types-cc.rs
    [run-pass] run-pass/associated-types/associated-types-project-from-type-param-via-bound-in-where.rs
    [run-pass] run-pass/async-await.rs
    [run-pass] run-pass/atomic-access-bool.rs
    [run-pass] run-pass/atomic-alignment.rs
    [run-pass] run-pass/attr-before-view-item.rs
    [run-pass] run-pass/attr-before-view-item2.rs
    [run-pass] run-pass/augmented-assignments-feature-gate-cross.rs
    [run-pass] run-pass/auto-instantiate.rs
    [run-pass] run-pass/backtrace-debuginfo.rs
    [run-pass] run-pass/backtrace.rs
    [run-pass] run-pass/binding/fn-arg-incomplete-pattern-drop-order.rs
    [run-pass] run-pass/binding/fn-pattern-expected-type-2.rs
    [run-pass] run-pass/binding/match-beginning-vert.rs
    [run-pass] run-pass/binding/match-pattern-lit.rs
    [run-pass] run-pass/binding/pattern-in-closure.rs
    [run-pass] run-pass/bitwise.rs
    [run-pass] run-pass/blind-item-mixed-crate-use-item.rs
    [run-pass] run-pass/block-arg.rs
    [run-pass] run-pass/borrowck/borrowck-mut-uniq.rs
    [run-pass] run-pass/builtin-clone-unwind.rs
    [run-pass] run-pass/builtin-superkinds-capabilities-transitive.rs
    [run-pass] run-pass/builtin-superkinds-capabilities-xc.rs
    [run-pass] run-pass/builtin-superkinds-capabilities.rs
    [run-pass] run-pass/builtin-superkinds-in-metadata.rs
    [run-pass] run-pass/catch-unwind-bang.rs
    [run-pass] run-pass/cfg/cfg_inner_static.rs
    [run-pass] run-pass/check-static-recursion-foreign.rs
    [run-pass] run-pass/child-outlives-parent.rs
    [run-pass] run-pass/cleanup-rvalue-for-scope.rs
    [run-pass] run-pass/cleanup-rvalue-scopes.rs
    [run-pass] run-pass/cleanup-rvalue-temp-during-incomplete-alloc.rs
    [run-pass] run-pass/clone-with-exterior.rs
    [run-pass] run-pass/coherence/coherence-bigint-int.rs#old
    [run-pass] run-pass/coherence/coherence-bigint-int.rs#re
    [run-pass] run-pass/coherence/coherence-bigint-vecint.rs#old
    [run-pass] run-pass/coherence/coherence-bigint-vecint.rs#re
    [run-pass] run-pass/coherence/coherence-blanket.rs#old
    [run-pass] run-pass/coherence/coherence-blanket.rs#re
    [run-pass] run-pass/coherence/coherence-covered-type-parameter.rs#old
    [run-pass] run-pass/coherence/coherence-covered-type-parameter.rs#re
    [run-pass] run-pass/coherence/coherence-iterator-vec-any-elem.rs#old
    [run-pass] run-pass/coherence/coherence-iterator-vec-any-elem.rs#re
    [run-pass] run-pass/coherence/coherence-iterator-vec.rs#old
    [run-pass] run-pass/coherence/coherence-iterator-vec.rs#re
    [run-pass] run-pass/coherence/coherence_copy_like.rs#old
    [run-pass] run-pass/coherence/coherence_copy_like.rs#re
    [run-pass] run-pass/coherence/re-rebalance-coherence.rs
    [run-pass] run-pass/command-pre-exec.rs
    [run-pass] run-pass/compiletest-skip-codegen.rs
    [run-pass] run-pass/complex.rs
    [run-pass] run-pass/const-int-conversion.rs
    [run-pass] run-pass/const-int-saturating-arith.rs
    [run-pass] run-pass/consts/const-binops.rs
    [run-pass] run-pass/consts/const-block-cross-crate-fn.rs
    [run-pass] run-pass/consts/const-cross-crate-const.rs
    [run-pass] run-pass/consts/const-cross-crate-extern.rs
    [run-pass] run-pass/consts/const-endianess.rs
    [run-pass] run-pass/consts/const-fields-and-indexing.rs
    [run-pass] run-pass/consts/const-fn-stability-calls.rs
    [run-pass] run-pass/consts/const-region-ptrs.rs
    [run-pass] run-pass/consts/const-str-ptr.rs
    [run-pass] run-pass/consts/const-struct.rs
    [run-pass] run-pass/consts/const-vecs-and-slices.rs
    [run-pass] run-pass/core-run-destroy.rs
    [run-pass] run-pass/crate-method-reexport-grrrrrrr.rs
    [run-pass] run-pass/cross-crate/anon-extern-mod-cross-crate-2.rs
    [run-pass] run-pass/cross-crate/cci_borrow.rs
    [run-pass] run-pass/cross-crate/cci_impl_exe.rs
    [run-pass] run-pass/cross-crate/cci_iter_exe.rs
    [run-pass] run-pass/cross-crate/cci_nested_exe.rs
    [run-pass] run-pass/cross-crate/cci_no_inline_exe.rs
    [run-pass] run-pass/cross-crate/cross-crate-const-pat.rs
    [run-pass] run-pass/cross-crate/cross-crate-newtype-struct-pat.rs
    [run-pass] run-pass/cross-crate/moves-based-on-type-cross-crate.rs
    [run-pass] run-pass/cross-crate/reexported-static-methods-cross-crate.rs
    [run-pass] run-pass/cross-crate/static-array-across-crate.rs
    [run-pass] run-pass/cross-crate/xcrate-address-insignificant.rs
    [run-pass] run-pass/cross-crate/xcrate-associated-type-defaults.rs
    [run-pass] run-pass/cross-crate/xcrate-static-addresses.rs
    [run-pass] run-pass/cross-crate/xcrate-trait-lifetime-param.rs
    [run-pass] run-pass/cross-crate/xcrate-unit-struct.rs
    [run-pass] run-pass/cross-crate/xcrate_generic_fn_nested_return.rs
    [run-pass] run-pass/ctfe/references.rs
    [run-pass] run-pass/default-method-simple.rs
    [run-pass] run-pass/deriving/deriving-eq-ord-boxed-slice.rs
    [run-pass] run-pass/drop/dropck-eyepatch-extern-crate.rs
    [run-pass] run-pass/drop/dropck-eyepatch-reorder.rs
    [run-pass] run-pass/drop/dropck-eyepatch.rs
    [run-pass] run-pass/drop/dropck_legal_cycles.rs
    [run-pass] run-pass/drop/dynamic-drop.rs#lexical
    [run-pass] run-pass/drop/dynamic-drop.rs#nll
    [run-pass] run-pass/duplicated-external-mods.rs
    [run-pass] run-pass/dynamically-sized-types/dst-field-align.rs
    [run-pass] run-pass/edition-keywords-2015-2015.rs
    [run-pass] run-pass/edition-keywords-2015-2018.rs
    [run-pass] run-pass/edition-keywords-2018-2015.rs
    [run-pass] run-pass/edition-keywords-2018-2018.rs
    [run-pass] run-pass/empty_global_asm.rs
    [run-pass] run-pass/expr-block-generic-unique1.rs
    [run-pass] run-pass/fact.rs
    [run-pass] run-pass/fds-are-cloexec.rs
    [run-pass] run-pass/for-loop-while/foreach-put-structured.rs
    [run-pass] run-pass/for-loop-while/foreach-simple-outer-slot.rs
    [run-pass] run-pass/for-loop-while/linear-for-loop.rs
    [run-pass] run-pass/for-loop-while/loop-break-cont.rs
    [run-pass] run-pass/for-loop-while/while-loop-constraints-2.rs
    [run-pass] run-pass/for-loop-while/while-with-break.rs
    [run-pass] run-pass/for-loop-while/while.rs
    [run-pass] run-pass/foreign/foreign-dupe.rs
    [run-pass] run-pass/foreign/foreign-fn-with-byval.rs
    [run-pass] run-pass/functions-closures/clone-closure.rs
    [run-pass] run-pass/functions-closures/closure-bounds-can-capture-chan.rs
    [run-pass] run-pass/functions-closures/closure-reform.rs
    [run-pass] run-pass/functions-closures/closure-to-fn-coercion.rs
    [run-pass] run-pass/functions-closures/copy-closure.rs
    [run-pass] run-pass/functions-closures/fn-abi.rs
    [run-pass] run-pass/futures-api.rs
    [run-pass] run-pass/generator/borrow-in-tail-expr.rs
    [run-pass] run-pass/generator/conditional-drop.rs
    [run-pass] run-pass/generator/control-flow.rs
    [run-pass] run-pass/generator/drop-env.rs
    [run-pass] run-pass/generator/issue-44197.rs
    [run-pass] run-pass/generator/issue-52398.rs
    [run-pass] run-pass/generator/iterator-count.rs
    [run-pass] run-pass/generator/live-upvar-across-yield.rs
    [run-pass] run-pass/generator/match-bindings.rs
    [run-pass] run-pass/generator/nested_generators.rs
    [run-pass] run-pass/generator/non-static-is-unpin.rs
    [run-pass] run-pass/generator/panic-drops.rs
    [run-pass] run-pass/generator/panic-safe.rs
    [run-pass] run-pass/generator/pin-box-generator.rs
    [run-pass] run-pass/generator/resume-after-return.rs
    [run-pass] run-pass/generator/static-generators.rs
    [run-pass] run-pass/generator/too-live-local-in-immovable-gen.rs
    [run-pass] run-pass/generator/xcrate-reachable.rs
    [run-pass] run-pass/generator/xcrate.rs
    [run-pass] run-pass/generator/yield-in-box.rs
    [run-pass] run-pass/generator/yield-in-initializer.rs
    [run-pass] run-pass/generics/generic-default-type-params-cross-crate.rs
    [run-pass] run-pass/generics/generic-derived-type.rs
    [run-pass] run-pass/generics/generic-fn.rs
    [run-pass] run-pass/generics/generic-tag-values.rs
    [run-pass] run-pass/hashmap-memory.rs
    [run-pass] run-pass/hygiene/legacy_interaction.rs
    [run-pass] run-pass/hygiene/wrap_unhygienic_example.rs
    [run-pass] run-pass/hygiene/xcrate.rs
    [run-pass] run-pass/ifmt.rs
    [run-pass] run-pass/impl-for-never.rs
    [run-pass] run-pass/impl-privacy-xc-1.rs
    [run-pass] run-pass/impl-privacy-xc-2.rs
    [run-pass] run-pass/impl-trait/nesting.rs
    [run-pass] run-pass/impl-trait/xcrate.rs
    [run-pass] run-pass/impl-trait/xcrate_simple.rs
    [run-pass] run-pass/imports/import-glob-0.rs
    [run-pass] run-pass/imports/import.rs
    [run-pass] run-pass/imports/import8.rs
    [run-pass] run-pass/inherit-env.rs
    [run-pass] run-pass/init-large-type.rs
    [run-pass] run-pass/inner-module.rs
    [run-pass] run-pass/inner-static.rs
    [run-pass] run-pass/intrinsics/intrinsic-alignment.rs
    [run-pass] run-pass/intrinsics/intrinsic-atomics-cc.rs
    [run-pass] run-pass/intrinsics/intrinsic-atomics.rs
    [run-pass] run-pass/invoke-external-foreign.rs
    [run-pass] run-pass/issue-18952.rs
    [run-pass] run-pass/issue-45510.rs
    [run-pass] run-pass/issues/issue-10028.rs
    [run-pass] run-pass/issues/issue-10031.rs
    [run-pass] run-pass/issues/issue-11224.rs
    [run-pass] run-pass/issues/issue-11225-1.rs
    [run-pass] run-pass/issues/issue-11225-2.rs
    [run-pass] run-pass/issues/issue-11225-3.rs
    [run-pass] run-pass/issues/issue-11508.rs
    [run-pass] run-pass/issues/issue-11529.rs
    [run-pass] run-pass/issues/issue-12133-1.rs
    [run-pass] run-pass/issues/issue-12133-2.rs
    [run-pass] run-pass/issues/issue-12612.rs
    [run-pass] run-pass/issues/issue-12660.rs
    [run-pass] run-pass/issues/issue-13507-2.rs
    [run-pass] run-pass/issues/issue-13620.rs
    [run-pass] run-pass/issues/issue-13872.rs
    [run-pass] run-pass/issues/issue-14344.rs
    [run-pass] run-pass/issues/issue-14382.rs
    [run-pass] run-pass/issues/issue-14421.rs
    [run-pass] run-pass/issues/issue-14422.rs
    [run-pass] run-pass/issues/issue-14875.rs
    [run-pass] run-pass/issues/issue-15155.rs
    [run-pass] run-pass/issues/issue-15562.rs
    [run-pass] run-pass/issues/issue-15571.rs
    [run-pass] run-pass/issues/issue-16492.rs
    [run-pass] run-pass/issues/issue-16597-empty.rs
    [run-pass] run-pass/issues/issue-16597.rs
    [run-pass] run-pass/issues/issue-16643.rs
    [run-pass] run-pass/issues/issue-16739.rs
    [run-pass] run-pass/issues/issue-17503.rs
    [run-pass] run-pass/issues/issue-17662.rs
    [run-pass] run-pass/issues/issue-17718.rs
    [run-pass] run-pass/issues/issue-18501.rs
    [run-pass] run-pass/issues/issue-18514.rs
    [run-pass] run-pass/issues/issue-18711.rs
    [run-pass] run-pass/issues/issue-19293.rs
    [run-pass] run-pass/issues/issue-19340-1.rs
    [run-pass] run-pass/issues/issue-19367.rs
    [run-pass] run-pass/issues/issue-20055-box-trait.rs
    [run-pass] run-pass/issues/issue-20055-box-unsized-array.rs
    [run-pass] run-pass/issues/issue-20389.rs
    [run-pass] run-pass/issues/issue-20427.rs
    [run-pass] run-pass/issues/issue-20823.rs
    [run-pass] run-pass/issues/issue-20953.rs
    [run-pass] run-pass/issues/issue-21058.rs
    [run-pass] run-pass/issues/issue-21922.rs
    [run-pass] run-pass/issues/issue-22258.rs
    [run-pass] run-pass/issues/issue-22992.rs
    [run-pass] run-pass/issues/issue-2316-c.rs
    [run-pass] run-pass/issues/issue-23338-ensure-param-drop-order.rs
    [run-pass] run-pass/issues/issue-23611-enum-swap-in-drop.rs
    [run-pass] run-pass/issues/issue-23781.rs
    [run-pass] run-pass/issues/issue-2380-b.rs
    [run-pass] run-pass/issues/issue-2414-c.rs
    [run-pass] run-pass/issues/issue-2472.rs
    [run-pass] run-pass/issues/issue-25185.rs
    [run-pass] run-pass/issues/issue-2526-a.rs
    [run-pass] run-pass/issues/issue-25467.rs
    [run-pass] run-pass/issues/issue-2631-b.rs
    [run-pass] run-pass/issues/issue-2723-b.rs
    [run-pass] run-pass/issues/issue-27639.rs
    [run-pass] run-pass/issues/issue-27859.rs
    [run-pass] run-pass/issues/issue-28676.rs
    [run-pass] run-pass/issues/issue-29663.rs
    [run-pass] run-pass/issues/issue-2989.rs
    [run-pass] run-pass/issues/issue-29948.rs
    [run-pass] run-pass/issues/issue-30018-nopanic.rs
    [run-pass] run-pass/issues/issue-3012-2.rs
    [run-pass] run-pass/issues/issue-31702.rs
    [run-pass] run-pass/issues/issue-32805.rs
    [run-pass] run-pass/issues/issue-33537.rs
    [run-pass] run-pass/issues/issue-3389.rs
    [run-pass] run-pass/issues/issue-34053.rs
    [run-pass] run-pass/issues/issue-34796.rs
    [run-pass] run-pass/issues/issue-34932.rs
    [run-pass] run-pass/issues/issue-36474.rs
    [run-pass] run-pass/issues/issue-36768.rs
    [run-pass] run-pass/issues/issue-36954.rs
    [run-pass] run-pass/issues/issue-37291/main.rs
    [run-pass] run-pass/issues/issue-3743.rs
    [run-pass] run-pass/issues/issue-3794.rs
    [run-pass] run-pass/issues/issue-38190.rs
    [run-pass] run-pass/issues/issue-38226.rs
    [run-pass] run-pass/issues/issue-38715.rs
    [run-pass] run-pass/issues/issue-38987.rs
    [run-pass] run-pass/issues/issue-3979-xcrate.rs
    [run-pass] run-pass/issues/issue-39823.rs
    [run-pass] run-pass/issues/issue-39827.rs
    [run-pass] run-pass/issues/issue-40408.rs
    [run-pass] run-pass/issues/issue-40883.rs
    [run-pass] run-pass/issues/issue-41053.rs
    [run-pass] run-pass/issues/issue-41394.rs
    [run-pass] run-pass/issues/issue-41696.rs
    [run-pass] run-pass/issues/issue-42007.rs
    [run-pass] run-pass/issues/issue-4208.rs
    [run-pass] run-pass/issues/issue-42148.rs
    [run-pass] run-pass/issues/issue-4252.rs
    [run-pass] run-pass/issues/issue-43853.rs
    [run-pass] run-pass/issues/issue-4545.rs
    [run-pass] run-pass/issues/issue-45731.rs
    [run-pass] run-pass/issues/issue-46519.rs
    [run-pass] run-pass/issues/issue-46855.rs
    [run-pass] run-pass/issues/issue-47638.rs
    [run-pass] run-pass/issues/issue-48984.rs
    [run-pass] run-pass/issues/issue-49298.rs
    [run-pass] run-pass/issues/issue-5060.rs
    [run-pass] run-pass/issues/issue-50811.rs
    [run-pass] run-pass/issues/issue-50865-private-impl-trait/main.rs
    [run-pass] run-pass/issues/issue-52140/main.rs
    [run-pass] run-pass/issues/issue-52141/main.rs
    [run-pass] run-pass/issues/issue-52557.rs
    [run-pass] run-pass/issues/issue-52705/main.rs
    [run-pass] run-pass/issues/issue-5321-immediates-with-bare-self.rs
    [run-pass] run-pass/issues/issue-5518.rs
    [run-pass] run-pass/issues/issue-5521.rs
    [run-pass] run-pass/issues/issue-5550.rs
    [run-pass] run-pass/issues/issue-5666.rs
    [run-pass] run-pass/issues/issue-6919.rs
    [run-pass] run-pass/issues/issue-7178.rs
    [run-pass] run-pass/issues/issue-7563.rs
    [run-pass] run-pass/issues/issue-7899.rs
    [run-pass] run-pass/issues/issue-8044.rs
    [run-pass] run-pass/issues/issue-8259.rs
    [run-pass] run-pass/issues/issue-8401.rs
    [run-pass] run-pass/issues/issue-9123.rs
    [run-pass] run-pass/issues/issue-9188.rs
    [run-pass] run-pass/issues/issue-9446.rs
    [run-pass] run-pass/issues/issue-9906.rs
    [run-pass] run-pass/issues/issue-9968.rs
    [run-pass] run-pass/issues/issue2170exe.rs
    [run-pass] run-pass/issues/issue24687-embed-debuginfo/main.rs
    [run-pass] run-pass/issues/issue28498-ugeh-with-lifetime-param.rs
    [run-pass] run-pass/issues/issue28498-ugeh-with-passed-to-fn.rs
    [run-pass] run-pass/issues/issue28498-ugeh-with-trait-bound.rs
    [run-pass] run-pass/issues/issue_3136_b.rs
    [run-pass] run-pass/issues/issue_9155.rs
    [run-pass] run-pass/istr.rs
    [run-pass] run-pass/iterators/iter-step-overflow-debug.rs
    [run-pass] run-pass/iterators/iter-sum-overflow-debug.rs
    [run-pass] run-pass/iterators/iter-sum-overflow-overflow-checks.rs
    [run-pass] run-pass/kinds-in-metadata.rs
    [run-pass] run-pass/link-cfg-works.rs
    [run-pass] run-pass/llvm-pr32379.rs
    [run-pass] run-pass/log-poly.rs
    [run-pass] run-pass/logging-only-prints-once.rs
    [run-pass] run-pass/lto-still-runs-thread-dtors.rs
    [run-pass] run-pass/macro-quote-cond.rs
    [run-pass] run-pass/macro-quote-test.rs
    [run-pass] run-pass/macros/macro-as-fn-body.rs
    [run-pass] run-pass/macros/macro-comma-behavior.rs#core
    [run-pass] run-pass/macros/macro-comma-behavior.rs#std
    [run-pass] run-pass/macros/macro-comma-support.rs#core
    [run-pass] run-pass/macros/macro-comma-support.rs#std
    [run-pass] run-pass/macros/macro-crate-def-only.rs
    [run-pass] run-pass/macros/macro-crate-nonterminal-renamed.rs
    [run-pass] run-pass/macros/macro-crate-nonterminal.rs
    [run-pass] run-pass/macros/macro-export-inner-module.rs
    [run-pass] run-pass/macros/macro-stability.rs
    [run-pass] run-pass/macros/macro-use-all-and-none.rs
    [run-pass] run-pass/macros/macro-use-all.rs
    [run-pass] run-pass/macros/macro-use-both.rs
    [run-pass] run-pass/macros/macro-use-one.rs
    [run-pass] run-pass/macros/macro_with_super_2.rs
    [run-pass] run-pass/macros/paths-in-macro-invocations.rs
    [run-pass] run-pass/macros/syntax-extension-source-utils.rs
    [run-pass] run-pass/macros/try-macro.rs
    [run-pass] run-pass/macros/two-macro-use.rs
    [run-pass] run-pass/macros/use-macro-self.rs
    [run-pass] run-pass/methods/method-self-arg-aux1.rs
    [run-pass] run-pass/methods/method-self-arg-aux2.rs
    [run-pass] run-pass/mir/mir_calls_to_shims.rs
    [run-pass] run-pass/mir/mir_codegen_calls.rs
    [run-pass] run-pass/mir/mir_codegen_calls_variadic.rs
    [run-pass] run-pass/mir/mir_drop_order.rs
    [run-pass] run-pass/mir/mir_fat_ptr_drop.rs
    [run-pass] run-pass/mir/mir_misc_casts.rs
    [run-pass] run-pass/mir/mir_overflow_off.rs
    [run-pass] run-pass/mir/mir_raw_fat_ptr.rs
    [run-pass] run-pass/mir/mir_refs_correct.rs
    [run-pass] run-pass/mpsc_stress.rs
    [run-pass] run-pass/multi-panic.rs
    [run-pass] run-pass/nested_item_main.rs
    [run-pass] run-pass/new-box.rs
    [run-pass] run-pass/new-impl-syntax.rs
    [run-pass] run-pass/no-landing-pads.rs
    [run-pass] run-pass/no-stdio.rs
    [run-pass] run-pass/numbers-arithmetic/float-literal-inference.rs
    [run-pass] run-pass/numbers-arithmetic/float.rs
    [run-pass] run-pass/numbers-arithmetic/float_math.rs
    [run-pass] run-pass/numbers-arithmetic/i128-ffi.rs
    [run-pass] run-pass/numbers-arithmetic/num-wrapping.rs
    [run-pass] run-pass/numbers-arithmetic/saturating-float-casts.rs
    [run-pass] run-pass/opeq.rs
    [run-pass] run-pass/out-of-stack.rs
    [run-pass] run-pass/over-constrained-vregs.rs
    [run-pass] run-pass/overloaded/overloaded-autoderef-xcrate.rs
    [run-pass] run-pass/packed/packed-struct-size-xc.rs
    [run-pass] run-pass/panic-uninitialized-zeroed.rs
    [run-pass] run-pass/print-stdout-eprint-stderr.rs
    [run-pass] run-pass/privacy/priv-impl-prim-ty.rs
    [run-pass] run-pass/privacy/privacy-reexport.rs
    [run-pass] run-pass/privacy/pub-use-xcrate.rs
    [run-pass] run-pass/privacy/pub_use_mods_xcrate_exe.rs
    [run-pass] run-pass/proc_macro.rs
    [run-pass] run-pass/range_inclusive.rs
    [run-pass] run-pass/ranges-precedence.rs
    [run-pass] run-pass/raw-fat-ptr.rs
    [run-pass] run-pass/rcvr-borrowed-to-region.rs
    [run-pass] run-pass/reachable-unnameable-items.rs
    [run-pass] run-pass/reexport-should-still-link.rs
    [run-pass] run-pass/reexport-test-harness-main.rs
    [run-pass] run-pass/resource-destruct.rs
    [run-pass] run-pass/rfcs/rfc-2005-default-binding-mode/enum.rs
    [run-pass] run-pass/rfcs/rfc-2005-default-binding-mode/general.rs
    [run-pass] run-pass/rfcs/rfc-2008-non-exhaustive/enums.rs
    [run-pass] run-pass/rfcs/rfc-2008-non-exhaustive/structs.rs
    [run-pass] run-pass/rfcs/rfc-2126-extern-absolute-paths/basic.rs
    [run-pass] run-pass/rfcs/rfc-2126-extern-absolute-paths/test.rs
    [run-pass] run-pass/rfcs/rfc-2302-self-struct-ctor.rs
    [run-pass] run-pass/rfcs/rfc1857-drop-order.rs
    [run-pass] run-pass/running-with-no-runtime.rs
    [run-pass] run-pass/segfault-no-out-of-stack.rs
    [run-pass] run-pass/self/builtin-superkinds-self-type.rs
    [run-pass] run-pass/self/explicit_self_xcrate_exe.rs
    [run-pass] run-pass/self/string-self-append.rs
    [run-pass] run-pass/self/ufcs-explicit-self.rs
    [run-pass] run-pass/sepcomp/sepcomp-cci.rs
    [run-pass] run-pass/sepcomp/sepcomp-extern.rs
    [run-pass] run-pass/sigpipe-should-be-ignored.rs
    [run-pass] run-pass/simple_global_asm.rs
    [run-pass] run-pass/sleep.rs
    [run-pass] run-pass/specialization/cross-crate-defaults.rs
    [run-pass] run-pass/specialization/defaultimpl/allowed-cross-crate.rs
    [run-pass] run-pass/specialization/specialization-allowed-cross-crate.rs
    [run-pass] run-pass/specialization/specialization-cross-crate-no-gate.rs
    [run-pass] run-pass/specialization/specialization-cross-crate.rs
    [run-pass] run-pass/sse2.rs
    [run-pass] run-pass/stack-probes-lto.rs
    [run-pass] run-pass/stack-probes.rs
    [run-pass] run-pass/statics/static-fn-inline-xc.rs
    [run-pass] run-pass/statics/static-fn-trait-xc.rs
    [run-pass] run-pass/statics/static-function-pointer-xc.rs
    [run-pass] run-pass/statics/static-method-xcrate.rs
    [run-pass] run-pass/statics/static-mut-xc.rs
    [run-pass] run-pass/stdio-is-blocking.rs
    [run-pass] run-pass/structs-enums/align-struct.rs
    [run-pass] run-pass/structs-enums/class-cast-to-trait-cross-crate-2.rs
    [run-pass] run-pass/structs-enums/class-cast-to-trait-multiple-types.rs
    [run-pass] run-pass/structs-enums/class-impl-very-parameterized-trait.rs
    [run-pass] run-pass/structs-enums/class-implement-trait-cross-crate.rs
    [run-pass] run-pass/structs-enums/class-implement-traits.rs
    [run-pass] run-pass/structs-enums/class-method-cross-crate.rs
    [run-pass] run-pass/structs-enums/class-methods-cross-crate.rs
    [run-pass] run-pass/structs-enums/class-poly-methods-cross-crate.rs
    [run-pass] run-pass/structs-enums/classes-cross-crate.rs
    [run-pass] run-pass/structs-enums/classes-simple-cross-crate.rs
    [run-pass] run-pass/structs-enums/classes.rs
    [run-pass] run-pass/structs-enums/empty-struct-braces.rs
    [run-pass] run-pass/structs-enums/namespaced-enum-emulate-flat-xc.rs
    [run-pass] run-pass/structs-enums/namespaced-enum-glob-import-xcrate.rs
    [run-pass] run-pass/structs-enums/namespaced-enums-xcrate.rs
    [run-pass] run-pass/structs-enums/newtype-struct-xc-2.rs
    [run-pass] run-pass/structs-enums/newtype-struct-xc.rs
    [run-pass] run-pass/structs-enums/rec-align-u32.rs
    [run-pass] run-pass/structs-enums/rec-align-u64.rs
    [run-pass] run-pass/structs-enums/rec-auto.rs
    [run-pass] run-pass/structs-enums/struct-aliases-xcrate.rs
    [run-pass] run-pass/structs-enums/struct-destructuring-cross-crate.rs
    [run-pass] run-pass/structs-enums/struct-return.rs
    [run-pass] run-pass/structs-enums/struct_variant_xc.rs
    [run-pass] run-pass/structs-enums/struct_variant_xc_match.rs
    [run-pass] run-pass/supported-cast.rs
    [run-pass] run-pass/svh-add-nothing.rs
    [run-pass] run-pass/tail-cps.rs
    [run-pass] run-pass/tcp-stress.rs
    [run-pass] run-pass/terminate-in-initializer.rs
    [run-pass] run-pass/test-allow-dead-extern-static-no-warning.rs
    [run-pass] run-pass/test-allow-fail-attr.rs
    [run-pass] run-pass/test-fn-signature-verification-for-explicit-return-type.rs
    [run-pass] run-pass/test-main-not-dead-attr.rs
    [run-pass] run-pass/test-main-not-dead.rs
    [run-pass] run-pass/test-runner-hides-buried-main.rs
    [run-pass] run-pass/test-runner-hides-main.rs
    [run-pass] run-pass/test-runner-hides-start.rs
    [run-pass] run-pass/test-should-fail-good-message.rs
    [run-pass] run-pass/traits/anon_trait_static_method_exe.rs
    [run-pass] run-pass/traits/trait-coercion-generic.rs
    [run-pass] run-pass/traits/trait-coercion.rs
    [run-pass] run-pass/traits/trait-default-method-xc-2.rs
    [run-pass] run-pass/traits/trait-default-method-xc.rs
    [run-pass] run-pass/traits/trait-impl.rs
    [run-pass] run-pass/traits/trait-inheritance-auto-xc-2.rs
    [run-pass] run-pass/traits/trait-inheritance-auto-xc.rs
    [run-pass] run-pass/traits/trait-inheritance-cross-trait-call-xc.rs
    [run-pass] run-pass/traits/trait-inheritance-overloading-xc-exe.rs
    [run-pass] run-pass/traits/trait-inheritance-self-in-supertype.rs
    [run-pass] run-pass/traits/trait-safety-ok-cc.rs
    [run-pass] run-pass/traits/trait-static-method-overwriting.rs
    [run-pass] run-pass/traits/traits-conditional-model-fn.rs
    [run-pass] run-pass/trivial-message.rs
    [run-pass] run-pass/tydesc-name.rs
    [run-pass] run-pass/typeid-intrinsic.rs
    [run-pass] run-pass/unary-minus-suffix-inference.rs
    [run-pass] run-pass/unboxed-closures/unboxed-closures-boxed.rs
    [run-pass] run-pass/unboxed-closures/unboxed-closures-cross-crate.rs
    [run-pass] run-pass/unboxed-closures/unboxed-closures-monomorphization.rs
    [run-pass] run-pass/uniform-paths/basic-nested.rs
    [run-pass] run-pass/uniform-paths/basic.rs
    [run-pass] run-pass/uniform-paths/issue-53691.rs
    [run-pass] run-pass/uniform-paths/macros-nested.rs
    [run-pass] run-pass/union/union-basic.rs
    [run-pass] run-pass/union/union-c-interop.rs
    [run-pass] run-pass/unique/unique-send.rs
    [run-pass] run-pass/unsized-tuple-impls.rs
    [run-pass] run-pass/unwind-resource.rs
    [run-pass] run-pass/unwind-unique.rs
    [run-pass] run-pass/use_inline_dtor.rs
    [run-pass] run-pass/using-target-feature-unstable.rs
    [run-pass] run-pass/utf8.rs
    [run-pass] run-pass/utf8_idents.rs
    [run-pass] run-pass/variadic-ffi.rs
    [run-pass] run-pass/volatile-fat-ptr.rs
    [run-pass] run-pass/weak-lang-item.rs
    [run-pass] run-pass/weird-exprs.rs
    [run-pass] run-pass/where-clauses/where-clauses-cross-crate.rs
    [run-pass] run-pass/where-clauses/where-clauses-method.rs
    [run-pass] run-pass/where-clauses/where-clauses.rs
    [run-pass] run-pass/yield.rs
    [run-pass] run-pass/yield1.rs
    [run-pass] run-pass/yield2.rs

test result: FAILED. 2200 passed; 510 failed; 9 ignored; 0 measured; 0 filtered out

@bjorn3
Copy link
Member Author

bjorn3 commented Mar 3, 2019

I write a script to categorize the failing tests:

Not categorized
---- [run-pass] run-pass/compiletest-skip-codegen.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit code: 101
command: "/Users/bjorn/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/rustc" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/src/test/run-pass/compiletest-skip-codegen.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Zui-testing" "--emit" "metadata" "-C" "prefer-dynamic" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/compiletest-skip-codegen/a" "-Crpath" "-O" "-Zunstable-options" "-Zcodegen-backend=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.dylib" "--sysroot" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot" "-Cpanic=abort" "-Lnative=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/compiletest-skip-codegen/auxiliary"
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------
thread 'rustc' panicked at 'index out of bounds: the len is 0 but the index is 0', /rustc/0ea22717a1e01fa535534b85a5347a7e49fc79de/src/libcore/slice/mod.rs:2539:10
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
   1: std::sys_common::backtrace::_print
   2: std::panicking::default_hook::{{closure}}
   3: std::panicking::default_hook
   4: rustc::util::common::panic_hook
   5: std::panicking::rust_panic_with_hook
   6: std::panicking::continue_panic_fmt
   7: rust_begin_unwind
   8: core::panicking::panic_fmt
   9: core::panicking::panic_bounds_check
  10: <usize as core::slice::SliceIndex<[T]>>::index
  11: core::slice::<impl core::ops::index::Index<I> for [T]>::index
  12: <alloc::vec::Vec<T> as core::ops::index::Index<I>>::index
  13: rustc_codegen_cranelift::link_copied::add_upstream_rust_crates
  14: rustc_codegen_cranelift::link::link_args
  15: rustc_codegen_cranelift::link::link_natively
  16: <rustc_codegen_cranelift::CraneliftCodegenBackend as rustc_codegen_utils::codegen_backend::CodegenBackend>::join_codegen_and_link
  17: rustc_driver::driver::compile_input
  18: <scoped_tls::ScopedKey<T>>::set
  19: rustc_driver::run_compiler
  20: <scoped_tls::ScopedKey<T>>::set
  21: syntax::with_globals
  22: __rust_maybe_catch_panic
  23: <F as alloc::boxed::FnBox<A>>::call_box
  24: std::sys::unix::thread::Thread::new::thread_start
  25: _pthread_body
  26: _pthread_start
query stack during panic:
end of query stack

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.34.0-nightly (0ea22717a 2019-03-02) running on x86_64-apple-darwin

note: compiler flags: -Z threads=1 -Z ui-testing -Z unstable-options -Z codegen-backend=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.dylib -C prefer-dynamic -C rpath -C panic=abort


------------------------------------------

thread '[run-pass] run-pass/compiletest-skip-codegen.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
   1: std::sys_common::backtrace::_print
   2: std::panicking::default_hook::{{closure}}
   3: std::panicking::default_hook
   4: std::panicking::rust_panic_with_hook
   5: std::panicking::begin_panic
   6: compiletest::runtest::ProcRes::fatal
   7: compiletest::runtest::TestCx::fatal_proc_rec
   8: compiletest::runtest::TestCx::check_if_test_should_compile
   9: compiletest::runtest::TestCx::run_revision
  10: compiletest::runtest::run
  11: <F as alloc::boxed::FnBox<A>>::call_box
  12: <F as alloc::boxed::FnBox<A>>::call_box
  13: __rust_maybe_catch_panic
  14: test::run_test::run_test_inner::{{closure}}



---- [run-pass] run-pass/extern/extern-types-size_of_val.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit code: 101
command: "/Users/bjorn/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/rustc" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/src/test/run-pass/extern/extern-types-size_of_val.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/extern/extern-types-size_of_val/a" "-Crpath" "-O" "-Zunstable-options" "-Zcodegen-backend=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.dylib" "--sysroot" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot" "-Cpanic=abort" "-Lnative=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/extern/extern-types-size_of_val/auxiliary"
stdout:
------------------------------------------
Instance { def: Item(DefId(2/0:624 ~ core[479c]::mem[0]::align_of_val[0])), substs: [A] } _ZN4core3mem12align_of_val17hb333f5e95a087775E

------------------------------------------
stderr:
------------------------------------------
thread 'rustc' panicked at 'internal error: entered unreachable code', src/common.rs:182:26
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
   1: std::sys_common::backtrace::_print
   2: std::panicking::default_hook::{{closure}}
   3: std::panicking::default_hook
   4: rustc::util::common::panic_hook
   5: std::panicking::rust_panic_with_hook
   6: std::panicking::begin_panic
   7: rustc_codegen_cranelift::common::CValue::load_scalar_pair
   8: rustc_codegen_cranelift::intrinsics::codegen_intrinsic_call
   9: rustc_codegen_cranelift::abi::codegen_terminator_call
  10: rustc_codegen_cranelift::base::codegen_fn_content
  11: rustc_codegen_cranelift::base::trans_fn::{{closure}}
  12: rustc_codegen_cranelift::unimpl::with_unimpl_span::{{closure}}
  13: <std::thread::local::LocalKey<T>>::try_with
  14: <std::thread::local::LocalKey<T>>::with
  15: rustc_codegen_cranelift::unimpl::with_unimpl_span
  16: rustc_codegen_cranelift::base::trans_fn
  17: rustc_codegen_cranelift::base::trans_mono_item
  18: rustc_codegen_cranelift::codegen_mono_items::{{closure}}::{{closure}}
  19: rustc_codegen_cranelift::unimpl::try_unimpl::{{closure}}
  20: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
  21: std::panicking::try::do_call
  22: __rust_maybe_catch_panic
  23: std::panicking::try
  24: std::panic::catch_unwind
  25: rustc_codegen_cranelift::unimpl::try_unimpl
  26: rustc_codegen_cranelift::codegen_mono_items::{{closure}}
  27: rustc_codegen_cranelift::time
  28: rustc_codegen_cranelift::codegen_mono_items
  29: rustc_codegen_cranelift::codegen_cgus
  30: <rustc_codegen_cranelift::CraneliftCodegenBackend as rustc_codegen_utils::codegen_backend::CodegenBackend>::codegen_crate
  31: rustc::util::common::time
  32: rustc_driver::driver::phase_4_codegen
  33: <std::thread::local::LocalKey<T>>::with
  34: rustc::ty::context::TyCtxt::create_and_enter
  35: rustc_driver::driver::compile_input
  36: <scoped_tls::ScopedKey<T>>::set
  37: rustc_driver::run_compiler
  38: <scoped_tls::ScopedKey<T>>::set
  39: syntax::with_globals
  40: __rust_maybe_catch_panic
  41: <F as alloc::boxed::FnBox<A>>::call_box
  42: std::sys::unix::thread::Thread::new::thread_start
  43: _pthread_body
  44: _pthread_start
query stack during panic:
end of query stack

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.34.0-nightly (0ea22717a 2019-03-02) running on x86_64-apple-darwin

note: compiler flags: -Z threads=1 -Z ui-testing -Z unstable-options -Z codegen-backend=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.dylib -C prefer-dynamic -C rpath -C panic=abort


------------------------------------------

thread '[run-pass] run-pass/extern/extern-types-size_of_val.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
   1: std::sys_common::backtrace::_print
   2: std::panicking::default_hook::{{closure}}
   3: std::panicking::default_hook
   4: std::panicking::rust_panic_with_hook
   5: std::panicking::begin_panic
   6: compiletest::runtest::ProcRes::fatal
   7: compiletest::runtest::TestCx::fatal_proc_rec
   8: compiletest::runtest::TestCx::check_if_test_should_compile
   9: compiletest::runtest::TestCx::run_revision
  10: compiletest::runtest::run
  11: <F as alloc::boxed::FnBox<A>>::call_box
  12: <F as alloc::boxed::FnBox<A>>::call_box
  13: __rust_maybe_catch_panic
  14: test::run_test::run_test_inner::{{closure}}



---- [run-pass] run-pass/extern/extern-types-pointer-cast.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit code: 101
command: "/Users/bjorn/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/rustc" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/src/test/run-pass/extern/extern-types-pointer-cast.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/extern/extern-types-pointer-cast/a" "-Crpath" "-O" "-Zunstable-options" "-Zcodegen-backend=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.dylib" "--sysroot" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot" "-Cpanic=abort" "-Lnative=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/extern/extern-types-pointer-cast/auxiliary"
stdout:
------------------------------------------
stmt _4 = const Unevaluated(DefId(0/0:6 ~ extern_types_pointer_cast[317d]::MAGIC[0]), []) as *const A (Misc)
Instance { def: Item(DefId(0/0:7 ~ extern_types_pointer_cast[317d]::main[0])), substs: [] } _ZN25extern_types_pointer_cast4main17h10e49e38405a0106E

------------------------------------------
stderr:
------------------------------------------
thread 'rustc' panicked at 'called `Option::unwrap()` on a `None` value', src/libcore/option.rs:345:21
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
   1: std::sys_common::backtrace::_print
   2: std::panicking::default_hook::{{closure}}
   3: std::panicking::default_hook
   4: rustc::util::common::panic_hook
   5: std::panicking::rust_panic_with_hook
   6: std::panicking::continue_panic_fmt
   7: rust_begin_unwind
   8: core::panicking::panic_fmt
   9: core::panicking::panic
  10: <core::option::Option<T>>::unwrap
  11: rustc_codegen_cranelift::base::trans_stmt
  12: rustc_codegen_cranelift::base::codegen_fn_content
  13: rustc_codegen_cranelift::base::trans_fn::{{closure}}
  14: rustc_codegen_cranelift::unimpl::with_unimpl_span::{{closure}}
  15: <std::thread::local::LocalKey<T>>::try_with
  16: <std::thread::local::LocalKey<T>>::with
  17: rustc_codegen_cranelift::unimpl::with_unimpl_span
  18: rustc_codegen_cranelift::base::trans_fn
  19: rustc_codegen_cranelift::base::trans_mono_item
  20: rustc_codegen_cranelift::codegen_mono_items::{{closure}}::{{closure}}
  21: rustc_codegen_cranelift::unimpl::try_unimpl::{{closure}}
  22: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
  23: std::panicking::try::do_call
  24: __rust_maybe_catch_panic
  25: std::panicking::try
  26: std::panic::catch_unwind
  27: rustc_codegen_cranelift::unimpl::try_unimpl
  28: rustc_codegen_cranelift::codegen_mono_items::{{closure}}
  29: rustc_codegen_cranelift::time
  30: rustc_codegen_cranelift::codegen_mono_items
  31: rustc_codegen_cranelift::codegen_cgus
  32: <rustc_codegen_cranelift::CraneliftCodegenBackend as rustc_codegen_utils::codegen_backend::CodegenBackend>::codegen_crate
  33: rustc::util::common::time
  34: rustc_driver::driver::phase_4_codegen
  35: <std::thread::local::LocalKey<T>>::with
  36: rustc::ty::context::TyCtxt::create_and_enter
  37: rustc_driver::driver::compile_input
  38: <scoped_tls::ScopedKey<T>>::set
  39: rustc_driver::run_compiler
  40: <scoped_tls::ScopedKey<T>>::set
  41: syntax::with_globals
  42: __rust_maybe_catch_panic
  43: <F as alloc::boxed::FnBox<A>>::call_box
  44: std::sys::unix::thread::Thread::new::thread_start
  45: _pthread_body
  46: _pthread_start
query stack during panic:
end of query stack

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.34.0-nightly (0ea22717a 2019-03-02) running on x86_64-apple-darwin

note: compiler flags: -Z threads=1 -Z ui-testing -Z unstable-options -Z codegen-backend=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.dylib -C prefer-dynamic -C rpath -C panic=abort


------------------------------------------

thread '[run-pass] run-pass/extern/extern-types-pointer-cast.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
   1: std::sys_common::backtrace::_print
   2: std::panicking::default_hook::{{closure}}
   3: std::panicking::default_hook
   4: std::panicking::rust_panic_with_hook
   5: std::panicking::begin_panic
   6: compiletest::runtest::ProcRes::fatal
   7: compiletest::runtest::TestCx::fatal_proc_rec
   8: compiletest::runtest::TestCx::check_if_test_should_compile
   9: compiletest::runtest::TestCx::run_revision
  10: compiletest::runtest::run
  11: <F as alloc::boxed::FnBox<A>>::call_box
  12: <F as alloc::boxed::FnBox<A>>::call_box
  13: __rust_maybe_catch_panic
  14: test::run_test::run_test_inner::{{closure}}



---- [run-pass] run-pass/mir/mir_misc_casts.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit code: 101
command: "/Users/bjorn/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/rustc" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/src/test/run-pass/mir/mir_misc_casts.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/mir/mir_misc_casts/a" "-Crpath" "-O" "-Zunstable-options" "-Zcodegen-backend=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.dylib" "--sysroot" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot" "-Cpanic=abort" "-Lnative=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/mir/mir_misc_casts/auxiliary"
stdout:
------------------------------------------
Instance { def: Item(DefId(0/0:19 ~ mir_misc_casts[317d]::from_1f32[0])), substs: [] } _ZN14mir_misc_casts9from_1f3217hf6da73ea1c5fe1eeE

------------------------------------------
stderr:
------------------------------------------
thread 'rustc' panicked at 'called `Result::unwrap()` on an `Err` value: Compilation(Verifier(VerifierErrors([VerifierError { location: inst13, message: "v12 is a real GPR value defined by a ghost instruction" }])))', src/libcore/result.rs:997:5
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
   1: std::sys_common::backtrace::_print
   2: std::panicking::default_hook::{{closure}}
   3: std::panicking::default_hook
   4: rustc::util::common::panic_hook
   5: std::panicking::rust_panic_with_hook
   6: std::panicking::continue_panic_fmt
   7: rust_begin_unwind
   8: core::panicking::panic_fmt
   9: core::result::unwrap_failed
  10: <core::result::Result<T, E>>::unwrap
  11: rustc_codegen_cranelift::base::trans_fn
  12: rustc_codegen_cranelift::base::trans_mono_item
  13: rustc_codegen_cranelift::codegen_mono_items::{{closure}}::{{closure}}
  14: rustc_codegen_cranelift::unimpl::try_unimpl::{{closure}}
  15: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
  16: std::panicking::try::do_call
  17: __rust_maybe_catch_panic
  18: std::panicking::try
  19: std::panic::catch_unwind
  20: rustc_codegen_cranelift::unimpl::try_unimpl
  21: rustc_codegen_cranelift::codegen_mono_items::{{closure}}
  22: rustc_codegen_cranelift::time
  23: rustc_codegen_cranelift::codegen_mono_items
  24: rustc_codegen_cranelift::codegen_cgus
  25: <rustc_codegen_cranelift::CraneliftCodegenBackend as rustc_codegen_utils::codegen_backend::CodegenBackend>::codegen_crate
  26: rustc::util::common::time
  27: rustc_driver::driver::phase_4_codegen
  28: <std::thread::local::LocalKey<T>>::with
  29: rustc::ty::context::TyCtxt::create_and_enter
  30: rustc_driver::driver::compile_input
  31: <scoped_tls::ScopedKey<T>>::set
  32: rustc_driver::run_compiler
  33: <scoped_tls::ScopedKey<T>>::set
  34: syntax::with_globals
  35: __rust_maybe_catch_panic
  36: <F as alloc::boxed::FnBox<A>>::call_box
  37: std::sys::unix::thread::Thread::new::thread_start
  38: _pthread_body
  39: _pthread_start
query stack during panic:
end of query stack

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.34.0-nightly (0ea22717a 2019-03-02) running on x86_64-apple-darwin

note: compiler flags: -Z threads=1 -Z ui-testing -Z unstable-options -Z codegen-backend=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.dylib -C prefer-dynamic -C rpath -C panic=abort


------------------------------------------

thread '[run-pass] run-pass/mir/mir_misc_casts.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
   1: std::sys_common::backtrace::_print
   2: std::panicking::default_hook::{{closure}}
   3: std::panicking::default_hook
   4: std::panicking::rust_panic_with_hook
   5: std::panicking::begin_panic
   6: compiletest::runtest::ProcRes::fatal
   7: compiletest::runtest::TestCx::fatal_proc_rec
   8: compiletest::runtest::TestCx::check_if_test_should_compile
   9: compiletest::runtest::TestCx::run_revision
  10: compiletest::runtest::run
  11: <F as alloc::boxed::FnBox<A>>::call_box
  12: <F as alloc::boxed::FnBox<A>>::call_box
  13: __rust_maybe_catch_panic
  14: test::run_test::run_test_inner::{{closure}}



---- [run-pass] run-pass/panic-uninitialized-zeroed.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit code: 101
command: "/Users/bjorn/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/rustc" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/src/test/run-pass/panic-uninitialized-zeroed.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/panic-uninitialized-zeroed/a" "-Crpath" "-O" "-Zunstable-options" "-Zcodegen-backend=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.dylib" "--sysroot" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot" "-Cpanic=abort" "-Lnative=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/panic-uninitialized-zeroed/auxiliary"
stdout:
------------------------------------------
stmt _0 = move (_1.0: T)
Instance { def: Item(DefId(2/0:646 ~ core[479c]::mem[0]::{{impl}}[6]::into_inner[0])), substs: [Foo] } _ZN41_$LT$core..mem..ManuallyDrop$LT$T$GT$$GT$10into_inner17h33e6c2e5e07d9798E

------------------------------------------
stderr:
------------------------------------------
thread 'rustc' panicked at 'assertion failed: `(left == right)`
  left: `1`,
 right: `0`', src/common.rs:399:17
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
   1: std::sys_common::backtrace::_print
   2: std::panicking::default_hook::{{closure}}
   3: std::panicking::default_hook
   4: rustc::util::common::panic_hook
   5: std::panicking::rust_panic_with_hook
   6: std::panicking::continue_panic_fmt
   7: std::panicking::begin_panic_fmt
   8: rustc_codegen_cranelift::common::CPlace::write_cvalue
   9: rustc_codegen_cranelift::base::trans_stmt
  10: rustc_codegen_cranelift::base::codegen_fn_content
  11: rustc_codegen_cranelift::base::trans_fn::{{closure}}
  12: rustc_codegen_cranelift::unimpl::with_unimpl_span::{{closure}}
  13: <std::thread::local::LocalKey<T>>::try_with
  14: <std::thread::local::LocalKey<T>>::with
  15: rustc_codegen_cranelift::unimpl::with_unimpl_span
  16: rustc_codegen_cranelift::base::trans_fn
  17: rustc_codegen_cranelift::base::trans_mono_item
  18: rustc_codegen_cranelift::codegen_mono_items::{{closure}}::{{closure}}
  19: rustc_codegen_cranelift::unimpl::try_unimpl::{{closure}}
  20: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
  21: std::panicking::try::do_call
  22: __rust_maybe_catch_panic
  23: std::panicking::try
  24: std::panic::catch_unwind
  25: rustc_codegen_cranelift::unimpl::try_unimpl
  26: rustc_codegen_cranelift::codegen_mono_items::{{closure}}
  27: rustc_codegen_cranelift::time
  28: rustc_codegen_cranelift::codegen_mono_items
  29: rustc_codegen_cranelift::codegen_cgus
  30: <rustc_codegen_cranelift::CraneliftCodegenBackend as rustc_codegen_utils::codegen_backend::CodegenBackend>::codegen_crate
  31: rustc::util::common::time
  32: rustc_driver::driver::phase_4_codegen
  33: <std::thread::local::LocalKey<T>>::with
  34: rustc::ty::context::TyCtxt::create_and_enter
  35: rustc_driver::driver::compile_input
  36: <scoped_tls::ScopedKey<T>>::set
  37: rustc_driver::run_compiler
  38: <scoped_tls::ScopedKey<T>>::set
  39: syntax::with_globals
  40: __rust_maybe_catch_panic
  41: <F as alloc::boxed::FnBox<A>>::call_box
  42: std::sys::unix::thread::Thread::new::thread_start
  43: _pthread_body
  44: _pthread_start
query stack during panic:
end of query stack

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.34.0-nightly (0ea22717a 2019-03-02) running on x86_64-apple-darwin

note: compiler flags: -Z threads=1 -Z ui-testing -Z unstable-options -Z codegen-backend=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.dylib -C prefer-dynamic -C rpath -C panic=abort


------------------------------------------

thread '[run-pass] run-pass/panic-uninitialized-zeroed.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
   1: std::sys_common::backtrace::_print
   2: std::panicking::default_hook::{{closure}}
   3: std::panicking::default_hook
   4: std::panicking::rust_panic_with_hook
   5: std::panicking::begin_panic
   6: compiletest::runtest::ProcRes::fatal
   7: compiletest::runtest::TestCx::fatal_proc_rec
   8: compiletest::runtest::TestCx::check_if_test_should_compile
   9: compiletest::runtest::TestCx::run_revision
  10: compiletest::runtest::run
  11: <F as alloc::boxed::FnBox<A>>::call_box
  12: <F as alloc::boxed::FnBox<A>>::call_box
  13: __rust_maybe_catch_panic
  14: test::run_test::run_test_inner::{{closure}}

total unknown errors: 5
known error counts:
{
    "can\'t find crate for `": 312,
    "status=signal 4": 6,
    "i128": 2,
    "Unimplemented global asm mono item": 2,
    "Inline assembly is not supported": 7,
    "invalid ebb reference": 21,
    "u128": 6,
    "expected to have type i32, got i64": 4,
    "panicked at \'assertion failed: !layout.is_unsized()\',": 7,
    "status=signal 6": 268,
    "not yet implemented: trans_ptr_binop(Le, <fat ptr>, <fat ptr>) not implemented": 1,
    "the feature named `": 2,
    " = WeakAny Default": 1,
    "AtomicU128": 1,
    "status=signal 11": 1,
    "faerie doesn\'t support addends in data section relocations yet": 1,
    "unsupported intrinsic": 25,
    "not yet implemented: trans_ptr_binop(Lt, <fat ptr>, <fat ptr>) not implemented": 1,
    "error: Non int ty types::F64 for variadic call": 2,
    "Code shrinking during relaxation": 4,
    "DuplicateDefinition(\"vtable.Some(Binder(": 2,
    "not yet implemented: unsupported abi ": 6
}

@bjorn3
Copy link
Member Author

bjorn3 commented Mar 6, 2019

1f00b7b fixed several tests.

@bjorn3
Copy link
Member Author

bjorn3 commented Mar 9, 2019

Down from 312 to 169 in 22331ad. This works around #412.

@bjorn3
Copy link
Member Author

bjorn3 commented Mar 12, 2019

I reduced the ifmt.rs test to:

macro_rules! t {
    ($a:expr, $b:expr) => { assert_eq!($a, $b) }
}

pub fn main() {
    t!(format!("{:.*}", 4, "aaaaaaaaaaaaaaaaaa"), "aaaa"); // with -Zopt-level=2
// thread 'main' panicked at 'assertion failed: `(left == right)`
//   left: `"aaaaaaaaaaaaaaaaaa"`,
//  right: `"aaaa"`', rust/src/test/run-pass/ifmt.rs:6:5
    t!(format!("{:.3e}", 1.2345e6f64), "1.234e6"); // with -Zopt-level=1
// thread 'main' panicked at 'assertion failed: noborrow', sysroot_src/src/libcore/num/bignum.rs:481:1
}

@bjorn3
Copy link
Member Author

bjorn3 commented Mar 12, 2019

mir_overflow_off.rs want assert_eq!(u8::shl(1, 9), 2_u8);

@bjorn3

This comment has been minimized.

@bjorn3
Copy link
Member Author

bjorn3 commented Mar 22, 2019

With rust-lang/rust#58902 fixed, error count is down to 112:

Not catagorized
---- [run-pass] run-pass/issues/issue-33992.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit code: 101
command: "/home/bjorn/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc" "/home/bjorn/Documenten/rustc_codegen_cranelift/rust/src/test/run-pass/issues/issue-33992.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-o" "/home/bjorn/Documenten/rustc_codegen_cranelift/rust/build/x86_64-unknown-linux-gnu/test/run-pass/issues/issue-33992/a" "-Crpath" "-O" "-Zunstable-options" "-Zcodegen-backend=/home/bjorn/Documenten/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.so" "--sysroot" "/home/bjorn/Documenten/rustc_codegen_cranelift/rust/../build_sysroot/sysroot" "-Cpanic=abort" "-Lnative=/home/bjorn/Documenten/rustc_codegen_cranelift/rust/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/home/bjorn/Documenten/rustc_codegen_cranelift/rust/build/x86_64-unknown-linux-gnu/test/run-pass/issues/issue-33992/auxiliary"
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------
thread 'rustc' panicked at 'Static(DefId(0/0:8 ~ issue_33992[317d]::TEST6[0])) = Private Default', src/linkage.rs:12:14
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
             at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39
   1: std::sys_common::backtrace::_print
             at src/libstd/sys_common/backtrace.rs:71
   2: std::panicking::default_hook::{{closure}}
             at src/libstd/sys_common/backtrace.rs:59
             at src/libstd/panicking.rs:197
   3: std::panicking::default_hook
             at src/libstd/panicking.rs:211
   4: rustc::util::common::panic_hook
   5: std::panicking::rust_panic_with_hook
             at src/libstd/panicking.rs:478
   6: std::panicking::continue_panic_fmt
             at src/libstd/panicking.rs:381
   7: std::panicking::begin_panic_fmt
             at src/libstd/panicking.rs:336
   8: rustc_codegen_cranelift::linkage::get_clif_linkage
             at src/linkage.rs:12
   9: rustc_codegen_cranelift::codegen_mono_items::{{closure}}::{{closure}}
             at src/lib.rs:448
  10: rustc_codegen_cranelift::unimpl::try_unimpl::{{closure}}
             at src/unimpl.rs:28
  11: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
             at /rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/libstd/panic.rs:309
  12: std::panicking::try::do_call
             at /rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/libstd/panicking.rs:293
  13: __rust_maybe_catch_panic
             at src/libpanic_unwind/lib.rs:87
  14: std::panicking::try
             at /rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/libstd/panicking.rs:272
  15: std::panic::catch_unwind
             at /rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/libstd/panic.rs:388
  16: rustc_codegen_cranelift::unimpl::try_unimpl
             at src/unimpl.rs:28
  17: rustc_codegen_cranelift::codegen_mono_items::{{closure}}
             at src/lib.rs:447
  18: rustc_codegen_cranelift::time
             at src/lib.rs:460
  19: rustc_codegen_cranelift::codegen_mono_items
             at src/lib.rs:445
  20: rustc_codegen_cranelift::codegen_cgus
             at src/lib.rs:432
  21: <rustc_codegen_cranelift::CraneliftCodegenBackend as rustc_codegen_utils::codegen_backend::CodegenBackend>::codegen_crate
             at src/lib.rs:317
  22: rustc::util::common::time
  23: rustc_interface::passes::start_codegen
  24: rustc::ty::context::tls::enter_global
  25: rustc_interface::passes::BoxedGlobalCtxt::access::{{closure}}
  26: rustc_interface::passes::create_global_ctxt::{{closure}}
  27: rustc_interface::passes::BoxedGlobalCtxt::enter
  28: rustc_interface::queries::Query<T>::compute
  29: rustc_interface::queries::<impl rustc_interface::interface::Compiler>::ongoing_codegen
  30: rustc_interface::interface::run_compiler_in_existing_thread_pool
  31: std::thread::local::LocalKey<T>::with
  32: scoped_tls::ScopedKey<T>::set
  33: syntax::with_globals
query stack during panic:
end of query stack

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.35.0-nightly (94fd04589 2019-03-21) running on x86_64-unknown-linux-gnu

note: compiler flags: -Z threads=1 -Z ui-testing -Z unstable-options -Z codegen-backend=/home/bjorn/Documenten/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.so -C rpath -C panic=abort


------------------------------------------

thread '[run-pass] run-pass/issues/issue-33992.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3370:9
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
             at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39
   1: std::sys_common::backtrace::_print
             at src/libstd/sys_common/backtrace.rs:71
   2: std::panicking::default_hook::{{closure}}
             at src/libstd/sys_common/backtrace.rs:59
             at src/libstd/panicking.rs:197
   3: std::panicking::default_hook
             at src/libstd/panicking.rs:208
   4: std::panicking::rust_panic_with_hook
             at src/libstd/panicking.rs:474
   5: std::panicking::begin_panic
   6: compiletest::runtest::ProcRes::fatal
   7: compiletest::runtest::TestCx::fatal_proc_rec
   8: compiletest::runtest::TestCx::check_if_test_should_compile
   9: compiletest::runtest::TestCx::run_revision
  10: compiletest::runtest::run
  11: <F as alloc::boxed::FnBox<A>>::call_box
  12: <F as alloc::boxed::FnBox<A>>::call_box
             at /cargo/registry/src/github.com-1ecc6299db9ec823/libtest-0.0.1/lib.rs:1506
             at /rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/liballoc/boxed.rs:749
  13: __rust_maybe_catch_panic
             at src/libpanic_unwind/lib.rs:87
  14: libtest::run_test::run_test_inner::{{closure}}
             at /rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/libstd/panicking.rs:272
             at /rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/libstd/panic.rs:388
             at /cargo/registry/src/github.com-1ecc6299db9ec823/libtest-0.0.1/lib.rs:1468



---- [run-pass] run-pass/mir/mir_misc_casts.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit code: 101
command: "/home/bjorn/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc" "/home/bjorn/Documenten/rustc_codegen_cranelift/rust/src/test/run-pass/mir/mir_misc_casts.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-o" "/home/bjorn/Documenten/rustc_codegen_cranelift/rust/build/x86_64-unknown-linux-gnu/test/run-pass/mir/mir_misc_casts/a" "-Crpath" "-O" "-Zunstable-options" "-Zcodegen-backend=/home/bjorn/Documenten/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.so" "--sysroot" "/home/bjorn/Documenten/rustc_codegen_cranelift/rust/../build_sysroot/sysroot" "-Cpanic=abort" "-Lnative=/home/bjorn/Documenten/rustc_codegen_cranelift/rust/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/home/bjorn/Documenten/rustc_codegen_cranelift/rust/build/x86_64-unknown-linux-gnu/test/run-pass/mir/mir_misc_casts/auxiliary"
stdout:
------------------------------------------
Instance { def: Item(DefId(0/0:19 ~ mir_misc_casts[317d]::from_1f32[0])), substs: [] } _ZN14mir_misc_casts9from_1f3217hf6da73ea1c5fe1eeE

------------------------------------------
stderr:
------------------------------------------
thread 'rustc' panicked at 'called `Result::unwrap()` on an `Err` value: Compilation(Verifier(VerifierErrors([VerifierError { location: inst13, message: "v12 is a real GPR value defined by a ghost instruction" }])))', src/libcore/result.rs:997:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
             at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39
   1: std::sys_common::backtrace::_print
             at src/libstd/sys_common/backtrace.rs:71
   2: std::panicking::default_hook::{{closure}}
             at src/libstd/sys_common/backtrace.rs:59
             at src/libstd/panicking.rs:197
   3: std::panicking::default_hook
             at src/libstd/panicking.rs:211
   4: rustc::util::common::panic_hook
   5: std::panicking::rust_panic_with_hook
             at src/libstd/panicking.rs:478
   6: std::panicking::continue_panic_fmt
             at src/libstd/panicking.rs:381
   7: rust_begin_unwind
             at src/libstd/panicking.rs:308
   8: core::panicking::panic_fmt
             at src/libcore/panicking.rs:85
   9: core::result::unwrap_failed
             at /rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/libcore/macros.rs:16
  10: core::result::Result<T,E>::unwrap
             at /rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/libcore/result.rs:798
  11: rustc_codegen_cranelift::base::trans_fn
             at src/base.rs:184
  12: rustc_codegen_cranelift::base::trans_mono_item
             at src/base.rs:46
  13: rustc_codegen_cranelift::codegen_mono_items::{{closure}}::{{closure}}
             at src/lib.rs:449
  14: rustc_codegen_cranelift::unimpl::try_unimpl::{{closure}}
             at src/unimpl.rs:28
  15: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
             at /rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/libstd/panic.rs:309
  16: std::panicking::try::do_call
             at /rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/libstd/panicking.rs:293
  17: __rust_maybe_catch_panic
             at src/libpanic_unwind/lib.rs:87
  18: std::panicking::try
             at /rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/libstd/panicking.rs:272
  19: std::panic::catch_unwind
             at /rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/libstd/panic.rs:388
  20: rustc_codegen_cranelift::unimpl::try_unimpl
             at src/unimpl.rs:28
  21: rustc_codegen_cranelift::codegen_mono_items::{{closure}}
             at src/lib.rs:447
  22: rustc_codegen_cranelift::time
             at src/lib.rs:460
  23: rustc_codegen_cranelift::codegen_mono_items
             at src/lib.rs:445
  24: rustc_codegen_cranelift::codegen_cgus
             at src/lib.rs:432
  25: <rustc_codegen_cranelift::CraneliftCodegenBackend as rustc_codegen_utils::codegen_backend::CodegenBackend>::codegen_crate
             at src/lib.rs:317
  26: rustc::util::common::time
  27: rustc_interface::passes::start_codegen
  28: rustc::ty::context::tls::enter_global
  29: rustc_interface::passes::BoxedGlobalCtxt::access::{{closure}}
  30: rustc_interface::passes::create_global_ctxt::{{closure}}
  31: rustc_interface::passes::BoxedGlobalCtxt::enter
  32: rustc_interface::queries::Query<T>::compute
  33: rustc_interface::queries::<impl rustc_interface::interface::Compiler>::ongoing_codegen
  34: rustc_interface::interface::run_compiler_in_existing_thread_pool
  35: std::thread::local::LocalKey<T>::with
  36: scoped_tls::ScopedKey<T>::set
  37: syntax::with_globals
query stack during panic:
end of query stack

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.35.0-nightly (94fd04589 2019-03-21) running on x86_64-unknown-linux-gnu

note: compiler flags: -Z threads=1 -Z ui-testing -Z unstable-options -Z codegen-backend=/home/bjorn/Documenten/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.so -C rpath -C panic=abort


------------------------------------------

thread '[run-pass] run-pass/mir/mir_misc_casts.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3370:9
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
             at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39
   1: std::sys_common::backtrace::_print
             at src/libstd/sys_common/backtrace.rs:71
   2: std::panicking::default_hook::{{closure}}
             at src/libstd/sys_common/backtrace.rs:59
             at src/libstd/panicking.rs:197
   3: std::panicking::default_hook
             at src/libstd/panicking.rs:208
   4: std::panicking::rust_panic_with_hook
             at src/libstd/panicking.rs:474
   5: std::panicking::begin_panic
   6: compiletest::runtest::ProcRes::fatal
   7: compiletest::runtest::TestCx::fatal_proc_rec
   8: compiletest::runtest::TestCx::check_if_test_should_compile
   9: compiletest::runtest::TestCx::run_revision
  10: compiletest::runtest::run
  11: <F as alloc::boxed::FnBox<A>>::call_box
  12: <F as alloc::boxed::FnBox<A>>::call_box
             at /cargo/registry/src/github.com-1ecc6299db9ec823/libtest-0.0.1/lib.rs:1506
             at /rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/liballoc/boxed.rs:749
  13: __rust_maybe_catch_panic
             at src/libpanic_unwind/lib.rs:87
  14: libtest::run_test::run_test_inner::{{closure}}
             at /rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/libstd/panicking.rs:272
             at /rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/libstd/panic.rs:388
             at /cargo/registry/src/github.com-1ecc6299db9ec823/libtest-0.0.1/lib.rs:1468



---- [run-pass] run-pass/panic-uninitialized-zeroed.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit code: 101
command: "/home/bjorn/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc" "/home/bjorn/Documenten/rustc_codegen_cranelift/rust/src/test/run-pass/panic-uninitialized-zeroed.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-o" "/home/bjorn/Documenten/rustc_codegen_cranelift/rust/build/x86_64-unknown-linux-gnu/test/run-pass/panic-uninitialized-zeroed/a" "-Crpath" "-O" "-Zunstable-options" "-Zcodegen-backend=/home/bjorn/Documenten/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.so" "--sysroot" "/home/bjorn/Documenten/rustc_codegen_cranelift/rust/../build_sysroot/sysroot" "-Cpanic=abort" "-Lnative=/home/bjorn/Documenten/rustc_codegen_cranelift/rust/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/home/bjorn/Documenten/rustc_codegen_cranelift/rust/build/x86_64-unknown-linux-gnu/test/run-pass/panic-uninitialized-zeroed/auxiliary"
stdout:
------------------------------------------
stmt _0 = move (_1.0: T)
Instance { def: Item(DefId(2/0:647 ~ core[469b]::mem[0]::{{impl}}[6]::into_inner[0])), substs: [Foo] } _ZN4core3mem21ManuallyDrop$LT$T$GT$10into_inner17h6d6bd2c0105db181E

------------------------------------------
stderr:
------------------------------------------
thread 'rustc' panicked at 'assertion failed: `(left == right)`
  left: `1`,
 right: `0`', src/common.rs:399:17
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
             at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39
   1: std::sys_common::backtrace::_print
             at src/libstd/sys_common/backtrace.rs:71
   2: std::panicking::default_hook::{{closure}}
             at src/libstd/sys_common/backtrace.rs:59
             at src/libstd/panicking.rs:197
   3: std::panicking::default_hook
             at src/libstd/panicking.rs:211
   4: rustc::util::common::panic_hook
   5: std::panicking::rust_panic_with_hook
             at src/libstd/panicking.rs:478
   6: std::panicking::continue_panic_fmt
             at src/libstd/panicking.rs:381
   7: std::panicking::begin_panic_fmt
             at src/libstd/panicking.rs:336
   8: rustc_codegen_cranelift::common::CPlace::write_cvalue
             at src/common.rs:399
   9: rustc_codegen_cranelift::base::trans_stmt
             at src/base.rs:432
  10: rustc_codegen_cranelift::base::codegen_fn_content
             at src/base.rs:230
  11: rustc_codegen_cranelift::base::trans_fn::{{closure}}
             at src/base.rs:171
  12: rustc_codegen_cranelift::unimpl::with_unimpl_span::{{closure}}
             at src/unimpl.rs:55
  13: std::thread::local::LocalKey<T>::try_with
             at /rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/libstd/thread/local.rs:299
  14: std::thread::local::LocalKey<T>::with
             at /rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/libstd/thread/local.rs:245
  15: rustc_codegen_cranelift::unimpl::with_unimpl_span
             at src/unimpl.rs:53
  16: rustc_codegen_cranelift::base::trans_fn
             at src/base.rs:169
  17: rustc_codegen_cranelift::base::trans_mono_item
             at src/base.rs:46
  18: rustc_codegen_cranelift::codegen_mono_items::{{closure}}::{{closure}}
             at src/lib.rs:449
  19: rustc_codegen_cranelift::unimpl::try_unimpl::{{closure}}
             at src/unimpl.rs:28
  20: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
             at /rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/libstd/panic.rs:309
  21: std::panicking::try::do_call
             at /rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/libstd/panicking.rs:293
  22: __rust_maybe_catch_panic
             at src/libpanic_unwind/lib.rs:87
  23: std::panicking::try
             at /rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/libstd/panicking.rs:272
  24: std::panic::catch_unwind
             at /rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/libstd/panic.rs:388
  25: rustc_codegen_cranelift::unimpl::try_unimpl
             at src/unimpl.rs:28
  26: rustc_codegen_cranelift::codegen_mono_items::{{closure}}
             at src/lib.rs:447
  27: rustc_codegen_cranelift::time
             at src/lib.rs:460
  28: rustc_codegen_cranelift::codegen_mono_items
             at src/lib.rs:445
  29: rustc_codegen_cranelift::codegen_cgus
             at src/lib.rs:432
  30: <rustc_codegen_cranelift::CraneliftCodegenBackend as rustc_codegen_utils::codegen_backend::CodegenBackend>::codegen_crate
             at src/lib.rs:317
  31: rustc::util::common::time
  32: rustc_interface::passes::start_codegen
  33: rustc::ty::context::tls::enter_global
  34: rustc_interface::passes::BoxedGlobalCtxt::access::{{closure}}
  35: rustc_interface::passes::create_global_ctxt::{{closure}}
  36: rustc_interface::passes::BoxedGlobalCtxt::enter
  37: rustc_interface::queries::Query<T>::compute
  38: rustc_interface::queries::<impl rustc_interface::interface::Compiler>::ongoing_codegen
  39: rustc_interface::interface::run_compiler_in_existing_thread_pool
  40: std::thread::local::LocalKey<T>::with
  41: scoped_tls::ScopedKey<T>::set
  42: syntax::with_globals
query stack during panic:
end of query stack

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.35.0-nightly (94fd04589 2019-03-21) running on x86_64-unknown-linux-gnu

note: compiler flags: -Z threads=1 -Z ui-testing -Z unstable-options -Z codegen-backend=/home/bjorn/Documenten/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.so -C rpath -C panic=abort


------------------------------------------

thread '[run-pass] run-pass/panic-uninitialized-zeroed.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3370:9
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
             at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39
   1: std::sys_common::backtrace::_print
             at src/libstd/sys_common/backtrace.rs:71
   2: std::panicking::default_hook::{{closure}}
             at src/libstd/sys_common/backtrace.rs:59
             at src/libstd/panicking.rs:197
   3: std::panicking::default_hook
             at src/libstd/panicking.rs:208
   4: std::panicking::rust_panic_with_hook
             at src/libstd/panicking.rs:474
   5: std::panicking::begin_panic
   6: compiletest::runtest::ProcRes::fatal
   7: compiletest::runtest::TestCx::fatal_proc_rec
   8: compiletest::runtest::TestCx::check_if_test_should_compile
   9: compiletest::runtest::TestCx::run_revision
  10: compiletest::runtest::run
  11: <F as alloc::boxed::FnBox<A>>::call_box
  12: <F as alloc::boxed::FnBox<A>>::call_box
             at /cargo/registry/src/github.com-1ecc6299db9ec823/libtest-0.0.1/lib.rs:1506
             at /rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/liballoc/boxed.rs:749
  13: __rust_maybe_catch_panic
             at src/libpanic_unwind/lib.rs:87
  14: libtest::run_test::run_test_inner::{{closure}}
             at /rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/libstd/panicking.rs:272
             at /rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/libstd/panic.rs:388
             at /cargo/registry/src/github.com-1ecc6299db9ec823/libtest-0.0.1/lib.rs:1468
total unknown errors: 3
known error counts:
{
    "can\'t find crate for `": 36,
    "expected to have type i32, got i64": 3,
    "i128": 1,
    "Code shrinking during relaxation": 4,
    "the feature named `": 1,
    "not yet implemented: trans_ptr_binop(Le, <fat ptr>, <fat ptr>) not implemented": 1,
    "status=signal 6": 37,
    "unsupported intrinsic": 10,
    "status=signal 11": 1,
    "status=signal 4": 2,
    "faerie doesn\'t support addends in data section relocations yet": 1,
    "error: Non int ty types::F64 for variadic call": 2,
    "not yet implemented: trans_ptr_binop(Lt, <fat ptr>, <fat ptr>) not implemented": 1,
    "u128": 1,
    "Unimplemented global asm mono item": 2
}

@bjorn3
Copy link
Member Author

bjorn3 commented Mar 23, 2019

Smaller repro for ifmt.rs:

#![feature(core_private_bignum)]
extern crate core;
use core::num::bignum::Big32x40 as Big;

fn main() {
    let mut mant = Big::from_u64(0x278106_24dd2f1a);
    let scale =    Big::from_u64(0x200000_00000000);

    mant.sub(&scale);
}

@bjorn3
Copy link
Member Author

bjorn3 commented Mar 23, 2019

I think ifmt.rs fails because intrinsic::add_with_overflow doesn't actually check for overflow (#6)

@bjorn3
Copy link
Member Author

bjorn3 commented Mar 23, 2019

Status: This is currently blocked on at least #6 and #348.

@bjorn3
Copy link
Member Author

bjorn3 commented Mar 27, 2019

0df3b41: 108 -> 103 failed

@bjorn3
Copy link
Member Author

bjorn3 commented Jun 2, 2019

Now 112:

Not categorized
---- [run-pass] run-pass/debuginfo-lto.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit code: 1
command: "/Users/bjorn/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/rustc" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/src/test/run-pass/debuginfo-lto.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Zui-testing" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/debuginfo-lto/a" "-Crpath" "-O" "-Zunstable-options" "-Zcodegen-backend=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.dylib" "--sysroot" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot" "-Cpanic=abort" "-Lnative=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-C" "lto" "-g" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/debuginfo-lto/auxiliary"
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------
error: linking with `cc` failed: exit code: 1
   |
   = note: "cc" "-m64" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/debuginfo-lto/a.dummy_name.rcgu.o" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/debuginfo-lto/a" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/debuginfo-lto/a.allocator_shim.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/debuginfo-lto/auxiliary" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib" "/Users/bjorn/Documents/rustc_codegen_cranelift/build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-17ad70de7fb5c278.rlib" "-lSystem" "-lresolv" "-lc" "-lm" "-Wl,-rpath,/Users/bjorn/Documents/rustc_codegen_cranelift/rust/lib/rustlib/x86_64-apple-darwin/lib"
   = note: Undefined symbols for architecture x86_64:
             "debuginfo_lto_aux::with_closure::h2e33142b73a4b099", referenced from:
                 debuginfo_lto::main::hd538895e5a0aa514 in a.dummy_name.rcgu.o
             "debuginfo_lto_aux::take_fn::h5eeb713fb985e426", referenced from:
                 debuginfo_lto::main::hd538895e5a0aa514 in a.dummy_name.rcgu.o
             "std::rt::lang_start_internal::heefad8cf01d8dffb", referenced from:
                 std::rt::lang_start::h002cbf06d92f654d in a.dummy_name.rcgu.o
             "debuginfo_lto_aux::mk_regular_struct::h62b13d9b23126c86", referenced from:
                 debuginfo_lto::main::hd538895e5a0aa514 in a.dummy_name.rcgu.o
             "debuginfo_lto_aux::mk_struct_with_lt::h516b1938f3af8626", referenced from:
                 debuginfo_lto::main::hd538895e5a0aa514 in a.dummy_name.rcgu.o
           ld: symbol(s) not found for architecture x86_64
           clang: error: linker command failed with exit code 1 (use -v to see invocation)
           

error: aborting due to previous error


------------------------------------------




---- [run-pass] run-pass/fat-lto.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit code: 1
command: "/Users/bjorn/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/rustc" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/src/test/run-pass/fat-lto.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Zui-testing" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/fat-lto/a" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Zcodegen-backend=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.dylib" "--sysroot" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot" "-Cpanic=abort" "-Lnative=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-Clto=fat" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/fat-lto/auxiliary"
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------
error: linking with `cc` failed: exit code: 1
   |
   = note: "cc" "-m64" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/fat-lto/a.dummy_name.rcgu.o" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/fat-lto/a" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/fat-lto/a.allocator_shim.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/fat-lto/auxiliary" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib" "/Users/bjorn/Documents/rustc_codegen_cranelift/build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-17ad70de7fb5c278.rlib" "-lSystem" "-lresolv" "-lc" "-lm" "-Wl,-rpath,/Users/bjorn/Documents/rustc_codegen_cranelift/rust/lib/rustlib/x86_64-apple-darwin/lib"
   = note: ld: warning: directory not found for option '-L/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/fat-lto/auxiliary'
           Undefined symbols for architecture x86_64:
             "std::rt::lang_start_internal::heefad8cf01d8dffb", referenced from:
                 std::rt::lang_start::h0c68282b7e1c2e58 in a.dummy_name.rcgu.o
             "std::io::stdio::_print::h0acd063dfd5669bb", referenced from:
                 fat_lto::main::hc65baa1da9492b98 in a.dummy_name.rcgu.o
           ld: symbol(s) not found for architecture x86_64
           clang: error: linker command failed with exit code 1 (use -v to see invocation)
           

error: aborting due to previous error


------------------------------------------




---- [run-pass] run-pass/lto-many-codegen-units.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit code: 1
command: "/Users/bjorn/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/rustc" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/src/test/run-pass/lto-many-codegen-units.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Zui-testing" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/lto-many-codegen-units/a" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Zcodegen-backend=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.dylib" "--sysroot" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot" "-Cpanic=abort" "-Lnative=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-C" "lto" "-C" "codegen-units=8" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/lto-many-codegen-units/auxiliary"
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------
error: linking with `cc` failed: exit code: 1
   |
   = note: "cc" "-m64" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/lto-many-codegen-units/a.dummy_name.rcgu.o" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/lto-many-codegen-units/a" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/lto-many-codegen-units/a.allocator_shim.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/lto-many-codegen-units/auxiliary" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib" "/Users/bjorn/Documents/rustc_codegen_cranelift/build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-17ad70de7fb5c278.rlib" "-lSystem" "-lresolv" "-lc" "-lm" "-Wl,-rpath,/Users/bjorn/Documents/rustc_codegen_cranelift/rust/lib/rustlib/x86_64-apple-darwin/lib"
   = note: ld: warning: directory not found for option '-L/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/lto-many-codegen-units/auxiliary'
           Undefined symbols for architecture x86_64:
             "std::rt::lang_start_internal::heefad8cf01d8dffb", referenced from:
                 std::rt::lang_start::hc4aa500c0522145d in a.dummy_name.rcgu.o
           ld: symbol(s) not found for architecture x86_64
           clang: error: linker command failed with exit code 1 (use -v to see invocation)
           

error: aborting due to previous error


------------------------------------------




---- [run-pass] run-pass/mir/mir_misc_casts.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit code: 101
command: "/Users/bjorn/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/rustc" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/src/test/run-pass/mir/mir_misc_casts.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Zui-testing" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/mir/mir_misc_casts/a" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Zcodegen-backend=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.dylib" "--sysroot" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot" "-Cpanic=abort" "-Lnative=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/mir/mir_misc_casts/auxiliary"
stdout:
------------------------------------------
Instance { def: Item(DefId(0:29 ~ mir_misc_casts[317d]::from_1f32[0])), substs: [] } _ZN14mir_misc_casts9from_1f3217h02b2f874fba0844aE

------------------------------------------
stderr:
------------------------------------------
thread 'rustc' panicked at 'called `Result::unwrap()` on an `Err` value: Compilation(Verifier(VerifierErrors([VerifierError { location: inst13, message: "v12 is a real GPR value defined by a ghost instruction" }])))', src/libcore/result.rs:999:5
stack backtrace:
   0: <unknown>
   1: <unknown>
   2: <unknown>
   3: <unknown>
   4: <unknown>
   5: <unknown>
   6: <unknown>
   7: <unknown>
   8: <unknown>
   9: <unknown>
  10: <unknown>
  11: <unknown>
  12: <unknown>
  13: <unknown>
  14: <unknown>
  15: <unknown>
  16: <unknown>
  17: <unknown>
  18: <unknown>
  19: <unknown>
  20: <unknown>
  21: <unknown>
  22: <unknown>
  23: <unknown>
  24: <unknown>
  25: <unknown>
  26: <unknown>
  27: <unknown>
  28: <unknown>
  29: <unknown>
  30: <unknown>
  31: <unknown>
  32: <unknown>
  33: <unknown>
  34: <unknown>
  35: <unknown>
  36: <unknown>
  37: <unknown>
  38: <unknown>
  39: <unknown>
  40: <unknown>
  41: <unknown>
  42: <unknown>
  43: <unknown>
query stack during panic:
end of query stack

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.37.0-nightly (03ee55bb1 2019-06-01) running on x86_64-apple-darwin

note: compiler flags: -Z threads=1 -Z ui-testing -Z unstable-options -Z codegen-backend=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.dylib -C rpath -C debuginfo=0 -C panic=abort


------------------------------------------




---- [run-pass] run-pass/sepcomp/sepcomp-lib-lto.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit code: 1
command: "/Users/bjorn/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/rustc" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/src/test/run-pass/sepcomp/sepcomp-lib-lto.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Zui-testing" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/sepcomp/sepcomp-lib-lto/a" "-Crpath" "-O" "-Zunstable-options" "-Zcodegen-backend=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.dylib" "--sysroot" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot" "-Cpanic=abort" "-Lnative=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-C" "lto" "-g" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/sepcomp/sepcomp-lib-lto/auxiliary"
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------
error: linking with `cc` failed: exit code: 1
   |
   = note: "cc" "-m64" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/sepcomp/sepcomp-lib-lto/a.dummy_name.rcgu.o" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/sepcomp/sepcomp-lib-lto/a" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/sepcomp/sepcomp-lib-lto/a.allocator_shim.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/sepcomp/sepcomp-lib-lto/auxiliary" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib" "/Users/bjorn/Documents/rustc_codegen_cranelift/build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-17ad70de7fb5c278.rlib" "-lSystem" "-lresolv" "-lc" "-lm" "-Wl,-rpath,@loader_path/auxiliary" "-Wl,-rpath,/Users/bjorn/Documents/rustc_codegen_cranelift/rust/lib/rustlib/x86_64-apple-darwin/lib"
   = note: Undefined symbols for architecture x86_64:
             "std::rt::lang_start_internal::heefad8cf01d8dffb", referenced from:
                 std::rt::lang_start::h460fe10ab24b514f in a.dummy_name.rcgu.o
             "std::panicking::begin_panic_fmt::ha7fedb6b1e7882ee", referenced from:
                 sepcomp_lib_lto::main::hb2b6bc06f6ba6313 in a.dummy_name.rcgu.o
             "sepcomp_lib::b::two::hbdb4ac2672decfe6", referenced from:
                 sepcomp_lib_lto::main::hb2b6bc06f6ba6313 in a.dummy_name.rcgu.o
             "sepcomp_lib::a::one::h59ed6ca0382277b5", referenced from:
                 sepcomp_lib_lto::main::hb2b6bc06f6ba6313 in a.dummy_name.rcgu.o
             "core::fmt::num::imp::_$LT$impl$u20$core..fmt..Display$u20$for$u20$usize$GT$::fmt::hf1632036318a4f11", referenced from:
                 core::fmt::num::_$LT$impl$u20$core..fmt..Debug$u20$for$u20$usize$GT$::fmt::hf294183dc1ac151a in a.dummy_name.rcgu.o
             "core::fmt::num::_$LT$impl$u20$core..fmt..UpperHex$u20$for$u20$usize$GT$::fmt::h91ab249816861e54", referenced from:
                 core::fmt::num::_$LT$impl$u20$core..fmt..Debug$u20$for$u20$usize$GT$::fmt::hf294183dc1ac151a in a.dummy_name.rcgu.o
             "sepcomp_lib::c::three::hc83e0b89d3c096f8", referenced from:
                 sepcomp_lib_lto::main::hb2b6bc06f6ba6313 in a.dummy_name.rcgu.o
             "core::fmt::Formatter::debug_upper_hex::h5d239a8b0baa7c39", referenced from:
                 core::fmt::num::_$LT$impl$u20$core..fmt..Debug$u20$for$u20$usize$GT$::fmt::hf294183dc1ac151a in a.dummy_name.rcgu.o
             "core::fmt::num::_$LT$impl$u20$core..fmt..LowerHex$u20$for$u20$usize$GT$::fmt::hbc1f5f05a4b40126", referenced from:
                 core::fmt::num::_$LT$impl$u20$core..fmt..Debug$u20$for$u20$usize$GT$::fmt::hf294183dc1ac151a in a.dummy_name.rcgu.o
             "core::fmt::Formatter::debug_lower_hex::hca34f241e07dfa7f", referenced from:
                 core::fmt::num::_$LT$impl$u20$core..fmt..Debug$u20$for$u20$usize$GT$::fmt::hf294183dc1ac151a in a.dummy_name.rcgu.o
           ld: symbol(s) not found for architecture x86_64
           clang: error: linker command failed with exit code 1 (use -v to see invocation)
           

error: aborting due to previous error


------------------------------------------
total unknown errors: 5
known error counts:
{
    "faerie doesn\'t support addends in data section relocations yet": 1,
    "the feature named `": 1,
    "status=signal 6": 47,
    "unsupported intrinsic": 11,
    "status=signal 11": 1,
    "u128": 1,
    "status=signal 4": 3,
    "i128": 1,
    "AtomicU128": 1,
    "error: Non int ty types::F64 for variadic call": 2,
    "Unimplemented global asm mono item": 2,
    "can\'t find crate for `": 35,
}

@m4b
Copy link

m4b commented Jun 11, 2019

I just wanted to pop on here and say that all the work you've done here in this repo with rustc and another codegen backend is truly incredible and you're super awesome and I hope you feel super amazing about what you've accomplished in such a short time, even if you stop right now it's totally amazing. That's all :)

@bjorn3
Copy link
Member Author

bjorn3 commented Jun 11, 2019

Thanks you very much @m4b!

@bjorn3
Copy link
Member Author

bjorn3 commented Jun 23, 2019

Now 111 (from 128) by d7274ac:

Not categorized
---- [run-pass] run-pass/debuginfo-lto.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit code: 1
command: "/Users/bjorn/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/rustc" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/src/test/run-pass/debuginfo-lto.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Zui-testing" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/debuginfo-lto/a" "-Crpath" "-O" "-Zunstable-options" "-Zcodegen-backend=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.dylib" "--sysroot" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot" "-Cpanic=abort" "-Lnative=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-C" "lto" "-g" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/debuginfo-lto/auxiliary"
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------
error: linking with `cc` failed: exit code: 1
   |
   = note: "cc" "-m64" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/debuginfo-lto/a.dummy_name.rcgu.o" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/debuginfo-lto/a" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/debuginfo-lto/a.allocator_shim.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/debuginfo-lto/auxiliary" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib" "/Users/bjorn/Documents/rustc_codegen_cranelift/build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-7b1b62a937521c09.rlib" "-lSystem" "-lresolv" "-lc" "-lm" "-Wl,-rpath,/Users/bjorn/Documents/rustc_codegen_cranelift/rust/lib/rustlib/x86_64-apple-darwin/lib"
   = note: Undefined symbols for architecture x86_64:
             "debuginfo_lto_aux::with_closure::h2e33142b73a4b099", referenced from:
                 debuginfo_lto::main::hd538895e5a0aa514 in a.dummy_name.rcgu.o
             "debuginfo_lto_aux::take_fn::h5eeb713fb985e426", referenced from:
                 debuginfo_lto::main::hd538895e5a0aa514 in a.dummy_name.rcgu.o
             "std::rt::lang_start_internal::h0f83f9cdbdce728a", referenced from:
                 std::rt::lang_start::h002cbf06d92f654d in a.dummy_name.rcgu.o
             "debuginfo_lto_aux::mk_regular_struct::h62b13d9b23126c86", referenced from:
                 debuginfo_lto::main::hd538895e5a0aa514 in a.dummy_name.rcgu.o
             "debuginfo_lto_aux::mk_struct_with_lt::h516b1938f3af8626", referenced from:
                 debuginfo_lto::main::hd538895e5a0aa514 in a.dummy_name.rcgu.o
           ld: symbol(s) not found for architecture x86_64
           clang: error: linker command failed with exit code 1 (use -v to see invocation)
           

error: aborting due to previous error


------------------------------------------




---- [run-pass] run-pass/fat-lto.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit code: 1
command: "/Users/bjorn/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/rustc" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/src/test/run-pass/fat-lto.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Zui-testing" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/fat-lto/a" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Zcodegen-backend=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.dylib" "--sysroot" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot" "-Cpanic=abort" "-Lnative=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-Clto=fat" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/fat-lto/auxiliary"
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------
error: linking with `cc` failed: exit code: 1
   |
   = note: "cc" "-m64" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/fat-lto/a.dummy_name.rcgu.o" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/fat-lto/a" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/fat-lto/a.allocator_shim.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/fat-lto/auxiliary" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib" "/Users/bjorn/Documents/rustc_codegen_cranelift/build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-7b1b62a937521c09.rlib" "-lSystem" "-lresolv" "-lc" "-lm" "-Wl,-rpath,/Users/bjorn/Documents/rustc_codegen_cranelift/rust/lib/rustlib/x86_64-apple-darwin/lib"
   = note: ld: warning: directory not found for option '-L/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/fat-lto/auxiliary'
           Undefined symbols for architecture x86_64:
             "std::rt::lang_start_internal::h0f83f9cdbdce728a", referenced from:
                 std::rt::lang_start::h0c68282b7e1c2e58 in a.dummy_name.rcgu.o
             "std::io::stdio::_print::h5c04138dc2573eda", referenced from:
                 fat_lto::main::hc65baa1da9492b98 in a.dummy_name.rcgu.o
           ld: symbol(s) not found for architecture x86_64
           clang: error: linker command failed with exit code 1 (use -v to see invocation)
           

error: aborting due to previous error


------------------------------------------




---- [run-pass] run-pass/lto-many-codegen-units.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit code: 1
command: "/Users/bjorn/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/rustc" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/src/test/run-pass/lto-many-codegen-units.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Zui-testing" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/lto-many-codegen-units/a" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Zcodegen-backend=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.dylib" "--sysroot" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot" "-Cpanic=abort" "-Lnative=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-C" "lto" "-C" "codegen-units=8" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/lto-many-codegen-units/auxiliary"
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------
error: linking with `cc` failed: exit code: 1
   |
   = note: "cc" "-m64" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/lto-many-codegen-units/a.dummy_name.rcgu.o" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/lto-many-codegen-units/a" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/lto-many-codegen-units/a.allocator_shim.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/lto-many-codegen-units/auxiliary" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib" "/Users/bjorn/Documents/rustc_codegen_cranelift/build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-7b1b62a937521c09.rlib" "-lSystem" "-lresolv" "-lc" "-lm" "-Wl,-rpath,/Users/bjorn/Documents/rustc_codegen_cranelift/rust/lib/rustlib/x86_64-apple-darwin/lib"
   = note: ld: warning: directory not found for option '-L/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/lto-many-codegen-units/auxiliary'
           Undefined symbols for architecture x86_64:
             "std::rt::lang_start_internal::h0f83f9cdbdce728a", referenced from:
                 std::rt::lang_start::hc4aa500c0522145d in a.dummy_name.rcgu.o
           ld: symbol(s) not found for architecture x86_64
           clang: error: linker command failed with exit code 1 (use -v to see invocation)
           

error: aborting due to previous error


------------------------------------------
total unknown errors: 3
known error counts:
{
    "the feature named `": 1,
    "panicked at": 63,
    "AtomicU128": 1,
    "can\'t find crate for `": 35,
    "Unimplemented global asm mono item": 2,
    "status=signal 4": 3,
}

I accidentially made the assumption that the second component of a pair was stored directly after the first, which is not true when the size of the first component is smaller than the alignment of the second.

@bjorn3
Copy link
Member Author

bjorn3 commented Jul 27, 2019

Now 85 as of bdf23c0:

Not categorized
---- [run-pass] run-pass/debuginfo-lto.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit code: 1
command: "/Users/bjorn/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/rustc" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/src/test/run-pass/debuginfo-lto.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Zui-testing" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/debuginfo-lto/a" "-Crpath" "-O" "-Zunstable-options" "-Zcodegen-backend=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.dylib" "--sysroot" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot" "-Cpanic=abort" "-Lnative=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-C" "lto" "-g" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/debuginfo-lto/auxiliary"
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------
error: linking with `cc` failed: exit code: 1
   |
   = note: "cc" "-m64" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/debuginfo-lto/a.dummy_name.rcgu.o" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/debuginfo-lto/a" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/debuginfo-lto/a.allocator_shim.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/debuginfo-lto/auxiliary" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib" "/Users/bjorn/Documents/rustc_codegen_cranelift/build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-fb5ade2db3fd7351.rlib" "-lSystem" "-lresolv" "-lc" "-lm" "-Wl,-rpath,/Users/bjorn/Documents/rustc_codegen_cranelift/rust/lib/rustlib/x86_64-apple-darwin/lib"
   = note: Undefined symbols for architecture x86_64:
             "debuginfo_lto_aux::with_closure::h2e33142b73a4b099", referenced from:
                 debuginfo_lto::main::hd538895e5a0aa514 in a.dummy_name.rcgu.o
             "debuginfo_lto_aux::take_fn::h5eeb713fb985e426", referenced from:
                 debuginfo_lto::main::hd538895e5a0aa514 in a.dummy_name.rcgu.o
             "std::rt::lang_start_internal::h0b355d3cad777a70", referenced from:
                 std::rt::lang_start::h002cbf06d92f654d in a.dummy_name.rcgu.o
             "debuginfo_lto_aux::mk_regular_struct::h62b13d9b23126c86", referenced from:
                 debuginfo_lto::main::hd538895e5a0aa514 in a.dummy_name.rcgu.o
             "debuginfo_lto_aux::mk_struct_with_lt::h516b1938f3af8626", referenced from:
                 debuginfo_lto::main::hd538895e5a0aa514 in a.dummy_name.rcgu.o
           ld: symbol(s) not found for architecture x86_64
           clang: error: linker command failed with exit code 1 (use -v to see invocation)


error: aborting due to previous error


------------------------------------------




---- [run-pass] run-pass/fat-lto.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit code: 1
command: "/Users/bjorn/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/rustc" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/src/test/run-pass/fat-lto.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Zui-testing" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/fat-lto/a" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Zcodegen-backend=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.dylib" "--sysroot" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot" "-Cpanic=abort" "-Lnative=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-Clto=fat" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/fat-lto/auxiliary"
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------
error: linking with `cc` failed: exit code: 1
   |
   = note: "cc" "-m64" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/fat-lto/a.dummy_name.rcgu.o" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/fat-lto/a" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/fat-lto/a.allocator_shim.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/fat-lto/auxiliary" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib" "/Users/bjorn/Documents/rustc_codegen_cranelift/build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-fb5ade2db3fd7351.rlib" "-lSystem" "-lresolv" "-lc" "-lm" "-Wl,-rpath,/Users/bjorn/Documents/rustc_codegen_cranelift/rust/lib/rustlib/x86_64-apple-darwin/lib"
   = note: ld: warning: directory not found for option '-L/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/fat-lto/auxiliary'
           Undefined symbols for architecture x86_64:
             "std::rt::lang_start_internal::h0b355d3cad777a70", referenced from:
                 std::rt::lang_start::h0c68282b7e1c2e58 in a.dummy_name.rcgu.o
             "std::io::stdio::_print::h71671766d1036ee9", referenced from:
                 fat_lto::main::hc65baa1da9492b98 in a.dummy_name.rcgu.o
           ld: symbol(s) not found for architecture x86_64
           clang: error: linker command failed with exit code 1 (use -v to see invocation)


error: aborting due to previous error


------------------------------------------




---- [run-pass] run-pass/lto-many-codegen-units.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit code: 1
command: "/Users/bjorn/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/rustc" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/src/test/run-pass/lto-many-codegen-units.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Zui-testing" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/lto-many-codegen-units/a" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Zcodegen-backend=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.dylib" "--sysroot" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot" "-Cpanic=abort" "-Lnative=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-C" "lto" "-C" "codegen-units=8" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/lto-many-codegen-units/auxiliary"
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------
error: linking with `cc` failed: exit code: 1
   |
   = note: "cc" "-m64" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/lto-many-codegen-units/a.dummy_name.rcgu.o" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/lto-many-codegen-units/a" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/lto-many-codegen-units/a.allocator_shim.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/lto-many-codegen-units/auxiliary" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib" "/Users/bjorn/Documents/rustc_codegen_cranelift/build_sysroot/sysroot/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-fb5ade2db3fd7351.rlib" "-lSystem" "-lresolv" "-lc" "-lm" "-Wl,-rpath,/Users/bjorn/Documents/rustc_codegen_cranelift/rust/lib/rustlib/x86_64-apple-darwin/lib"
   = note: ld: warning: directory not found for option '-L/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/lto-many-codegen-units/auxiliary'
           Undefined symbols for architecture x86_64:
             "std::rt::lang_start_internal::h0b355d3cad777a70", referenced from:
                 std::rt::lang_start::hc4aa500c0522145d in a.dummy_name.rcgu.o
           ld: symbol(s) not found for architecture x86_64
           clang: error: linker command failed with exit code 1 (use -v to see invocation)


error: aborting due to previous error


------------------------------------------




---- [run-pass] run-pass/mir/mir_misc_casts.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit code: 101
command: "/Users/bjorn/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/rustc" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/src/test/run-pass/mir/mir_misc_casts.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Zui-testing" "-o" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/mir/mir_misc_casts/a" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Zcodegen-backend=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.dylib" "--sysroot" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../build_sysroot/sysroot" "-Cpanic=abort" "-Lnative=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/bjorn/Documents/rustc_codegen_cranelift/rust/build/x86_64-apple-darwin/test/run-pass/mir/mir_misc_casts/auxiliary"
stdout:
------------------------------------------
Instance { def: Item(DefId(0:29 ~ mir_misc_casts[317d]::from_1f32[0])), substs: [] } _ZN14mir_misc_casts9from_1f3217h02b2f874fba0844aE

------------------------------------------
stderr:
------------------------------------------
thread 'rustc' panicked at 'called `Result::unwrap()` on an `Err` value: Compilation(Verifier(VerifierErrors([VerifierError { location: inst13, message: "v12 is a real GPR value defined by a ghost instruction" }])))', src/libcore/result.rs:1084:5
stack backtrace:
   0: std::panicking::default_hook::{{closure}}
   1: std::panicking::default_hook
   2: rustc::util::common::panic_hook
   3: std::panicking::rust_panic_with_hook
   4: std::panicking::continue_panic_fmt
   5: rust_begin_unwind
   6: core::panicking::panic_fmt
   7: core::result::unwrap_failed
   8: core::result::Result<T,E>::unwrap
   9: rustc_codegen_cranelift::base::trans_fn
  10: rustc_codegen_cranelift::driver::trans_mono_item
  11: rustc_codegen_cranelift::driver::codegen_mono_items::{{closure}}::{{closure}}
  12: rustc_codegen_cranelift::unimpl::try_unimpl::{{closure}}
  13: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
  14: std::panicking::try::do_call
  15: __rust_maybe_catch_panic
  16: std::panicking::try
  17: std::panic::catch_unwind
  18: rustc_codegen_cranelift::unimpl::try_unimpl
  19: rustc_codegen_cranelift::driver::codegen_mono_items::{{closure}}
  20: rustc_codegen_cranelift::driver::time
  21: rustc_codegen_cranelift::driver::codegen_mono_items
  22: rustc_codegen_cranelift::driver::codegen_cgus
  23: rustc_codegen_cranelift::driver::run_aot
  24: rustc_codegen_cranelift::driver::codegen_crate
  25: <rustc_codegen_cranelift::CraneliftCodegenBackend as rustc_codegen_utils::codegen_backend::CodegenBackend>::codegen_crate
  26: rustc::util::common::time
  27: rustc_interface::passes::start_codegen
  28: rustc::ty::context::tls::enter_global
  29: rustc_interface::passes::BoxedGlobalCtxt::access::{{closure}}
  30: rustc_interface::passes::create_global_ctxt::{{closure}}
  31: rustc_interface::passes::BoxedGlobalCtxt::enter
  32: rustc_interface::queries::Query<T>::compute
  33: rustc_interface::queries::<impl rustc_interface::interface::Compiler>::ongoing_codegen
  34: rustc_interface::interface::run_compiler_in_existing_thread_pool
  35: std::thread::local::LocalKey<T>::with
  36: scoped_tls::ScopedKey<T>::set
  37: syntax::with_globals
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
query stack during panic:
end of query stack

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.38.0-nightly (c43753f91 2019-07-26) running on x86_64-apple-darwin

note: compiler flags: -Z threads=1 -Z ui-testing -Z unstable-options -Z codegen-backend=/Users/bjorn/Documents/rustc_codegen_cranelift/rust/../target/debug/librustc_codegen_cranelift.dylib -C rpath -C debuginfo=0 -C panic=abort


------------------------------------------

total unknown errors: 4
known error counts:
{
    "Unimplemented global asm mono item": 2,
    "status=signal 6": 28,
    "can\'t find crate for `": 35,
    "status=signal 4": 6,
    "unsupported intrinsic": 3,
    "error: Non int ty types::F64 for variadic call": 1,
    "AtomicU128": 1,
    "faerie doesn\'t support addends in data section relocations yet": 1,
    "status=signal 11": 1,
}

@bjorn3
Copy link
Member Author

bjorn3 commented Aug 1, 2019

With the recent merge of the ui and run-pass test suites the amount of failed tests increased. Some are just error differences between llvm and clif though:

failures:
    [ui] ui/abi/issues/issue-62350-sysv-neg-reg-counts.rs
    [ui] ui/array-slice-vec/check-static-mut-slices.rs
    [ui] ui/array-slice-vec/check-static-slice.rs
    [ui] ui/async-await/async-fn-size-moved-locals.rs
    [ui] ui/async-await/issues/issue-60674.rs
    [ui] ui/attributes/attr-before-view-item.rs
    [ui] ui/attributes/attr-before-view-item2.rs
    [ui] ui/bad/bad-intrinsic-monomorphization.rs
    [ui] ui/binding/fn-arg-incomplete-pattern-drop-order.rs
    [ui] ui/borrowck/two-phase-nonrecv-autoref.rs#nll
    [ui] ui/builtin-clone-unwind.rs
    [ui] ui/catch-unwind-bang.rs
    [ui] ui/confuse-field-and-method/issue-2392.rs
    [ui] ui/consts/const-endianess.rs
    [ui] ui/consts/const-eval/issue-47971.rs
    [ui] ui/consts/const-ptr-nonnull-rpass.rs
    [ui] ui/consts/const-ptr-unique-rpass.rs
    [ui] ui/consts/const-str-ptr.rs
    [ui] ui/consts/static-raw-pointer-interning2.rs
    [ui] ui/custom_test_frameworks/mismatch.rs
    [ui] ui/debuginfo-lto.rs
    [ui] ui/derives/derive-marker-tricky.rs
    [ui] ui/drop/dynamic-drop-async.rs
    [ui] ui/drop/dynamic-drop.rs
    [ui] ui/duplicate/dupe-symbols-7.rs
    [ui] ui/dynamically-sized-types/dst-field-align.rs
    [ui] ui/empty_global_asm.rs
    [ui] ui/enum-discriminant/arbitrary_enum_discriminant.rs
    [ui] ui/error-codes/E0511.rs
    [ui] ui/fat-lto.rs
    [ui] ui/foreign/foreign-fn-with-byval.rs
    [ui] ui/generator/panic-drops.rs
    [ui] ui/generator/panic-safe.rs
    [ui] ui/generator/resume-after-return.rs
    [ui] ui/generator/size-moved-locals.rs
    [ui] ui/huge-array-simple.rs
    [ui] ui/huge-array.rs
    [ui] ui/huge-enum.rs
    [ui] ui/huge-struct.rs
    [ui] ui/inaccessible-test-modules.rs
    [ui] ui/issues/issue-11154.rs
    [ui] ui/issues/issue-12997-1.rs
    [ui] ui/issues/issue-12997-2.rs
    [ui] ui/issues/issue-14772.rs
    [ui] ui/issues/issue-14875.rs
    [ui] ui/issues/issue-14936.rs
    [ui] ui/issues/issue-15919.rs
    [ui] ui/issues/issue-16597-empty.rs
    [ui] ui/issues/issue-16597.rs
    [ui] ui/issues/issue-17913.rs
    [ui] ui/issues/issue-20823.rs
    [ui] ui/issues/issue-23458.rs
    [ui] ui/issues/issue-28134.rs
    [ui] ui/issues/issue-28676.rs
    [ui] ui/issues/issue-29948.rs
    [ui] ui/issues/issue-32805.rs
    [ui] ui/issues/issue-33537.rs
    [ui] ui/issues/issue-33992.rs
    [ui] ui/issues/issue-34932.rs
    [ui] ui/issues/issue-3656.rs
    [ui] ui/issues/issue-36768.rs
    [ui] ui/issues/issue-39827.rs
    [ui] ui/issues/issue-40883.rs
    [ui] ui/issues/issue-41696.rs
    [ui] ui/issues/issue-43853.rs
    [ui] ui/issues/issue-44056.rs
    [ui] ui/issues/issue-45731.rs
    [ui] ui/issues/issue-46519.rs
    [ui] ui/issues/issue-50811.rs
    [ui] ui/issues/issue-50993.rs
    [ui] ui/issues/issue-51947.rs
    [ui] ui/issues/issue-52557.rs
    [ui] ui/issues/issue-53675-a-test-called-panic.rs
    [ui] ui/issues/issue-56762.rs
    [ui] ui/issues/issue-61696.rs
    [ui] ui/iterators/iter-step-overflow-debug.rs
    [ui] ui/iterators/iter-sum-overflow-debug.rs
    [ui] ui/iterators/iter-sum-overflow-overflow-checks.rs
    [ui] ui/linkage-attr/linkage-detect-extern-generated-name-collision.rs
    [ui] ui/linkage-attr/linkage-detect-local-generated-name-collision.rs
    [ui] ui/linkage-attr/linkage-requires-raw-ptr.rs
    [ui] ui/linkage-attr/linkage2.rs
    [ui] ui/linkage-attr/linkage3.rs
    [ui] ui/lint/lint-ctypes-enum.rs
    [ui] ui/lint/test-inner-fn.rs
    [ui] ui/lto-duplicate-symbols.rs
    [ui] ui/lto-many-codegen-units.rs
    [ui] ui/macro-quote-cond.rs
    [ui] ui/macro-quote-test.rs
    [ui] ui/macros/macro-comma-behavior-rpass.rs#core
    [ui] ui/macros/macro-comma-behavior-rpass.rs#std
    [ui] ui/macros/macro-comma-support-rpass.rs#core
    [ui] ui/macros/macro-comma-support-rpass.rs#std
    [ui] ui/macros/same-sequence-span.rs
    [ui] ui/mir/mir_calls_to_shims.rs
    [ui] ui/mir/mir_codegen_calls.rs
    [ui] ui/mir/mir_codegen_calls_variadic.rs
    [ui] ui/mir/mir_drop_order.rs
    [ui] ui/mir/mir_misc_casts.rs
    [ui] ui/mir/mir_overflow_off.rs
    [ui] ui/mir/mir_raw_fat_ptr.rs
    [ui] ui/never_transmute_never.rs
    [ui] ui/non-interger-atomic.rs
    [ui] ui/numbers-arithmetic/float_math.rs
    [ui] ui/numbers-arithmetic/num-wrapping.rs
    [ui] ui/numbers-arithmetic/saturating-float-casts.rs
    [ui] ui/panic-uninitialized-zeroed.rs
    [ui] ui/proc_macro.rs
    [ui] ui/reachable-unnameable-items.rs
    [ui] ui/reexport-test-harness-main.rs
    [ui] ui/rfc-1937-termination-trait/termination-trait-in-test-should-panic.rs
    [ui] ui/rfc-1937-termination-trait/termination-trait-in-test.rs
    [ui] ui/rfc-1937-termination-trait/termination-trait-test-wrong-type.rs
    [ui] ui/rfc-2166-underscore-imports/duplicate.rs
    [ui] ui/rfcs/rfc1857-drop-order.rs
    [ui] ui/rust-2018/proc-macro-crate-in-paths.rs
    [ui] ui/rust-2018/suggestions-not-always-applicable.rs
    [ui] ui/sepcomp/sepcomp-lib-lto.rs
    [ui] ui/simd-intrinsic/simd-intrinsic-generic-arithmetic.rs
    [ui] ui/simd-intrinsic/simd-intrinsic-generic-bitmask.rs
    [ui] ui/simd-intrinsic/simd-intrinsic-generic-cast.rs
    [ui] ui/simd-intrinsic/simd-intrinsic-generic-comparison.rs
    [ui] ui/simd-intrinsic/simd-intrinsic-generic-elements.rs
    [ui] ui/simd-intrinsic/simd-intrinsic-generic-select.rs
    [ui] ui/simple_global_asm.rs
    [ui] ui/span/borrowck-call-is-borrow-issue-12224.rs
    [ui] ui/sse2.rs
    [ui] ui/structs-enums/struct-return.rs
    [ui] ui/suggestions/issue-61963.rs
    [ui] ui/symbol-names/basic.rs#legacy
    [ui] ui/symbol-names/basic.rs#v0
    [ui] ui/symbol-names/impl1.rs#legacy
    [ui] ui/symbol-names/impl1.rs#v0
    [ui] ui/symbol-names/impl2.rs
    [ui] ui/symbol-names/issue-60925.rs#legacy
    [ui] ui/symbol-names/issue-60925.rs#v0
    [ui] ui/test-allow-dead-extern-static-no-warning.rs
    [ui] ui/test-allow-fail-attr.rs
    [ui] ui/test-fn-signature-verification-for-explicit-return-type.rs
    [ui] ui/test-main-not-dead-attr.rs
    [ui] ui/test-main-not-dead.rs
    [ui] ui/test-on-macro.rs
    [ui] ui/test-runner-hides-buried-main.rs
    [ui] ui/test-runner-hides-main.rs
    [ui] ui/test-runner-hides-start.rs
    [ui] ui/test-shadowing/test-cant-be-shadowed.rs
    [ui] ui/test-should-fail-good-message.rs
    [ui] ui/test-should-panic-attr.rs
    [ui] ui/test-warns-dead-code.rs
    [ui] ui/union/union-c-interop.rs
    [ui] ui/unnecessary-extern-crate.rs
    [ui] ui/variadic-ffi.rs
    [ui] ui/windows-subsystem-invalid.rs
test result: FAILED. 1 passed; 153 failed; 8256 ignored; 0 measured; 0 filtered out

@bjorn3
Copy link
Member Author

bjorn3 commented Aug 20, 2019

Down to 91:

failures:
    [ui] ui/array-slice-vec/check-static-mut-slices.rs
    [ui] ui/array-slice-vec/check-static-slice.rs
    [ui] ui/associated-type-bounds/assoc-type-eq-with-dyn-atb-fail.rs
    [ui] ui/associated-type-bounds/duplicate.rs
    [ui] ui/associated-type-bounds/inside-adt.rs
    [ui] ui/async-await/async-borrowck-escaping-closure-error.rs
    [ui] ui/async-await/async-fn-size-moved-locals.rs
    [ui] ui/async-await/issues/issue-60674.rs
    [ui] ui/async-await/issues/issue-62517-1.rs
    [ui] ui/async-await/issues/issue-62517-2.rs
    [ui] ui/bad/bad-intrinsic-monomorphization.rs
    [ui] ui/binding/fn-arg-incomplete-pattern-drop-order.rs
    [ui] ui/builtin-clone-unwind.rs
    [ui] ui/catch-unwind-bang.rs
    [ui] ui/const-generics/issue-61432.rs
    [ui] ui/consts/const-endianess.rs
    [ui] ui/consts/const-eval/issue-47971.rs
    [ui] ui/consts/const-ptr-nonnull-rpass.rs
    [ui] ui/consts/const-ptr-unique-rpass.rs
    [ui] ui/consts/const-str-ptr.rs
    [ui] ui/consts/static-raw-pointer-interning2.rs
    [ui] ui/consts/zst_no_llvm_alloc.rs
    [ui] ui/derives/derive-marker-tricky.rs
    [ui] ui/drop/dynamic-drop-async.rs
    [ui] ui/drop/dynamic-drop.rs
    [ui] ui/duplicate/dupe-symbols-7.rs
    [ui] ui/dynamically-sized-types/dst-field-align.rs
    [ui] ui/empty_global_asm.rs
    [ui] ui/enum-discriminant/arbitrary_enum_discriminant.rs
    [ui] ui/error-codes/E0511.rs
    [ui] ui/generator/panic-drops.rs
    [ui] ui/generator/panic-safe.rs
    [ui] ui/generator/resume-after-return.rs
    [ui] ui/generator/size-moved-locals.rs
    [ui] ui/impl-trait/dyn-trait-elided-two-inputs-assoc.rs
    [ui] ui/impl-trait/dyn-trait-elided-two-inputs-param.rs
    [ui] ui/impl-trait/dyn-trait-elided-two-inputs-ref-param.rs
    [ui] ui/issues/issue-11154.rs
    [ui] ui/issues/issue-14875.rs
    [ui] ui/issues/issue-14936.rs
    [ui] ui/issues/issue-28676.rs
    [ui] ui/issues/issue-29948.rs
    [ui] ui/issues/issue-33537.rs
    [ui] ui/issues/issue-33992.rs
    [ui] ui/issues/issue-39827.rs
    [ui] ui/issues/issue-40883.rs
    [ui] ui/issues/issue-41696.rs
    [ui] ui/issues/issue-43853.rs
    [ui] ui/issues/issue-44056.rs
    [ui] ui/issues/issue-46519.rs
    [ui] ui/issues/issue-50811.rs
    [ui] ui/issues/issue-51947.rs
    [ui] ui/issues/issue-61696.rs
    [ui] ui/iterators/iter-step-overflow-debug.rs
    [ui] ui/iterators/iter-sum-overflow-debug.rs
    [ui] ui/iterators/iter-sum-overflow-overflow-checks.rs
    [ui] ui/lifetimes/lifetime-elision-return-type-trait.rs
    [ui] ui/linkage-attr/linkage-detect-extern-generated-name-collision.rs
    [ui] ui/linkage-attr/linkage-detect-local-generated-name-collision.rs
    [ui] ui/linkage-attr/linkage-requires-raw-ptr.rs
    [ui] ui/macro-quote-cond.rs
    [ui] ui/macro-quote-test.rs
    [ui] ui/macros/macro-comma-behavior-rpass.rs#core
    [ui] ui/macros/macro-comma-behavior-rpass.rs#std
    [ui] ui/mir/mir_calls_to_shims.rs
    [ui] ui/mir/mir_codegen_calls.rs
    [ui] ui/mir/mir_drop_order.rs
    [ui] ui/mir/mir_misc_casts.rs
    [ui] ui/mir/mir_overflow_off.rs
    [ui] ui/mir/mir_raw_fat_ptr.rs
    [ui] ui/non-interger-atomic.rs
    [ui] ui/numbers-arithmetic/float_math.rs
    [ui] ui/numbers-arithmetic/num-wrapping.rs
    [ui] ui/numbers-arithmetic/saturating-float-casts.rs
    [ui] ui/object-lifetime/object-lifetime-default-dyn-binding-nonstatic1.rs
    [ui] ui/object-lifetime/object-lifetime-default-dyn-binding-nonstatic2.rs
    [ui] ui/object-lifetime/object-lifetime-default-dyn-binding-nonstatic3.rs
    [ui] ui/object-lifetime/object-lifetime-default-dyn-binding-static.rs
    [ui] ui/panic-uninitialized-zeroed.rs
    [ui] ui/proc_macro.rs
    [ui] ui/reachable-unnameable-items.rs
    [ui] ui/rfc-1937-termination-trait/termination-trait-in-test.rs
    [ui] ui/rfc-2166-underscore-imports/duplicate.rs
    [ui] ui/rfc-2565-param-attrs/param-attrs-pretty.rs
    [ui] ui/rfcs/rfc1857-drop-order.rs
    [ui] ui/rust-2018/suggestions-not-always-applicable.rs
    [ui] ui/sepcomp/sepcomp-lib-lto.rs
    [ui] ui/sepcomp/sepcomp-lib.rs
    [ui] ui/simple_global_asm.rs
    [ui] ui/sse2.rs
    [ui] ui/windows-subsystem-invalid.rs
test result: FAILED. 8095 passed; 91 failed; 34 ignored; 0 measured; 0 filtered out

@bjorn3

This comment has been minimized.

@yerke
Copy link

yerke commented Aug 31, 2019

@bjorn3 Wow, that was a huge jump! Thank you for working on this project!

@bjorn3
Copy link
Member Author

bjorn3 commented Aug 31, 2019

It seems like I had ignored too much tests. Currently trying again with less ignored tests.

@bjorn3
Copy link
Member Author

bjorn3 commented Aug 31, 2019

With old filter it gives 74 failures, with new (and fixed) one from 2d5a0b8 it gives 57:

failures:
    [ui] ui/array-slice-vec/check-static-slice.rs
    [ui] ui/async-await/async-fn-size-moved-locals.rs
    [ui] ui/async-await/issues/issue-60674.rs
    [ui] ui/backtrace-debuginfo.rs
    [ui] ui/backtrace.rs
    [ui] ui/bad/bad-intrinsic-monomorphization.rs
    [ui] ui/cdylib-deps-must-be-static.rs
    [ui] ui/confuse-field-and-method/issue-2392.rs
    [ui] ui/consts/const-eval/dangling.rs
    [ui] ui/consts/const-eval/issue-47971.rs
    [ui] ui/consts/const-eval/pub_const_err.rs
    [ui] ui/consts/const-str-ptr.rs
    [ui] ui/consts/zst_no_llvm_alloc.rs
    [ui] ui/derives/derive-marker-tricky.rs
    [ui] ui/dynamically-sized-types/dst-field-align.rs
    [ui] ui/error-codes/E0511.rs
    [ui] ui/generator/size-moved-locals.rs
    [ui] ui/intrinsics/intrinsics-integer.rs
    [ui] ui/intrinsics/intrinsics-math.rs
    [ui] ui/issues/issue-11154.rs
    [ui] ui/issues/issue-12133-3.rs
    [ui] ui/issues/issue-28676.rs
    [ui] ui/issues/issue-33537.rs
    [ui] ui/issues/issue-39827.rs
    [ui] ui/issues/issue-44056.rs
    [ui] ui/issues/issue-51947.rs
    [ui] ui/json-multiple.rs
    [ui] ui/json-options.rs
    [ui] ui/linkage-attr/linkage-detect-extern-generated-name-collision.rs
    [ui] ui/linkage-attr/linkage-detect-local-generated-name-collision.rs
    [ui] ui/linkage-attr/linkage-requires-raw-ptr.rs
    [ui] ui/macro-quote-cond.rs
    [ui] ui/macro-quote-test.rs
    [ui] ui/mir/mir_misc_casts.rs
    [ui] ui/mir/mir_overflow_off.rs
    [ui] ui/mir/mir_raw_fat_ptr.rs
    [ui] ui/nll/ty-outlives/issue-55756.rs
    [ui] ui/non-integer-atomic.rs
    [ui] ui/not-panic/not-panic-safe-2.rs
    [ui] ui/not-panic/not-panic-safe-3.rs
    [ui] ui/not-panic/not-panic-safe-4.rs
    [ui] ui/not-panic/not-panic-safe-5.rs
    [ui] ui/not-panic/not-panic-safe-6.rs
    [ui] ui/numbers-arithmetic/float_math.rs
    [ui] ui/numbers-arithmetic/i128.rs
    [ui] ui/numbers-arithmetic/saturating-float-casts.rs
    [ui] ui/proc_macro.rs
    [ui] ui/rfc-2166-underscore-imports/duplicate.rs
    [ui] ui/rfc-2565-param-attrs/param-attrs-pretty.rs
    [ui] ui/rust-2018/suggestions-not-always-applicable.rs
    [ui] ui/sepcomp/sepcomp-lib-lto.rs
    [ui] ui/sepcomp/sepcomp-lib.rs
    [ui] ui/span/borrowck-call-is-borrow-issue-12224.rs
    [ui] ui/sse2.rs
    [ui] ui/static_sized_requirement.rs
    [ui] ui/structs-enums/align-struct.rs
    [ui] ui/windows-subsystem-invalid.rs

test result: FAILED. 1 passed; 57 failed; 8130 ignored; 0 measured; 0 filtered out

@vultix
Copy link

vultix commented Sep 8, 2019

@bjorn3 Thank you for all of the work you've put into this project! Do you have a patreon, paypal, or some other method available so that those who are interested can donate and thank you for your work?

@bjorn3
Copy link
Member Author

bjorn3 commented Sep 8, 2019

Thanks @vultix for this nice comment! I really appreciate it. I just made a liberapay page: https://liberapay.com/bjorn3/.

@bjorn3
Copy link
Member Author

bjorn3 commented Sep 10, 2019

Thanks a lot for all donations!

@bjorn3
Copy link
Member Author

bjorn3 commented Apr 30, 2020

I just ran the test suite again. This time I ignored all tests that should give an error, as many give a different error or even panic with cg_clif. I also removed most of the tests that require unwinding support or other unimplemented things.

After looking through the results, I found several bugs. Several tests also get a stack overflow. (More stack usage due to less optimizations?) I haven't had the time to look at all failures yet.

failures:
    [ui] ui/array-slice-vec/check-static-mut-slices.rs
    [ui] ui/async-await/async-fn-size-moved-locals.rs
    [ui] ui/async-await/async-fn-size-uninit-locals.rs
    [ui] ui/cleanup-rvalue-temp-during-incomplete-alloc.rs
    [ui] ui/consts/cast-discriminant-zst-enum.rs
    [ui] ui/consts/const-str-ptr.rs
    [ui] ui/consts/static-raw-pointer-interning2.rs
    [ui] ui/drop/drop-trait-enum.rs
    [ui] ui/generator/size-moved-locals.rs
    [ui] ui/init-large-type.rs
    [ui] ui/issues/issue-26655.rs
    [ui] ui/issues/issue-28676.rs
    [ui] ui/issues/issue-28950.rs
    [ui] ui/issues/issue-29485.rs
    [ui] ui/issues/issue-30018-panic.rs
    [ui] ui/issues/issue-33992.rs
    [ui] ui/issues/issue-39827.rs
    [ui] ui/issues/issue-51947.rs
    [ui] ui/issues/issue-8460.rs
    [ui] ui/mir/mir_misc_casts.rs
    [ui] ui/mir/mir_overflow_off.rs
    [ui] ui/mir/mir_raw_fat_ptr.rs
    [ui] ui/multi-panic.rs
    [ui] ui/numbers-arithmetic/float_math.rs
    [ui] ui/numbers-arithmetic/int-abs-overflow.rs
    [ui] ui/numbers-arithmetic/saturating-float-casts.rs
    [ui] ui/offset_from.rs
    [ui] ui/sepcomp/sepcomp-unwind.rs
    [ui] ui/sse2.rs
    [ui] ui/structs-enums/unit-like-struct-drop-run.rs
    [ui] ui/terminate-in-initializer.rs
    [ui] ui/threads-sendsync/task-stderr.rs

test result: FAILED. 0 passed; 32 failed; 4331 ignored; 0 measured; 0 filtered out

@yerke
Copy link

yerke commented May 1, 2020

The number of failed and ignored tests keeps going down! Thank you for your hard work!

@bjorn3
Copy link
Member Author

bjorn3 commented May 1, 2020

When compiletest sees that it previously successfully tested a test, it will automatically mark that test as ignored. This means that there are 4331 passed tests and 32 failed tests. The huge decrease in passed tests and a part of the decrease in failed tests is because this time I ignored all compile-fail tests by removing them from the src/test/ui dir.

@bjorn3
Copy link
Member Author

bjorn3 commented Jul 3, 2020

Except for tests that either should error or require unimplemented features, the only failing ui test is ui/enum-discriminant/issue-70509-partial_eq.rs. That one will probably be fixed by bytecodealliance/wasmtime#1939.

@bjorn3
Copy link
Member Author

bjorn3 commented Jul 17, 2020

Thanks to #1068 82 tests which depended on the previously unimplemented struct argument passing for the SystemV abi are now passing.

@bjorn3 bjorn3 removed this from the MVP milestone Jan 13, 2021
@bjorn3
Copy link
Member Author

bjorn3 commented Jan 13, 2021

Removed from the MVP milestone as enough tests pass to be usable in most cases.

@bjorn3
Copy link
Member Author

bjorn3 commented Mar 26, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug.
Projects
None yet
Development

No branches or pull requests

4 participants