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

Support const args in type dependent paths #71154

Closed
wants to merge 14 commits into from

Conversation

lcnr
Copy link
Contributor

@lcnr lcnr commented Apr 14, 2020

#![feature(const_generics)]

struct A;
impl A {
    fn foo<const N: usize>(&self) -> usize { N }
}
struct B;
impl B {
    fn foo<const N: usize>(&self) -> usize { 42 }
}

fn main() {
    let a = A;
    a.foo::<7>();
}

When calling type_of for generic const arguments, we now use the TypeckTables of the surrounding body to get the expected type.

This alone causes cycle errors though, as we now have typeck_tables_of(main) -> ... ->
type_of(main_ANON0 := 7) -> typeck_tables_of(main) ⚡ (see #68400 (comment))

To prevent this we must not call type_of(const_arg) during typeck_tables_of. This is achieved by
calling type_of(param_def_id) instead. As this DefId can't always be easily known, I changed some DefIds to ty::WithOptParam<DefId> which contains the relevant param id. This also changes some queries which may be called during typeck.

To prevent us from computing these queries twice, WithOptParam must always use the correct
DefId of the parameter. This means that it is either constructed using the new method tcx.with_opt_param(def_id) or manually if and only if a param DefId is available.

To simplify WithOptParam creation, I changed IntoQueryParam from private to pub(crate).
I only use the existing definition of LocalDefId -> DefId.

const_param_of requires the HIR, meaning that it can only return the correct parameter DefId while compiling the crate containing the const argument.

To fix this, const_param_of is called for all const arguments during analysis. (I currently use par_body_owner here, as all const arguments should be a body afaik)

This PR may have missed some type_of(const_arg) during typeck. While this is unfortunate, these cases should only introduce cycle errors and not lead to miscompilations.
We should not have to worry about these cases while merging this IMO.

r? @varkor
fixes #70507, fixes #69816, fixes #63695, fixes #61936, fixes #71516

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 14, 2020
@varkor varkor added the F-const_generics `#![feature(const_generics)]` label Apr 14, 2020
@varkor
Copy link
Member

varkor commented Apr 14, 2020

cc @eddyb

@eddyb eddyb marked this pull request as draft April 14, 2020 22:18
@eddyb
Copy link
Member

eddyb commented Apr 14, 2020

I've converted the PR to a draft, and I will not be able to review it too soon.
But I think the direction here is the right one and it's nice to have a prototype to start from.

@lcnr lcnr force-pushed the type-dependent-consts branch from 705a722 to d4b7335 Compare April 14, 2020 22:21
@lcnr
Copy link
Contributor Author

lcnr commented Apr 15, 2020

Now also supports

struct A;
impl A {
    fn foo<const N: usize>() -> usize { N + 1 }
}

fn main() {
    assert_eq!(A::foo::<7>(), 8);
}

@lcnr lcnr force-pushed the type-dependent-consts branch 4 times, most recently from f9d4a7f to 0a12721 Compare April 15, 2020 11:53
@rust-highfive
Copy link
Collaborator

The job mingw-check of your PR failed (pretty log, 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.
2020-04-16T22:41:34.2284043Z ========================== Starting Command Output ===========================
2020-04-16T22:41:34.2288399Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/13c6f742-4b5e-4d5a-860d-b6980a66077d.sh
2020-04-16T22:41:34.2289402Z 
2020-04-16T22:41:34.2296453Z ##[section]Finishing: Disable git automatic line ending conversion
2020-04-16T22:41:34.2314139Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/71154/merge to s
2020-04-16T22:41:34.2317246Z Task         : Get sources
2020-04-16T22:41:34.2317545Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-16T22:41:34.2317822Z Version      : 1.0.0
2020-04-16T22:41:34.2318013Z Author       : Microsoft
---
2020-04-16T22:41:35.5007418Z ##[command]git remote add origin https://github.com/rust-lang/rust
2020-04-16T22:41:35.5014881Z ##[command]git config gc.auto 0
2020-04-16T22:41:35.5019174Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2020-04-16T22:41:35.5023099Z ##[command]git config --get-all http.proxy
2020-04-16T22:41:35.5035244Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/71154/merge:refs/remotes/pull/71154/merge
---
2020-04-16T22:44:06.2269587Z  ---> 78ad2f4d4aca
2020-04-16T22:44:06.2269804Z Step 6/7 : ENV RUN_CHECK_WITH_PARALLEL_QUERIES 1
2020-04-16T22:44:06.2289947Z  ---> Using cache
2020-04-16T22:44:06.2290355Z  ---> 4d2dc61c4d00
2020-04-16T22:44:06.2291589Z Step 7/7 : ENV SCRIPT python3 ../x.py test src/tools/expand-yaml-anchors &&            python3 ../x.py check --target=i686-pc-windows-gnu --host=i686-pc-windows-gnu &&            python3 ../x.py build --stage 0 src/tools/build-manifest &&            python3 ../x.py test --stage 0 src/tools/compiletest &&            python3 ../x.py test src/tools/tidy &&            /scripts/validate-toolstate.sh
2020-04-16T22:44:06.2292815Z  ---> 776b6266a8b7
2020-04-16T22:44:06.2309815Z Successfully built 776b6266a8b7
2020-04-16T22:44:06.2334532Z Successfully tagged rust-ci:latest
2020-04-16T22:44:06.4070958Z Built container sha256:776b6266a8b7d63e2d3c2b5a784dbf521184a904fb10bf818c6b5c7e1ab74d4a
2020-04-16T22:44:06.4070958Z Built container sha256:776b6266a8b7d63e2d3c2b5a784dbf521184a904fb10bf818c6b5c7e1ab74d4a
2020-04-16T22:44:06.4086538Z Looks like docker image is the same as before, not uploading
2020-04-16T22:44:13.6096009Z [CI_JOB_NAME=mingw-check]
2020-04-16T22:44:13.6333466Z [CI_JOB_NAME=mingw-check]
2020-04-16T22:44:13.6361408Z == clock drift check ==
2020-04-16T22:44:13.6367808Z   local time: Thu Apr 16 22:44:13 UTC 2020
2020-04-16T22:44:13.7005993Z   network time: Thu, 16 Apr 2020 22:44:13 GMT
2020-04-16T22:44:13.7027542Z Starting sccache server...
2020-04-16T22:44:13.8146616Z configure: processing command line
2020-04-16T22:44:13.8147225Z configure: 
2020-04-16T22:44:13.8148301Z configure: rust.parallel-compiler := True
---
2020-04-16T22:47:58.0491024Z     Checking rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-16T22:47:58.1314033Z     Checking fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-16T22:47:58.3141588Z     Checking rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-16T22:47:58.4390423Z     Checking rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-16T22:47:58.8757350Z     Checking rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-16T22:48:01.0040527Z     Checking rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-16T22:48:01.4592183Z     Checking rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-16T22:48:03.4273961Z     Checking rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-16T22:48:03.8456674Z     Checking rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-16T22:49:46.6949897Z configure: rust.dist-src        := False
2020-04-16T22:49:46.6950179Z configure: llvm.ccache          := sccache
2020-04-16T22:49:46.6950628Z configure: rust.debug-assertions := True
2020-04-16T22:49:46.6950894Z configure: rust.channel         := nightly
2020-04-16T22:49:46.6951451Z configure: build.configure-args := ['--enable-sccache', '--disable-manage-submodu ...
2020-04-16T22:49:46.6951944Z configure: writing `config.toml` in current directory
2020-04-16T22:49:46.6952173Z configure: 
2020-04-16T22:49:46.6952551Z configure: run `python /checkout/x.py --help`
2020-04-16T22:49:46.6952756Z configure: 
---
2020-04-16T22:51:18.8743225Z Hugepagesize:       2048 kB
2020-04-16T22:51:18.8743425Z DirectMap4k:      143296 kB
2020-04-16T22:51:18.8743642Z DirectMap2M:     3002368 kB
2020-04-16T22:51:18.8743840Z DirectMap1G:     6291456 kB
2020-04-16T22:51:18.8812690Z + python3 ../x.py test src/tools/expand-yaml-anchors
2020-04-16T22:51:20.1949912Z Ensuring the YAML anchors in the GitHub Actions config were expanded
2020-04-16T22:51:20.1949912Z Ensuring the YAML anchors in the GitHub Actions config were expanded
2020-04-16T22:51:20.1958767Z Building stage0 tool expand-yaml-anchors (x86_64-unknown-linux-gnu)
2020-04-16T22:51:20.4187355Z    Compiling unicode-xid v0.2.0
2020-04-16T22:51:20.5432897Z    Compiling syn v1.0.11
2020-04-16T22:51:21.3918802Z    Compiling linked-hash-map v0.5.2
2020-04-16T22:51:21.3995935Z    Compiling lazy_static v1.4.0
2020-04-16T22:51:21.3995935Z    Compiling lazy_static v1.4.0
2020-04-16T22:51:21.6242314Z    Compiling yaml-rust v0.4.3
2020-04-16T22:51:25.8001310Z    Compiling quote v1.0.2
2020-04-16T22:51:40.4438330Z    Compiling thiserror-impl v1.0.5
2020-04-16T22:51:45.4397520Z    Compiling thiserror v1.0.5
2020-04-16T22:51:45.5013169Z    Compiling yaml-merge-keys v0.4.0
2020-04-16T22:51:46.6673480Z    Compiling expand-yaml-anchors v0.1.0 (/checkout/src/tools/expand-yaml-anchors)
2020-04-16T22:51:48.6126066Z Build completed successfully in 0:00:29
2020-04-16T22:51:48.6219275Z + python3 ../x.py check --target=i686-pc-windows-gnu --host=i686-pc-windows-gnu
2020-04-16T22:51:48.8805963Z     Finished dev [unoptimized] target(s) in 0.17s
2020-04-16T22:51:50.0218299Z Checking rustdoc artifacts (x86_64-unknown-linux-gnu -> i686-pc-windows-gnu)
---
2020-04-16T22:53:52.6812916Z     Checking rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-16T22:53:52.8836616Z     Checking fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-16T22:53:53.1303374Z     Checking rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-16T22:53:53.2337647Z     Checking rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-16T22:53:53.7444104Z     Checking rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-16T22:53:55.9830009Z     Checking rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-16T22:53:56.4582695Z     Checking rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-16T22:53:58.4779964Z     Checking rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-16T22:53:58.9158819Z     Checking rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-16T22:57:26.4400252Z    Compiling cargo_metadata v0.9.1
2020-04-16T22:57:30.6910099Z    Compiling tidy v0.1.0 (/checkout/src/tools/tidy)
2020-04-16T22:57:40.7761965Z     Finished release [optimized] target(s) in 23.83s
2020-04-16T22:57:40.7855552Z tidy check
2020-04-16T22:57:41.4826531Z tidy error: /checkout/src/librustc_trait_selection/traits/select.rs:496: TODO is deprecated; use FIXME
2020-04-16T22:57:41.4909889Z tidy error: /checkout/src/librustc_trait_selection/traits/fulfill.rs:503: TODO is deprecated; use FIXME
2020-04-16T22:57:44.7362491Z tidy error: /checkout/src/test/ui/__check/issue-61936.rs:12: trailing whitespace
2020-04-16T22:57:44.7363185Z tidy error: /checkout/src/test/ui/__check/issue-61936.rs:25: trailing whitespace
2020-04-16T22:57:44.7363939Z tidy error: /checkout/src/test/ui/__check/issue-61936.rs:29: trailing whitespace
2020-04-16T22:57:44.7364608Z tidy error: /checkout/src/test/ui/__check/issue-61936.rs:34: trailing whitespace
2020-04-16T22:57:44.7365197Z tidy error: /checkout/src/test/ui/__check/issue-61936.rs:43: trailing whitespace
2020-04-16T22:57:49.1669505Z some tidy checks failed
2020-04-16T22:57:49.1678517Z Found 490 error codes
2020-04-16T22:57:49.1680388Z Found 0 error codes with no tests
2020-04-16T22:57:49.1680730Z Done!
2020-04-16T22:57:49.1680730Z Done!
2020-04-16T22:57:49.1680977Z 
2020-04-16T22:57:49.1681141Z 
2020-04-16T22:57:49.1683123Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/tidy" "/checkout/src" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo"
2020-04-16T22:57:49.1684341Z 
2020-04-16T22:57:49.1684505Z 
2020-04-16T22:57:49.1692979Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test src/tools/tidy
2020-04-16T22:57:49.1693625Z Build completed unsuccessfully in 0:00:33
2020-04-16T22:57:49.1693625Z Build completed unsuccessfully in 0:00:33
2020-04-16T22:57:49.1795535Z == clock drift check ==
2020-04-16T22:57:49.1827771Z   local time: Thu Apr 16 22:57:49 UTC 2020
2020-04-16T22:57:49.5004531Z   network time: Thu, 16 Apr 2020 22:57:49 GMT
2020-04-16T22:57:51.3614991Z 
2020-04-16T22:57:51.3614991Z 
2020-04-16T22:57:51.3686639Z ##[error]Bash exited with code '1'.
2020-04-16T22:57:51.3699811Z ##[section]Finishing: Run build
2020-04-16T22:57:51.3743905Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/71154/merge to s
2020-04-16T22:57:51.3748717Z Task         : Get sources
2020-04-16T22:57:51.3749024Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-16T22:57:51.3749324Z Version      : 1.0.0
2020-04-16T22:57:51.3749528Z Author       : Microsoft
2020-04-16T22:57:51.3749528Z Author       : Microsoft
2020-04-16T22:57:51.3749976Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-04-16T22:57:51.3750350Z ==============================================================================
2020-04-16T22:57:51.7030247Z Cleaning any cached credential from repository: rust-lang/rust (GitHub)
2020-04-16T22:57:51.7078154Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/71154/merge to s
2020-04-16T22:57:51.7168373Z Cleaning up task key
2020-04-16T22:57:51.7169793Z Start cleaning up orphan processes.
2020-04-16T22:57:51.7348304Z Terminate orphan process: pid (3529) (python)
2020-04-16T22:57:51.7575229Z ##[section]Finishing: Finalize Job

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 @rust-lang/infra. (Feature Requests)

@lcnr lcnr force-pushed the type-dependent-consts branch from 282fd2f to 45cfb4c Compare April 17, 2020 11:52
@rust-highfive
Copy link
Collaborator

The job mingw-check of your PR failed (pretty log, 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.
2020-04-17T11:53:24.5942942Z ========================== Starting Command Output ===========================
2020-04-17T11:53:24.5945602Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/7a92ffab-a8e6-4e95-901d-5881a3453f48.sh
2020-04-17T11:53:24.5945942Z 
2020-04-17T11:53:24.5949724Z ##[section]Finishing: Disable git automatic line ending conversion
2020-04-17T11:53:24.5967397Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/71154/merge to s
2020-04-17T11:53:24.5970482Z Task         : Get sources
2020-04-17T11:53:24.5970717Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-17T11:53:24.5970939Z Version      : 1.0.0
2020-04-17T11:53:24.5971090Z Author       : Microsoft
---
2020-04-17T11:53:25.4324148Z ##[command]git remote add origin https://github.com/rust-lang/rust
2020-04-17T11:53:25.4330964Z ##[command]git config gc.auto 0
2020-04-17T11:53:25.4335073Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2020-04-17T11:53:25.4338607Z ##[command]git config --get-all http.proxy
2020-04-17T11:53:25.4344730Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/71154/merge:refs/remotes/pull/71154/merge
---
2020-04-17T11:55:37.3803191Z  ---> 78ad2f4d4aca
2020-04-17T11:55:37.3803451Z Step 6/7 : ENV RUN_CHECK_WITH_PARALLEL_QUERIES 1
2020-04-17T11:55:37.3808431Z  ---> Using cache
2020-04-17T11:55:37.3808718Z  ---> 4d2dc61c4d00
2020-04-17T11:55:37.3809599Z Step 7/7 : ENV SCRIPT python3 ../x.py test src/tools/expand-yaml-anchors &&            python3 ../x.py check --target=i686-pc-windows-gnu --host=i686-pc-windows-gnu &&            python3 ../x.py build --stage 0 src/tools/build-manifest &&            python3 ../x.py test --stage 0 src/tools/compiletest &&            python3 ../x.py test src/tools/tidy &&            /scripts/validate-toolstate.sh
2020-04-17T11:55:37.3814487Z  ---> 776b6266a8b7
2020-04-17T11:55:37.3844021Z Successfully built 776b6266a8b7
2020-04-17T11:55:37.3881394Z Successfully tagged rust-ci:latest
2020-04-17T11:55:37.4111815Z Built container sha256:776b6266a8b7d63e2d3c2b5a784dbf521184a904fb10bf818c6b5c7e1ab74d4a
2020-04-17T11:55:37.4111815Z Built container sha256:776b6266a8b7d63e2d3c2b5a784dbf521184a904fb10bf818c6b5c7e1ab74d4a
2020-04-17T11:55:37.4126963Z Looks like docker image is the same as before, not uploading
2020-04-17T11:55:45.7122288Z [CI_JOB_NAME=mingw-check]
2020-04-17T11:55:45.7389645Z [CI_JOB_NAME=mingw-check]
2020-04-17T11:55:45.7406431Z == clock drift check ==
2020-04-17T11:55:45.7416091Z   local time: Fri Apr 17 11:55:45 UTC 2020
2020-04-17T11:55:45.8100141Z   network time: Fri, 17 Apr 2020 11:55:45 GMT
2020-04-17T11:55:45.8122058Z Starting sccache server...
2020-04-17T11:55:45.9045274Z configure: processing command line
2020-04-17T11:55:45.9045536Z configure: 
2020-04-17T11:55:45.9046365Z configure: rust.parallel-compiler := True
---
2020-04-17T11:59:00.9638063Z     Checking rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-17T11:59:01.1640291Z     Checking fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-17T11:59:01.3326363Z     Checking rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-17T11:59:01.3373872Z     Checking rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-17T11:59:01.8786368Z     Checking rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-17T11:59:03.9044467Z     Checking rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-17T11:59:04.3236578Z     Checking rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-17T11:59:06.1172971Z     Checking rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-17T11:59:06.4960196Z     Checking rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-17T12:00:41.7898418Z configure: rust.verify-llvm-ir  := True
2020-04-17T12:00:41.7898682Z configure: rust.channel         := nightly
2020-04-17T12:00:41.7899100Z configure: build.cargo-native-static := True
2020-04-17T12:00:41.7899376Z configure: build.submodules     := False
2020-04-17T12:00:41.7899905Z configure: build.configure-args := ['--enable-sccache', '--disable-manage-submodu ...
2020-04-17T12:00:41.7900358Z configure: writing `config.toml` in current directory
2020-04-17T12:00:41.7900571Z configure: 
2020-04-17T12:00:41.7900923Z configure: run `python /checkout/x.py --help`
2020-04-17T12:00:41.7901112Z configure: 
---
2020-04-17T12:02:01.7442478Z Hugepagesize:       2048 kB
2020-04-17T12:02:01.7442678Z DirectMap4k:      143296 kB
2020-04-17T12:02:01.7442876Z DirectMap2M:     5099520 kB
2020-04-17T12:02:01.7443088Z DirectMap1G:     4194304 kB
2020-04-17T12:02:01.7459521Z + python3 ../x.py test src/tools/expand-yaml-anchors
2020-04-17T12:02:02.9933769Z Ensuring the YAML anchors in the GitHub Actions config were expanded
2020-04-17T12:02:02.9933769Z Ensuring the YAML anchors in the GitHub Actions config were expanded
2020-04-17T12:02:02.9941278Z Building stage0 tool expand-yaml-anchors (x86_64-unknown-linux-gnu)
2020-04-17T12:02:03.2370163Z    Compiling unicode-xid v0.2.0
2020-04-17T12:02:03.3584351Z    Compiling syn v1.0.11
2020-04-17T12:02:04.0978542Z    Compiling linked-hash-map v0.5.2
2020-04-17T12:02:04.1466906Z    Compiling lazy_static v1.4.0
2020-04-17T12:02:04.1466906Z    Compiling lazy_static v1.4.0
2020-04-17T12:02:04.3001460Z    Compiling yaml-rust v0.4.3
2020-04-17T12:02:08.1121582Z    Compiling quote v1.0.2
2020-04-17T12:02:20.6705785Z    Compiling thiserror-impl v1.0.5
2020-04-17T12:02:24.7895607Z    Compiling thiserror v1.0.5
2020-04-17T12:02:24.8435881Z    Compiling yaml-merge-keys v0.4.0
2020-04-17T12:02:25.8902657Z    Compiling expand-yaml-anchors v0.1.0 (/checkout/src/tools/expand-yaml-anchors)
2020-04-17T12:02:27.3275063Z Build completed successfully in 0:00:25
2020-04-17T12:02:27.3366057Z + python3 ../x.py check --target=i686-pc-windows-gnu --host=i686-pc-windows-gnu
2020-04-17T12:02:27.5643004Z     Finished dev [unoptimized] target(s) in 0.15s
2020-04-17T12:02:28.5342396Z Checking rustdoc artifacts (x86_64-unknown-linux-gnu -> i686-pc-windows-gnu)
---
2020-04-17T12:04:22.3364610Z     Checking rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-17T12:04:22.5411417Z     Checking fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-17T12:04:22.7062289Z     Checking rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-17T12:04:22.7254194Z     Checking rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-17T12:04:23.2559404Z     Checking rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-17T12:04:25.2162676Z     Checking rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-17T12:04:25.6476387Z     Checking rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-17T12:04:27.4992775Z     Checking rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-17T12:04:27.8905883Z     Checking rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-17T12:07:45.2035765Z    Compiling cargo_metadata v0.9.1
2020-04-17T12:07:49.2025186Z    Compiling tidy v0.1.0 (/checkout/src/tools/tidy)
2020-04-17T12:07:58.5914558Z     Finished release [optimized] target(s) in 21.87s
2020-04-17T12:07:58.5991004Z tidy check
2020-04-17T12:07:58.8752369Z tidy error: /checkout/src/librustc_middle/query/mod.rs:473: trailing whitespace
2020-04-17T12:07:58.8752905Z tidy error: /checkout/src/librustc_middle/query/mod.rs:474: trailing whitespace
2020-04-17T12:07:59.0847865Z tidy error: /checkout/src/librustc_trait_selection/traits/select.rs:496: TODO is deprecated; use FIXME
2020-04-17T12:07:59.0920451Z tidy error: /checkout/src/librustc_trait_selection/traits/fulfill.rs:503: TODO is deprecated; use FIXME
2020-04-17T12:08:02.6665692Z tidy error: /checkout/src/test/ui/__check/issue-61936.rs:12: trailing whitespace
2020-04-17T12:08:02.6666319Z tidy error: /checkout/src/test/ui/__check/issue-61936.rs:25: trailing whitespace
2020-04-17T12:08:02.6666949Z tidy error: /checkout/src/test/ui/__check/issue-61936.rs:29: trailing whitespace
2020-04-17T12:08:02.6668192Z tidy error: /checkout/src/test/ui/__check/issue-61936.rs:34: trailing whitespace
2020-04-17T12:08:02.6669872Z tidy error: /checkout/src/test/ui/__check/issue-61936.rs:43: trailing whitespace
2020-04-17T12:08:06.9352991Z Found 490 error codes
2020-04-17T12:08:06.9353460Z Found 0 error codes with no tests
2020-04-17T12:08:06.9353661Z Done!
2020-04-17T12:08:06.9353806Z some tidy checks failed
2020-04-17T12:08:06.9353806Z some tidy checks failed
2020-04-17T12:08:06.9353926Z 
2020-04-17T12:08:06.9354011Z 
2020-04-17T12:08:06.9355132Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/tidy" "/checkout/src" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo"
2020-04-17T12:08:06.9355720Z 
2020-04-17T12:08:06.9355820Z 
2020-04-17T12:08:06.9360607Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test src/tools/tidy
2020-04-17T12:08:06.9360917Z Build completed unsuccessfully in 0:00:31
2020-04-17T12:08:06.9360917Z Build completed unsuccessfully in 0:00:31
2020-04-17T12:08:06.9457925Z == clock drift check ==
2020-04-17T12:08:06.9478883Z   local time: Fri Apr 17 12:08:06 UTC 2020
2020-04-17T12:08:07.1226216Z   network time: Fri, 17 Apr 2020 12:08:07 GMT
2020-04-17T12:08:08.8383552Z 
2020-04-17T12:08:08.8383552Z 
2020-04-17T12:08:08.8446422Z ##[error]Bash exited with code '1'.
2020-04-17T12:08:08.8459037Z ##[section]Finishing: Run build
2020-04-17T12:08:08.8498918Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/71154/merge to s
2020-04-17T12:08:08.8503196Z Task         : Get sources
2020-04-17T12:08:08.8503450Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-17T12:08:08.8503694Z Version      : 1.0.0
2020-04-17T12:08:08.8503861Z Author       : Microsoft
2020-04-17T12:08:08.8503861Z Author       : Microsoft
2020-04-17T12:08:08.8504125Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-04-17T12:08:08.8504433Z ==============================================================================
2020-04-17T12:08:09.1554428Z Cleaning any cached credential from repository: rust-lang/rust (GitHub)
2020-04-17T12:08:09.1593461Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/71154/merge to s
2020-04-17T12:08:09.1689239Z Cleaning up task key
2020-04-17T12:08:09.1690530Z Start cleaning up orphan processes.
2020-04-17T12:08:09.1870095Z Terminate orphan process: pid (3608) (python)
2020-04-17T12:08:09.2061488Z ##[section]Finishing: Finalize Job

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 @rust-lang/infra. (Feature Requests)

@bors
Copy link
Contributor

bors commented Apr 17, 2020

☔ The latest upstream changes (presumably #71049) made this pull request unmergeable. Please resolve the merge conflicts.

@lcnr lcnr force-pushed the type-dependent-consts branch 2 times, most recently from c003803 to 20bced3 Compare April 18, 2020 07:36
@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-8 of your PR failed (pretty log, 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.
2020-04-18T08:51:08.9311146Z ========================== Starting Command Output ===========================
2020-04-18T08:51:08.9313956Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/3abf9820-710c-4cd5-853a-6e52a5f89eea.sh
2020-04-18T08:51:08.9314215Z 
2020-04-18T08:51:08.9324865Z ##[section]Finishing: Disable git automatic line ending conversion
2020-04-18T08:51:08.9348871Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/71154/merge to s
2020-04-18T08:51:08.9352569Z Task         : Get sources
2020-04-18T08:51:08.9352867Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-18T08:51:08.9353155Z Version      : 1.0.0
2020-04-18T08:51:08.9353352Z Author       : Microsoft
---
2020-04-18T08:51:10.1184325Z ##[command]git remote add origin https://github.com/rust-lang/rust
2020-04-18T08:51:10.1193103Z ##[command]git config gc.auto 0
2020-04-18T08:51:10.1200230Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2020-04-18T08:51:10.1206000Z ##[command]git config --get-all http.proxy
2020-04-18T08:51:10.1217131Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/71154/merge:refs/remotes/pull/71154/merge
---
2020-04-18T08:54:20.8942961Z  ---> 318032b5f0e2
2020-04-18T08:54:20.8943803Z Step 5/8 : ENV RUST_CONFIGURE_ARGS       --build=x86_64-unknown-linux-gnu       --llvm-root=/usr/lib/llvm-8       --enable-llvm-link-shared       --set rust.thin-lto-import-instr-limit=10
2020-04-18T08:54:20.8944471Z  ---> Using cache
2020-04-18T08:54:20.8944823Z  ---> d44a858fd1ce
2020-04-18T08:54:20.8945858Z Step 6/8 : ENV SCRIPT python2.7 ../x.py test --exclude src/tools/tidy &&            python2.7 ../x.py test src/test/mir-opt --pass=build                                   --target=armv5te-unknown-linux-gnueabi &&            python2.7 ../x.py test src/tools/tidy
2020-04-18T08:54:20.8983982Z  ---> 58b910f50f5a
2020-04-18T08:54:20.8984222Z Step 7/8 : ENV NO_DEBUG_ASSERTIONS=1
2020-04-18T08:54:20.8992390Z  ---> Using cache
2020-04-18T08:54:20.8996165Z  ---> ee7702aadba1
---
2020-04-18T08:54:20.9529457Z Looks like docker image is the same as before, not uploading
2020-04-18T08:54:28.4215730Z [CI_JOB_NAME=x86_64-gnu-llvm-8]
2020-04-18T08:54:28.4643517Z [CI_JOB_NAME=x86_64-gnu-llvm-8]
2020-04-18T08:54:28.4682755Z == clock drift check ==
2020-04-18T08:54:28.4692802Z   local time: Sat Apr 18 08:54:28 UTC 2020
2020-04-18T08:54:28.6633633Z   network time: Sat, 18 Apr 2020 08:54:28 GMT
2020-04-18T08:54:28.6677927Z Starting sccache server...
2020-04-18T08:54:28.7561354Z configure: processing command line
2020-04-18T08:54:28.7562081Z configure: 
2020-04-18T08:54:28.7568064Z configure: rust.dist-src        := False
---
2020-04-18T09:00:19.9663715Z    Compiling rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-18T09:00:21.6450397Z    Compiling fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-18T09:00:23.4104914Z    Compiling rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-18T09:00:25.1621696Z    Compiling rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-18T09:00:34.7309778Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-18T09:00:38.2730621Z    Compiling rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-18T09:00:43.3541224Z    Compiling rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-18T09:00:48.1240339Z    Compiling rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-18T09:00:58.1206141Z    Compiling rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-18T09:22:05.5995879Z error: internal compiler error: unexpected panic
2020-04-18T09:22:05.6000173Z 
2020-04-18T09:22:05.6009273Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T09:22:05.6013590Z 
2020-04-18T09:22:05.6022115Z note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-18T09:22:05.6037520Z note: rustc 1.44.0-nightly (c624c3858 2020-04-18) running on x86_64-unknown-linux-gnu
2020-04-18T09:22:05.6037800Z 
2020-04-18T09:22:05.6037800Z 
2020-04-18T09:22:05.6046940Z note: compiler flags: -Z macro-backtrace -Z binary-dep-depinfo -Z force-unstable-if-unmarked -C opt-level=3 -C codegen-units=1 -C debuginfo=0 -C link-args=-Wl,-rpath,$ORIGIN/../lib -C prefer-dynamic -C llvm-args=-import-instr-limit=10 -C panic=abort -C debug-assertions=no --crate-type lib
2020-04-18T09:22:05.6058459Z note: some of the compiler flags provided by cargo are hidden
2020-04-18T09:22:05.6058693Z 
2020-04-18T09:22:05.6163139Z error: could not compile `compiler_builtins`.
2020-04-18T09:22:06.2936207Z 
---
2020-04-18T09:22:10.9145986Z expected success, got: exit code: 101
2020-04-18T09:22:10.9155700Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test --exclude src/tools/tidy
2020-04-18T09:22:10.9156444Z Build completed unsuccessfully in 0:25:54
2020-04-18T09:22:10.9206813Z == clock drift check ==
2020-04-18T09:22:11.4310322Z   local time: Sat Apr 18 09:22:11 UTC 2020
2020-04-18T09:22:11.7503597Z   network time: Sat, 18 Apr 2020 09:22:11 GMT
2020-04-18T09:22:13.1327967Z 
2020-04-18T09:22:13.1327967Z 
2020-04-18T09:22:13.1410339Z ##[error]Bash exited with code '1'.
2020-04-18T09:22:13.1426840Z ##[section]Finishing: Run build
2020-04-18T09:22:13.1488515Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/71154/merge to s
2020-04-18T09:22:13.1494023Z Task         : Get sources
2020-04-18T09:22:13.1494397Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-18T09:22:13.1494725Z Version      : 1.0.0
2020-04-18T09:22:13.1494955Z Author       : Microsoft
2020-04-18T09:22:13.1494955Z Author       : Microsoft
2020-04-18T09:22:13.1495335Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-04-18T09:22:13.1495751Z ==============================================================================
2020-04-18T09:22:13.5305435Z Cleaning any cached credential from repository: rust-lang/rust (GitHub)
2020-04-18T09:22:13.5358911Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/71154/merge to s
2020-04-18T09:22:13.5454424Z Cleaning up task key
2020-04-18T09:22:13.5455717Z Start cleaning up orphan processes.
2020-04-18T09:22:13.5692267Z Terminate orphan process: pid (5002) (python)
2020-04-18T09:22:13.5866887Z ##[section]Finishing: Finalize Job

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 @rust-lang/infra. (Feature Requests)

@lcnr lcnr force-pushed the type-dependent-consts branch 5 times, most recently from 5f49c29 to 14358b1 Compare April 18, 2020 15:07
@lcnr lcnr changed the title [WIP] Support const args in type dependent paths Support const args in type dependent paths Apr 18, 2020
@lcnr lcnr marked this pull request as ready for review April 18, 2020 15:26
@eddyb eddyb marked this pull request as draft April 18, 2020 15:34
@eddyb
Copy link
Member

eddyb commented Apr 18, 2020

Please keep it draft as per #71154 (comment).

@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-8 of your PR failed (pretty log, 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.
2020-04-18T15:08:16.8230399Z ========================== Starting Command Output ===========================
2020-04-18T15:08:16.8235988Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/319c3062-cf33-4a30-bf57-5f04a45c4616.sh
2020-04-18T15:08:16.8236492Z 
2020-04-18T15:08:16.8242231Z ##[section]Finishing: Disable git automatic line ending conversion
2020-04-18T15:08:16.8262726Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/71154/merge to s
2020-04-18T15:08:16.8266147Z Task         : Get sources
2020-04-18T15:08:16.8266467Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-18T15:08:16.8266759Z Version      : 1.0.0
2020-04-18T15:08:16.8266960Z Author       : Microsoft
---
2020-04-18T15:08:18.0646529Z ##[command]git remote add origin https://github.com/rust-lang/rust
2020-04-18T15:08:18.0660905Z ##[command]git config gc.auto 0
2020-04-18T15:08:18.0668307Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2020-04-18T15:08:18.0674953Z ##[command]git config --get-all http.proxy
2020-04-18T15:08:18.0716062Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/71154/merge:refs/remotes/pull/71154/merge
---
2020-04-18T15:11:11.6119813Z  ---> 318032b5f0e2
2020-04-18T15:11:11.6120988Z Step 5/8 : ENV RUST_CONFIGURE_ARGS       --build=x86_64-unknown-linux-gnu       --llvm-root=/usr/lib/llvm-8       --enable-llvm-link-shared       --set rust.thin-lto-import-instr-limit=10
2020-04-18T15:11:11.6123987Z  ---> Using cache
2020-04-18T15:11:11.6124375Z  ---> d44a858fd1ce
2020-04-18T15:11:11.6125442Z Step 6/8 : ENV SCRIPT python2.7 ../x.py test --exclude src/tools/tidy &&            python2.7 ../x.py test src/test/mir-opt --pass=build                                   --target=armv5te-unknown-linux-gnueabi &&            python2.7 ../x.py test src/tools/tidy
2020-04-18T15:11:11.6130254Z  ---> 58b910f50f5a
2020-04-18T15:11:11.6130686Z Step 7/8 : ENV NO_DEBUG_ASSERTIONS=1
2020-04-18T15:11:11.6142143Z  ---> Using cache
2020-04-18T15:11:11.6142853Z  ---> ee7702aadba1
---
2020-04-18T15:11:11.6573573Z Looks like docker image is the same as before, not uploading
2020-04-18T15:11:19.5845956Z [CI_JOB_NAME=x86_64-gnu-llvm-8]
2020-04-18T15:11:19.6137806Z [CI_JOB_NAME=x86_64-gnu-llvm-8]
2020-04-18T15:11:19.6163456Z == clock drift check ==
2020-04-18T15:11:19.6174124Z   local time: Sat Apr 18 15:11:19 UTC 2020
2020-04-18T15:11:19.8054111Z   network time: Sat, 18 Apr 2020 15:11:19 GMT
2020-04-18T15:11:19.8079894Z Starting sccache server...
2020-04-18T15:11:19.8936346Z configure: processing command line
2020-04-18T15:11:19.8936594Z configure: 
2020-04-18T15:11:19.8937946Z configure: rust.dist-src        := False
---
2020-04-18T15:16:56.1110723Z    Compiling rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-18T15:16:57.7420262Z    Compiling fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-18T15:16:59.4374161Z    Compiling rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-18T15:17:01.4575491Z    Compiling rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-18T15:17:10.5499418Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-18T15:17:13.8079031Z    Compiling rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-18T15:17:18.5166906Z    Compiling rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-18T15:17:23.0941346Z    Compiling rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-18T15:17:33.1188766Z    Compiling rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-18T15:41:44.6958194Z    Compiling rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-18T15:41:46.4850502Z    Compiling fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-18T15:41:48.4515663Z    Compiling rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-18T15:41:49.6126580Z    Compiling rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-18T15:41:59.9513595Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-18T15:42:04.3012625Z    Compiling rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-18T15:42:09.5576118Z    Compiling rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-18T15:42:14.5541282Z    Compiling rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-18T15:42:24.4947596Z    Compiling rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-18T16:06:55.0777385Z .................................................................................................... 1700/9912
2020-04-18T16:06:59.6029374Z .................................................................................................... 1800/9912
2020-04-18T16:07:08.1294605Z .................................................................................................... 1900/9912
2020-04-18T16:07:16.2775943Z ....i............................................................................................... 2000/9912
2020-04-18T16:07:22.6570917Z ..............................................................................................iiiii. 2100/9912
2020-04-18T16:07:43.2752497Z .................................................................................................... 2300/9912
2020-04-18T16:07:45.8673451Z .................................................................................................... 2400/9912
2020-04-18T16:07:47.8335538Z .................................................................................................... 2500/9912
2020-04-18T16:07:53.7548249Z .................................................................................................... 2600/9912
---
2020-04-18T16:10:55.3225517Z .................................................................................................... 5100/9912
2020-04-18T16:11:02.5876891Z .................................................................................................... 5200/9912
2020-04-18T16:11:07.3499031Z ................i................................................................................... 5300/9912
2020-04-18T16:11:17.5019466Z ......i............................................................................................. 5400/9912
2020-04-18T16:11:23.0074182Z ......ii.ii........i...i............................................................................ 5500/9912
2020-04-18T16:11:30.9611121Z ....................................................i............................................... 5700/9912
2020-04-18T16:11:40.1179901Z ....................................................................................ii.............. 5800/9912
2020-04-18T16:11:47.0705162Z .......................i............................................................................ 5900/9912
2020-04-18T16:11:52.5291625Z .................................................................................................... 6000/9912
2020-04-18T16:11:52.5291625Z .................................................................................................... 6000/9912
2020-04-18T16:12:03.2912365Z .................................................................................................... 6100/9912
2020-04-18T16:12:13.2452854Z .................ii...i..ii...........i............................................................. 6200/9912
2020-04-18T16:12:29.2615474Z .................................................................................................... 6400/9912
2020-04-18T16:12:36.0477230Z .................................................................................................... 6500/9912
2020-04-18T16:12:36.0477230Z .................................................................................................... 6500/9912
2020-04-18T16:12:51.2817285Z ...............................................i..ii................................................ 6600/9912
2020-04-18T16:13:15.2700821Z .................................................................................................... 6800/9912
2020-04-18T16:13:17.5720436Z ................................................i................................................... 6900/9912
2020-04-18T16:13:19.6425539Z .................................................................................................... 7000/9912
2020-04-18T16:13:21.6795371Z ........................................................................................i........... 7100/9912
---
2020-04-18T16:15:00.6284833Z .................................................................................................... 7900/9912
2020-04-18T16:15:07.0250262Z .................................................................................................... 8000/9912
2020-04-18T16:15:12.7713493Z ......................................................i............................................. 8100/9912
2020-04-18T16:15:22.7027991Z .................................................................................................... 8200/9912
2020-04-18T16:15:28.0374641Z ....iiiiiiiiiii.i................................................................................... 8300/9912
2020-04-18T16:15:41.6445705Z .................................................................................................... 8500/9912
2020-04-18T16:15:49.8914042Z .................................................................................................... 8600/9912
2020-04-18T16:16:04.0649350Z .................................................................................................... 8700/9912
2020-04-18T16:16:11.1195238Z .................................................................................................... 8800/9912
---
2020-04-18T16:18:32.2360002Z Suite("src/test/codegen") not skipped for "bootstrap::test::Codegen" -- not in ["src/tools/tidy"]
2020-04-18T16:18:32.2538500Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-18T16:18:32.4488856Z 
2020-04-18T16:18:32.4489181Z running 186 tests
2020-04-18T16:18:35.4452341Z iiii......i.............ii.i..........i.............................i..i..................i....i.... 100/186
2020-04-18T16:18:38.2178966Z ........i.i.i...iii..iiiiiiiiiiiiiiii.......................iii...............ii......
2020-04-18T16:18:38.2187764Z 
2020-04-18T16:18:38.2194811Z Suite("src/test/codegen-units") not skipped for "bootstrap::test::CodegenUnits" -- not in ["src/t finished in 5.964
2020-04-18T16:18:38.2198079Z ools/tidy"]
2020-04-18T16:18:38.2399541Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2020-04-18T16:18:40.4304351Z Suite("src/test/assembly") not skipped for "bootstrap::test::Assembly" -- not in ["src/tools/tidy"]
2020-04-18T16:18:40.4485605Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-18T16:18:40.6008850Z 
2020-04-18T16:18:40.6009550Z running 9 tests
2020-04-18T16:18:40.6011205Z iiiiiiiii
2020-04-18T16:18:40.6012666Z 
2020-04-18T16:18:40.6016679Z  finished in 0.153
2020-04-18T16:18:40.6022284Z Suite("src/test/incremental") not skipped for "bootstrap::test::Incremental" -- not in ["src/tools/tidy"]
2020-04-18T16:18:40.6230672Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-18T16:18:40.6230672Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-18T16:18:40.8355213Z 
2020-04-18T16:18:40.8355572Z running 119 tests
2020-04-18T16:18:57.4330788Z ............................FF.F.F..FFF.FFFFFFF.....FFF...........F.............................F... 100/119
2020-04-18T16:19:00.2988813Z failures:
2020-04-18T16:19:00.2989318Z 
2020-04-18T16:19:00.3002083Z ---- [incremental] incremental/hashes/call_expressions.rs stdout ----
2020-04-18T16:19:00.3008999Z 
2020-04-18T16:19:00.3008999Z 
2020-04-18T16:19:00.3009911Z error in revision `cfail2`: test compilation failed although it shouldn't!
2020-04-18T16:19:00.3010366Z status: exit code: 101
2020-04-18T16:19:00.3013970Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/call_expressions.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/call_expressions/call_expressions.inc" "-Z" "incremental-verify-ich" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/call_expressions" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/call_expressions/auxiliary"
2020-04-18T16:19:00.3016233Z ------------------------------------------
2020-04-18T16:19:00.3016546Z 
2020-04-18T16:19:00.3017323Z ------------------------------------------
2020-04-18T16:19:00.3017550Z stderr:
2020-04-18T16:19:00.3017550Z stderr:
2020-04-18T16:19:00.3018127Z ------------------------------------------
2020-04-18T16:19:00.3019079Z thread 'rustc' panicked at 'internal error: entered unreachable code', src/librustc_incremental/persist/dirty_clean.rs:380:24
2020-04-18T16:19:00.3023554Z 
2020-04-18T16:19:00.3023768Z error: internal compiler error: unexpected panic
2020-04-18T16:19:00.3024313Z 
2020-04-18T16:19:00.3024545Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3024545Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3036808Z 
2020-04-18T16:19:00.3037894Z note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-18T16:19:00.3038636Z note: rustc 1.44.0-nightly (3ae416b36 2020-04-18) running on x86_64-unknown-linux-gnu
2020-04-18T16:19:00.3038856Z 
2020-04-18T16:19:00.3038856Z 
2020-04-18T16:19:00.3039661Z note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
2020-04-18T16:19:00.3040522Z thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
2020-04-18T16:19:00.3040802Z   left: `LLVMing`,
2020-04-18T16:19:00.3040802Z   left: `LLVMing`,
2020-04-18T16:19:00.3041225Z  right: `Codegenning`', /checkout/src/libstd/macros.rs:16:9
2020-04-18T16:19:00.3041778Z error: internal compiler error: unexpected panic
2020-04-18T16:19:00.3041990Z 
2020-04-18T16:19:00.3042176Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3042341Z 
2020-04-18T16:19:00.3042341Z 
2020-04-18T16:19:00.3042949Z note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-18T16:19:00.3043627Z note: rustc 1.44.0-nightly (3ae416b36 2020-04-18) running on x86_64-unknown-linux-gnu
2020-04-18T16:19:00.3043833Z 
2020-04-18T16:19:00.3043833Z 
2020-04-18T16:19:00.3044608Z note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
2020-04-18T16:19:00.3045101Z 
2020-04-18T16:19:00.3045553Z ------------------------------------------
2020-04-18T16:19:00.3045695Z 
2020-04-18T16:19:00.3045775Z 
2020-04-18T16:19:00.3045775Z 
2020-04-18T16:19:00.3046284Z ---- [incremental] incremental/hashes/closure_expressions.rs stdout ----
2020-04-18T16:19:00.3046479Z 
2020-04-18T16:19:00.3046919Z error in revision `cfail2`: test compilation failed although it shouldn't!
2020-04-18T16:19:00.3047187Z status: exit code: 101
2020-04-18T16:19:00.3049465Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/closure_expressions.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/closure_expressions/closure_expressions.inc" "-Z" "incremental-verify-ich" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/closure_expressions" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/closure_expressions/auxiliary"
2020-04-18T16:19:00.3051213Z ------------------------------------------
2020-04-18T16:19:00.3051361Z 
2020-04-18T16:19:00.3051692Z ------------------------------------------
2020-04-18T16:19:00.3051886Z stderr:
2020-04-18T16:19:00.3051886Z stderr:
2020-04-18T16:19:00.3052229Z ------------------------------------------
2020-04-18T16:19:00.3052838Z thread 'rustc' panicked at 'internal error: entered unreachable code', src/librustc_incremental/persist/dirty_clean.rs:380:24
2020-04-18T16:19:00.3053594Z 
2020-04-18T16:19:00.3053899Z error: internal compiler error: unexpected panic
2020-04-18T16:19:00.3054071Z 
2020-04-18T16:19:00.3054277Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3054277Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3054451Z 
2020-04-18T16:19:00.3054991Z note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-18T16:19:00.3055841Z note: rustc 1.44.0-nightly (3ae416b36 2020-04-18) running on x86_64-unknown-linux-gnu
2020-04-18T16:19:00.3056049Z 
2020-04-18T16:19:00.3056049Z 
2020-04-18T16:19:00.3057163Z note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
2020-04-18T16:19:00.3058202Z thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
2020-04-18T16:19:00.3058481Z   left: `LLVMing`,
2020-04-18T16:19:00.3058481Z   left: `LLVMing`,
2020-04-18T16:19:00.3058915Z  right: `Codegenning`', /checkout/src/libstd/macros.rs:16:9
2020-04-18T16:19:00.3059298Z error: internal compiler error: unexpected panic
2020-04-18T16:19:00.3059593Z 
2020-04-18T16:19:00.3059785Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3059957Z 
2020-04-18T16:19:00.3059957Z 
2020-04-18T16:19:00.3060751Z note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-18T16:19:00.3061511Z note: rustc 1.44.0-nightly (3ae416b36 2020-04-18) running on x86_64-unknown-linux-gnu
2020-04-18T16:19:00.3061737Z 
2020-04-18T16:19:00.3061737Z 
2020-04-18T16:19:00.3062541Z note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
2020-04-18T16:19:00.3063072Z 
2020-04-18T16:19:00.3063417Z ------------------------------------------
2020-04-18T16:19:00.3063705Z 
2020-04-18T16:19:00.3063790Z 
2020-04-18T16:19:00.3063790Z 
2020-04-18T16:19:00.3064187Z ---- [incremental] incremental/hashes/enum_constructors.rs stdout ----
2020-04-18T16:19:00.3064370Z 
2020-04-18T16:19:00.3064801Z error in revision `cfail2`: test compilation failed although it shouldn't!
2020-04-18T16:19:00.3065064Z status: exit code: 101
2020-04-18T16:19:00.3067295Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/enum_constructors.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/enum_constructors/enum_constructors.inc" "-Z" "incremental-verify-ich" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/enum_constructors" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/enum_constructors/auxiliary"
2020-04-18T16:19:00.3069235Z ------------------------------------------
2020-04-18T16:19:00.3069382Z 
2020-04-18T16:19:00.3069713Z ------------------------------------------
2020-04-18T16:19:00.3069910Z stderr:
2020-04-18T16:19:00.3069910Z stderr:
2020-04-18T16:19:00.3070259Z ------------------------------------------
2020-04-18T16:19:00.3070868Z thread 'rustc' panicked at 'internal error: entered unreachable code', src/librustc_incremental/persist/dirty_clean.rs:380:24
2020-04-18T16:19:00.3071523Z 
2020-04-18T16:19:00.3071713Z error: internal compiler error: unexpected panic
2020-04-18T16:19:00.3071885Z 
2020-04-18T16:19:00.3072091Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3072091Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3072263Z 
2020-04-18T16:19:00.3072897Z note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-18T16:19:00.3073816Z note: rustc 1.44.0-nightly (3ae416b36 2020-04-18) running on x86_64-unknown-linux-gnu
2020-04-18T16:19:00.3074031Z 
2020-04-18T16:19:00.3074031Z 
2020-04-18T16:19:00.3074830Z note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
2020-04-18T16:19:00.3075875Z thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
2020-04-18T16:19:00.3076163Z   left: `LLVMing`,
2020-04-18T16:19:00.3076163Z   left: `LLVMing`,
2020-04-18T16:19:00.3076599Z  right: `Codegenning`', /checkout/src/libstd/macros.rs:16:9
2020-04-18T16:19:00.3076987Z error: internal compiler error: unexpected panic
2020-04-18T16:19:00.3077182Z 
2020-04-18T16:19:00.3077380Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3077559Z 
2020-04-18T16:19:00.3077559Z 
2020-04-18T16:19:00.3078129Z note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-18T16:19:00.3078823Z note: rustc 1.44.0-nightly (3ae416b36 2020-04-18) running on x86_64-unknown-linux-gnu
2020-04-18T16:19:00.3079037Z 
2020-04-18T16:19:00.3079037Z 
2020-04-18T16:19:00.3080022Z note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
2020-04-18T16:19:00.3080556Z 
2020-04-18T16:19:00.3080922Z ------------------------------------------
2020-04-18T16:19:00.3081083Z 
2020-04-18T16:19:00.3081166Z 
2020-04-18T16:19:00.3081166Z 
2020-04-18T16:19:00.3081553Z ---- [incremental] incremental/hashes/exported_vs_not.rs stdout ----
2020-04-18T16:19:00.3081735Z 
2020-04-18T16:19:00.3082167Z error in revision `cfail2`: test compilation failed although it shouldn't!
2020-04-18T16:19:00.3082428Z status: exit code: 101
2020-04-18T16:19:00.3084629Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/exported_vs_not.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/exported_vs_not/exported_vs_not.inc" "-Z" "incremental-verify-ich" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/exported_vs_not" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/exported_vs_not/auxiliary"
2020-04-18T16:19:00.3086359Z ------------------------------------------
2020-04-18T16:19:00.3086508Z 
2020-04-18T16:19:00.3086845Z ------------------------------------------
2020-04-18T16:19:00.3087022Z stderr:
2020-04-18T16:19:00.3087022Z stderr:
2020-04-18T16:19:00.3087378Z ------------------------------------------
2020-04-18T16:19:00.3087984Z thread 'rustc' panicked at 'internal error: entered unreachable code', src/librustc_incremental/persist/dirty_clean.rs:380:24
2020-04-18T16:19:00.3088637Z 
2020-04-18T16:19:00.3088827Z error: internal compiler error: unexpected panic
2020-04-18T16:19:00.3088998Z 
2020-04-18T16:19:00.3089203Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3089203Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3089376Z 
2020-04-18T16:19:00.3089917Z note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-18T16:19:00.3090609Z note: rustc 1.44.0-nightly (3ae416b36 2020-04-18) running on x86_64-unknown-linux-gnu
2020-04-18T16:19:00.3090820Z 
2020-04-18T16:19:00.3090820Z 
2020-04-18T16:19:00.3097630Z note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
2020-04-18T16:19:00.3098722Z thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
2020-04-18T16:19:00.3098991Z   left: `LLVMing`,
2020-04-18T16:19:00.3098991Z   left: `LLVMing`,
2020-04-18T16:19:00.3099585Z  right: `Codegenning`', /checkout/src/libstd/macros.rs:16:9
2020-04-18T16:19:00.3100126Z error: internal compiler error: unexpected panic
2020-04-18T16:19:00.3100297Z 
2020-04-18T16:19:00.3100503Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3100683Z 
2020-04-18T16:19:00.3100683Z 
2020-04-18T16:19:00.3101319Z note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-18T16:19:00.3102038Z note: rustc 1.44.0-nightly (3ae416b36 2020-04-18) running on x86_64-unknown-linux-gnu
2020-04-18T16:19:00.3102254Z 
2020-04-18T16:19:00.3102254Z 
2020-04-18T16:19:00.3103180Z note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
2020-04-18T16:19:00.3103698Z 
2020-04-18T16:19:00.3104035Z ------------------------------------------
2020-04-18T16:19:00.3104293Z 
2020-04-18T16:19:00.3104511Z 
2020-04-18T16:19:00.3104511Z 
2020-04-18T16:19:00.3104942Z ---- [incremental] incremental/hashes/for_loops.rs stdout ----
2020-04-18T16:19:00.3105122Z 
2020-04-18T16:19:00.3105569Z error in revision `cfail2`: test compilation failed although it shouldn't!
2020-04-18T16:19:00.3105849Z status: exit code: 101
2020-04-18T16:19:00.3108055Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/for_loops.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/for_loops/for_loops.inc" "-Z" "incremental-verify-ich" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/for_loops" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/for_loops/auxiliary"
2020-04-18T16:19:00.3109795Z ------------------------------------------
2020-04-18T16:19:00.3109970Z 
2020-04-18T16:19:00.3110317Z ------------------------------------------
2020-04-18T16:19:00.3110501Z stderr:
2020-04-18T16:19:00.3110501Z stderr:
2020-04-18T16:19:00.3110871Z ------------------------------------------
2020-04-18T16:19:00.3111510Z thread 'rustc' panicked at 'internal error: entered unreachable code', src/librustc_incremental/persist/dirty_clean.rs:380:24
2020-04-18T16:19:00.3112183Z 
2020-04-18T16:19:00.3112382Z error: internal compiler error: unexpected panic
2020-04-18T16:19:00.3112560Z 
2020-04-18T16:19:00.3112758Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3112758Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3112953Z 
2020-04-18T16:19:00.3113520Z note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-18T16:19:00.3114615Z note: rustc 1.44.0-nightly (3ae416b36 2020-04-18) running on x86_64-unknown-linux-gnu
2020-04-18T16:19:00.3114840Z 
2020-04-18T16:19:00.3114840Z 
2020-04-18T16:19:00.3115642Z note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
2020-04-18T16:19:00.3116543Z thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
2020-04-18T16:19:00.3116813Z   left: `LLVMing`,
2020-04-18T16:19:00.3116813Z   left: `LLVMing`,
2020-04-18T16:19:00.3117263Z  right: `Codegenning`', /checkout/src/libstd/macros.rs:16:9
2020-04-18T16:19:00.3117659Z error: internal compiler error: unexpected panic
2020-04-18T16:19:00.3117838Z 
2020-04-18T16:19:00.3118052Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3118231Z 
2020-04-18T16:19:00.3118231Z 
2020-04-18T16:19:00.3118799Z note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-18T16:19:00.3119676Z note: rustc 1.44.0-nightly (3ae416b36 2020-04-18) running on x86_64-unknown-linux-gnu
2020-04-18T16:19:00.3119891Z 
2020-04-18T16:19:00.3119891Z 
2020-04-18T16:19:00.3120681Z note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
2020-04-18T16:19:00.3121418Z 
2020-04-18T16:19:00.3121807Z ------------------------------------------
2020-04-18T16:19:00.3121957Z 
2020-04-18T16:19:00.3122063Z 
2020-04-18T16:19:00.3122063Z 
2020-04-18T16:19:00.3122481Z ---- [incremental] incremental/hashes/function_interfaces.rs stdout ----
2020-04-18T16:19:00.3122676Z 
2020-04-18T16:19:00.3123108Z error in revision `cfail2`: test compilation failed although it shouldn't!
2020-04-18T16:19:00.3123396Z status: exit code: 101
2020-04-18T16:19:00.3144169Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/function_interfaces.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/function_interfaces/function_interfaces.inc" "-Z" "incremental-verify-ich" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/function_interfaces" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/function_interfaces/auxiliary"
2020-04-18T16:19:00.3146379Z ------------------------------------------
2020-04-18T16:19:00.3147770Z 
2020-04-18T16:19:00.3148293Z ------------------------------------------
2020-04-18T16:19:00.3148488Z stderr:
2020-04-18T16:19:00.3148488Z stderr:
2020-04-18T16:19:00.3148881Z ------------------------------------------
2020-04-18T16:19:00.3149530Z thread 'rustc' panicked at 'internal error: entered unreachable code', src/librustc_incremental/persist/dirty_clean.rs:380:24
2020-04-18T16:19:00.3151022Z 
2020-04-18T16:19:00.3151239Z error: internal compiler error: unexpected panic
2020-04-18T16:19:00.3151418Z 
2020-04-18T16:19:00.3151617Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3151617Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3151812Z 
2020-04-18T16:19:00.3152502Z note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-18T16:19:00.3153230Z note: rustc 1.44.0-nightly (3ae416b36 2020-04-18) running on x86_64-unknown-linux-gnu
2020-04-18T16:19:00.3153446Z 
2020-04-18T16:19:00.3153446Z 
2020-04-18T16:19:00.3154506Z note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
2020-04-18T16:19:00.3155467Z thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
2020-04-18T16:19:00.3155740Z   left: `LLVMing`,
2020-04-18T16:19:00.3155740Z   left: `LLVMing`,
2020-04-18T16:19:00.3156196Z  right: `Codegenning`', /checkout/src/libstd/macros.rs:16:9
2020-04-18T16:19:00.3156592Z error: internal compiler error: unexpected panic
2020-04-18T16:19:00.3156771Z 
2020-04-18T16:19:00.3156984Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3157164Z 
2020-04-18T16:19:00.3157164Z 
2020-04-18T16:19:00.3157738Z note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-18T16:19:00.3158473Z note: rustc 1.44.0-nightly (3ae416b36 2020-04-18) running on x86_64-unknown-linux-gnu
2020-04-18T16:19:00.3158813Z 
2020-04-18T16:19:00.3158813Z 
2020-04-18T16:19:00.3159596Z note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
2020-04-18T16:19:00.3160294Z 
2020-04-18T16:19:00.3160677Z ------------------------------------------
2020-04-18T16:19:00.3160831Z 
2020-04-18T16:19:00.3160933Z 
2020-04-18T16:19:00.3160933Z 
2020-04-18T16:19:00.3161452Z ---- [incremental] incremental/hashes/if_expressions.rs stdout ----
2020-04-18T16:19:00.3161642Z 
2020-04-18T16:19:00.3162718Z error in revision `cfail2`: test compilation failed although it shouldn't!
2020-04-18T16:19:00.3163015Z status: exit code: 101
2020-04-18T16:19:00.3165514Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/if_expressions.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/if_expressions/if_expressions.inc" "-Z" "incremental-verify-ich" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/if_expressions" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/if_expressions/auxiliary"
2020-04-18T16:19:00.3167437Z ------------------------------------------
2020-04-18T16:19:00.3167610Z 
2020-04-18T16:19:00.3167956Z ------------------------------------------
2020-04-18T16:19:00.3168139Z stderr:
2020-04-18T16:19:00.3168139Z stderr:
2020-04-18T16:19:00.3168504Z ------------------------------------------
2020-04-18T16:19:00.3169359Z thread 'rustc' panicked at 'internal error: entered unreachable code', src/librustc_incremental/persist/dirty_clean.rs:380:24
2020-04-18T16:19:00.3170049Z 
2020-04-18T16:19:00.3170247Z error: internal compiler error: unexpected panic
2020-04-18T16:19:00.3170426Z 
2020-04-18T16:19:00.3170624Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3170624Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3170819Z 
2020-04-18T16:19:00.3171528Z note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-18T16:19:00.3172239Z note: rustc 1.44.0-nightly (3ae416b36 2020-04-18) running on x86_64-unknown-linux-gnu
2020-04-18T16:19:00.3172456Z 
2020-04-18T16:19:00.3172456Z 
2020-04-18T16:19:00.3173354Z note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
2020-04-18T16:19:00.3174257Z thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
2020-04-18T16:19:00.3174535Z   left: `LLVMing`,
2020-04-18T16:19:00.3174535Z   left: `LLVMing`,
2020-04-18T16:19:00.3174976Z  right: `Codegenning`', /checkout/src/libstd/macros.rs:16:9
2020-04-18T16:19:00.3175387Z error: internal compiler error: unexpected panic
2020-04-18T16:19:00.3175565Z 
2020-04-18T16:19:00.3175778Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3175959Z 
2020-04-18T16:19:00.3175959Z 
2020-04-18T16:19:00.3176637Z note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-18T16:19:00.3177582Z note: rustc 1.44.0-nightly (3ae416b36 2020-04-18) running on x86_64-unknown-linux-gnu
2020-04-18T16:19:00.3177800Z 
2020-04-18T16:19:00.3177800Z 
2020-04-18T16:19:00.3178576Z note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
2020-04-18T16:19:00.3179228Z 
2020-04-18T16:19:00.3179585Z ------------------------------------------
2020-04-18T16:19:00.3179886Z 
2020-04-18T16:19:00.3179974Z 
2020-04-18T16:19:00.3179974Z 
2020-04-18T16:19:00.3180433Z ---- [incremental] incremental/hashes/inherent_impls.rs stdout ----
2020-04-18T16:19:00.3180622Z 
2020-04-18T16:19:00.3181050Z error in revision `cfail2`: test compilation failed although it shouldn't!
2020-04-18T16:19:00.3181338Z status: exit code: 101
2020-04-18T16:19:00.3183663Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/inherent_impls.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/inherent_impls/inherent_impls.inc" "-Z" "incremental-verify-ich" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/inherent_impls" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/inherent_impls/auxiliary"
2020-04-18T16:19:00.3185704Z ------------------------------------------
2020-04-18T16:19:00.3185860Z 
2020-04-18T16:19:00.3186226Z ------------------------------------------
2020-04-18T16:19:00.3186409Z stderr:
2020-04-18T16:19:00.3186409Z stderr:
2020-04-18T16:19:00.3186760Z ------------------------------------------
2020-04-18T16:19:00.3187409Z thread 'rustc' panicked at 'internal error: entered unreachable code', src/librustc_incremental/persist/dirty_clean.rs:380:24
2020-04-18T16:19:00.3188278Z 
2020-04-18T16:19:00.3188484Z error: internal compiler error: unexpected panic
2020-04-18T16:19:00.3188655Z 
2020-04-18T16:19:00.3188845Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3188845Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3189032Z 
2020-04-18T16:19:00.3189621Z note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-18T16:19:00.3190523Z note: rustc 1.44.0-nightly (3ae416b36 2020-04-18) running on x86_64-unknown-linux-gnu
2020-04-18T16:19:00.3190762Z 
2020-04-18T16:19:00.3190762Z 
2020-04-18T16:19:00.3191543Z note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
2020-04-18T16:19:00.3192540Z thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
2020-04-18T16:19:00.3192801Z   left: `LLVMing`,
2020-04-18T16:19:00.3192801Z   left: `LLVMing`,
2020-04-18T16:19:00.3193213Z  right: `Codegenning`', /checkout/src/libstd/macros.rs:16:9
2020-04-18T16:19:00.3193608Z error: internal compiler error: unexpected panic
2020-04-18T16:19:00.3193779Z 
2020-04-18T16:19:00.3193978Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3194170Z 
2020-04-18T16:19:00.3194170Z 
2020-04-18T16:19:00.3194712Z note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-18T16:19:00.3195681Z note: rustc 1.44.0-nightly (3ae416b36 2020-04-18) running on x86_64-unknown-linux-gnu
2020-04-18T16:19:00.3195903Z 
2020-04-18T16:19:00.3195903Z 
2020-04-18T16:19:00.3196727Z note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
2020-04-18T16:19:00.3197291Z 
2020-04-18T16:19:00.3197648Z ------------------------------------------
2020-04-18T16:19:00.3197798Z 
2020-04-18T16:19:00.3197886Z 
2020-04-18T16:19:00.3197886Z 
2020-04-18T16:19:00.3198511Z ---- [incremental] incremental/hashes/inline_asm.rs stdout ----
2020-04-18T16:19:00.3198680Z 
2020-04-18T16:19:00.3199089Z error in revision `cfail2`: test compilation failed although it shouldn't!
2020-04-18T16:19:00.3199601Z status: exit code: 101
2020-04-18T16:19:00.3202200Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/inline_asm.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/inline_asm/inline_asm.inc" "-Z" "incremental-verify-ich" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/inline_asm" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/inline_asm/auxiliary"
2020-04-18T16:19:00.3203969Z ------------------------------------------
2020-04-18T16:19:00.3204199Z 
2020-04-18T16:19:00.3204578Z ------------------------------------------
2020-04-18T16:19:00.3204739Z stderr:
2020-04-18T16:19:00.3204739Z stderr:
2020-04-18T16:19:00.3205187Z ------------------------------------------
2020-04-18T16:19:00.3205917Z thread 'rustc' panicked at 'internal error: entered unreachable code', src/librustc_incremental/persist/dirty_clean.rs:380:24
2020-04-18T16:19:00.3206684Z 
2020-04-18T16:19:00.3206896Z error: internal compiler error: unexpected panic
2020-04-18T16:19:00.3207074Z 
2020-04-18T16:19:00.3207270Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3207270Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3207610Z 
2020-04-18T16:19:00.3208237Z note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-18T16:19:00.3208937Z note: rustc 1.44.0-nightly (3ae416b36 2020-04-18) running on x86_64-unknown-linux-gnu
2020-04-18T16:19:00.3209172Z 
2020-04-18T16:19:00.3209172Z 
2020-04-18T16:19:00.3209981Z note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
2020-04-18T16:19:00.3210887Z thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
2020-04-18T16:19:00.3211155Z   left: `LLVMing`,
2020-04-18T16:19:00.3211155Z   left: `LLVMing`,
2020-04-18T16:19:00.3211583Z  right: `Codegenning`', /checkout/src/libstd/macros.rs:16:9
2020-04-18T16:19:00.3211994Z error: internal compiler error: unexpected panic
2020-04-18T16:19:00.3212172Z 
2020-04-18T16:19:00.3212369Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3212548Z 
2020-04-18T16:19:00.3212548Z 
2020-04-18T16:19:00.3213114Z note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-18T16:19:00.3213819Z note: rustc 1.44.0-nightly (3ae416b36 2020-04-18) running on x86_64-unknown-linux-gnu
2020-04-18T16:19:00.3214044Z 
2020-04-18T16:19:00.3214044Z 
2020-04-18T16:19:00.3214952Z note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
2020-04-18T16:19:00.3215604Z 
2020-04-18T16:19:00.3216092Z ------------------------------------------
2020-04-18T16:19:00.3216256Z 
2020-04-18T16:19:00.3216344Z 
2020-04-18T16:19:00.3216344Z 
2020-04-18T16:19:00.3217244Z ---- [incremental] incremental/hashes/let_expressions.rs stdout ----
2020-04-18T16:19:00.3217452Z 
2020-04-18T16:19:00.3217931Z error in revision `cfail2`: test compilation failed although it shouldn't!
2020-04-18T16:19:00.3218203Z status: exit code: 101
2020-04-18T16:19:00.3220908Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/let_expressions.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/let_expressions/let_expressions.inc" "-Z" "incremental-verify-ich" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/let_expressions" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/let_expressions/auxiliary"
2020-04-18T16:19:00.3223077Z ------------------------------------------
2020-04-18T16:19:00.3223241Z 
2020-04-18T16:19:00.3223629Z ------------------------------------------
2020-04-18T16:19:00.3223816Z stderr:
2020-04-18T16:19:00.3223816Z stderr:
2020-04-18T16:19:00.3224173Z ------------------------------------------
2020-04-18T16:19:00.3224931Z thread 'rustc' panicked at 'internal error: entered unreachable code', src/librustc_incremental/persist/dirty_clean.rs:380:24
2020-04-18T16:19:00.3225709Z 
2020-04-18T16:19:00.3225913Z error: internal compiler error: unexpected panic
2020-04-18T16:19:00.3226086Z 
2020-04-18T16:19:00.3226277Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3226277Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3226449Z 
2020-04-18T16:19:00.3227052Z note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-18T16:19:00.3227740Z note: rustc 1.44.0-nightly (3ae416b36 2020-04-18) running on x86_64-unknown-linux-gnu
2020-04-18T16:19:00.3227958Z 
2020-04-18T16:19:00.3227958Z 
2020-04-18T16:19:00.3228730Z note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
2020-04-18T16:19:00.3229924Z thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
2020-04-18T16:19:00.3230201Z   left: `LLVMing`,
2020-04-18T16:19:00.3230201Z   left: `LLVMing`,
2020-04-18T16:19:00.3230670Z  right: `Codegenning`', /checkout/src/libstd/macros.rs:16:9
2020-04-18T16:19:00.3231065Z error: internal compiler error: unexpected panic
2020-04-18T16:19:00.3231241Z 
2020-04-18T16:19:00.3231438Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3231616Z 
2020-04-18T16:19:00.3231616Z 
2020-04-18T16:19:00.3232190Z note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-18T16:19:00.3233000Z note: rustc 1.44.0-nightly (3ae416b36 2020-04-18) running on x86_64-unknown-linux-gnu
2020-04-18T16:19:00.3233232Z 
2020-04-18T16:19:00.3233232Z 
2020-04-18T16:19:00.3234215Z note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
2020-04-18T16:19:00.3234859Z 
2020-04-18T16:19:00.3235228Z ------------------------------------------
2020-04-18T16:19:00.3235380Z 
2020-04-18T16:19:00.3235467Z 
2020-04-18T16:19:00.3235467Z 
2020-04-18T16:19:00.3235868Z ---- [incremental] incremental/hashes/loop_expressions.rs stdout ----
2020-04-18T16:19:00.3236073Z 
2020-04-18T16:19:00.3236502Z error in revision `cfail2`: test compilation failed although it shouldn't!
2020-04-18T16:19:00.3236782Z status: exit code: 101
2020-04-18T16:19:00.3239148Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/loop_expressions.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/loop_expressions/loop_expressions.inc" "-Z" "incremental-verify-ich" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/loop_expressions" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/loop_expressions/auxiliary"
2020-04-18T16:19:00.3241133Z ------------------------------------------
2020-04-18T16:19:00.3241276Z 
2020-04-18T16:19:00.3241610Z ------------------------------------------
2020-04-18T16:19:00.3241781Z stderr:
2020-04-18T16:19:00.3241781Z stderr:
2020-04-18T16:19:00.3242108Z ------------------------------------------
2020-04-18T16:19:00.3242693Z thread 'rustc' panicked at 'internal error: entered unreachable code', src/librustc_incremental/persist/dirty_clean.rs:380:24
2020-04-18T16:19:00.3243320Z 
2020-04-18T16:19:00.3243504Z error: internal compiler error: unexpected panic
2020-04-18T16:19:00.3243809Z 
2020-04-18T16:19:00.3244082Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3244082Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3244270Z 
2020-04-18T16:19:00.3244978Z note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-18T16:19:00.3245683Z note: rustc 1.44.0-nightly (3ae416b36 2020-04-18) running on x86_64-unknown-linux-gnu
2020-04-18T16:19:00.3245898Z 
2020-04-18T16:19:00.3245898Z 
2020-04-18T16:19:00.3246695Z note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
2020-04-18T16:19:00.3247689Z thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
2020-04-18T16:19:00.3248063Z   left: `LLVMing`,
2020-04-18T16:19:00.3248063Z   left: `LLVMing`,
2020-04-18T16:19:00.3248459Z  right: `Codegenning`', /checkout/src/libstd/macros.rs:16:9
2020-04-18T16:19:00.3248827Z error: internal compiler error: unexpected panic
2020-04-18T16:19:00.3248993Z 
2020-04-18T16:19:00.3249174Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3249454Z 
2020-04-18T16:19:00.3249454Z 
2020-04-18T16:19:00.3250004Z note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-18T16:19:00.3250677Z note: rustc 1.44.0-nightly (3ae416b36 2020-04-18) running on x86_64-unknown-linux-gnu
2020-04-18T16:19:00.3250907Z 
2020-04-18T16:19:00.3250907Z 
2020-04-18T16:19:00.3251799Z note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
2020-04-18T16:19:00.3252323Z 
2020-04-18T16:19:00.3252789Z ------------------------------------------
2020-04-18T16:19:00.3252941Z 
2020-04-18T16:19:00.3253026Z 
2020-04-18T16:19:00.3253026Z 
2020-04-18T16:19:00.3253418Z ---- [incremental] incremental/hashes/match_expressions.rs stdout ----
2020-04-18T16:19:00.3253616Z 
2020-04-18T16:19:00.3254161Z error in revision `cfail2`: test compilation failed although it shouldn't!
2020-04-18T16:19:00.3254435Z status: exit code: 101
2020-04-18T16:19:00.3256925Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/match_expressions.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/match_expressions/match_expressions.inc" "-Z" "incremental-verify-ich" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/match_expressions" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/match_expressions/auxiliary"
2020-04-18T16:19:00.3258926Z ------------------------------------------
2020-04-18T16:19:00.3259080Z 
2020-04-18T16:19:00.3259423Z ------------------------------------------
2020-04-18T16:19:00.3259625Z stderr:
2020-04-18T16:19:00.3259625Z stderr:
2020-04-18T16:19:00.3259976Z ------------------------------------------
2020-04-18T16:19:00.3260606Z thread 'rustc' panicked at 'internal error: entered unreachable code', src/librustc_incremental/persist/dirty_clean.rs:380:24
2020-04-18T16:19:00.3261287Z 
2020-04-18T16:19:00.3261672Z error: internal compiler error: unexpected panic
2020-04-18T16:19:00.3261870Z 
2020-04-18T16:19:00.3262070Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3262070Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-18T16:19:00.3262249Z 
2020-04-18T16:19:00.3262874Z note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-18T16:19:00.3263681Z note: rustc 1.44.0-nightly (3ae416b36 2020-04-18) running on x86_64-unknown-linux-gnu
2020-04-18T16:19:00.3263914Z 
2020-04-18T16:19:00.3263914Z 
---
2020-04-18T16:19:00.3446087Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:348:22
2020-04-18T16:19:00.3446459Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2020-04-18T16:19:00.3446660Z 
2020-04-18T16:19:00.3446746Z 
2020-04-18T16:19:00.3450247Z 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/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/incremental" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "incremental" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-8/bin/FileCheck" "--nodejs" "/usr/bin/node" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "8.0.0" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2020-04-18T16:19:00.3452657Z 
2020-04-18T16:19:00.3452751Z 
2020-04-18T16:19:00.3453238Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test --exclude src/tools/tidy
2020-04-18T16:19:00.3453572Z Build completed unsuccessfully in 1:05:57
2020-04-18T16:19:00.3453572Z Build completed unsuccessfully in 1:05:57
2020-04-18T16:19:00.3453799Z == clock drift check ==
2020-04-18T16:19:00.3454041Z   local time: Sat Apr 18 16:19:00 UTC 2020
2020-04-18T16:19:00.5086732Z   network time: Sat, 18 Apr 2020 16:19:00 GMT
2020-04-18T16:19:03.2410021Z 
2020-04-18T16:19:03.2410021Z 
2020-04-18T16:19:03.2497632Z ##[error]Bash exited with code '1'.
2020-04-18T16:19:03.2515113Z ##[section]Finishing: Run build
2020-04-18T16:19:03.2569661Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/71154/merge to s
2020-04-18T16:19:03.2575247Z Task         : Get sources
2020-04-18T16:19:03.2575604Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-18T16:19:03.2575946Z Version      : 1.0.0
2020-04-18T16:19:03.2576178Z Author       : Microsoft
2020-04-18T16:19:03.2576178Z Author       : Microsoft
2020-04-18T16:19:03.2576542Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-04-18T16:19:03.2577277Z ==============================================================================
2020-04-18T16:19:03.6374441Z Cleaning any cached credential from repository: rust-lang/rust (GitHub)
2020-04-18T16:19:03.6424518Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/71154/merge to s
2020-04-18T16:19:03.6531258Z Cleaning up task key
2020-04-18T16:19:03.6532717Z Start cleaning up orphan processes.
2020-04-18T16:19:03.6759071Z Terminate orphan process: pid (3917) (python)
2020-04-18T16:19:03.6955636Z ##[section]Finishing: Finalize Job

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 @rust-lang/infra. (Feature Requests)

@bors
Copy link
Contributor

bors commented Jun 16, 2020

☀️ Try build successful - checks-azure
Build commit: 2e0ee43e993a0a97edc6a0af1116bfbccdf1dd36 (2e0ee43e993a0a97edc6a0af1116bfbccdf1dd36)

@rust-timer
Copy link
Collaborator

Queued 2e0ee43e993a0a97edc6a0af1116bfbccdf1dd36 with parent a647c0c, future comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking try commit (2e0ee43e993a0a97edc6a0af1116bfbccdf1dd36): comparison url.

@lcnr lcnr force-pushed the type-dependent-consts branch from 6ae75a1 to 60dae6e Compare June 26, 2020 12:31
@lcnr lcnr force-pushed the type-dependent-consts branch from 60dae6e to a23a444 Compare June 26, 2020 12:45
@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-8 of your PR failed (pretty log, 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.
##[section]Starting: Linux x86_64-gnu-llvm-8
##[section]Starting: Initialize job
Agent name: 'Azure Pipelines 2'
Agent machine name: 'fv-az578'
Current agent version: '2.171.1'
##[group]Operating System
16.04.6
LTS
LTS
##[endgroup]
##[group]Virtual Environment
Environment: ubuntu-16.04
Version: 20200621.1
Included Software: https://github.com/actions/virtual-environments/blob/ubuntu16/20200621.1/images/linux/Ubuntu1604-README.md
##[endgroup]
Agent running as: 'vsts'
Prepare build directory.
Set build variables.
Download all required tasks.
Download all required tasks.
Downloading task: Bash (3.171.1)
Checking job knob settings.
   Knob: AgentToolsDirectory = /opt/hostedtoolcache Source: ${AGENT_TOOLSDIRECTORY} 
   Knob: AgentPerflog = /home/vsts/perflog Source: ${VSTS_AGENT_PERFLOG} 
Start tracking orphan processes.
##[section]Finishing: Initialize job
##[section]Starting: Configure Job Name
==============================================================================
---
========================== Starting Command Output ===========================
[command]/bin/bash --noprofile --norc /home/vsts/work/_temp/f5c2a9b7-62d0-4c31-b479-b63cc3370e5b.sh

##[section]Finishing: Disable git automatic line ending conversion
##[section]Starting: Checkout rust-lang/rust@refs/pull/71154/merge to s
Task         : Get sources
Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
Version      : 1.0.0
Author       : Microsoft
---
##[command]git remote add origin https://github.com/rust-lang/rust
##[command]git config gc.auto 0
##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
##[command]git config --get-all http.proxy
##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/71154/merge:refs/remotes/pull/71154/merge
---
 ---> 31fea614d2f3
Step 5/8 : ENV RUST_CONFIGURE_ARGS       --build=x86_64-unknown-linux-gnu       --llvm-root=/usr/lib/llvm-8       --enable-llvm-link-shared       --set rust.thin-lto-import-instr-limit=10
 ---> Using cache
 ---> 4195cadf126d
Step 6/8 : ENV SCRIPT python2.7 ../x.py test --exclude src/tools/tidy &&            python2.7 ../x.py test src/test/mir-opt --pass=build                                   --target=armv5te-unknown-linux-gnueabi &&            python2.7 ../x.py test src/tools/tidy
 ---> 4e90f6b48f05
Step 7/8 : ENV NO_DEBUG_ASSERTIONS=1
 ---> Using cache
 ---> dfa0a356d899
---
Set({"src/librustc_parse_format"}) not skipped for "bootstrap::test::CrateLibrustc" -- not in ["src/tools/tidy"]
Set({"src/librustc_passes"}) not skipped for "bootstrap::test::CrateLibrustc" -- not in ["src/tools/tidy"]
Set({"src/librustc_plugin_impl"}) not skipped for "bootstrap::test::CrateLibrustc" -- not in ["src/tools/tidy"]
Set({"src/librustc_privacy"}) not skipped for "bootstrap::test::CrateLibrustc" -- not in ["src/tools/tidy"]
Set({"src/librustc_query_system"}) not skipped for "bootstrap::test::CrateLibrustc" -- not in ["src/tools/tidy"]
Set({"src/librustc_save_analysis"}) not skipped for "bootstrap::test::CrateLibrustc" -- not in ["src/tools/tidy"]
Set({"src/librustc_serialize"}) not skipped for "bootstrap::test::CrateLibrustc" -- not in ["src/tools/tidy"]
Set({"src/librustc_session"}) not skipped for "bootstrap::test::CrateLibrustc" -- not in ["src/tools/tidy"]
Set({"src/librustc_span"}) not skipped for "bootstrap::test::CrateLibrustc" -- not in ["src/tools/tidy"]
---
Set({"src/librustc_parse_format"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
Set({"src/librustc_passes"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
Set({"src/librustc_plugin_impl"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
Set({"src/librustc_privacy"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
Set({"src/librustc_query_system"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
Set({"src/librustc_save_analysis"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
Set({"src/librustc_serialize"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
Set({"src/librustc_session"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
Set({"src/librustc_span"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
---
   Compiling rustc_parse_format v0.0.0 (/checkout/src/librustc_parse_format)
   Compiling chalk-engine v0.11.0
   Compiling rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
   Compiling rustc_hir v0.0.0 (/checkout/src/librustc_hir)
   Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
   Compiling chalk-solve v0.11.0
   Compiling rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
   Compiling rustc_parse v0.0.0 (/checkout/src/librustc_parse)
   Compiling rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
   Compiling rustc_parse_format v0.0.0 (/checkout/src/librustc_parse_format)
   Compiling chalk-ir v0.11.0
   Compiling rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
   Compiling rustc_hir v0.0.0 (/checkout/src/librustc_hir)
   Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
   Compiling chalk-engine v0.11.0
   Compiling rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
   Compiling chalk-solve v0.11.0
   Compiling rustc_parse v0.0.0 (/checkout/src/librustc_parse)
---
.....................................i.............................................................. 1900/10417
.................................................................................................... 2000/10417
................................................................i..i................................ 2100/10417
.................................................................................................... 2200/10417
......................................................iiiii......................................... 2300/10417
.................................................................................................... 2500/10417
.................................................................................................... 2600/10417
.................................................................................................... 2700/10417
.................................................................................................... 2800/10417
---
.............i...................................................................................... 5300/10417
.................................................................................................... 5400/10417
.............................................i...................................................... 5500/10417
.......................................i............................................................ 5600/10417
...........................................................ii.ii........i...i....................... 5700/10417
....i.......................i....................................................................... 5900/10417
.........................i.......................................................................... 6000/10417
...................................................................................ii............... 6100/10417
......................i............................................................................. 6200/10417
......................i............................................................................. 6200/10417
.................................................................................................... 6300/10417
.................................................................................................... 6400/10417
..............................................ii...i..ii...........i................................ 6500/10417
.................................................................................................... 6700/10417
.................................................................................................... 6800/10417
.................................................................................................... 6800/10417
.................................................................................i..ii.............. 6900/10417
.................................................................................................... 7100/10417
.................................................................................................... 7200/10417
.....................................i.............................................................. 7300/10417
.................................................................................................... 7400/10417
---
.................................................................................................... 8300/10417
.................................................................................................... 8400/10417
......................................................................................i............. 8500/10417
.................................................................................................... 8600/10417
........................................iiiiii..iiiiii.i............................................ 8700/10417
..................................................................................................i. 8800/10417
.................................................................................................... 9000/10417
.................................................................................................... 9100/10417
.................................................................................................... 9200/10417
.................................................................................................... 9300/10417
---
Suite("src/test/codegen") not skipped for "bootstrap::test::Codegen" -- not in ["src/tools/tidy"]
Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)

running 201 tests
iiii......i..i...............ii.i..........i...........i............i...........i..i........i....... 100/201
.i....i.............i.i.i...iii..iiii....................................iii.................ii..... 200/201
test result: ok. 169 passed; 0 failed; 32 ignored; 0 measured; 0 filtered out

 finished in 6.760
Suite("src/test/codegen-units") not skipped for "bootstrap::test::CodegenUnits" -- not in ["src/tools/tidy"]
---
Suite("src/test/assembly") not skipped for "bootstrap::test::Assembly" -- not in ["src/tools/tidy"]
Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)

running 22 tests
iiiiiiiiiiiiiiiiiiiiii

 finished in 0.162
Suite("src/test/incremental") not skipped for "bootstrap::test::Incremental" -- not in ["src/tools/tidy"]
Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
failures:

---- [incremental] incremental/const-generics/issue-61516.rs stdout ----

error in revision `rpass1`: compilation failed!
status: exit code: 101
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/const-generics/issue-61516.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "rpass1" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/const-generics/issue-61516/issue-61516.inc" "-Z" "incremental-verify-ich" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/const-generics/issue-61516/a" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/const-generics/issue-61516/auxiliary"
------------------------------------------

------------------------------------------
stderr:
stderr:
------------------------------------------
warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes
  --> /checkout/src/test/incremental/const-generics/issue-61516.rs:3:12
   |
LL | #![feature(const_generics)]
   |            ^^^^^^^^^^^^^^
   |
   = note: `#[warn(incomplete_features)]` on by default
   = note: see issue #44580 <***/issues/44580> for more information
warning: unnecessary braces around const expression
  --> /checkout/src/test/incremental/const-generics/issue-61516.rs:14:31
   |
   |
LL |     let fa = FakeArray::<u32, { 32 }>(1);
   |                               ^^^^^^ help: remove these braces
   = note: `#[warn(unused_braces)]` on by default

thread 'rustc' panicked at 'forcing query with already existing `DepNode`
thread 'rustc' panicked at 'forcing query with already existing `DepNode`
- query-key: WithOptParam { did: DefId(0:13 ~ issue_61516[317d]::main[0]::{{constant}}[0]), param_did: None }
- dep-node: typeck_tables_of(issue_61516[317d]::main[0]::{{constant}}[0])', /checkout/src/libstd/macros.rs:16:9

error: internal compiler error: unexpected panic

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

note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
note: rustc 1.46.0-nightly (49a660155 2020-06-26) running on x86_64-unknown-linux-gnu


note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
warning: 2 warnings emitted


------------------------------------------
---
thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:345:22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


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/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/incremental" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "incremental" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-8/bin/FileCheck" "--nodejs" "/usr/bin/node" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "8.0.0" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"


failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test --exclude src/tools/tidy
Build completed unsuccessfully in 1:07:48
Build completed unsuccessfully in 1:07:48
== clock drift check ==
  local time: Fri Jun 26 13:57:39 UTC 2020
  network time: Fri, 26 Jun 2020 13:57:39 GMT
== end clock drift check ==

##[error]Bash exited with code '1'.
##[section]Finishing: Run build
##[section]Starting: Checkout rust-lang/rust@refs/pull/71154/merge to s
Task         : Get sources
Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
Version      : 1.0.0
Author       : Microsoft
Author       : Microsoft
Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
==============================================================================
Cleaning any cached credential from repository: rust-lang/rust (GitHub)
##[section]Finishing: Checkout rust-lang/rust@refs/pull/71154/merge to s
Cleaning up task key
Start cleaning up orphan processes.
Terminate orphan process: pid (3915) (python)
##[section]Finishing: Finalize Job

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 @rust-lang/infra. (Feature Requests)

@bors
Copy link
Contributor

bors commented Jun 28, 2020

☔ The latest upstream changes (presumably #73830) made this pull request unmergeable. Please resolve the merge conflicts.

@lcnr
Copy link
Contributor Author

lcnr commented Jul 5, 2020

Will open a new PR in the next few weeks as I have to rewrite most of this anyways

@lcnr
Copy link
Contributor Author

lcnr commented Jul 6, 2020

in the next few weeks

i guess time is relative #74113

bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 15, 2020
Support const args in type dependent paths (Take 2)

once more, except it is sound this time 🥰 previously rust-lang#71154

-----
```rust
#![feature(const_generics)]

struct A;
impl A {
    fn foo<const N: usize>(&self) -> usize { N }
}
struct B;
impl B {
    fn foo<const N: usize>(&self) -> usize { 42 }
}

fn main() {
    let a = A;
    a.foo::<7>();
}
```
When calling `type_of` for generic const arguments, we now use the `TypeckTables` of the surrounding body to get the expected type.

This alone causes cycle errors though, as we now have `typeck_tables_of(main)` -> `...` ->
`type_of(main_ANON0 := 7)` -> `typeck_tables_of(main)` ⚡ (see rust-lang#68400 (comment))

To prevent this we must not call `type_of(const_arg)` during `typeck_tables_of`. This is achieved by
calling `type_of(param_def_id)` instead.

We have to somehow remember the `DefId` of the param through all of typeck, which is done using the
struct `ty::WithOptConstParam<DefId>`, which replaces `DefId` where needed and contains an `Option<DefId>` to
be able to store the const parameter in case it exists.

Queries which are currently cached on disk are split into two variants: `query_name`(cached) and `query_name_(of|for)_const_arg`(not cached), with `query_name_of_const_arg` taking a pair `(did, param_did): (LocalDefId, DefId)`.

For some queries a method `query_name_of_opt_const_arg` is added to `TyCtxt` which takes a `ty::WithOptConstParam` and either calls `query_name` or `query_name_of_const_arg` depending on the value of `const_param_did`.

r? @eddyb @varkor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-const_generics `#![feature(const_generics)]` S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet