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

Rebase to the llvm-project monorepo #57675

Merged
merged 8 commits into from Jan 26, 2019

Conversation

Projects
None yet
@cuviper
Copy link
Member

cuviper commented Jan 16, 2019

The new git submodule src/llvm-project is a monorepo replacing src/llvm
and src/tools/{clang,lld,lldb}. This also serves as a rebase for these
projects to the new 8.x branch from trunk.

The src/llvm-emscripten fork is unchanged for now.

r? @alexcrichton

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Jan 16, 2019

⚠️ Warning ⚠️

  • These commits modify submodules.
@alexcrichton

This comment has been minimized.

Copy link
Member

alexcrichton commented Jan 16, 2019

@bors: r+

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Jan 16, 2019

📌 Commit 50e655e has been approved by alexcrichton

@@ -47,6 +47,7 @@ pub mod libcoretest;
fn filter_dirs(path: &Path) -> bool {
let skip = [
"src/llvm",

This comment has been minimized.

@nikic

nikic Jan 16, 2019

Contributor

Probably can drop this line?

This comment has been minimized.

@cuviper

cuviper Jan 16, 2019

Author Member

I left the LLVM-related src/tools/* here too. My thought was to keep ignoring those paths in tidy, in case a developer still has those obsolete submodules in place. (For instance, they may be moving between branches and don't want to remove them.)

@Centril

This comment has been minimized.

Copy link
Contributor

Centril commented Jan 17, 2019

@bors p=3

@alexcrichton

This comment has been minimized.

Copy link
Member

alexcrichton commented Jan 17, 2019

@bors: r+

I've added two more commits from rust-lang/llvm-project#2

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Jan 17, 2019

📌 Commit aa9d564 has been approved by alexcrichton

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Jan 18, 2019

⌛️ Testing commit aa9d564 with merge 5862807...

bors added a commit that referenced this pull request Jan 18, 2019

Auto merge of #57675 - cuviper:llvm-monorepo, r=alexcrichton
Rebase to the llvm-project monorepo

The new git submodule src/llvm-project is a monorepo replacing src/llvm
and src/tools/{clang,lld,lldb}.  This also serves as a rebase for these
projects to the new 8.x branch from trunk.

The src/llvm-emscripten fork is unchanged for now.

r? @alexcrichton
@bors

This comment has been minimized.

Copy link
Contributor

bors commented Jan 18, 2019

💔 Test failed - status-appveyor

@nikic

This comment has been minimized.

Copy link
Contributor

nikic commented Jan 18, 2019

Not really clear to me why it fails to compile core from the AppVeyor log, but possibly this is because compiler-rt in https://github.com/rust-lang-nursery/compiler-builtins hasn't been synced with the LLVM version we're updating to here.

@cuviper

This comment has been minimized.

Copy link
Member Author

cuviper commented Jan 18, 2019

Hmm, I wonder if we could get compiler-builtins to just use the monorepo's compiler-rt, so they're always in sync. It would mean the src/llvm-project submodule will always be necessary to checkout, whereas it's currently optional if you're using external LLVM, but that's probably fine for most rustc developers.

Anyway, I do have a machine that I can boot into Windows, so I'll try to reproduce this...

@alexcrichton

This comment has been minimized.

Copy link
Member

alexcrichton commented Jan 18, 2019

I think it's probably also fine to just add an llvm-project in the compiler-builtins repository, we can deal with publishing far less to crates.io and git deps hopefully won't be too too common.

@cuviper

This comment has been minimized.

Copy link
Member Author

cuviper commented Jan 18, 2019

Oh, I forgot that compiler-builtins is now pulled from crates.io -- then yeah, it could control what it publishes from the monorepo.

Anyway, my first build as-is with MSVC cl was fine. I'm trying again with clang-cl as appveyor does.

@cuviper

This comment has been minimized.

Copy link
Member Author

cuviper commented Jan 18, 2019

Well, I can't reproduce the issue with clang-cl either. If anyone else has a ready Windows system to try it, I would appreciate some debugging help.

@retep998

This comment has been minimized.

Copy link
Member

retep998 commented Jan 21, 2019

Did you remember to --enable-profiler when trying to reproduce?

@cuviper

This comment has been minimized.

Copy link
Member Author

cuviper commented Jan 21, 2019

Yes, I just double-checked config.toml to make sure I had --enable-profiler. It doesn't look like the appveyor log reveals the full configure command, but I guess I could try reproducing more from the given configure output.

Another thing I noticed is appveyor's use of Windows Kits\10\include\10.0.14393.0, whereas I have 10.0.16299.0. I don't know if that would make a difference.

@nikic

This comment has been minimized.

Copy link
Contributor

nikic commented Jan 21, 2019

@cuviper Another thing to check would be whether you have assertions=true and verify-llvm-ir=true, as this is an alt build. Unfortunately the non-alt build was cancelled shortly before the point where one could see whether it also fails. Though I don't really see how either of those would result in a silent failure. (Then again, I would expect nothing to result in a silent failure, but here we are.)

@cuviper

This comment has been minimized.

Copy link
Member Author

cuviper commented Jan 21, 2019

OK, I matched more config settings, and this time got a dialog about a failed assertion:

image

(If there's a way to get windows/appveyor to show that on the console instead, we should...)

That assertion is:

class MDNode : public Metadata {
//...
  const MDOperand &getOperand(unsigned I) const {
    assert(I < NumOperands && "Out of range");
    return op_begin()[I];
  }

I'll try to get that in a debugger...

@glaubitz

This comment has been minimized.

Copy link
Contributor

glaubitz commented Jan 22, 2019

I have already tried building Rust against a newer LLVM version but that fails for me due to LLVM commit eaa73537bb48767af73b2aa8b03eef00d1f6f7c8:

cargo:warning=../rustllvm/RustWrapper.cpp: In function ‘LLVMOpaqueMetadata* LLVMRustDIBuilderCreateFunction(LLVMRustDIBuilderRef, LLVMMetadataRef, const char*, const char*, LLVMMetadataRef, unsigned int, LLVMMetadataRef, bool, bool, unsigned int, LLVMRustDIFlags, bool, LLVMValueRef, LLVMMetadataRef, LLVMMetadataRef)’:
cargo:warning=../rustllvm/RustWrapper.cpp:587:38: error: no matching function for call to ‘llvm::DIBuilder::createFunction(llvm::DIScope*, const char*&, const char*&, llvm::DIFile*, unsigned int&, llvm::DISubroutineType*, bool&, bool&, unsigned int&, llvm::DINode::DIFlags, bool&, llvm::DITemplateParameterArray&, llvm::DISubprogram*)’
cargo:warning=       unwrapDIPtr<DISubprogram>(Decl));
cargo:warning=                                      ^
cargo:warning=In file included from ../rustllvm/rustllvm.h:53,
cargo:warning=                 from ../rustllvm/RustWrapper.cpp:1:
cargo:warning=/local_scratch/glaubitz/M680x0-llvm/include/llvm/IR/DIBuilder.h:663:5: note: candidate: ‘llvm::DISubprogram* llvm::DIBuilder::createFunction(llvm::DIScope*, llvm::StringRef, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DISubroutineType*, unsigned int, llvm::DINode::DIFlags, llvm::DISubprogram::DISPFlags, llvm::DITemplateParameterArray, llvm::DISubprogram*, llvm::DITypeArray)’
cargo:warning=     createFunction(DIScope *Scope, StringRef Name, StringRef LinkageName,
cargo:warning=     ^~~~~~~~~~~~~~
cargo:warning=/local_scratch/glaubitz/M680x0-llvm/include/llvm/IR/DIBuilder.h:663:5: note:   candidate expects 12 arguments, 13 provided
cargo:warning=../rustllvm/RustWrapper.cpp: In function ‘void LLVMRustUnpackOptimizationDiagnostic(LLVMDiagnosticInfoRef, RustStringRef, LLVMOpaqueValue**, unsigned int*, unsigned int*, RustStringRef, RustStringRef)’:
cargo:warning=../rustllvm/RustWrapper.cpp:923:23: error: ‘class llvm::DiagnosticLocation’ has no member named ‘getFilename’; did you mean ‘getLine’?
cargo:warning=     FilenameOS << loc.getFilename();
cargo:warning=                       ^~~~~~~~~~~
cargo:warning=                       getLine

Are there already patches to update rustllvm for the new LLVM version?

Edit: Ah, it's actually part of this PR ;). Will give it a try.

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Jan 25, 2019

The job wasm32-unknown of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
[00:18:31] -- Looking for dlopen
[00:18:31] -- Looking for dlopen - found
[00:18:31] -- Looking for dladdr
[00:18:31] -- Looking for dladdr - not found
[00:18:31] -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC
[00:18:31] -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Failed
[00:18:31] -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
[00:18:32] -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Success
[00:18:32] -- Looking for __GLIBC__ - found
[00:18:32] -- Looking for sched_getaffinity
[00:18:32] -- Looking for sched_getaffinity - found
[00:18:32] -- Looking for CPU_COUNT
---
[00:19:07] [ 17%] Building CXX object lib/DebugInfo/Symbolize/CMakeFiles/LLVMSymbolize.dir/Symbolize.cpp.o
[00:19:07] [ 17%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/TypeDumpVisitor.cpp.o
[00:19:07] [ 17%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeFriend.cpp.o
[00:19:07] [ 17%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/TypeIndex.cpp.o
[00:19:07] Scanning dependencies of target LLVMTextAPI
[00:19:07] [ 17%] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/ELF/ELFStub.cpp.o
[00:19:08] [ 17%] Linking CXX static library ../../libLLVMSymbolize.a
[00:19:08] [ 17%] Built target LLVMSymbolize
[00:19:08] [ 17%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/TypeIndexDiscovery.cpp.o
[00:19:08] [ 17%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/TypeHashing.cpp.o
[00:19:08] [ 17%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/TypeHashing.cpp.o
[00:19:08] [ 17%] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/ELF/TBEHandler.cpp.o
[00:19:08] [ 17%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeManaged.cpp.o
[00:19:08] [ 17%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/TypeRecordHelpers.cpp.o
[00:19:08] [ 17%] Linking CXX static library ../libLLVMTextAPI.a
[00:19:08] [ 17%] Built target LLVMTextAPI
---
[00:19:40] [ 34%] Linking CXX static library ../libLLVMTarget.a
[00:19:40] [ 34%] Built target LLVMTarget
[00:19:40] [ 34%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/LoopAnalysisManager.cpp.o
[00:19:40] [ 34%] Building CXX object lib/Transforms/Scalar/CMakeFiles/LLVMScalarOpts.dir/TailRecursionElimination.cpp.o
[00:19:40] [ 34%] Building CXX object lib/Transforms/Scalar/CMakeFiles/LLVMScalarOpts.dir/WarnMissedTransforms.cpp.o
[00:19:40] [ 34%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/LoopInfo.cpp.o
[00:19:40] [ 34%] Linking CXX static library ../../libLLVMScalarOpts.a
[00:19:41] [ 34%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/LoopPass.cpp.o
[00:19:41] [ 34%] Building X86GenAsmWriter.inc...
---
[00:20:39] [ 47%] Building CXX object lib/CodeGen/GlobalISel/CMakeFiles/LLVMGlobalISel.dir/CombinerHelper.cpp.o
[00:20:39] [ 47%] Building CXX object lib/Bitcode/Reader/CMakeFiles/LLVMBitReader.dir/MetadataLoader.cpp.o
[00:20:40] [ 47%] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/Statepoint.cpp.o
[00:20:40] [ 47%] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/IndirectBrExpandPass.cpp.o
[00:20:40] [ 48%] Building CXX object lib/CodeGen/GlobalISel/CMakeFiles/LLVMGlobalISel.dir/GISelChangeObserver.cpp.o
[00:20:40] [ 48%] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/Type.cpp.o
[00:20:40] [ 48%] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/InlineSpiller.cpp.o
[00:20:40] [ 48%] Linking CXX static library ../../libLLVMBitReader.a
[00:20:40] [ 48%] Building CXX object lib/CodeGen/GlobalISel/CMakeFiles/LLVMGlobalISel.dir/IRTranslator.cpp.o
---
[00:22:17] [ 76%] Building CXX object lib/Target/MSP430/CMakeFiles/LLVMMSP430CodeGen.dir/MSP430TargetMachine.cpp.o
[00:22:17] [ 76%] Linking CXX static library ../../../libLLVMMSP430Info.a
[00:22:17] [ 76%] Building CXX object lib/Target/MSP430/MCTargetDesc/CMakeFiles/LLVMMSP430Desc.dir/MSP430ELFStreamer.cpp.o
[00:22:18] [ 76%] Built target LLVMMSP430Info
[00:22:18] Scanning dependencies of target LLVMMSP430Disassembler
[00:22:18] [ 76%] Building CXX object lib/Target/MSP430/Disassembler/CMakeFiles/LLVMMSP430Disassembler.dir/MSP430Disassembler.cpp.o
[00:22:18] [ 76%] Building CXX object lib/Target/MSP430/CMakeFiles/LLVMMSP430CodeGen.dir/MSP430AsmPrinter.cpp.o
[00:22:18] [ 76%] Linking CXX static library ../../../libLLVMMSP430AsmParser.a
[00:22:18] [ 76%] Linking CXX static library ../../../libLLVMMSP430Disassembler.a
[00:22:18] [ 76%] Built target LLVMMSP430AsmParser
---
[00:22:40] [ 85%] Building CXX object lib/Target/RISCV/InstPrinter/CMakeFiles/LLVMRISCVAsmPrinter.dir/RISCVInstPrinter.cpp.o
[00:22:40] [ 85%] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVInstrInfo.cpp.o
[00:22:40] [ 86%] Linking CXX static library ../../../libLLVMRISCVAsmPrinter.a
[00:22:40] [ 86%] Built target LLVMRISCVAsmPrinter
[00:22:40] [ 86%] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblyMemIntrinsicResults.cpp.o
[00:22:40] Scanning dependencies of target LLVMRISCVDesc
[00:22:40] [ 86%] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVAsmBackend.cpp.o
[00:22:41] [ 86%] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVISelDAGToDAG.cpp.o
[00:22:41] [ 86%] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVELFObjectWriter.cpp.o
---
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CodeGen/GlobalISel/Legalizer.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CodeGen/GlobalISel/Combiner.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CodeGen/GlobalISel/GISelChangeObserver.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CodeGen/GlobalISel/Utils.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CodeGen/GlobalISel/Types.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CodeGen/GlobalISel/CSEMIRBuilder.h
---
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/Transforms/Scalar/LoopLoadElimination.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/Transforms/Scalar/LoopDataPrefetch.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/Transforms/Scalar/GuardWidening.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/Transforms/Scalar/SimpleLoopUnswitch.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/Transforms/Scalar/MakeGuardsExplicit.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/Transforms/Scalar/SROA.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/Transforms/Scalar/SROA.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/Transforms/Scalar/WarnMissedTransforms.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/Transforms/Scalar/DeadStoreElimination.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/Transforms/Scalar/LoopRotation.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/Transforms/Scalar/TailRecursionElimination.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/Transforms/Scalar/CorrelatedValuePropagation.h
---
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/LTO/legacy/UpdateCompilerUsed.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/LTO/legacy/LTOModule.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/LTO/legacy/LTOCodeGenerator.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/LTO/SummaryBasedOptimizations.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/LTO/LTOBackend.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/LTO/LTO.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/LTO/Caching.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/Config
---
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/ProfileData/Coverage
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/ProfileData/Coverage/CoverageMappingWriter.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/ProfileData/Coverage/CoverageMappingReader.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/TextAPI
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/TextAPI/ELF
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/TextAPI/ELF/ELFStub.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/TextAPI/ELF/TBEHandler.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/WindowsResource/ResourceProcessor.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/WindowsResource/ResourceScriptTokenList.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/WindowsResource/ResourceScriptToken.h
[00:23:26] -- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/Passes
---
[00:58:27] failures:
[00:58:27] 
[00:58:27] ---- [ui] ui/borrowck/borrowck-migrate-to-nll.rs#edition stdout ----
[00:58:27] 
[00:58:27] error in revision `edition`: test run failed!
[00:58:27] status: exit code: 1
[00:58:27] command: "/node-v9.2.0-linux-x64/bin/node" "/checkout/src/etc/wasm32-shim.js" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/borrowck/borrowck-migrate-to-nll.edition/a.wasm"
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] ------------------------------------------
[00:58:27] stderr:
[00:58:27] stderr:
[00:58:27] ------------------------------------------
[00:58:27] /checkout/src/etc/wasm32-shim.js:123
[00:58:27] let instance = new WebAssembly.Instance(m, imports);
[00:58:27] 
[00:58:27] 
[00:58:27] LinkError: WebAssembly Instantiation: Import #0 module="env" function="llvm.wasm.grow.memory.i32" error: function import requires a callable
[00:58:27]     at Object.<anonymous> (/checkout/src/etc/wasm32-shim.js:123:16)
[00:58:27]     at Module._compile (module.js:641:30)
[00:58:27]     at Object.Module._extensions..js (module.js:652:10)
[00:58:27]     at Module.load (module.js:560:32)
[00:58:27]     at tryModuleLoad (module.js:503:12)
[00:58:27]     at Function.Module._load (module.js:495:3)
[00:58:27]     at Function.Module.runMain (module.js:682:10)
[00:58:27]     at startup (bootstrap_node.js:191:16)
[00:58:27]     at bootstrap_node.js:613:3
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] thread '[ui] ui/borrowck/borrowck-migrate-to-nll.rs#edition' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[00:58:27] note: Run with `RUST_BACKTRACE=1` for a backtrace.
[00:58:27] note: Run with `RUST_BACKTRACE=1` for a backtrace.
[00:58:27] 
[00:58:27] ---- [ui] ui/borrowck/borrowck-migrate-to-nll.rs#zflag stdout ----
[00:58:27] 
[00:58:27] error in revision `zflag`: test run failed!
[00:58:27] status: exit code: 1
[00:58:27] command: "/node-v9.2.0-linux-x64/bin/node" "/checkout/src/etc/wasm32-shim.js" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/borrowck/borrowck-migrate-to-nll.zflag/a.wasm"
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] ------------------------------------------
[00:58:27] stderr:
[00:58:27] stderr:
[00:58:27] ------------------------------------------
[00:58:27] /checkout/src/etc/wasm32-shim.js:123
[00:58:27] let instance = new WebAssembly.Instance(m, imports);
[00:58:27] 
[00:58:27] 
[00:58:27] LinkError: WebAssembly Instantiation: Import #0 module="env" function="llvm.wasm.grow.memory.i32" error: function import requires a callable
[00:58:27]     at Object.<anonymous> (/checkout/src/etc/wasm32-shim.js:123:16)
[00:58:27]     at Module._compile (module.js:641:30)
[00:58:27]     at Object.Module._extensions..js (module.js:652:10)
[00:58:27]     at Module.load (module.js:560:32)
[00:58:27]     at tryModuleLoad (module.js:503:12)
[00:58:27]     at Function.Module._load (module.js:495:3)
[00:58:27]     at Function.Module.runMain (module.js:682:10)
[00:58:27]     at startup (bootstrap_node.js:191:16)
[00:58:27]     at bootstrap_node.js:613:3
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] thread '[ui] ui/borrowck/borrowck-migrate-to-nll.rs#zflag' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[00:58:27] 
[00:58:27] 
[00:58:27] ---- [ui] ui/borrowck/issue-51348-multi-ref-mut-in-guard.rs stdout ----
[00:58:27] 
[00:58:27] error: test run failed!
[00:58:27] status: exit code: 1
[00:58:27] command: "/node-v9.2.0-linux-x64/bin/node" "/checkout/src/etc/wasm32-shim.js" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/borrowck/issue-51348-multi-ref-mut-in-guard/a.wasm"
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] ------------------------------------------
[00:58:27] stderr:
[00:58:27] stderr:
[00:58:27] ------------------------------------------
[00:58:27] /checkout/src/etc/wasm32-shim.js:123
[00:58:27] let instance = new WebAssembly.Instance(m, imports);
[00:58:27] 
[00:58:27] 
[00:58:27] LinkError: WebAssembly Instantiation: Import #0 module="env" function="llvm.wasm.grow.memory.i32" error: function import requires a callable
[00:58:27]     at Object.<anonymous> (/checkout/src/etc/wasm32-shim.js:123:16)
[00:58:27]     at Module._compile (module.js:641:30)
[00:58:27]     at Object.Module._extensions..js (module.js:652:10)
[00:58:27]     at Module.load (module.js:560:32)
[00:58:27]     at tryModuleLoad (module.js:503:12)
[00:58:27]     at Function.Module._load (module.js:495:3)
[00:58:27]     at Function.Module.runMain (module.js:682:10)
[00:58:27]     at startup (bootstrap_node.js:191:16)
[00:58:27]     at bootstrap_node.js:613:3
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] thread '[ui] ui/borrowck/issue-51348-multi-ref-mut-in-guard.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[00:58:27] 
[00:58:27] 
[00:58:27] ---- [ui] ui/borrowck/issue-52967-edition-2018-needs-two-phase-borrows.rs#ast stdout ----
[00:58:27] 
[00:58:27] error in revision `ast`: test run failed!
[00:58:27] status: exit code: 1
[00:58:27] command: "/node-v9.2.0-linux-x64/bin/node" "/checkout/src/etc/wasm32-shim.js" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/borrowck/issue-52967-edition-2018-needs-two-phase-borrows.ast/a.wasm"
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] ------------------------------------------
[00:58:27] stderr:
[00:58:27] stderr:
[00:58:27] ------------------------------------------
[00:58:27] /checkout/src/etc/wasm32-shim.js:123
[00:58:27] let instance = new WebAssembly.Instance(m, imports);
[00:58:27] 
[00:58:27] 
[00:58:27] LinkError: WebAssembly Instantiation: Import #0 module="env" function="llvm.wasm.grow.memory.i32" error: function import requires a callable
[00:58:27]     at Object.<anonymous> (/checkout/src/etc/wasm32-shim.js:123:16)
[00:58:27]     at Module._compile (module.js:641:30)
[00:58:27]     at Object.Module._extensions..js (module.js:652:10)
[00:58:27]     at Module.load (module.js:560:32)
[00:58:27]     at tryModuleLoad (module.js:503:12)
[00:58:27]     at Function.Module._load (module.js:495:3)
[00:58:27]     at Function.Module.runMain (module.js:682:10)
[00:58:27]     at startup (bootstrap_node.js:191:16)
[00:58:27]     at bootstrap_node.js:613:3
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] thread '[ui] ui/borrowck/issue-52967-edition-2018-needs-two-phase-borrows.rs#ast' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[00:58:27] 
[00:58:27] 
[00:58:27] ---- [ui] ui/borrowck/issue-52967-edition-2018-needs-two-phase-borrows.rs#zflags stdout ----
[00:58:27] 
[00:58:27] error in revision `zflags`: test run failed!
[00:58:27] status: exit code: 1
[00:58:27] command: "/node-v9.2.0-linux-x64/bin/node" "/checkout/src/etc/wasm32-shim.js" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/borrowck/issue-52967-edition-2018-needs-two-phase-borrows.zflags/a.wasm"
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] ------------------------------------------
[00:58:27] stderr:
[00:58:27] stderr:
[00:58:27] ------------------------------------------
[00:58:27] /checkout/src/etc/wasm32-shim.js:123
[00:58:27] let instance = new WebAssembly.Instance(m, imports);
[00:58:27] 
[00:58:27] 
[00:58:27] LinkError: WebAssembly Instantiation: Import #0 module="env" function="llvm.wasm.grow.memory.i32" error: function import requires a callable
[00:58:27]     at Object.<anonymous> (/checkout/src/etc/wasm32-shim.js:123:16)
[00:58:27]     at Module._compile (module.js:641:30)
[00:58:27]     at Object.Module._extensions..js (module.js:652:10)
[00:58:27]     at Module.load (module.js:560:32)
[00:58:27]     at tryModuleLoad (module.js:503:12)
[00:58:27]     at Function.Module._load (module.js:495:3)
[00:58:27]     at Function.Module.runMain (module.js:682:10)
[00:58:27]     at startup (bootstrap_node.js:191:16)
[00:58:27]     at bootstrap_node.js:613:3
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] thread '[ui] ui/borrowck/issue-52967-edition-2018-needs-two-phase-borrows.rs#zflags' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[00:58:27] 
[00:58:27] 
[00:58:27] ---- [ui] ui/borrowck/issue-52967-edition-2018-needs-two-phase-borrows.rs#edition stdout ----
[00:58:27] 
[00:58:27] error in revision `edition`: test run failed!
[00:58:27] status: exit code: 1
[00:58:27] command: "/node-v9.2.0-linux-x64/bin/node" "/checkout/src/etc/wasm32-shim.js" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/borrowck/issue-52967-edition-2018-needs-two-phase-borrows.edition/a.wasm"
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] ------------------------------------------
[00:58:27] stderr:
[00:58:27] stderr:
[00:58:27] ------------------------------------------
[00:58:27] /checkout/src/etc/wasm32-shim.js:123
[00:58:27] let instance = new WebAssembly.Instance(m, imports);
[00:58:27] 
[00:58:27] 
[00:58:27] LinkError: WebAssembly Instantiation: Import #0 module="env" function="llvm.wasm.grow.memory.i32" error: function import requires a callable
[00:58:27]     at Object.<anonymous> (/checkout/src/etc/wasm32-shim.js:123:16)
[00:58:27]     at Module._compile (module.js:641:30)
[00:58:27]     at Object.Module._extensions..js (module.js:652:10)
[00:58:27]     at Module.load (module.js:560:32)
[00:58:27]     at tryModuleLoad (module.js:503:12)
[00:58:27]     at Function.Module._load (module.js:495:3)
[00:58:27]     at Function.Module.runMain (module.js:682:10)
[00:58:27]     at startup (bootstrap_node.js:191:16)
[00:58:27]     at bootstrap_node.js:613:3
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] thread '[ui] ui/borrowck/issue-52967-edition-2018-needs-two-phase-borrows.rs#edition' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[00:58:27] 
[00:58:27] 
[00:58:27] ---- [ui] ui/borrowck/two-phase-method-receivers.rs stdout ----
[00:58:27] 
[00:58:27] error: test run failed!
[00:58:27] status: exit code: 1
[00:58:27] command: "/node-v9.2.0-linux-x64/bin/node" "/checkout/src/etc/wasm32-shim.js" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/borrowck/two-phase-method-receivers/a.wasm"
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] ------------------------------------------
[00:58:27] stderr:
[00:58:27] stderr:
[00:58:27] ------------------------------------------
[00:58:27] /checkout/src/etc/wasm32-shim.js:123
[00:58:27] let instance = new WebAssembly.Instance(m, imports);
[00:58:27] 
[00:58:27] 
[00:58:27] LinkError: WebAssembly Instantiation: Import #0 module="env" function="llvm.wasm.grow.memory.i32" error: function import requires a callable
[00:58:27]     at Object.<anonymous> (/checkout/src/etc/wasm32-shim.js:123:16)
[00:58:27]     at Module._compile (module.js:641:30)
[00:58:27]     at Object.Module._extensions..js (module.js:652:10)
[00:58:27]     at Module.load (module.js:560:32)
[00:58:27]     at tryModuleLoad (module.js:503:12)
[00:58:27]     at Function.Module._load (module.js:495:3)
[00:58:27]     at Function.Module.runMain (module.js:682:10)
[00:58:27]     at startup (bootstrap_node.js:191:16)
[00:58:27]     at bootstrap_node.js:613:3
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] thread '[ui] ui/borrowck/two-phase-method-receivers.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[00:58:27] 
[00:58:27] 
[00:58:27] ---- [ui] ui/borrowck/two-phase-multiple-activations.rs stdout ----
[00:58:27] 
[00:58:27] error: test run failed!
[00:58:27] status: exit code: 1
[00:58:27] command: "/node-v9.2.0-linux-x64/bin/node" "/checkout/src/etc/wasm32-shim.js" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/borrowck/two-phase-multiple-activations/a.wasm"
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] ------------------------------------------
[00:58:27] stderr:
[00:58:27] stderr:
[00:58:27] ------------------------------------------
[00:58:27] /checkout/src/etc/wasm32-shim.js:123
[00:58:27] let instance = new WebAssembly.Instance(m, imports);
[00:58:27] 
[00:58:27] 
[00:58:27] LinkError: WebAssembly Instantiation: Import #0 module="env" function="llvm.wasm.grow.memory.i32" error: function import requires a callable
[00:58:27]     at Object.<anonymous> (/checkout/src/etc/wasm32-shim.js:123:16)
[00:58:27]     at Module._compile (module.js:641:30)
[00:58:27]     at Object.Module._extensions..js (module.js:652:10)
[00:58:27]     at Module.load (module.js:560:32)
[00:58:27]     at tryModuleLoad (module.js:503:12)
[00:58:27]     at Function.Module._load (module.js:495:3)
[00:58:27]     at Function.Module.runMain (module.js:682:10)
[00:58:27]     at startup (bootstrap_node.js:191:16)
[00:58:27]     at bootstrap_node.js:613:3
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] thread '[ui] ui/borrowck/two-phase-multiple-activations.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[00:58:27] 
[00:58:27] 
[00:58:27] ---- [ui] ui/coherence/re-rebalance-coherence.rs stdout ----
[00:58:27] 
[00:58:27] error: test run failed!
[00:58:27] status: exit code: 1
[00:58:27] command: "/node-v9.2.0-linux-x64/bin/node" "/checkout/src/etc/wasm32-shim.js" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/coherence/re-rebalance-coherence/a.wasm"
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] ------------------------------------------
[00:58:27] stderr:
[00:58:27] stderr:
[00:58:27] ------------------------------------------
[00:58:27] /checkout/src/etc/wasm32-shim.js:123
[00:58:27] let instance = new WebAssembly.Instance(m, imports);
[00:58:27] 
[00:58:27] 
[00:58:27] LinkError: WebAssembly Instantiation: Import #0 module="env" function="llvm.wasm.grow.memory.i32" error: function import requires a callable
[00:58:27]     at Object.<anonymous> (/checkout/src/etc/wasm32-shim.js:123:16)
[00:58:27]     at Module._compile (module.js:641:30)
[00:58:27]     at Object.Module._extensions..js (module.js:652:10)
[00:58:27]     at Module.load (module.js:560:32)
[00:58:27]     at tryModuleLoad (module.js:503:12)
[00:58:27]     at Function.Module._load (module.js:495:3)
[00:58:27]     at Function.Module.runMain (module.js:682:10)
[00:58:27]     at startup (bootstrap_node.js:191:16)
[00:58:27]     at bootstrap_node.js:613:3
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] thread '[ui] ui/coherence/re-rebalance-coherence.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[00:58:27] 
[00:58:27] 
[00:58:27] ---- [ui] ui/consts/const-eval/const_transmute.rs stdout ----
[00:58:27] 
[00:58:27] error: test run failed!
[00:58:27] status: exit code: 1
[00:58:27] command: "/node-v9.2.0-linux-x64/bin/node" "/checkout/src/etc/wasm32-shim.js" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/consts/const-eval/const_transmute/a.wasm"
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] ------------------------------------------
[00:58:27] stderr:
[00:58:27] stderr:
[00:58:27] ------------------------------------------
[00:58:27] /checkout/src/etc/wasm32-shim.js:123
[00:58:27] let instance = new WebAssembly.Instance(m, imports);
[00:58:27] 
[00:58:27] 
[00:58:27] LinkError: WebAssembly Instantiation: Import #0 module="env" function="llvm.wasm.grow.memory.i32" error: function import requires a callable
[00:58:27]     at Object.<anonymous> (/checkout/src/etc/wasm32-shim.js:123:16)
[00:58:27]     at Module._compile (module.js:641:30)
[00:58:27]     at Object.Module._extensions..js (module.js:652:10)
[00:58:27]     at Module.load (module.js:560:32)
[00:58:27]     at tryModuleLoad (module.js:503:12)
[00:58:27]     at Function.Module._load (module.js:495:3)
[00:58:27]     at Function.Module.runMain (module.js:682:10)
[00:58:27]     at startup (bootstrap_node.js:191:16)
[00:58:27]     at bootstrap_node.js:613:3
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] thread '[ui] ui/consts/const-eval/const_transmute.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[00:58:27] 
[00:58:27] 
[00:58:27] ---- [ui] ui/consts/const-eval/enum_discr.rs stdout ----
[00:58:27] 
[00:58:27] error: test run failed!
[00:58:27] status: exit code: 1
[00:58:27] command: "/node-v9.2.0-linux-x64/bin/node" "/checkout/src/etc/wasm32-shim.js" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/consts/const-eval/enum_discr/a.wasm"
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] ------------------------------------------
[00:58:27] stderr:
[00:58:27] stderr:
[00:58:27] ------------------------------------------
[00:58:27] /checkout/src/etc/wasm32-shim.js:123
[00:58:27] let instance = new WebAssembly.Instance(m, imports);
[00:58:27] 
[00:58:27] 
[00:58:27] LinkError: WebAssembly Instantiation: Import #0 module="env" function="llvm.wasm.grow.memory.i32" error: function import requires a callable
[00:58:27]     at Object.<anonymous> (/checkout/src/etc/wasm32-shim.js:123:16)
[00:58:27]     at Module._compile (module.js:641:30)
[00:58:27]     at Object.Module._extensions..js (module.js:652:10)
[00:58:27]     at Module.load (module.js:560:32)
[00:58:27]     at tryModuleLoad (module.js:503:12)
[00:58:27]     at Function.Module._load (module.js:495:3)
[00:58:27]     at Function.Module.runMain (module.js:682:10)
[00:58:27]     at startup (bootstrap_node.js:191:16)
[00:58:27]     at bootstrap_node.js:613:3
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] thread '[ui] ui/consts/const-eval/enum_discr.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[00:58:27] 
[00:58:27] 
[00:58:27] ---- [ui] ui/consts/const-eval/strlen.rs stdout ----
[00:58:27] 
[00:58:27] error: test run failed!
[00:58:27] status: exit code: 1
[00:58:27] command: "/node-v9.2.0-linux-x64/bin/node" "/checkout/src/etc/wasm32-shim.js" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/consts/const-eval/strlen/a.wasm"
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] ------------------------------------------
[00:58:27] stderr:
[00:58:27] stderr:
[00:58:27] ------------------------------------------
[00:58:27] /checkout/src/etc/wasm32-shim.js:123
[00:58:27] let instance = new WebAssembly.Instance(m, imports);
[00:58:27] 
[00:58:27] 
[00:58:27] LinkError: WebAssembly Instantiation: Import #0 module="env" function="llvm.wasm.grow.memory.i32" error: function import requires a callable
[00:58:27]     at Object.<anonymous> (/checkout/src/etc/wasm32-shim.js:123:16)
[00:58:27]     at Module._compile (module.js:641:30)
[00:58:27]     at Object.Module._extensions..js (module.js:652:10)
[00:58:27]     at Module.load (module.js:560:32)
[00:58:27]     at tryModuleLoad (module.js:503:12)
[00:58:27]     at Function.Module._load (module.js:495:3)
[00:58:27]     at Function.Module.runMain (module.js:682:10)
[00:58:27]     at startup (bootstrap_node.js:191:16)
[00:58:27]     at bootstrap_node.js:613:3
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] thread '[ui] ui/consts/const-eval/strlen.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[00:58:27] 
[00:58:27] 
[00:58:27] ---- [ui] ui/consts/const_let_eq.rs stdout ----
[00:58:27] 
[00:58:27] error: test run failed!
[00:58:27] status: exit code: 1
[00:58:27] command: "/node-v9.2.0-linux-x64/bin/node" "/checkout/src/etc/wasm32-shim.js" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/consts/const_let_eq/a.wasm"
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] ------------------------------------------
[00:58:27] stderr:
[00:58:27] stderr:
[00:58:27] ------------------------------------------
[00:58:27] /checkout/src/etc/wasm32-shim.js:123
[00:58:27] let instance = new WebAssembly.Instance(m, imports);
[00:58:27] 
[00:58:27] 
[00:58:27] LinkError: WebAssembly Instantiation: Import #0 module="env" function="llvm.wasm.grow.memory.i32" error: function import requires a callable
[00:58:27]     at Object.<anonymous> (/checkout/src/etc/wasm32-shim.js:123:16)
[00:58:27]     at Module._compile (module.js:641:30)
[00:58:27]     at Object.Module._extensions..js (module.js:652:10)
[00:58:27]     at Module.load (module.js:560:32)
[00:58:27]     at tryModuleLoad (module.js:503:12)
[00:58:27]     at Function.Module._load (module.js:495:3)
[00:58:27]     at Function.Module.runMain (module.js:682:10)
[00:58:27]     at startup (bootstrap_node.js:191:16)
[00:58:27]     at bootstrap_node.js:613:3
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] thread '[ui] ui/consts/const_let_eq.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[00:58:27] 
[00:58:27] 
[00:58:27] ---- [ui] ui/consts/std/iter.rs stdout ----
[00:58:27] 
[00:58:27] error: test run failed!
[00:58:27] status: exit code: 1
[00:58:27] command: "/node-v9.2.0-linux-x64/bin/node" "/checkout/src/etc/wasm32-shim.js" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/consts/std/iter/a.wasm"
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] ------------------------------------------
[00:58:27] stderr:
[00:58:27] stderr:
[00:58:27] ------------------------------------------
[00:58:27] /checkout/src/etc/wasm32-shim.js:123
[00:58:27] let instance = new WebAssembly.Instance(m, imports);
[00:58:27] 
[00:58:27] 
[00:58:27] LinkError: WebAssembly Instantiation: Import #0 module="env" function="llvm.wasm.grow.memory.i32" error: function import requires a callable
[00:58:27]     at Object.<anonymous> (/checkout/src/etc/wasm32-shim.js:123:16)
[00:58:27]     at Module._compile (module.js:641:30)
[00:58:27]     at Object.Module._extensions..js (module.js:652:10)
[00:58:27]     at Module.load (module.js:560:32)
[00:58:27]     at tryModuleLoad (module.js:503:12)
[00:58:27]     at Function.Module._load (module.js:495:3)
[00:58:27]     at Function.Module.runMain (module.js:682:10)
[00:58:27]     at startup (bootstrap_node.js:191:16)
[00:58:27]     at bootstrap_node.js:613:3
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] thread '[ui] ui/consts/std/iter.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[00:58:27] 
[00:58:27] 
[00:58:27] ---- [ui] ui/consts/std/char.rs stdout ----
[00:58:27] 
[00:58:27] error: test run failed!
[00:58:27] status: exit code: 1
[00:58:27] command: "/node-v9.2.0-linux-x64/bin/node" "/checkout/src/etc/wasm32-shim.js" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/consts/std/char/a.wasm"
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] ------------------------------------------
[00:58:27] stderr:
[00:58:27] stderr:
[00:58:27] ------------------------------------------
[00:58:27] /checkout/src/etc/wasm32-shim.js:123
[00:58:27] let instance = new WebAssembly.Instance(m, imports);
[00:58:27] 
[00:58:27] 
[00:58:27] LinkError: WebAssembly Instantiation: Import #0 module="env" function="llvm.wasm.grow.memory.i32" error: function import requires a callable
[00:58:27]     at Object.<anonymous> (/checkout/src/etc/wasm32-shim.js:123:16)
[00:58:27]     at Module._compile (module.js:641:30)
[00:58:27]     at Object.Module._extensions..js (module.js:652:10)
[00:58:27]     at Module.load (module.js:560:32)
[00:58:27]     at tryModuleLoad (module.js:503:12)
[00:58:27]     at Function.Module._load (module.js:495:3)
[00:58:27]     at Function.Module.runMain (module.js:682:10)
[00:58:27]     at startup (bootstrap_node.js:191:16)
[00:58:27]     at bootstrap_node.js:613:3
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] thread '[ui] ui/consts/std/char.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[00:58:27] 
[00:58:27] 
[00:58:27] ---- [ui] ui/custom-test-frameworks-simple.rs stdout ----
[00:58:27] 
[00:58:27] error: test run failed!
[00:58:27] status: exit code: 1
[00:58:27] command: "/node-v9.2.0-linux-x64/bin/node" "/checkout/src/etc/wasm32-shim.js" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/custom-test-frameworks-simple/a.wasm"
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] ------------------------------------------
[00:58:27] stderr:
[00:58:27] stderr:
[00:58:27] ------------------------------------------
[00:58:27] /checkout/src/etc/wasm32-shim.js:123
[00:58:27] let instance = new WebAssembly.Instance(m, imports);
[00:58:27] 
[00:58:27] 
[00:58:27] LinkError: WebAssembly Instantiation: Import #0 module="env" function="llvm.wasm.grow.memory.i32" error: function import requires a callable
[00:58:27]     at Object.<anonymous> (/checkout/src/etc/wasm32-shim.js:123:16)
[00:58:27]     at Module._compile (module.js:641:30)
[00:58:27]     at Object.Module._extensions..js (module.js:652:10)
[00:58:27]     at Module.load (module.js:560:32)
[00:58:27]     at tryModuleLoad (module.js:503:12)
[00:58:27]     at Function.Module._load (module.js:495:3)
[00:58:27]     at Function.Module.runMain (module.js:682:10)
[00:58:27]     at startup (bootstrap_node.js:191:16)
[00:58:27]     at bootstrap_node.js:613:3
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] thread '[ui] ui/custom-test-frameworks-simple.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[00:58:27] 
[00:58:27] 
[00:58:27] ---- [ui] ui/custom_test_frameworks/full.rs stdout ----
[00:58:27] 
[00:58:27] error: test run failed!
[00:58:27] status: exit code: 1
[00:58:27] command: "/node-v9.2.0-linux-x64/bin/node" "/checkout/src/etc/wasm32-shim.js" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/custom_test_frameworks/full/a.wasm"
[00:58:27] ------------------------------------------
[00:58:27] 
[00:58:27] ------------------------------------------
[00:58:27] stderr:
[00:58:27] stderr:
[00:58:27] ------------------------------------------
[00:58:27] /checkout/src/etc/wasm32-shim.js:123
[00:58:27] let instance = new WebAssembly.Instance(m, imports);
[00:58:27] 
[00:58:27] 
[00:58:27] LinkError: WebAssembly Instantiation: Import #0 module="env" function="llvm.wasm.grow.memory.i32" error: function import requires a callable
[00:58:27]     at Object.<anonymous> (/checkout/src/etc/wasm32-shim.js:123:16)
---
[00:58:28] test result: FAILED. 5183 passed; 89 failed; 58 ignored; 0 measured; 0 filtered out
[00:58:28] 
[00:58:28] 
[00:58:28] 
[00:58:28] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-unknown/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/ui" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui" "--stage-id" "stage2-wasm32-unknown-unknown" "--mode" "ui" "--target" "wasm32-unknown-unknown" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/build/bin/FileCheck" "--nodejs" "/node-v9.2.0-linux-x64/bin/node" "--host-rustcflags" "-Crpath -O -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Zunstable-options  -Lnative=/checkout/obj/build/wasm32-unknown-unknown/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--llvm-version" "8.0.0\n" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
[00:58:28] 
[00:58:28] 
[00:58:28] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test --target wasm32-unknown-unknown src/test/run-make src/test/ui src/test/run-pass src/test/compile-fail src/test/mir-opt src/test/codegen-units src/libcore
[00:58:28] Build completed unsuccessfully in 0:55:36
---
travis_time:end:131fceec:start=1548392288991768484,finish=1548392289001401918,duration=9633434
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:035c6bd6
$ ln -s . checkout && for CORE in obj/cores/core.*; do EXE=$(echo $CORE | sed 's|obj/cores/core\.[0-9]*\.!checkout!\(.*\)|\1|;y|!|/|'); if [ -f "$EXE" ]; then printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" "$CORE"; gdb --batch -q -c "$CORE" "$EXE" -iex 'set auto-load off' -iex 'dir src/' -iex 'set sysroot .' -ex bt -ex q; echo travis_fold":"end:crashlog; fi; done || true
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:221f95b0
travis_time:start:221f95b0
$ cat ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers || true
cat: ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers: No such file or directory
travis_fold:end:after_failure.5
travis_fold:start:after_failure.6
travis_time:start:227883a8
$ dmesg | grep -i kill

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@cuviper

This comment has been minimized.

Copy link
Member Author

cuviper commented Jan 25, 2019

@nikic

This comment has been minimized.

Copy link
Contributor

nikic commented Jan 25, 2019

Based on the date, the new intrinsic names would be in LLVM 7 but not LLVM 6. Is wasm supposed to be compatible with system LLVM at all?

@alexcrichton

This comment has been minimized.

Copy link
Member

alexcrichton commented Jan 25, 2019

I believe that usage came from an old version of dlmalloc, so I published a new version with that commit and this is hopefully good to go!

@bors: r+

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Jan 25, 2019

📌 Commit fe93b3d has been approved by alexcrichton

@@ -1813,7 +1813,7 @@ name = "rand_chacha"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"rand_core 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_core 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",

This comment has been minimized.

@mati865

mati865 Jan 25, 2019

Contributor

Why would upgrading dlmalloc downgrade rand_core?

This comment has been minimized.

@cuviper

cuviper Jan 25, 2019

Author Member

Both of those rand_core versions are already in the dependency tree, and rand_chacha requires rand_core >= 0.2, < 0.4. I guess it's just a quirk of how cargo resolved this when making the other change. But rand_core 0.2.2 just re-exports from 0.3 anyway, so it doesn't really matter.

cuviper and others added some commits Jan 16, 2019

Rebase to the llvm-project monorepo
The new git submodule src/llvm-project is a monorepo replacing src/llvm
and src/tools/{clang,lld,lldb}.  This also serves as a rebase for these
projects to the new 8.x branch from trunk.

The src/llvm-emscripten fork is unchanged for now.
Update `dlmalloc` to 0.1.2
Remove usage of an old and removed wasm intrinsic

@cuviper cuviper force-pushed the cuviper:llvm-monorepo branch from fe93b3d to 059ed4f Jan 26, 2019

@cuviper

This comment has been minimized.

Copy link
Member Author

cuviper commented Jan 26, 2019

I rebased to avoid Cargo.lock conflicts.

@bors r=alexcrichton

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Jan 26, 2019

📌 Commit 059ed4f has been approved by alexcrichton

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Jan 26, 2019

⌛️ Testing commit 059ed4f with merge 9df043b...

bors added a commit that referenced this pull request Jan 26, 2019

Auto merge of #57675 - cuviper:llvm-monorepo, r=alexcrichton
Rebase to the llvm-project monorepo

The new git submodule src/llvm-project is a monorepo replacing src/llvm
and src/tools/{clang,lld,lldb}.  This also serves as a rebase for these
projects to the new 8.x branch from trunk.

The src/llvm-emscripten fork is unchanged for now.

r? @alexcrichton
@bors

This comment has been minimized.

Copy link
Contributor

bors commented Jan 26, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: alexcrichton
Pushing 9df043b to master...

@bors bors merged commit 059ed4f into rust-lang:master Jan 26, 2019

1 check passed

homu Test successful
Details
@alexcrichton

This comment has been minimized.

Copy link
Member

alexcrichton commented Jan 26, 2019

🎊

@nikic

This comment has been minimized.

Copy link
Contributor

nikic commented Feb 1, 2019

Perf results are in: https://perf.rust-lang.org/compare.html?start=37d51aa8f3bca674a50eb7c6204deed6fb4dff80&end=9df043b543bb9bc3e50bc243811c58d52a3aefea&stat=instructions:u

Looks like mostly minor improvements for simple crates / incremental. Only one regression in kekkac-opt that might be worth taking a glance at.

@cuviper cuviper deleted the cuviper:llvm-monorepo branch Mar 27, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.