Skip to content

2021 week 28: rebase off upstream #292

Closed

Description

@adpaco
No description provided.

Activity

  1. added
    Z-Sync Upstream
    on Jul 6, 2021
  2. self-assigned this
    on Jul 6, 2021
  3. adpaco commented on Jul 15, 2021

    @adpaco
    ContributorAuthor

    No conflicts appeared using the rebase command.

  4. adpaco commented on Jul 15, 2021

    @adpaco
    ContributorAuthor

    But the regression does not complete successfully, this is the error message that I got:

    Check compiletest suite=cbmc mode=rmc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
    
    running 186 tests
    iii............i.i.......................i..........................................i..........ii..i 100/186
    ......i...ii........i....i....i.i...i................i.iii.........i..................
    test result: ok. 163 passed; 0 failed; 23 ignored; 0 measured; 0 filtered out; finished in 8.66s
    
            finished in 8.679 seconds
    Check compiletest suite=firecracker mode=rmc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
    
    running 3 tests
    ii.
    test result: ok. 1 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 2.25s
    
            finished in 2.249 seconds
    Check compiletest suite=prusti mode=rmc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
    
    running 8 tests
    .FF.....
    failures:
    
    ---- [rmc] prusti/Selection_sort.rs stdout ----
    
    error: test failed: expected success, got failure
    status: exit status: 1
    command: "rmc" "--input" "/home/ubuntu/rmc-rebase-4/src/test/prusti/Selection_sort.rs" "--cbmc-args"
    stdout:
    ------------------------------------------
    thread 'rustc' panicked at 'not implemented: unsupported intrinsic: raw_eq
            in function <T as std::array::equality::SpecArrayEq<U, N>>::spec_eq', compiler/rustc_codegen_llvm/src/gotoc/intrinsic.rs:463:18
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
    
    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/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
    
    note: rustc 1.55.0-dev running on x86_64-unknown-linux-gnu
    
    note: compiler flags: -Z codegen-backend=gotoc -Z symbol-mangling-version=v0
    
    query stack during panic:
    end of query stack
    
    [RMC] current codegen item: codegen_function: <T as std::array::equality::SpecArrayEq<U, N>>::spec_eq
    
    RMC unexpectedly panicked during code generation.
    
    If you are seeing this message, please file an issue here instead of on the Rust compiler: https://github.com/model-checking/rmc/issues/new?labels=bug&template=bug_report.md
    
    
    ------------------------------------------
    stderr:
    ------------------------------------------
    
    ------------------------------------------
    
    
    ---- [rmc] prusti/Heapsort.rs stdout ----
    
    error: test failed: expected success, got failure
    status: exit status: 1
    command: "rmc" "--input" "/home/ubuntu/rmc-rebase-4/src/test/prusti/Heapsort.rs" "--cbmc-args"
    stdout:
    ------------------------------------------
    warning: function is never used: `heap_sort`
      --> /home/ubuntu/rmc-rebase-4/src/test/prusti/Heapsort.rs:21:4
       |
    21 | fn heap_sort<T, F>(array: &mut [T], order: F)
       |    ^^^^^^^^^
       |
       = note: `#[warn(dead_code)]` on by default
    
    thread 'rustc' panicked at 'not implemented: unsupported intrinsic: raw_eq
            in function <T as std::array::equality::SpecArrayEq<U, N>>::spec_eq', compiler/rustc_codegen_llvm/src/gotoc/intrinsic.rs:463:18
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
    
    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/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
    
    note: rustc 1.55.0-dev running on x86_64-unknown-linux-gnu
    
    note: compiler flags: -Z codegen-backend=gotoc -Z symbol-mangling-version=v0
    
    query stack during panic:
    end of query stack
    
    [RMC] current codegen item: codegen_function: <T as std::array::equality::SpecArrayEq<U, N>>::spec_eq
    
    RMC unexpectedly panicked during code generation.
    
    If you are seeing this message, please file an issue here instead of on the Rust compiler: https://github.com/model-checking/rmc/issues/new?labels=bug&template=bug_report.md
    warning: 1 warning emitted
    
    
    
    ------------------------------------------
    stderr:
    ------------------------------------------
    
    ------------------------------------------
    
    
    
    failures:
        [rmc] prusti/Heapsort.rs
        [rmc] prusti/Selection_sort.rs
    
    test result: FAILED. 6 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.15s
    
    Some tests failed in compiletest suite=prusti mode=rmc host=x86_64-unknown-linux-gnu target=x86_64-unknown-linux-gnu
    
    
    command did not execute successfully: "/home/ubuntu/rmc-rebase-4/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/home/ubuntu/rmc-rebase-4/build/x86_64-unknown-linux-gnu/stage1/lib" "--run-lib-path" "/home/ubuntu/rmc-rebase-4/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/home/ubuntu/rmc-rebase-4/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "--rmc-dir-path" "/home/ubuntu/rmc-rebase-4/scripts" "--src-base" "/home/ubuntu/rmc-rebase-4/src/test/prusti" "--build-base" "/home/ubuntu/rmc-rebase-4/build/x86_64-unknown-linux-gnu/test/prusti" "--stage-id" "stage1-x86_64-unknown-linux-gnu" "--suite" "prusti" "--mode" "rmc" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/home/ubuntu/rmc-rebase-4/build/x86_64-unknown-linux-gnu/ci-llvm/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0  -Lnative=/home/ubuntu/rmc-rebase-4/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0  -Lnative=/home/ubuntu/rmc-rebase-4/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python" "--lldb-python" "/usr/bin/python" "--quiet" "--llvm-version" "12.0.1-rust-1.55.0-nightly" "--llvm-components" "aarch64 aarch64asmparser aarch64codegen aarch64desc aarch64disassembler aarch64info aarch64utils aggressiveinstcombine all all-targets analysis arm armasmparser armcodegen armdesc armdisassembler arminfo armutils asmparser asmprinter avr avrasmparser avrcodegen avrdesc avrdisassembler avrinfo binaryformat bitreader bitstreamreader bitwriter bpf bpfasmparser bpfcodegen bpfdesc bpfdisassembler bpfinfo cfguard codegen core coroutines coverage debuginfocodeview debuginfodwarf debuginfogsym debuginfomsf debuginfopdb demangle dlltooldriver dwarflinker engine executionengine extensions filecheck frontendopenacc frontendopenmp fuzzmutate globalisel hellonew hexagon hexagonasmparser hexagoncodegen hexagondesc hexagondisassembler hexagoninfo instcombine instrumentation interfacestub interpreter ipo irreader jitlink libdriver lineeditor linker lto mc mca mcdisassembler mcjit mcparser mips mipsasmparser mipscodegen mipsdesc mipsdisassembler mipsinfo mirparser msp430 msp430asmparser msp430codegen msp430desc msp430disassembler msp430info native nativecodegen nvptx nvptxcodegen nvptxdesc nvptxinfo objcarcopts object objectyaml option orcjit orcshared orctargetprocess passes powerpc powerpcasmparser powerpccodegen powerpcdesc powerpcdisassembler powerpcinfo profiledata remarks riscv riscvasmparser riscvcodegen riscvdesc riscvdisassembler riscvinfo runtimedyld scalaropts selectiondag sparc sparcasmparser sparccodegen sparcdesc sparcdisassembler sparcinfo support symbolize systemz systemzasmparser systemzcodegen systemzdesc systemzdisassembler systemzinfo tablegen target textapi transformutils vectorize webassembly webassemblyasmparser webassemblycodegen webassemblydesc webassemblydisassembler webassemblyinfo windowsmanifest x86 x86asmparser x86codegen x86desc x86disassembler x86info xray" "--cc" "" "--cxx" "" "--cflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--channel" "dev"
    expected success, got: exit status: 1
    
    
    Build completed unsuccessfully in 0:00:38
    
  5. adpaco commented on Jul 15, 2021

    @adpaco
    ContributorAuthor

    Apparently, the Rust team has introduced a new intrinsic raw_eq here. Two of the prusti test cases are failing because of it and I think we will get even more in the rest of suites.

  6. adpaco commented on Jul 15, 2021

    @adpaco
    ContributorAuthor

    Pushed branch main-153-2021-07-15 which is expected to fail. Now I will try to get it fixed by writing the implementation for the new intrinsic (progress tracked in #330).

  7. adpaco commented on Jul 15, 2021

    @adpaco
    ContributorAuthor

    #330 has been merged and main-153-2021-07-15 is now the default branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Z-Sync Upstream

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions