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

incr.comp.: Bring back output of -Zincremental-info. #45063

Merged
merged 1 commit into from
Oct 13, 2017

Conversation

michaelwoerister
Copy link
Member

@michaelwoerister michaelwoerister commented Oct 6, 2017

This got kind lost during the transition to red/green.

I also switched back from eprintln!() to println!() since the former never actually produced any output. I suspect this has to do with libterm somehow monopolizing stderr.

r? @nikomatsakis

@shepmaster shepmaster added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 6, 2017
@nikomatsakis
Copy link
Contributor

@bors r+

@bors
Copy link
Contributor

bors commented Oct 6, 2017

📌 Commit b81c858 has been approved by nikomatsakis

@bors
Copy link
Contributor

bors commented Oct 9, 2017

⌛ Testing commit b81c858 with merge 4d30cd2187d4658321e5d79561994020c5c1c32c...

@bors
Copy link
Contributor

bors commented Oct 9, 2017

💔 Test failed - status-appveyor

@kennytm
Copy link
Member

kennytm commented Oct 9, 2017

The test_inherit_env test failed on Windows. I guess the it has something to do with the commit message. @michaelwoerister Could you move the table into a separate comment, and then bors-retry?

[01:26:08] thread '<unnamed>' panicked at 'output doesn't contain `APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED=incr.comp.: Bring back output of -Zincremental-info.\n\nThis got kind lost during the transition to red/green.\n\nI also switched back from `eprintln!()` to `println!()` since the former never actually produced any output. I suspect this has to do with `libterm` somehow monopolizing `stderr`.\n\nI added some statistical output for the dependency graph (example from regex crate):\n```\nDepGraph Statistics\n------------------------------------------------------------------------------------------\n\nTotal Node Count: 172567\nTotal Edge Count: 784295\n\n Node Kind                           | Node Frequency   | Node Count  | Avg. Edge Count  |\n-------------------------------------|------------------|-------------|------------------|\n DefSpan                             |             9.7% |       16778 |              1.0 |\n IsSized                             |             7.8% |       13374 |              2.1 |\n TypeOfItem                          |             7.7% |       13309 |              1.4 |\n GenericsOfItem                      |             5.6% |        9613 |              1.4 |\n TraitSelect                         |             4.5% |        7694 |             11.9 |\n Layout                              |             4.2% |        7182 |              1.5 |\n InstanceSymbolName                  |             4.0% |        6822 |              6.4 |\n ImplTraitRef                        |             3.8% |        6552 |              1.2 |\n NeedsDrop                           |             3.7% |        6456 |              2.1 |\n IsCopy                              |             3.6% |        6219 |              2.0 |\n ImplParent                          |             2.7% |        4744 |              1.0 |\n FnSignature                         |             2.4% |        4093 |              1.9 |\n ItemAttrs                           |             2.3% |        3917 |              1.0 |\n ExportName                          |             2.2% |        3757 |              1.0 |\n SymbolName                          |             2.1% |        3678 |              6.4 |\n PredicatesOfItem                    |             2.0% |        3533 |              1.9 |\n IsForeignItem                       |             1.9% |        3285 |              1.0 |\n ContainsExternIndicator             |             1.4% |        2425 |              2.0 |\n AssociatedItems                     |             1.4% |        2354 |              1.0 |\n ParamEnv                            |             1.3% |        2203 |              2.6 |\n Visibility                          |             1.2% |        2001 |              1.0 |\n IsDefaultImpl                       |             1.1% |        1894 |              1.0 |\n LookupDeprecationEntry              |             1.1% |        1852 |              0.2 |\n LookupStability                     |             1.0% |        1716 |              0.1 |\n ItemChildren                        |             1.0% |        1643 |              1.0 |\n ImplementationsOfTrait              |             0.9% |        1602 |              1.0 |\n IsFreeze                            |             0.9% |        1595 |              2.2 |\n MirOptimized                        |             0.9% |        1589 |             12.2 |\n IsExportedSymbol                    |             0.9% |        1503 |              1.0 |\n DescribeDef                         |             0.9% |        1471 |              1.0 |\n Hir                                 |             0.8% |        1410 |              0.0 |\n HirBody                             |             0.8% |        1410 |              0.0 |\n ObjectLifetimeDefaults              |             0.8% |        1409 |              0.0 |\n HasTypeckTables                     |             0.8% |        1409 |              1.0 |\n TraitOfItem                         |             0.8% |        1376 |              1.4 |\n TypeckTables                        |             0.7% |        1267 |             65.7 |\n Specializes                         |             0.7% |        1258 |              7.4 |\n RegionScopeTree                     |             0.7% |        1191 |              1.2 |\n ImplPolarity                        |             0.6% |        1053 |              1.0 |\n IsConstFn                           |             0.6% |         977 |              1.0 |\n AdtDefOfItem                        |             0.5% |         933 |              3.9 |\n ItemVariances                       |             0.5% |         893 |              2.9 |\n ItemVarianceConstraints             |             0.5% |         829 |              2.1 |\n BorrowCheck                         |             0.5% |         803 |             16.8 |\n MirConst                            |             0.5% |         803 |             45.2 |\n UnsafetyViolations                  |             0.5% |         803 |              6.3 |\n MirBorrowCheck                      |             0.5% |         803 |              2.1 |\n MirValidated                        |             0.5% |         803 |             16.4 |\n IsMirAvailable                      |             0.4% |         752 |              1.0 |\n AssociatedItemDefIds                |             0.4% |         730 |              1.0 |\n Freevars                            |             0.4% |         713 |              0.0 |\n NamedRegion                         |             0.4% |         706 |              0.0 |\n ConstEval                           |             0.4% |         653 |              3.9 |\n ExternConstBody                     |             0.3% |         535 |              1.0 |\n IsTranslatedFunction                |             0.3% |         517 |              1.0 |\n InherentImpls                       |             0.3% |         490 |              0.2 |\n InScopeTraits                       |             0.3% |         487 |              0.0 |\n SizedConstraint                     |             0.2% |         273 |              3.6 |\n AdtDestructor                       |             0.1% |         243 |              5.3 |\n MirShim                             |             0.1% |         240 |             11.2 |\n MaybeUnusedTraitImport              |             0.1% |         222 |              0.0 |\n DtorckConstraint                    |             0.1% |         198 |              7.0 |\n IsLateBound                         |             0.1% |         142 |              0.0 |\n ClosureKind                         |             0.1% |         113 |              1.0 |\n ImplDefaultness                     |             0.1% |         105 |              1.0 |\n SuperPredicatesOfItem               |             0.1% |          99 |              1.0 |\n TraitImpls                          |             0.1% |          93 |            184.3 |\n ObjectSafety                        |             0.1% |          92 |             31.8 |\n TraitDefOfItem                      |             0.1% |          89 |              1.0 |\n CompileCodegenUnit                  |             0.0% |          79 |           1746.6 |\n CodegenUnit                         |             0.0% |          79 |              1.0 |\n GenSignature                        |             0.0% |          76 |              1.0 |\n SpecializationGraph                 |             0.0% |          70 |            216.1 |\n ModuleExports                       |             0.0% |          28 |              0.0 |\n CoherenceCheckTrait                 |             0.0% |          23 |             20.3 |\n MirConstQualif                      |             0.0% |          23 |              4.1 |\n CrateDisambiguator                  |             0.0% |          19 |              0.9 |\n CrateName                           |             0.0% |          19 |              0.9 |\n OriginalCrateName                   |             0.0% |          19 |              0.9 |\n NativeLibraries                     |             0.0% |          19 |              1.0 |\n ExportedSymbols                     |             0APPVEYOR_REPO_COMMIT_TIMESTAMP=2017-10-09T07:22:30.0000000Z`
[01:26:08] APPVEYOR_PROJECT_SLUG=rust
[01:26:08] !;=;\
[01:26:08] MINGW_ARCHIVE=x86_64-6.3.0-release-posix-seh-rt_v5-rev2.7z
[01:26:08] APPVEYOR_PROJECT_NAME=rust
[01:26:08] APPVEYOR=True
[01:26:08] LOGONSERVER=\\APPVYR-WIN
[01:26:08] PROGRAMDATA=C:\ProgramData
[01:26:08] DXSDK_DIR=C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\
[01:26:08] APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL=bors@rust-lang.org
[01:26:08] PATH=C:\projects\rust\build\x86_64-pc-windows-gnu\stage1-std\x86_64-pc-windows-gnu\release\build\compiler_builtins-6a0431bf00803b6f\out;C:\projects\rust\build\x86_64-pc-windows-gnu\stage1-std\x86_64-pc-windows-gnu\release;C:\projects\rust\build\x86_64-pc-windows-gnu\stage1-std\x86_64-pc-windows-gnu\release\deps;C:\projects\rust\build\x86_64-pc-windows-gnu\stage1\lib\rustlib\x86_64-pc-windows-gnu\lib;C:\projects\rust\build\x86_64-pc-windows-gnu\stage1\lib\rustlib\x86_64-pc-windows-gnu\lib;C:\Program Files (x86)\Inno Setup 5;C:\Python27;C:\projects\rust\mingw64\bin;C:\msys64\usr\bin;C:\Perl\site\bin;C:\Perl\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\7-Zip;C:\Program Files\Microsoft\Web Platform Installer;C:\Tools\GitVersion;C:\Tools\PsTools;C:\Program Files\Git LFS;C:\Program Files (x86)\Subversion\bin;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn;C:\Program Files\Microsoft SQL Server\120\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio;C:\Tools\WebDriver;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.4;C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\PrivateAssemblies;C:\Program Files (x86)\Microsoft SDKs\Azure\CLI\wbin;C:\Ruby193\bin;C:\Tools\NUnit\bin;C:\Tools\xUnit;C:\Tools\MSpec;C:\Tools\Coverity\bin;C:\Program Files (x86)\CMake\bin;C:\go\bin;C:\Program Files\Java\jdk1.8.0\bin;C:\Python27;C:\Program Files\nodejs;C:\Program Files (x86)\iojs;C:\Program Files\iojs;C:\Users\appveyor\AppData\Roaming\npm;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files (x86)\MSBuild\14.0\Bin;C:\Tools\NuGet;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files\Microsoft DNX\Dnvm;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn;C:\Program Files (x86)\Apache\Maven\bin;C:\Python27\Scripts;C:\Tools\NUnit3;C:\Program Files\Mercurial;C:\Program Files\LLVM\bin;C:\Program Files\dotnet;C:\Program Files\erl8.3\bin;C:\Tools\curl\bin;C:\Program Files\Amazon\AWSCLI;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\SQLDB\DAC\140;C:\Program Files (x86)\Yarn\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\usr\bin;C:\ProgramData\chocolatey\bin;C:\Tools\vcpkg;C:\Program Files (x86)\nodejs;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Users\appveyor\AppData\Local\Yarn\bin;C:\Users\appveyor\AppData\Roaming\npm;C:\Program Files\AppVeyor\BuildAgent;C:\projects\rust;C:\projects\rust\handle
[01:26:08] CFG_RELEASE_CHANNEL=dev
[01:26:08] BOOTSTRAP_PARENT_ID=2912
[01:26:08] APPVEYOR_PROJECT_ID=243703
[01:26:08] RUSTC_REAL=C:\projects\rust\build\x86_64-pc-windows-gnu\stage1\bin\rustc.exe
[01:26:08] APPVEYOR_REPO_BRANCH=auto
[01:26:08] M2_HOME=C:\Program Files (x86)\Apache\Maven
[01:26:08] TEMP=C:\Users\appveyor\AppData\Local\Temp\1
[01:26:08] APPVEYOR_BUILD_NUMBER=4935
[01:26:08] RUST_TEST_THREADS=2
[01:26:08] RUSTC_CODEGEN_UNITS=1
[01:26:08] CARGO_PKG_HOMEPAGE=
[01:26:08] VSSDK140INSTALL=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VSSDK\
[01:26:08] LASTEXITCODE=0
[01:26:08] WIX=C:\Program Files (x86)\WiX Toolset v3.11\
[01:26:08] APPVEYOR_REPO_TAG=false
[01:26:08] LASTERRORLEVEL=0
[01:26:08] APPVEYOR_REPO_NAME=rust-lang/rust
[01:26:08] HOME=C:\msys64\home\appveyor
[01:26:08] __CARGO_DEFAULT_LIB_METADATA=dev
[01:26:08] PROMPT=$P$G
[01:26:08] APPDATA=C:\Users\appveyor\AppData\Roaming
[01:26:08] ERLANG_HOME=C:\Program Files\erl8.3
[01:26:08] PROGRAMW6432=C:\Program Files
[01:26:08] APPVEYOR_JOB_NAME=Environment: MSYS_BITS=64, SCRIPT=python x.py test, RUST_CONFIGURE_ARGS=--build=x86_64-pc-windows-gnu, MINGW_URL=https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror, MINGW_ARCHIVE=x86_64-6.3.0-release-posix-seh-rt_v5-rev2.7z, MINGW_DIR=mingw64
[01:26:08] SYSTEMDRIVE=C:
[01:26:08] RUSTC_VERBOSE=0
[01:26:08] NUMBER_OF_PROCESSORS=2
[01:26:08] USERPROFILE=C:\Users\appveyor
[01:26:08] CARGO=\\?\C:\projects\rust\build\x86_64-pc-windows-gnu\stage0\bin\cargo.exe
[01:26:08] APPVEYOR_REPO_PROVIDER=gitHub
[01:26:08] RUSTC_SYSROOT=C:\projects\rust\build\x86_64-pc-windows-gnu\stage1
[01:26:08] MSYS2_PATH_TYPE=inherit
[01:26:08] RUSTC_FLAGS=
[01:26:08] COMSPEC=C:\windows\system32\cmd.exe
[01:26:08] 7ZIP="C:\Program Files\7-Zip\7z.exe"
[01:26:08] COMMONPROGRAMFILES=C:\Program Files\Common Files
[01:26:08] PROGRAMFILES=C:\Program Files
[01:26:08] CHOCOLATEYLASTPATHUPDATE=Sat Jun 10 00:46:25 2017
[01:26:08] COMPUTERNAME=APPVYR-WIN
[01:26:08] CI=True
[01:26:08] PWD=C:/projects/rust
[01:26:08] CODECONTRACTSINSTALLDIR=C:\Program Files (x86)\Microsoft\Contracts\
[01:26:08] TERM=xterm
[01:26:08] APPVEYOR_BUILD_FOLDER=C:\projects\rust
[01:26:08] APPVEYOR_ACCOUNT_NAME=rust-lang
[01:26:08] VS100COMNTOOLS=c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\
[01:26:08] VS90COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\
[01:26:08] CFLAGS_X86_64-PC-WINDOWS-GNU=-ffunction-sections -fdata-sections -m64
[01:26:08] HOMEPATH=\Users\appveyor
[01:26:08] MINGW_URL=https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror
[01:26:08] CARGO_PKG_AUTHORS=The Rust Project Developers
[01:26:08] USERNAME=appveyor
[01:26:08] SHLVL=2
[01:26:08] RUSTC_SNAPSHOT=C:\projects\rust\build\x86_64-pc-windows-gnu\stage0/bin\rustc.exe
[01:26:08] RUSTC_DEBUGINFO_LINES=false
[01:26:08] ALLUSERSPROFILE=C:\ProgramData
[01:26:08] GOROOT=C:\go
[01:26:08] APPVEYOR_BUILD_WORKER_IMAGE=Visual Studio 2015
[01:26:08] CARGO_TARGET_DIR=C:\projects\rust\build\x86_64-pc-windows-gnu\stage1-std
[01:26:08] APPVEYOR_API_URL=http://localhost:1030/
[01:26:08] VS120COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\
[01:26:08] OPENSSL_CONF=C:\OpenSSL-Win32\bin\openssl.cfg
[01:26:08] RUSTC_DEBUGINFO=false
[01:26:08] APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED=incr.comp.: Bring back output of -Zincremental-info.\n\nThis got kind lost during the transition to red/green.\n\nI also switched back from `eprintln!()` to `println!()` since the former never actually produced any output. I suspect this has to do with `libterm` somehow monopolizing `stderr`.\n\nI added some statistical output for the dependency graph (example from regex crate):\n```\nDepGraph Statistics\n------------------------------------------------------------------------------------------\n\nTotal Node Count: 172567\nTotal Edge Count: 784295\n\n Node Kind                           | Node Frequency   | Node Count  | Avg. Edge Count  |\n-------------------------------------|------------------|-------------|------------------|\n DefSpan                             |             9.7% |       16778 |              1.0 |\n IsSized                             |             7.8% |       13374 |              2.1 |\n TypeOfItem                          |             7.7% |       13309 |              1.4 |\n GenericsOfItem                      |             5.6% |        9613 |              1.4 |\n TraitSelect                         |             4.5% |        7694 |             11.9 |\n Layout                              |             4.2% |        7182 |              1.5 |\n InstanceSymbolName                  |             4.0% |        6822 |              6.4 |\n ImplTraitRef                        |             3.8% |        6552 |              1.2 |\n NeedsDrop                           |             3.7% |        6456 |              2.1 |\n IsCopy                              |             3.6% |        6219 |              2.0 |\n ImplParent                          |             2.7% |        4744 |              1.0 |\n FnSignature                         |             2.4% |        4093 |              1.9 |\n ItemAttrs                           |             2.3% |        3917 |              1.0 |\n ExportName                          |             2.2% |        3757 |              1.0 |\n SymbolName                          |             2.1% |        3678 |              6.4 |\n PredicatesOfItem                    |             2.0% |        3533 |              1.9 |\n IsForeignItem                       |             1.9% |        3285 |              1.0 |\n ContainsExternIndicator             |             1.4% |        2425 |              2.0 |\n AssociatedItems                     |             1.4% |        2354 |              1.0 |\n ParamEnv                            |             1.3% |        2203 |              2.6 |\n Visibility                          |             1.2% |        2001 |              1.0 |\n IsDefaultImpl                       |             1.1% |        1894 |              1.0 |\n LookupDeprecationEntry              |             1.1% |        1852 |              0.2 |\n LookupStability                     |             1.0% |        1716 |              0.1 |\n ItemChildren                        |             1.0% |        1643 |              1.0 |\n ImplementationsOfTrait              |             0.9% |        1602 |              1.0 |\n IsFreeze                            |             0.9% |        1595 |              2.2 |\n MirOptimized                        |             0.9% |        1589 |             12.2 |\n IsExportedSymbol                    |             0.9% |        1503 |              1.0 |\n DescribeDef                         |             0.9% |        1471 |              1.0 |\n Hir                                 |             0.8% |        1410 |              0.0 |\n HirBody                             |             0.8% |        1410 |              0.0 |\n ObjectLifetimeDefaults              |             0.8% |        1409 |              0.0 |\n HasTypeckTables                     |             0.8% |        1409 |              1.0 |\n TraitOfItem                         |             0.8% |        1376 |              1.4 |\n TypeckTables                        |             0.7% |        1267 |             65.7 |\n Specializes                         |             0.7% |        1258 |              7.4 |\n RegionScopeTree                     |             0.7% |        1191 |              1.2 |\n ImplPolarity                        |             0.6% |        1053 |              1.0 |\n IsConstFn                           |             0.6% |         977 |              1.0 |\n AdtDefOfItem                        |             0.5% |         933 |              3.9 |\n ItemVariances                       |             0.5% |         893 |              2.9 |\n ItemVarianceConstraints             |             0.5% |         829 |              2.1 |\n BorrowCheck                         |             0.5% |         803 |             16.8 |\n MirConst                            |             0.5% |         803 |             45.2 |\n UnsafetyViolations                  |             0.5% |         803 |              6.3 |\n MirBorrowCheck                      |             0.5% |         803 |              2.1 |\n MirValidated                        |             0.5% |         803 |             16.4 |\n IsMirAvailable                      |             0.4% |         752 |              1.0 |\n AssociatedItemDefIds                |             0.4% |         730 |              1.0 |\n Freevars                            |             0.4% |         713 |              0.0 |\n NamedRegion                         |             0.4% |         706 |              0.0 |\n ConstEval                           |             0.4% |         653 |              3.9 |\n ExternConstBody                     |             0.3% |         535 |              1.0 |\n IsTranslatedFunction                |             0.3% |         517 |              1.0 |\n InherentImpls                       |             0.3% |         490 |              0.2 |\n InScopeTraits                       |             0.3% |         487 |              0.0 |\n SizedConstraint                     |             0.2% |         273 |              3.6 |\n AdtDestructor                       |             0.1% |         243 |              5.3 |\n MirShim                             |             0.1% |         240 |             11.2 |\n MaybeUnusedTraitImport              |             0.1% |         222 |              0.0 |\n DtorckConstraint                    |             0.1% |         198 |              7.0 |\n IsLateBound                         |             0.1% |         142 |              0.0 |\n ClosureKind                         |             0.1% |         113 |              1.0 |\n ImplDefaultness                     |             0.1% |         105 |              1.0 |\n SuperPredicatesOfItem               |             0.1% |          99 |              1.0 |\n TraitImpls                          |             0.1% |          93 |            184.3 |\n ObjectSafety                        |             0.1% |          92 |             31.8 |\n TraitDefOfItem                      |             0.1% |          89 |              1.0 |\n CompileCodegenUnit                  |             0.0% |          79 |           1746.6 |\n CodegenUnit                         |             0.0% |          79 |              1.0 |\n GenSignature                        |             0.0% |          76 |              1.0 |\n SpecializationGraph                 |             0.0% |          70 |            216.1 |\n ModuleExports                       |             0.0% |          28 |              0.0 |\n CoherenceCheckTrait                 |             0.0% |          23 |             20.3 |\n MirConstQualif                      |             0.0% |          23 |              4.1 |\n CrateDisambiguator                  |             0.0% |          19 |              0.9 |\n CrateName                           |             0.0% |          19 |              0.9 |\n OriginalCrateName                   |             0.0% |          19 |              0.9 |\n NativeLibraries                     |             0.0% |          19 |              1.0 |\n ExportedSymbols                     |             0PUBLIC=C:\Users\Public
[01:26:08] WINDIR=C:\windows
[01:26:08] CXX_X86_64-PC-WINDOWS-GNU=g++.exe
[01:26:08] SCCACHE_ERROR_LOG=C:\projects\rust/sccache.log
[01:26:08] NO_CCACHE=1
[01:26:08] CARGO_HTTP_CHECK_REVOKE=false
[01:26:08] SYSTEMROOT=C:\windows
[01:26:08] PROCESSOR_ARCHITECTURE=AMD64
[01:26:08] FP_NO_HOST_CHECK=NO
[01:26:08] AWS_ACCESS_KEY_ID=AKIAJAMV3QAMMA6AXHFQ
[01:26:08] VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\
[01:26:08] RUSTDOC=C:\projects\rust\build\bootstrap/debug/rustdoc
[01:26:08] CARGO_MANIFEST_DIR=C:\projects\rust\src\libstd
[01:26:08] GIT_LFS_PATH=C:\Program Files\Git LFS
[01:26:08] RUSTC_FORCE_UNSTABLE=1
[01:26:08] CARGO_PKG_DESCRIPTION=
[01:26:08] RUSTC_METADATA_SUFFIX=rustc
[01:26:08] OUT_DIR=C:\projects\rust\build\x86_64-pc-windows-gnu\stage1-std\x86_64-pc-windows-gnu\release\build\std-0182e0199ac9ea21\out
[01:26:08] PSMODULEPATH=C:\Users\appveyor\Documents\WindowsPowerShell\Modules;C:\Users\appveyor\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\PowerShell\Modules\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\PowerShell\Modules\;C:\Program Files\AppVeyor\BuildAgent\Modules;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\PowerShell\Modules\;C:\Program Files (x86)\AWS Tools\PowerShell\;C:\Program Files\WindowsPowerShell\Modules\;C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\ResourceManager\AzureResourceManager\;C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\ServiceManagement\;C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\Storage\
[01:26:08] AR_X86_64-PC-WINDOWS-GNU=ar
[01:26:08] CARGO_PKG_NAME=std
[01:26:08] APPVEYOR_URL=https://ci.appveyor.com
[01:26:08] SCRIPT=python x.py test
[01:26:08] RUSTC_RPATH=true
[01:26:08] HOMEDRIVE=C:
[01:26:08] APPVEYOR_JOB_NUMBER=5
[01:26:08] CARGO_PKG_VERSION_MINOR=0
[01:26:08] RUSTC_LIBDIR=C:\projects\rust\build\x86_64-pc-windows-gnu\stage1\bin
[01:26:08] CFG_COMPILER_HOST_TRIPLE=x86_64-pc-windows-gnu
[01:26:08] PROGRAMFILES(X86)=C:\Program Files (x86)
[01:26:08] PROCESSOR_REVISION=3f02
[01:26:08] APPVEYOR_BUILD_ID=11324554
[01:26:08] RUSTC_SNAPSHOT_LIBDIR=C:\projects\rust\build\x86_64-pc-windows-gnu\stage0\bin
[01:26:08] COMMONPROGRAMW6432=C:\Program Files\Common Files
[01:26:08] APPVEYOR_REPO_COMMIT=4d30cd2187d4658321e5d79561994020c5c1c32c
[01:26:08] CC_X86_64-PC-WINDOWS-GNU=gcc.exe
[01:26:08] BUILD=x86_64-pc-windows-gnu
[01:26:08] JAVA_HOME=C:\Progra~1\Java\jdk1.8.0
[01:26:08] SCCACHE_REGION=us-west-1
[01:26:08] USERDOMAIN=APPVYR-WIN
[01:26:08] CARGO_PKG_VERSION_PRE=
[01:26:08] _=C:/Python27/python
[01:26:08] APPVEYOR_REPO_COMMIT_AUTHOR=bors
[01:26:08] BOOTSTRAP_PYTHON=C:\Python27\python.exe
[01:26:08] RUSTDOC_REAL=C:\projects\rust\build\x86_64-pc-windows-gnu\stage2\bin\rustdoc.exe
[01:26:08] PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.CPL
[01:26:08] TMP=C:\Users\appveyor\AppData\Local\Temp\1
[01:26:08] RUSTBUILD_NATIVE_DIR=C:\projects\rust\build\x86_64-pc-windows-gnu\native
[01:26:08] APPVEYOR_REPO_COMMIT_TIMESTAMP=2017-10-09T07:22:30.0000000Z
[01:26:08] MINGW_DIR=mingw64
[01:26:08] USERDOMAIN_ROAMINGPROFILE=APPVYR-WIN
[01:26:08] OS=Windows_NT
[01:26:08] AVVM_DOWNLOAD_URL=http://av1southus4workers.blob.core.windows.net/downloads/avvm
[01:26:08] RUSTC_DEBUG_ASSERTIONS=true
[01:26:08] APPVEYOR_BUILD_VERSION=1.0.4935
[01:26:08] ENABLENUGETPACKAGERESTORE=true
[01:26:08] APR_ICONV_PATH=C:\Program Files (x86)\Subversion\iconv
[01:26:08] TEST_MIRI=false
[01:26:08] VSSDK120INSTALL=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VSSDK\
[01:26:08] RETRYNUMBER=0
[01:26:08] RUSTC_BOOTSTRAP=1
[01:26:08] COMMONPROGRAMFILES(X86)=C:\Program Files (x86)\Common Files
[01:26:08] LOCALAPPDATA=C:\Users\appveyor\AppData\Local
[01:26:08] CARGO_PKG_VERSION_MAJOR=0
[01:26:08] RUSTC_STAGE=1
[01:26:08] APPVEYOR_REPO_SCM=git
[01:26:08] CHOCOLATEYINSTALL=C:\ProgramData\chocolatey
[01:26:08] SCCACHE_DIGEST=f808afabb4a4eb1d7112bcb3fa6be03b61e93412890c88e177c667eb37f46353d7ec294e559b16f9f4b5e894f2185fe7670a0df15fd064889ecbd80f0c34166c
[01:26:08] MSYS_BITS=64
[01:26:08] VS140COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\
[01:26:08] APPVEYOR_JOB_ID=fcc3kj1938gb4k2g
[01:26:08] PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 63 Stepping 2, GenuineIntel
[01:26:08] AWS_SECRET_ACCESS_KEY=*****
[01:26:08] MAVEN_HOME=C:\Program Files (x86)\Apache\Maven
[01:26:08] RUST_CONFIGURE_ARGS=--build=x86_64-pc-windows-gnu --enable-ninja --enable-sccache --disable-manage-submodules --enable-locked-deps --enable-cargo-openssl-static --disable-dist-src --enable-debug-assertions --enable-llvm-assertions
[01:26:08] SCCACHE_BUCKET=rust-lang-ci-sccache2
[01:26:08] RUSTC=C:\projects\rust\build\bootstrap/debug/rustc
[01:26:08] PROCESSOR_LEVEL=6
[01:26:08] CARGO_PKG_VERSION=0.0.0
[01:26:08] MAXRETRIES=3
[01:26:08] XUNIT20=C:\Tools\xUnit20
[01:26:08] SESSIONNAME=Console
[01:26:08] APPVEYOR_REPO_COMMIT_MESSAGE=Auto merge of #45063 - michaelwoerister:bring-back-incremental-info, r=nikomatsakis
[01:26:08] SRC=C:\projects\rust
[01:26:08] CARGO_PKG_VERSION_PATCH=0
[01:26:08] ', src\libstd\process.rs:1466:12
[01:26:08] test process::tests::test_inherit_env ... FAILED
...
[01:26:19] failures:
[01:26:19] 
[01:26:19] failures:
[01:26:19]     process::tests::test_inherit_env
[01:26:19] 
[01:26:19] test result: FAILED. 785 passed; 1 failed; 2 ignored; 0 measured; 0 filtered out
[01:26:19] 
[01:26:19] error: test failed, to rerun pass '--lib'
[01:26:19] 
[01:26:19] 
[01:26:19] command did not execute successfully: "C:\\projects\\rust\\build\\x86_64-pc-windows-gnu\\stage0/bin\\cargo.exe" "test" "--target" "x86_64-pc-windows-gnu" "-j" "2" "--release" "--locked" "--color" "always" "--features" "panic-unwind jemalloc backtrace" "--manifest-path" "C:\\projects\\rust\\src/libstd/Cargo.toml" "-p" "std:0.0.0" "-p" "unwind:0.0.0" "-p" "alloc_system:0.0.0" "-p" "panic_abort:0.0.0" "-p" "libc:0.0.0" "-p" "std_unicode:0.0.0" "-p" "alloc:0.0.0" "-p" "core:0.0.0" "-p" "rand:0.0.0" "-p" "collections:0.0.0" "-p" "compiler_builtins:0.0.0" "--"
[01:26:19] expected success, got: exit code: 101

@michaelwoerister
Copy link
Member Author

I guess the it has something to do with the commit message. @michaelwoerister Could you move the table into a separate comment, and then bors-retry?

wat? :) Thanks for pointing that out, I'd never have known what's going on here.

@michaelwoerister
Copy link
Member Author

This PR also adds some statistical output for the dependency graph (example from regex crate):

DepGraph Statistics
------------------------------------------------------------------------------------------

Total Node Count: 172567
Total Edge Count: 784295

 Node Kind                           | Node Frequency   | Node Count  | Avg. Edge Count  |
-------------------------------------|------------------|-------------|------------------|
 DefSpan                             |             9.7% |       16778 |              1.0 |
 IsSized                             |             7.8% |       13374 |              2.1 |
 TypeOfItem                          |             7.7% |       13309 |              1.4 |
 GenericsOfItem                      |             5.6% |        9613 |              1.4 |
 TraitSelect                         |             4.5% |        7694 |             11.9 |
 Layout                              |             4.2% |        7182 |              1.5 |
 InstanceSymbolName                  |             4.0% |        6822 |              6.4 |
 ImplTraitRef                        |             3.8% |        6552 |              1.2 |
 NeedsDrop                           |             3.7% |        6456 |              2.1 |
 IsCopy                              |             3.6% |        6219 |              2.0 |
 ImplParent                          |             2.7% |        4744 |              1.0 |
 FnSignature                         |             2.4% |        4093 |              1.9 |
 ItemAttrs                           |             2.3% |        3917 |              1.0 |
 ExportName                          |             2.2% |        3757 |              1.0 |
 SymbolName                          |             2.1% |        3678 |              6.4 |
 PredicatesOfItem                    |             2.0% |        3533 |              1.9 |
 IsForeignItem                       |             1.9% |        3285 |              1.0 |
 ContainsExternIndicator             |             1.4% |        2425 |              2.0 |
 AssociatedItems                     |             1.4% |        2354 |              1.0 |
 ParamEnv                            |             1.3% |        2203 |              2.6 |
 Visibility                          |             1.2% |        2001 |              1.0 |
 IsDefaultImpl                       |             1.1% |        1894 |              1.0 |
 LookupDeprecationEntry              |             1.1% |        1852 |              0.2 |
 LookupStability                     |             1.0% |        1716 |              0.1 |
 ItemChildren                        |             1.0% |        1643 |              1.0 |
 ImplementationsOfTrait              |             0.9% |        1602 |              1.0 |
 IsFreeze                            |             0.9% |        1595 |              2.2 |
 MirOptimized                        |             0.9% |        1589 |             12.2 |
 IsExportedSymbol                    |             0.9% |        1503 |              1.0 |
 DescribeDef                         |             0.9% |        1471 |              1.0 |
 Hir                                 |             0.8% |        1410 |              0.0 |
 HirBody                             |             0.8% |        1410 |              0.0 |
 ObjectLifetimeDefaults              |             0.8% |        1409 |              0.0 |
 HasTypeckTables                     |             0.8% |        1409 |              1.0 |
 TraitOfItem                         |             0.8% |        1376 |              1.4 |
 TypeckTables                        |             0.7% |        1267 |             65.7 |
 Specializes                         |             0.7% |        1258 |              7.4 |
 RegionScopeTree                     |             0.7% |        1191 |              1.2 |
 ImplPolarity                        |             0.6% |        1053 |              1.0 |
 IsConstFn                           |             0.6% |         977 |              1.0 |
 AdtDefOfItem                        |             0.5% |         933 |              3.9 |
 ItemVariances                       |             0.5% |         893 |              2.9 |
 ItemVarianceConstraints             |             0.5% |         829 |              2.1 |
 BorrowCheck                         |             0.5% |         803 |             16.8 |
 MirConst                            |             0.5% |         803 |             45.2 |
 UnsafetyViolations                  |             0.5% |         803 |              6.3 |
 MirBorrowCheck                      |             0.5% |         803 |              2.1 |
 MirValidated                        |             0.5% |         803 |             16.4 |
 IsMirAvailable                      |             0.4% |         752 |              1.0 |
 AssociatedItemDefIds                |             0.4% |         730 |              1.0 |
 Freevars                            |             0.4% |         713 |              0.0 |
 NamedRegion                         |             0.4% |         706 |              0.0 |
 ConstEval                           |             0.4% |         653 |              3.9 |
 ExternConstBody                     |             0.3% |         535 |              1.0 |
 IsTranslatedFunction                |             0.3% |         517 |              1.0 |
 InherentImpls                       |             0.3% |         490 |              0.2 |
 InScopeTraits                       |             0.3% |         487 |              0.0 |
 SizedConstraint                     |             0.2% |         273 |              3.6 |
 AdtDestructor                       |             0.1% |         243 |              5.3 |
 MirShim                             |             0.1% |         240 |             11.2 |
 MaybeUnusedTraitImport              |             0.1% |         222 |              0.0 |
 DtorckConstraint                    |             0.1% |         198 |              7.0 |
 IsLateBound                         |             0.1% |         142 |              0.0 |
 ClosureKind                         |             0.1% |         113 |              1.0 |
 ImplDefaultness                     |             0.1% |         105 |              1.0 |
 SuperPredicatesOfItem               |             0.1% |          99 |              1.0 |
 TraitImpls                          |             0.1% |          93 |            184.3 |
 ObjectSafety                        |             0.1% |          92 |             31.8 |
 TraitDefOfItem                      |             0.1% |          89 |              1.0 |
 CompileCodegenUnit                  |             0.0% |          79 |           1746.6 |
 CodegenUnit                         |             0.0% |          79 |              1.0 |
 GenSignature                        |             0.0% |          76 |              1.0 |
 SpecializationGraph                 |             0.0% |          70 |            216.1 |
 ModuleExports                       |             0.0% |          28 |              0.0 |
 CoherenceCheckTrait                 |             0.0% |          23 |             20.3 |
 MirConstQualif                      |             0.0% |          23 |              4.1 |
 CrateDisambiguator                  |             0.0% |          19 |              0.9 |
 CrateName                           |             0.0% |          19 |              0.9 |
 OriginalCrateName                   |             0.0% |          19 |              0.9 |
 NativeLibraries                     |             0.0% |          19 |              1.0 |
 ExportedSymbols                     |             0.0% |          19 |            742.5 |
 ExportedSymbolIds                   |             0.0% |          19 |              1.0 |
 IsPanicRuntime                      |             0.0% |          18 |              1.0 |
 IsProfilerRuntime                   |             0.0% |          18 |              1.0 |
 UsedCrateSource                     |             0.0% |          18 |              1.0 |
 DeriveRegistrarFn                   |             0.0% |          18 |              1.0 |
 DefinedLangItems                    |             0.0% |          18 |              1.0 |
 IsNoBuiltins                        |             0.0% |          18 |              1.0 |
 DepKind                             |             0.0% |          18 |              1.0 |
 CrateHash                           |             0.0% |          18 |              1.0 |
 CrateMetadata                       |             0.0% |          18 |              0.0 |
 IsCompilerBuiltins                  |             0.0% |          18 |              1.0 |
 IsSanitizerRuntime                  |             0.0% |          18 |              1.0 |
 MissingExternCrateItem              |             0.0% |          18 |              1.0 |
 PluginRegistrarFn                   |             0.0% |          18 |              1.0 |
 TypeParamPredicates                 |             0.0% |          17 |              4.6 |
 ExternCrate                         |             0.0% |          13 |              1.0 |
 HasCopyClosures                     |             0.0% |           6 |              0.8 |
 ExternModStmtCnum                   |             0.0% |           6 |              0.0 |
 ConstIsRvaluePromotableToStatic     |             0.0% |           4 |              1.0 |
 Krate                               |             0.0% |           1 |              0.0 |
 MaybeUnusedExternCrates             |             0.0% |           1 |              0.0 |
 GetLangItems                        |             0.0% |           1 |              0.0 |
 Reachability                        |             0.0% |           1 |           1221.0 |
 CoherenceInherentImplOverlapCheck   |             0.0% |           1 |            221.0 |
 PostorderCnums                      |             0.0% |           1 |              0.0 |
 AllCrateNums                        |             0.0% |           1 |              0.0 |
 CrateVariances                      |             0.0% |           1 |           1130.0 |
 PrivacyAccessLevels                 |             0.0% |           1 |          12503.0 |
 CollectAndPartitionTranslationItems |             0.0% |           1 |          23563.0 |
 VisibleParentMap                    |             0.0% |           1 |           5446.0 |
 Coherence                           |             0.0% |           1 |             55.0 |
 LintLevels                          |             0.0% |           1 |           2064.0 |
 StabilityIndex                      |             0.0% |           1 |           2064.0 |
 MirKeys                             |             0.0% |           1 |              1.0 |
 TypeckBodiesKrate                   |             0.0% |           1 |           1446.0 |
 LinkArgs                            |             0.0% |           1 |              1.0 |
 OutputFilenames                     |             0.0% |           1 |              0.0 |
 AllLocalTraitImpls                  |             0.0% |           1 |              0.0 |
------------------------------------------------------------------------------------------

Re-using 79 out of 79 modules

@michaelwoerister
Copy link
Member Author

@bors retry

@bors
Copy link
Contributor

bors commented Oct 11, 2017

⌛ Testing commit b81c858 with merge 3a777929f67a1ae6fad57bc7f529449fc9f0377a...

@bors
Copy link
Contributor

bors commented Oct 11, 2017

💔 Test failed - status-travis

@kennytm
Copy link
Member

kennytm commented Oct 11, 2017

@bors retry

@bors
Copy link
Contributor

bors commented Oct 13, 2017

⌛ Testing commit b81c858 with merge 305e022...

bors added a commit that referenced this pull request Oct 13, 2017
…r=nikomatsakis

incr.comp.: Bring back output of -Zincremental-info.

This got kind lost during the transition to red/green.

I also switched back from `eprintln!()` to `println!()` since the former never actually produced any output. I suspect this has to do with `libterm` somehow monopolizing `stderr`.

r? @nikomatsakis
@bors
Copy link
Contributor

bors commented Oct 13, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: nikomatsakis
Pushing 305e022 to master...

@bors bors merged commit b81c858 into rust-lang:master Oct 13, 2017
bors added a commit that referenced this pull request Oct 28, 2017
incr.comp.: Use a set implementation optimized for small item counts for deduplicating read-edges.

Many kinds of `DepNodes` will only ever have between zero and three edges originating from them (see e.g. #45063 (comment)) so let's try to avoid allocating a `HashSet` in those cases.

r? @nikomatsakis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants