Skip to content

Replace mk_const with Const::new_x methods #113325

New issue

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

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

Already on GitHub? # to your account

Merged
merged 3 commits into from
Jul 4, 2023

Conversation

BoxyUwU
Copy link
Member

@BoxyUwU BoxyUwU commented Jul 4, 2023

Part of rust-lang/compiler-team#616. Instead of just havign Const::new( and nothing else I did it like this since this is more like how the mk_x works for Ty, and also another PR of mine will require changing from Const::new( to Const::new_x( anyway.

r? @oli-bok

@rustbot
Copy link
Collaborator

rustbot commented Jul 4, 2023

Failed to set assignee to oli-bok: invalid assignee

Note: Only org members, users with write permissions, or people who have commented on the PR may be assigned.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Jul 4, 2023
@rustbot
Copy link
Collaborator

rustbot commented Jul 4, 2023

Some changes occurred to the core trait solver

cc @rust-lang/initiative-trait-system-refactor

Some changes might have occurred in exhaustiveness checking

cc @Nadrieril

Copy link
Contributor

@lcnr lcnr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me after nit

@lcnr
Copy link
Contributor

lcnr commented Jul 4, 2023

r? @lcnr

@bors rollup=never

Co-authored-by: lcnr <rust@lcnr.de>
@BoxyUwU
Copy link
Member Author

BoxyUwU commented Jul 4, 2023

@bors r=lcnr

@bors
Copy link
Collaborator

bors commented Jul 4, 2023

📌 Commit d3cd406 has been approved by lcnr

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 4, 2023
@BoxyUwU
Copy link
Member Author

BoxyUwU commented Jul 4, 2023

@bors p=10 (this will merge conflict with any PR that constructs new ty::Const or touches existing code that constructs ty::Consts

@bors
Copy link
Collaborator

bors commented Jul 4, 2023

⌛ Testing commit d3cd406 with merge 7cec65b61e5a0999aed541907411a4d2bda6ee9a...

@rust-log-analyzer
Copy link
Collaborator

The job dist-mips64el-linux failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
   Compiling git2-curl v0.18.0
[RUSTC-TIMING] git2_curl test:false 0.966
[RUSTC-TIMING] git2 test:false 7.153
[RUSTC-TIMING] gix test:false 15.283
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0xd594f3)[0x7f0cd40394f3]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f0cd2f62520]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x1df9161)[0x7f0cd50d9161]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x1e16f15)[0x7f0cd50f6f15]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x1e2c5e9)[0x7f0cd510c5e9]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x1d3a56a)[0x7f0cd501a56a]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x1d46745)[0x7f0cd5026745]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x1d47bdf)[0x7f0cd5027bdf]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x1e3ed12)[0x7f0cd511ed12]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x1e41c5a)[0x7f0cd5121c5a]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x1e44096)[0x7f0cd5124096]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x396603f)[0x7f0cd6c4603f]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x2086934)[0x7f0cd5366934]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x306a000)[0x7f0cd634a000]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x306a174)[0x7f0cd634a174]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x306ab74)[0x7f0cd634ab74]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x10be858)[0x7f0cd439e858]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x1078161)[0x7f0cd4358161]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x107c296)[0x7f0cd435c296]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0xf9f8a6)[0x7f0cd427f8a6]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x106f628)[0x7f0cd434f628]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x1027512)[0x7f0cd4307512]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/libstd-d4d43609453909ef.so(rust_metadata_std_8f0dcc0353b30382+0xb5d65)[0x7f0cd3200d65]
/lib/x86_64-linux-gnu/libc.so.6(+0x94b43)[0x7f0cd2fb4b43]
/lib/x86_64-linux-gnu/libc.so.6(+0x126a00)[0x7f0cd3046a00]
[RUSTC-TIMING] cargo test:false 64.649
rustc exited with signal: 11 (SIGSEGV) (core dumped)

Caused by:
Caused by:
  process didn't exit successfully: `/checkout/obj/build/bootstrap/debug/rustc --crate-name cargo --edition=2021 src/cargo/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C debuginfo=0 --cfg 'feature="all-static"' --cfg 'feature="openssl"' --cfg 'feature="vendored-openssl"' -Zunstable-options --check-cfg 'values(feature, "all-static", "openssl", "pretty-env-logger", "pretty_env_logger", "vendored-libgit2", "vendored-openssl")' --check-cfg 'names()' --check-cfg 'values()' -C metadata=01ac5483921a6941 -C extra-filename=-01ac5483921a6941 --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps --target mips64el-unknown-linux-gnuabi64 -C linker=mips64el-unknown-linux-gnu-gcc -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/release/deps --extern anyhow=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libanyhow-4451dc31f6485844.rmeta --extern base64=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libbase64-791dbed03c47b9f2.rmeta --extern bytesize=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libbytesize-e571371348097aa3.rmeta --extern cargo_platform=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libcargo_platform-44c95bf774d3996f.rmeta --extern cargo_util=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libcargo_util-c267b5b1d32487ae.rmeta --extern clap=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libclap-f415a32c622a21d1.rmeta --extern crates_io=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libcrates_io-4f42c5e786edef3d.rmeta --extern curl=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libcurl-718f4dbbaf90dee9.rmeta --extern curl_sys=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libcurl_sys-40b1e8a900eabe43.rmeta --extern env_logger=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libenv_logger-b9701cd269b945e5.rmeta --extern filetime=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libfiletime-eb91a35d19847e9f.rmeta --extern flate2=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libflate2-0bdf3497be81c89a.rmeta --extern git2=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libgit2-a61dcfbd4f1f80a1.rmeta --extern git2_curl=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libgit2_curl-bd2a2e551f3d7c4b.rmeta --extern gix=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libgix-3386421a39d2769d.rmeta --extern gix_features_for_configuration_only=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libgix_features-b89c061755ccd5f6.rmeta --extern glob=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libglob-40cb8722a6633475.rmeta --extern hex=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libhex-4113776afd8e4612.rmeta --extern hmac=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libhmac-7c29617bf8d03644.rmeta --extern home=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libhome-697d0e9eff05bc22.rmeta --extern http_auth=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libhttp_auth-54598e3bd1434291.rmeta --extern humantime=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libhumantime-bb147116dc3ebe9d.rmeta --extern ignore=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libignore-7854016d0d25bb0e.rmeta --extern im_rc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libim_rc-5cf7359bb7e3ef3c.rmeta --extern indexmap=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libindexmap-3a744ae04e69cb31.rmeta --extern itertools=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libitertools-9950d45436598bcf.rmeta --extern jobserver=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libjobserver-939222c86cd9c089.rmeta --extern lazycell=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/liblazycell-edac7f5382996efd.rmeta --extern libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/liblibc-2b4c21237b5bde07.rmeta --extern libgit2_sys=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/liblibgit2_sys-ab4bec45ec2d4a95.rmeta --extern log=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/liblog-20b018d08e660786.rmeta --extern memchr=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libmemchr-7eea21b4fbc296c3.rmeta --extern opener=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libopener-ad7f6f05db960a19.rmeta --extern openssl=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libopenssl-1cae62c6cf66c795.rmeta --extern os_info=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libos_info-fd856cb12cb29909.rmeta --extern pasetors=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libpasetors-263ceb2d83930aab.rmeta --extern pathdiff=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libpathdiff-bc34f579d5a841e0.rmeta --extern pulldown_cmark=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libpulldown_cmark-f7f07837f3e05664.rmeta --extern rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/librand-e8713aa6660336dd.rmeta --extern rustfix=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/librustfix-5cd31c40530f44e9.rmeta --extern semver=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libsemver-0dca9be88e95a132.rmeta --extern serde=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libserde-03fe1222b39543ea.rmeta --extern serde_value=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libserde_value-d2abc82a81aee45d.rmeta --extern serde_ignored=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libserde_ignored-021c7b467dc83ecd.rmeta --extern serde_json=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libserde_json-18f2e3b3ffee6fd2.rmeta --extern sha1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libsha1-cbf2e1e3d1c7d482.rmeta --extern shell_escape=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libshell_escape-a482273518c2bebe.rmeta --extern strip_ansi_escapes=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libstrip_ansi_escapes-49d97d3baee67c42.rmeta --extern syn=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libsyn-358a90ac83701973.rmeta --extern tar=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libtar-693b2a9547aec12a.rmeta --extern tempfile=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libtempfile-fa2122831f09e2f3.rmeta --extern termcolor=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libtermcolor-d16094320598e655.rmeta --extern time=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libtime-0ab047133fbb6425.rmeta --extern toml=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libtoml-c034d9e0b75f1c64.rmeta --extern toml_edit=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libtoml_edit-1d917689fbb983b2.rmeta --extern unicode_width=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libunicode_width-c2bc4c0b829a98bc.rmeta --extern unicode_xid=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libunicode_xid-0d7fe18a4aff782d.rmeta --extern url=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/liburl-c2c29746a3191f43.rmeta --extern walkdir=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libwalkdir-897f2fa653b9da5f.rmeta --cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options '--check-cfg=values(bootstrap)' '--check-cfg=values(parallel_compiler)' '--check-cfg=values(no_btreemap_remove_entry)' '--check-cfg=values(crossbeam_loom)' '--check-cfg=values(span_locations)' '--check-cfg=values(rustix_use_libc)' '--check-cfg=values(emulate_second_only_system)' '--check-cfg=values(windows_raw_dylib)' -Zdual-proc-macros -Zmacro-backtrace -Clink-args=-Wl,-z,origin '-Clink-args=-Wl,-rpath,$ORIGIN/../lib' -Csplit-debuginfo=off -Z binary-dep-depinfo -L src/backend/linux_raw/arch/outline/release -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/build/curl-sys-e4e5af83bcb13656/out/build -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/build/libnghttp2-sys-c7ae1d552a559c98/out/i/lib -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/build/libz-sys-2d487f748c80b565/out/lib -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/build/libz-sys-2d487f748c80b565/out/lib -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/build/openssl-sys-73c48d660551ff45/out/openssl-build/install/lib -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/build/libgit2-sys-0926a518d52a5f5b/out/build -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/build/libssh2-sys-513b6c5458030784/out/build` (exit status: 254)

@bors
Copy link
Collaborator

bors commented Jul 4, 2023

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jul 4, 2023
@BoxyUwU
Copy link
Member Author

BoxyUwU commented Jul 4, 2023

@bors retry

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 4, 2023
@bors
Copy link
Collaborator

bors commented Jul 4, 2023

⌛ Testing commit d3cd406 with merge 8941f4b329aa93e0464fdd087c0edd2d83364272...

@bors
Copy link
Collaborator

bors commented Jul 4, 2023

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jul 4, 2023
@rust-log-analyzer
Copy link
Collaborator

The job dist-mips64el-linux failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
   Compiling git2-curl v0.18.0
[RUSTC-TIMING] git2_curl test:false 1.320
[RUSTC-TIMING] git2 test:false 6.553
[RUSTC-TIMING] gix test:false 15.688
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0xd594f3)[0x7f04d770f4f3]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f04d6638520]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x1df9132)[0x7f04d87af132]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x1e16f15)[0x7f04d87ccf15]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x1e2c5e9)[0x7f04d87e25e9]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x1d3a56a)[0x7f04d86f056a]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x1d46745)[0x7f04d86fc745]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x1d47bdf)[0x7f04d86fdbdf]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x1e3ed12)[0x7f04d87f4d12]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x1e41c5a)[0x7f04d87f7c5a]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x1e44096)[0x7f04d87fa096]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x396603f)[0x7f04da31c03f]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x2086934)[0x7f04d8a3c934]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x306a000)[0x7f04d9a20000]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x306a174)[0x7f04d9a20174]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x306ab74)[0x7f04d9a20b74]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x10be858)[0x7f04d7a74858]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x1078161)[0x7f04d7a2e161]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x107c296)[0x7f04d7a32296]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0xf9f8a6)[0x7f04d79558a6]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x106f628)[0x7f04d7a25628]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-987b69fd85a5aa9f.so(+0x1027512)[0x7f04d79dd512]
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/libstd-d4d43609453909ef.so(rust_metadata_std_8f0dcc0353b30382+0xb5d65)[0x7f04d68d6d65]
/lib/x86_64-linux-gnu/libc.so.6(+0x94b43)[0x7f04d668ab43]
/lib/x86_64-linux-gnu/libc.so.6(+0x126a00)[0x7f04d671ca00]
[RUSTC-TIMING] cargo test:false 51.997
rustc exited with signal: 11 (SIGSEGV) (core dumped)

Caused by:
Caused by:
  process didn't exit successfully: `/checkout/obj/build/bootstrap/debug/rustc --crate-name cargo --edition=2021 src/cargo/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C debuginfo=0 --cfg 'feature="all-static"' --cfg 'feature="openssl"' --cfg 'feature="vendored-openssl"' -Zunstable-options --check-cfg 'values(feature, "all-static", "openssl", "pretty-env-logger", "pretty_env_logger", "vendored-libgit2", "vendored-openssl")' --check-cfg 'names()' --check-cfg 'values()' -C metadata=01ac5483921a6941 -C extra-filename=-01ac5483921a6941 --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps --target mips64el-unknown-linux-gnuabi64 -C linker=mips64el-unknown-linux-gnu-gcc -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/release/deps --extern anyhow=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libanyhow-4451dc31f6485844.rmeta --extern base64=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libbase64-791dbed03c47b9f2.rmeta --extern bytesize=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libbytesize-e571371348097aa3.rmeta --extern cargo_platform=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libcargo_platform-44c95bf774d3996f.rmeta --extern cargo_util=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libcargo_util-c267b5b1d32487ae.rmeta --extern clap=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libclap-f415a32c622a21d1.rmeta --extern crates_io=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libcrates_io-4f42c5e786edef3d.rmeta --extern curl=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libcurl-718f4dbbaf90dee9.rmeta --extern curl_sys=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libcurl_sys-40b1e8a900eabe43.rmeta --extern env_logger=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libenv_logger-b9701cd269b945e5.rmeta --extern filetime=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libfiletime-eb91a35d19847e9f.rmeta --extern flate2=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libflate2-0bdf3497be81c89a.rmeta --extern git2=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libgit2-a61dcfbd4f1f80a1.rmeta --extern git2_curl=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libgit2_curl-bd2a2e551f3d7c4b.rmeta --extern gix=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libgix-3386421a39d2769d.rmeta --extern gix_features_for_configuration_only=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libgix_features-b89c061755ccd5f6.rmeta --extern glob=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libglob-40cb8722a6633475.rmeta --extern hex=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libhex-4113776afd8e4612.rmeta --extern hmac=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libhmac-7c29617bf8d03644.rmeta --extern home=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libhome-697d0e9eff05bc22.rmeta --extern http_auth=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libhttp_auth-54598e3bd1434291.rmeta --extern humantime=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libhumantime-bb147116dc3ebe9d.rmeta --extern ignore=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libignore-7854016d0d25bb0e.rmeta --extern im_rc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libim_rc-5cf7359bb7e3ef3c.rmeta --extern indexmap=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libindexmap-3a744ae04e69cb31.rmeta --extern itertools=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libitertools-9950d45436598bcf.rmeta --extern jobserver=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libjobserver-939222c86cd9c089.rmeta --extern lazycell=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/liblazycell-edac7f5382996efd.rmeta --extern libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/liblibc-2b4c21237b5bde07.rmeta --extern libgit2_sys=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/liblibgit2_sys-ab4bec45ec2d4a95.rmeta --extern log=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/liblog-20b018d08e660786.rmeta --extern memchr=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libmemchr-7eea21b4fbc296c3.rmeta --extern opener=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libopener-ad7f6f05db960a19.rmeta --extern openssl=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libopenssl-1cae62c6cf66c795.rmeta --extern os_info=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libos_info-fd856cb12cb29909.rmeta --extern pasetors=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libpasetors-263ceb2d83930aab.rmeta --extern pathdiff=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libpathdiff-bc34f579d5a841e0.rmeta --extern pulldown_cmark=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libpulldown_cmark-f7f07837f3e05664.rmeta --extern rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/librand-e8713aa6660336dd.rmeta --extern rustfix=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/librustfix-5cd31c40530f44e9.rmeta --extern semver=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libsemver-0dca9be88e95a132.rmeta --extern serde=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libserde-03fe1222b39543ea.rmeta --extern serde_value=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libserde_value-d2abc82a81aee45d.rmeta --extern serde_ignored=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libserde_ignored-021c7b467dc83ecd.rmeta --extern serde_json=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libserde_json-18f2e3b3ffee6fd2.rmeta --extern sha1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libsha1-cbf2e1e3d1c7d482.rmeta --extern shell_escape=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libshell_escape-a482273518c2bebe.rmeta --extern strip_ansi_escapes=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libstrip_ansi_escapes-49d97d3baee67c42.rmeta --extern syn=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libsyn-358a90ac83701973.rmeta --extern tar=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libtar-693b2a9547aec12a.rmeta --extern tempfile=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libtempfile-fa2122831f09e2f3.rmeta --extern termcolor=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libtermcolor-d16094320598e655.rmeta --extern time=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libtime-0ab047133fbb6425.rmeta --extern toml=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libtoml-c034d9e0b75f1c64.rmeta --extern toml_edit=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libtoml_edit-1d917689fbb983b2.rmeta --extern unicode_width=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libunicode_width-c2bc4c0b829a98bc.rmeta --extern unicode_xid=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libunicode_xid-0d7fe18a4aff782d.rmeta --extern url=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/liburl-c2c29746a3191f43.rmeta --extern walkdir=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/deps/libwalkdir-897f2fa653b9da5f.rmeta --cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options '--check-cfg=values(bootstrap)' '--check-cfg=values(parallel_compiler)' '--check-cfg=values(no_btreemap_remove_entry)' '--check-cfg=values(crossbeam_loom)' '--check-cfg=values(span_locations)' '--check-cfg=values(rustix_use_libc)' '--check-cfg=values(emulate_second_only_system)' '--check-cfg=values(windows_raw_dylib)' -Zdual-proc-macros -Zmacro-backtrace -Clink-args=-Wl,-z,origin '-Clink-args=-Wl,-rpath,$ORIGIN/../lib' -Csplit-debuginfo=off -Z binary-dep-depinfo -L src/backend/linux_raw/arch/outline/release -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/build/curl-sys-e4e5af83bcb13656/out/build -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/build/libnghttp2-sys-c7ae1d552a559c98/out/i/lib -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/build/libz-sys-2d487f748c80b565/out/lib -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/build/libz-sys-2d487f748c80b565/out/lib -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/build/openssl-sys-73c48d660551ff45/out/openssl-build/install/lib -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/build/libgit2-sys-0926a518d52a5f5b/out/build -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/mips64el-unknown-linux-gnuabi64/release/build/libssh2-sys-513b6c5458030784/out/build` (exit status: 254)

@BoxyUwU
Copy link
Member Author

BoxyUwU commented Jul 4, 2023

@bors retry

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 4, 2023
@bors
Copy link
Collaborator

bors commented Jul 4, 2023

⌛ Testing commit d3cd406 with merge f8e2c12b9857d6c0d18f415ad5ca86a891784184...

@jyn514
Copy link
Member

jyn514 commented Jul 4, 2023

@bors retry yield to #113274 (comment) - this takes about 2 hours to run so we're less than a quarter through, MIPS segfaults about half the time so expected value is to merge it first

@jyn514
Copy link
Member

jyn514 commented Jul 4, 2023

lol i think bors didn't like that my comment was so long

@bors retry

@rust-log-analyzer
Copy link
Collaborator

A job failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)

@BoxyUwU
Copy link
Member Author

BoxyUwU commented Jul 4, 2023

@bors retry

@bors
Copy link
Collaborator

bors commented Jul 4, 2023

⌛ Testing commit d3cd406 with merge f20afcc...

@bors
Copy link
Collaborator

bors commented Jul 4, 2023

☀️ Test successful - checks-actions
Approved by: lcnr
Pushing f20afcc to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Jul 4, 2023
@bors bors merged commit f20afcc into rust-lang:master Jul 4, 2023
@rustbot rustbot added this to the 1.72.0 milestone Jul 4, 2023
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (f20afcc): comparison URL.

Overall result: ✅ improvements - no action needed

@rustbot label: -perf-regression

Instruction count

This is a highly reliable metric that was used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-1.6% [-1.7%, -1.5%] 6
All ❌✅ (primary) - - 0

Max RSS (memory usage)

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-3.3% [-4.2%, -2.4%] 2
All ❌✅ (primary) - - 0

Cycles

This benchmark run did not return any relevant results for this metric.

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 653.846s -> 653.078s (-0.12%)

Dylan-DPC added a commit to Dylan-DPC/rust that referenced this pull request Jul 5, 2023
…r=oli-obk

Move `ty::ConstKind` to `rustc_type_ir`

Needed this in another PR for custom debug impls, and this will also be required to move the new solver into a separate crate that does not use `TyCtxt` so that r-a and friends can depend on the trait solver.

Rebased on top of rust-lang#113325, only the second and third commits needs reviewing
compiler-errors added a commit to compiler-errors/rust that referenced this pull request Jul 5, 2023
…r=oli-obk

Move `ty::ConstKind` to `rustc_type_ir`

Needed this in another PR for custom debug impls, and this will also be required to move the new solver into a separate crate that does not use `TyCtxt` so that r-a and friends can depend on the trait solver.

Rebased on top of rust-lang#113325, only the second and third commits needs reviewing
@lqd lqd mentioned this pull request May 30, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants