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

Store CtxtInterners for local values in AllArenas #57214

Merged
merged 1 commit into from
Jun 3, 2019

Conversation

Zoxc
Copy link
Contributor

@Zoxc Zoxc commented Dec 30, 2018

r? @eddyb

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 30, 2018
@Zoxc Zoxc force-pushed the no-local-interners branch 2 times, most recently from 9298bd8 to e261ca0 Compare December 30, 2018 13:15
@rust-highfive

This comment has been minimized.

@rust-highfive

This comment has been minimized.

@rust-highfive

This comment has been minimized.

@Zoxc
Copy link
Contributor Author

Zoxc commented Dec 30, 2018

@bors try

@bors
Copy link
Contributor

bors commented Dec 30, 2018

⌛ Trying commit e4c68a2436aebe43d3c61745c393d7c2180e2ace with merge 005d7a2944755845526457d6176ace8b35934ef3...

@bors
Copy link
Contributor

bors commented Dec 30, 2018

☀️ Test successful - status-travis
State: approved= try=True

@Zoxc
Copy link
Contributor Author

Zoxc commented Dec 31, 2018

@rust-timer build 005d7a2944755845526457d6176ace8b35934ef3

@rust-timer
Copy link
Collaborator

Success: Queued 005d7a2944755845526457d6176ace8b35934ef3 with parent 953a9cf, comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking try commit 005d7a2944755845526457d6176ace8b35934ef3

@Zoxc
Copy link
Contributor Author

Zoxc commented Dec 31, 2018

It doesn't seem like local interners are effective in keeping memory usage down. Is there some other reason to have them?

cc @rust-lang/compiler

@Zoxc
Copy link
Contributor Author

Zoxc commented Dec 31, 2018

@bors try

@bors
Copy link
Contributor

bors commented Dec 31, 2018

⌛ Trying commit 1936a000fd80a8011738ddb23a14deba8a61564c with merge 2eb7307a44bc76a18eeb0c4d2947492b2be4cbf2...

@rust-highfive
Copy link
Collaborator

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

Click to expand the log.
travis_time:end:14e7f058:start=1546253700418292855,finish=1546253758119354042,duration=57701061187
$ git checkout -qf FETCH_HEAD
travis_fold:end:git.checkout

Encrypted environment variables have been removed for security reasons.
See https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions
$ export SCCACHE_BUCKET=rust-lang-ci-sccache2
$ export SCCACHE_REGION=us-west-1
Setting environment variables from .travis.yml
$ export IMAGE=x86_64-gnu-llvm-6.0
---
travis_time:start:test_debuginfo
Check compiletest suite=debuginfo mode=debuginfo-both (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
[01:07:55] 
[01:07:55] running 118 tests
[01:08:19] .iiiii...i.....i..i...i..i.i..i.ii..i.....i..i....i..........iiii..........i...ii...i.......ii.i.i.i 100/118
[01:08:23] ......iii.i.....ii
[01:08:23] 
[01:08:23]  finished in 28.193
[01:08:23] travis_fold:end:test_debuginfo

---
[01:18:10] error: no global memory allocator found but one is required; link to std or add #[global_allocator] to a static item that implements the GlobalAlloc trait.
[01:18:10] 
[01:18:11] 
[01:18:11] running 418 tests
[01:18:28] ............................................F...FF..FF..F...FF...F..FF..FF..FF..FF......FF..FF..FFF. 100/418
[01:18:41] FFF.FFFF..FF...F...FF........F...F...F..F.FFF..FF...F..F.F......F...F........i.F.................... 200/418
[01:19:08] ..................
[01:19:08] failures:
[01:19:08] 
[01:19:08] ---- collections/binary_heap.rs - collections::binary_heap::BinaryHeap<T>::push (line 559) stdout ----
---
[01:19:08] ---- collections/binary_heap.rs - collections::binary_heap::BinaryHeap<T>::with_capacity (line 325) stdout ----
[01:19:08] thread 'collections/binary_heap.rs - collections::binary_heap::BinaryHeap<T>::with_capacity (line 325)' panicked at 'couldn't run the test: Cannot allocate memory (os error 12)', src/librustdoc/test.rs:343:19
[01:19:08] 
[01:19:08] ---- collections/btree/map.rs - collections::btree::map::BTreeMap<K, V>::clear (line 539) stdout ----
[01:19:08] error: could not exec the linker `cc`
[01:19:08]   = note: Cannot allocate memory (os error 12)
[01:19:08]   = note: Cannot allocate memory (os error 12)
[01:19:08]   = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctestIkh0GJ/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "/tmp/rustdoctestIkh0GJ/rust_out.rust_out.7rcbfp3g-cgu.1.rcgu.o" "/tmp/rustdoctestIkh0GJ/rust_out.rust_out.7rcbfp3g-cgu.10.rcgu.o" "/tmp/rustdoctestIkh0GJ/rust_out.rust_out.7rcbfp3g-cgu.11.rcgu.o" "/tmp/rustdoctestIkh0GJ/rust_out.rust_out.7rcbfp3g-cgu.12.rcgu.o" "/tmp/rustdoctestIkh0GJ/rust_out.rust_out.7rcbfp3g-cgu.13.rcgu.o" "/tmp/rustdoctestIkh0GJ/rust_out.rust_out.7rcbfp3g-cgu.14.rcgu.o" "/tmp/rustdoctestIkh0GJ/rust_out.rust_out.7rcbfp3g-cgu.15.rcgu.o" "/tmp/rustdoctestIkh0GJ/rust_out.rust_out.7rcbfp3g-cgu.2.rcgu.o" "/tmp/rustdoctestIkh0GJ/rust_out.rust_out.7rcbfp3g-cgu.3.rcgu.o" "/tmp/rustdoctestIkh0GJ/rust_out.rust_out.7rcbfp3g-cgu.4.rcgu.o" "/tmp/rustdoctestIkh0GJ/rust_out.rust_out.7rcbfp3g-cgu.5.rcgu.o" "/tmp/rustdoctestIkh0GJ/rust_out.rust_out.7rcbfp3g-cgu.6.rcgu.o" "/tmp/rustdoctestIkh0GJ/rust_out.rust_out.7rcbfp3g-cgu.7.rcgu.o" "/tmp/rustdoctestIkh0GJ/rust_out.rust_out.7rcbfp3g-cgu.8.rcgu.o" "/tmp/rustdoctestIkh0GJ/rust_out.rust_out.7rcbfp3g-cgu.9.rcgu.o" "-o" "/tmp/rustdoctestIkh0GJ/rust_out" "/tmp/rustdoctestIkh0GJ/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/build/compiler_builtins-f96eaad1e12ec7d0/out" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8bbcb2e0cce1ba3d.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1003b8ab0aedda5c.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-fd3d71fb725eeb08.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-ac3138456e6f15a7.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5dcd48969c0f158e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-2447b3de6505c918.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e288eba838fabb9e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a05353c69a1c4119.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-57ab343d0334f277.rlib" "-Wl,--end-group" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8170ea5269eab5a0.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
[01:19:08] thread 'collections/btree/map.rs - collections::btree::map::BTreeMap<K, V>::clear (line 539)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:316:13
[01:19:08] 
[01:19:08] ---- collections/btree/map.rs - collections::btree::map::BTreeMap<K, V>::append (line 740) stdout ----
[01:19:08] thread 'collections/btree/map.rs - collections::btree::map::BTreeMap<K, V>::append (line 740)' panicked at 'couldn't run the test: Cannot allocate memory (os error 12)', src/librustdoc/test.rs:343:19
[01:19:08] thread 'collections/btree/map.rs - collections::btree::map::BTreeMap<K, V>::append (line 740)' panicked at 'couldn't run the test: Cannot allocate memory (os error 12)', src/librustdoc/test.rs:343:19
[01:19:08] 
[01:19:08] ---- collections/btree/map.rs - collections::btree::map::BTreeMap<K, V>::get_key_value (line 587) stdout ----
[01:19:08] error: could not exec the linker `cc`
[01:19:08]   = note: Cannot allocate memory (os error 12)
[01:19:08]   = note: Cannot allocate memory (os error 12)
[01:19:08]   = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctesthlrd34/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "/tmp/rustdoctesthlrd34/rust_out.rust_out.7rcbfp3g-cgu.1.rcgu.o" "/tmp/rustdoctesthlrd34/rust_out.rust_out.7rcbfp3g-cgu.10.rcgu.o" "/tmp/rustdoctesthlrd34/rust_out.rust_out.7rcbfp3g-cgu.11.rcgu.o" "/tmp/rustdoctesthlrd34/rust_out.rust_out.7rcbfp3g-cgu.12.rcgu.o" "/tmp/rustdoctesthlrd34/rust_out.rust_out.7rcbfp3g-cgu.13.rcgu.o" "/tmp/rustdoctesthlrd34/rust_out.rust_out.7rcbfp3g-cgu.14.rcgu.o" "/tmp/rustdoctesthlrd34/rust_out.rust_out.7rcbfp3g-cgu.15.rcgu.o" "/tmp/rustdoctesthlrd34/rust_out.rust_out.7rcbfp3g-cgu.2.rcgu.o" "/tmp/rustdoctesthlrd34/rust_out.rust_out.7rcbfp3g-cgu.3.rcgu.o" "/tmp/rustdoctesthlrd34/rust_out.rust_out.7rcbfp3g-cgu.4.rcgu.o" "/tmp/rustdoctesthlrd34/rust_out.rust_out.7rcbfp3g-cgu.5.rcgu.o" "/tmp/rustdoctesthlrd34/rust_out.rust_out.7rcbfp3g-cgu.6.rcgu.o" "/tmp/rustdoctesthlrd34/rust_out.rust_out.7rcbfp3g-cgu.7.rcgu.o" "/tmp/rustdoobj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a05353c69a1c4119.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-57ab343d0334f277.rlib" "-Wl,--end-group" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8170ea5269eab5a0.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
[01:19:08] thread 'collections/btree/map.rs - collections::btree::map::BTreeMap<K, V>::get_key_value (line 587)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:316:13
[01:19:08] 
[01:19:08] ---- collections/btree/map.rs - collections::btree::map::BTreeMap<K, V>::insert (line 678) stdout ----
[01:19:08] thread 'collections/btree/map.rs - collections::btree::map::BTreeMap<K, V>::insert (line 678)' panicked at 'couldn't run the test: Cannot allocate memory (os error 12)', src/librustdoc/test.rs:343:19
[01:19:08] thread 'collections/btree/map.rs - collections::btree::map::BTreeMap<K, V>::insert (line 678)' panicked at 'couldn't run the test: Cannot allocate memory (os error 12)', src/librustdoc/test.rs:343:19
[01:19:08] 
[01:19:08] ---- collections/btree/map.rs - collections::btree::map::BTreeMap<K, V>::iter (line 1927) stdout ----
[01:19:08] thread 'collections/btree/map.rs - collections::btree::map::BTreeMap<K, V>::iter (line 1927)' panicked at 'couldn't run the test: Cannot allocate memory (os error 12)', src/librustdoc/test.rs:343:19
[01:19:08] 
[01:19:08] ---- collections/btree/map.rs - collections::btree::map::BTreeMap<K, V>::new (line 517) stdout ----
[01:19:08] thread 'collections/btree/map.rs - collections::btree::map::BTreeMap<K, V>::new (line 517)' panicked at 'couldn't run the teust_out.rust_out.7rcbfp3g-cgu.6.rcgu.o" "/tmp/rustdoctest6LIgz5/rust_out.rust_out.7rcbfp3g-cgu.7.rcgu.o" "/tmp/rustdoctest6LIgz5/rust_out.rust_out.7rcbfp3g-cgu.8.rcgu.o" "/tmp/rustdoctest6LIgz5/rust_out.rust_out.7rcbfp3g-cgu.9.rcgu.o" "-o" "/tmp/rustdoctest6LIgz5/rust_out" "/tmp/rustdoctest6LIgz5/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/build/compiler_builtins-f96eaad1e12ec7d0/out" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8bbcb2e0cce1ba3d.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1003b8ab0aedda5c.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-fd3d71fb725eeb08.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-ac3138456e6f15a7.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5dcd48969c0f158e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-2447b3de6505c918.rlib" "/checkout/obj/build1:19:08] thread 'collections/btree/map.rs - collections::btree::map::OccupiedEntry<'a, K, V>::get (line 2359)' panicked at 'couldn't run the test: Cannot allocate memory (os error 12)', src/librustdoc/test.rs:343:19
[01:19:08] ---- collections/btree/map.rs - collections::btree::map::Entry<'a, K, V>::or_insert_with (line 2122) stdout ----
[01:19:08] ---- collections/btree/map.rs - collections::btree::map::Entry<'a, K, V>::or_insert_with (line 2122) stdout ----
[01:19:08] error: could not exec the linker `cc`
[01:19:08]   = note: Cannot allocate memory (os error 12)
[01:19:08]   = note: Cannot allocate memory (os error 12)
[01:19:08]   = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctest5vNeG9/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "/tmp/rustdoctest5vNeG9/rust_out.rust_out.7rcbfp3g-cgu.1.rcgu.o" "/tmp/rustdoctest5vNeG9/rust_out.rust_out.7rcbfp3g-cgu.10.rcgu.o" "/tmp/rustdoctest5vNeG9/rust_out.rust_out.7rcbfp3g-cgu.11.rcgu.o" "/tmp/rustdoctest5vNeG9/rust_out.rust_out.7rcbfp3g-cgu.12.rcgu.o" "/tmp/rustdoctest5vNeG9/rust_out.rust_out.7rcbfp3g-cgu.13.rcgu.o" "/tmp/rustdoctest5vNeG9/rust_out.rust_out.7rcbfp3g-cgu.14.rcgu.o" "/tmp/rustdoctest5vNeG9/rust_out.rust_out.7rcbfp3g-cgu.15.rcgu.o" "/tmp/rustdoctest5vNeG9/rust_out.rust_out.7rcbfp3g-cgu.2.rcgu.o" "/tmp/rustdoctest5vNeG9/rust_out.rust_out.7rcbfp3g-cgu.3.rcgu.o" "/tmp/rustdoctest5vNeG9/rust_out.rust_out.7rcbfp3g-cgu.4.rcgu.o" "/tmp/rustdoctest5vNeG9/rust_out.rust_out.7rcbfp3g-cgu.5.rcgu.o" "/tmp/rustdoctest5vNeG9/rust_out.rust_out.7rcbfp3g-cgu.6.rcgu.o" "/tmp/rustdoctest5vNeG9/rust_out.rust_out.7rcbfp3g-cgu.7.rcgu.o" "/tmp/rustdoctest5vNeG9/rust_out.rust_out.7rcbfp3g-cgu.8.rcgu.o" "/tmp/rustdoctest5vNeG9/rust_out.rust_out.7rcbfp3g-cgu.9.rcgu.o" "-o" "/tmp/rustdoctest5vNeG9/rust_out" "/tmp/rustdoctest5vNeG9/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/build/compiler_builtins-f96eaad1e12ec7d0/out" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8bbcb2e0cce1ba3d.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1003b8ab0aedda5c.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-fd3d71fb725eeb08.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-ac3138456e6f15a7.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5dcd48969c0f158e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-2447b3de6505c918.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e288eba838fabb9e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a05353c69a1c4119.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-57ab343d0334f277.rlib" "-Wl,--end-group" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8170ea5269eab5a0.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
[01:19:08] thread 'collections/btree/map.rs - collections::btree::map::Entry<'a, K, V>::or_insert_with (line 2122)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:316:13
[01:19:08] 
[01:19:08] ---- collections/btree/map.rs - collections::btree::map::OccupiedEntry<'a, K, V>::key (line 2319) stdout ----
[01:19:08] ---- collections/btree/map.rs - collections::btree::map::OccupiedEntry<'a, K, V>::key (line 2319) stdout ----
[01:19:08] error: could not exec the linker `cc`
[01:19:08]   = note: Cannot allocate memory (os error 12)
[01:19:08]   = note: Cannot allocate memory (os error 12)
[01:19:08]   = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctestfuI3P3/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "/tmp/rustdoctestfuI3P3/rust_out.rust_out.7rcbfp3g-cgu.1.rcgu.o" "/tmp/rustdoctestfuI3P3/rust_out.rust_out.7rcbfp3g-cgu.10.rcgu.o" "/tmp/rustdoctestfuI3P3/rust_out.rust_out.7rcbfp3g-cgu.11.rcgu.o" "/tmp/rustdoctestfuI3P3/rust_out.rust_out.7rcbfp3g-cgu.12.rcgu.o" "/tmp/rustdoctestfuI3P3/rust_out.rust_out.7rcbfp3g-cgu.13.rcgu.o" "/tmp/rustdoctestfuI3P3/rust_out.rust_out.7rcbfp3g-cgu.14.rcgu.o" "/tmp/rustdoctestfuI3P3/rust_out.rust_out.7rcbfp3g-cgu.15.rcgu.o" "/tmp/rustdoctestfuI3P3/rust_out.rust_out.7rcbfp3g-cgu.2.rcgu.o" "/tmp/rustdoctestfuI3P3/rust_out.rust_out.7rcbfp3g-cgu.3.rcgu.o" "/tmp/rustdoctestfuI3P3/rust_out.rust_out.7rcbfp3g-cgu.4.rcgu.o" "/tmp/rustdoctestfuI3P3/rust_out.rust_out.7rcbfp3g-cgu.5.rcgu.o" "/tmp/rustdoctestfuI3P3/rust_out.rust_out.7rcbfp3g-cgu.6.rcgu.o" "/tmp/rustdoctestfuI3P3/rust_out.rust_out.7rcbfp3g-cgu.7.rcgu.o" "/tmp/rustdoctestfuI3P3/rust_out.rust_out.7rcbfp3g-cgu.8.rcgu.o" "/tmp/rustdoctestfuI3P3/rust_out.rust_out.7rcbfp3g-cgu.9.rcgu.o" "-o" "/tmp/rustdoctestfuI3P3/rust_out" "/tmp/rustdoctestfuI3P3/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/build/compiler_builtins-f96eaad1e12ec7d0/out" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8bbcb2e0cce1ba3d.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1003b8ab0aedda5c.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-fd3d71fb725eeb08.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-ac3138456e6f15a7.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5dcd48969c0f158e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-2447b3de6505c918.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e288eba838fabb9e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a05353c69a1c4119.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-57ab343d0334f277.rlib" "-Wl,--end-group" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8170ea5269eab5a0.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
[01:19:08] thread 'collections/btree/map.rs - collections::btree::map::OccupiedEntry<'a, K, V>::key (line 2319)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:316:13
[01:19:08] 
[01:19:08] ---- collections/btree/map.rs - collections::btree::map::OccupiedEntry<'a, K, V>::into_mut (line 2414) stdout ----
[01:19:08] thread 'collections/btree/map.rs - collections::btree::map::OccupiedEntry<'a, K, V>::into_mut (line 2414)' panicked at 'couldn't run the test: Cannot allocate memory (os error 12)', src/librustdoc/test.rs:343:19
[01:19:08] thread 'collections/btree/map.rs - collections::btree::map::OccupiedEntry<'a, K, V>::into_mut (line 2414)' panicked at 'couldn't run the test: Cannot allocate memory (os error 12)', src/librustdoc/test.rs:343:19
[01:19:08] 
[01:19:08] ---- collections/btree/set.rs - collections::btree::set::&'a BTreeSet<T>::bitxor (line 842) stdout ----
[01:19:08] thread 'collections/btree/set.rs - collections::btree::set::&'a BTreeSet<T>::bitxocgu.5.rcgu.o" "/tmp/rustdoctestnYfi4g/rust_out.rust_out.7rcbfp3g-cgu.6.rcgu.o" "/tmp/rustdoctestnYfi4g/rust_out.rust_out.7rcbfp3g-cgu.7.rcgu.o" "/tmp/rustdoctestnYfi4g/rust_out.rust_out.7rcbfp3g-cgu.8.rcgu.o" "/tmp/rustdoctestnYfi4g/rust_out.rust_out.7rcbfp3g-cgu.9.rcgu.o" "-o" "/tmp/rustdoctestnYfi4g/rust_out" "/tmp/rustdoctestnYfi4g/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/build/compiler_builtins-f96eaad1e12ec7d0/out" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8bbcb2e0cce1ba3d.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1003b8ab0aedda5c.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-fd3d71fb725eeb08.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-ac3138456e6f15a7.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5dcd48969c0f158e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-2447b3de6505c918.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e288eba838fabb9e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a05353c69a1c4119.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-57ab343d0334f277.rlib" "-Wl,--end-group" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8170ea5269eab5a0.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
[01:19:08] thread 'collections/btree/set.rs - collections::btree::set::BTreeSet<T>::clear (line 366)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:316:13
[01:19:08] 
[01:19:08] ---- collections/btree/set.rs - collections::btree::set::BTreeSet<T>::append (line 613) stdout ----
[01:19:08] thread 'collections/btree/set.rs - collections::btree::set::BTreeSet<T>::append (line 613)' panicked at 'couldn't run the test: Cannot allocate memory (os error 12)', src/librustdoc/test.rs:343:19
[01:19:08] thread 'collections/btree/set.rs - collections::btree::set::BTreeSet<T>::append (line 613)' panicked at 'couldn't run the test: Cannot allocate memory (os error 12)', src/librustdoc/test.rs:343:19
[01:19:08] 
[01:19:08] ---- collections/btree/set.rs - collections::btree::set::BTreeSet<T>::get (line 410) stdout ----
[01:19:08] error: could not exec the linker `cc`
[01:19:08]   = note: Cannot allocate memory (os error 12)
[01:19:08]   = note: Cannot allocate memory (os error 12)
[01:19:08]   = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctestVuVNbJ/rust_out.rust_ou-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8bbcb2e0cce1ba3d.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1003b8ab0aedda5c.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-fd3d71fb725eeb08.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-ac3138456e6f15a7.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5dcd48969c0f158e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-2447b3de6505c918.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e288eba838fabb9e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a05353c69a1c4119.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-57ab343d0334f277.rlib" "-Wl,--end-group" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8170ea5269eab5a0.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
[01:19:08] thread 'collections/btree/set.rs - collections::btree::set::BTreeSet<T>::get (line 410)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:316:13
[01:19:08] 
[01:19:08] ---- collections/btree/set.rs - collections::btree::set::BTreeSet<T>::difference (line 256) stdout ----
[01:19:08] thread 'collections/btree/set.rs - collections::btree::set::BTreeSet<T>::difference (line 256)' panicked at 'couldn't run the test: Cannot allocate memory (os error 12)', src/librustdoc/test.rs:343:19
[01:19:08] thread 'collections/btree/set.rs - collections::btree::set::BTreeSet<T>::difference (line 256)' panicked at 'couldn't run the test: Cannot allocate memory (os error 12)', src/librustdoc/test.rs:343:19
[01:19:08] 
[01:19:08] ---- collections/btree/set.rs - collections::btree::set::BTreeSet<T>::into_iter (line 763) stdout ----
[01:19:08] error: could not exec the linker `cc`
[01:19:08]   = note: Cannot allocate memory (os error 12)
[01:19:08]   = note: Cannot allocate memory (os error 12)
[01:19:08]   = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctestPcHjB6/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "/tmp/rustdoctestPcHjB6/rust_out.rust_out.7rcbfp3g-cgu.1.rcgu.o" "/tmp/rustdoctestPcHjB6/rust_out.rust_out.7rcbfp3g-cgu.10.rcgu.o" "/tmp/rustdoctestPcHjB6/rust_out.rust_out.7rcbfp3g-cgu.11.rcgu.o" "/tmp/rustdoctestPcHjB6/rust_out.rust_out.7rcbfp3g-cgu.12.rcgu.o" "/tmp/rustdoctestPcHjB6/rust_out.rust_out.7rcbfp3g-cgu.13.rcgu.o" "/tmp/rustdoctestPcHjB6/rust_out.rust_out.7rcbfp3g-cgu.14.rcgu.o" "/tmp/rustdoctestPcHjB6/rust_out.rust_out.7rcbfp3g-cgu.15.rcgu.o" "/tmp/rustdoctestPcHjB6/rust_out.rust_out.7rcbfp3g-cgu.2.rcgu.o" "/tmp/rustdoctestPcHjB6/rust_out.rust_out.7rcbfp3g-cgu.3.rcgu.o" "/tmp/rustdoctestPcHjB6/rust_out.rust_out.7rcbfp3g-cgu.4.rcgu.o" "/tmp/rustdoctestPcHjB6/rust_out.rust_out.7rcbfp3g-cgu.5.rcgu.o" "/tmp/rustdoctestPcHjB6/rust_out.rust_out.7rcbfp3g-cgu.6.rcgu.o" "/tmp/rustdoctestPcHjB6/rust_out.rust_out.7rcbfp3g-cgu.7.rcgu.o" "/tmp/rustdoctestPcHjB6/rust_out.rust_out.7rcbfp3g-cgu.8.rcgu.o" "/tmp/rustdoctestPcHjB6/rust_out.rust_out.7rcbfp3g-cgu.9.rcgu.o" "-o" "/tmp/rustdoctestPcHjB6/rust_out" "/tmp/rustdoctestPcHjB6/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/build/compiler_builtins-f96eaad1e12ec7d0/out" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8bbcb2e0cce1ba3d.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1003b8ab0aedda5c.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-fd3d71fb725eeb08.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-ac3138456e6f15a7.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5dcd48969c0f158e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-2447b3de6505c918.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e288eba838fabb9e.rlib" "/checkout/obj/build/x86_64-unkn"/tmp/rustdoctestJLsuT7/rust_out.rust_out.7rcbfp3g-cgu.11.rcgu.o" "/tmp/rustdoctestJLsuT7/rust_out.rust_out.7rcbfp3g-cgu.12.rcgu.o" "/tmp/rustdoctestJLsuT7/rust_out.rust_out.7rcbfp3g-cgu.13.rcgu.o" "/tmp/rustdoctestJLsuT7/rust_out.rust_out.7rcbfp3g-cgu.14.rcgu.o" "/tmp/rustdoctestJLsuT7/rust_out.rust_out.7rcbfp3g-cgu.15.rcgu.o" "/tmp/rustdoctestJLsuT7/rust_out.rust_out.7rcbfp3g-cgu.2.rcgu.o" "/tmp/rustdoctestJLsuT7/rust_out.rust_out.7rcbfp3g-cgu.3.rcgu.o" "/tmp/rustdoctestJLsuT7/rust_out.rust_out.7rcbfp3g-cgu.4.rcgu.o" "/tmp/rustdoctestJLsuT7/rust_out.rust_out.7rcbfp3g-cgu.5.rcgu.o" "/tmp/rustdoctestJLsuT7/rust_out.rust_out.7rcbfp3g-cgu.6.rcgu.o" "/tmp/rustdoctestJLsuT7/rust_out.rust_out.7rcbfp3g-cgu.7.rcgu.o" "/tmp/rustdoctestJLsuT7/rust_out.rust_out.7rcbfp3g-cgu.8.rcgu.o" "/tmp/rustdoctestJLsuT7/rust_out.rust_out.7rcbfp3g-cgu.9.rcgu.o" "-o" "/tmp/rustdoctestJLsuT7/rust_out" "/tmp/rustdoctestJLsuT7/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/build/compiler_builtins-f96eaad1e12ec7d0/out" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8bbcb2e0cce1ba3d.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/ru Cannot allocate memory (os error 12)
[01:19:08]   = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctestp7E1o9/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "/tmp/rustdoctestp7E1o9/rust_out.rust_out.7rcbfp3g-cgu.1.rcgu.o" "/tmp/rustdoctestp7E1o9/rust_out.rust_out.7rcbfp3g-cgu.10.rcgu.o" "/tmp/rustdoctestp7E1o9/rust_out.rust_out.7rcbfp3g-cgu.11.rcgu.o" "/tmp/rustdoctestp7E1o9/rust_out.rust_out.7rcbfp3g-cgu.12.rcgu.o" "/tmp/rustdoctestp7E1o9/rust_out.rust_out.7rcbfp3g-cgu.13.rcgu.o" "/tmp/rustdoctestp7E1o9/rust_out.rust_out.7rcbfp3g-cgu.14.rcgu.o" "/tmp/rustdoctestp7E1o9/rust_out.rust_out.7rcbfp3g-cgu.15.rcgu.o" "/tmp/rustdoctestp7E1o9/rust_out.rust_out.7rcbfp3g-cgu.2.rcgu.o" "/tmp/rustdoctestp7E1o9/rust_out.rust_out.7rcbfp3g-cgu.3.rcgu.o" "/tmp/rustdoctestp7E1o9/rust_out.rust_out.7rcbfp3g-cgu.4.rcgu.o" "/tmp/rustdoctestp7E1o9/rust_out.rust_out.7rcbfp3g-cgu.5.rcgu.o" "/tmp/rustdoctestp7E1o9/rust_out.rust_out.7rcbfp3g-cgu.6.rcgu.o" "/tmp/rustdoctestp7E1o9/rust_out.rust_out.7rcbfp3g-cgu.7.rcgu.o" "/tmp/rustdoctestp7E1o9/rust_out.rust_out.7rcbfp3g-cgu.8.rcgu.o" "/tmp/rustdoctestp7E1o9/rust_out.rust_out.7rcbfp3g-cgu.9.rcgu.o" "-o" "/tmp/rustdoctestp7E1o9/rust_out" "/tmp/rustdoctestp7E1o9/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/build/compiler_builtins-f96eaad1e12ec7d0/out" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8bbcb2e0cce1ba3d.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1003b8ab0aedda5c.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-fd3d71fb725eeb08.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-ac3138456e6f15a7.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5dcd48969c0f158e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-2447b3de6505c918.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e288eba838fabb9e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a05353c69a1c4119.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-57ab343d0334f277.rlib" "-Wl,--end-group" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8170ea5269eab5a0.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
[01:19:08] thread 'collections/btree/set.rs - collections::btree::set::BTreeSet<T>::is_subset (line 452)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:316:13
[01:19:08] 
[01:19:08] ---- collections/btree/set.rs - collections::btree::set::BTreeSet<T>::len (line 714) stdout ----
[01:19:08] ---- collections/btree/set.rs - collections::btree::set::BTreeSet<T>::len (line 714) stdout ----
[01:19:08] error: could not exec the linker `cc`
[01:19:08]   = note: Cannot allocate memory (os error 12)
[01:19:08]   = note: Cannot allocate memory (os error 12)
[01:19:08]   = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctestrXh7fx/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "/tmp/rustdoctestrXh7fx/rust_out.rust_out.7rcbfp3g-cgu.1.rcgu.o" "/tmp/rustdoctestrXh7fx/rust_out.rust_out.7rcbfp3g-cgu.10.rcgu.o" "/tmp/rustdoctestrXh7fx/rust_out.rust_out.7rcbfp3g-cgu.11.rcgu.o" "/tmp/rustdoctestrXh7fx/rust_out.rust_out.7rcbfp3g-cgu.12.rcgu.o" "/tmp/rustdoctestrXh7fx/rust_out.rust_out.7rcbfp3g-cgu.13.rcgu.o" "/tmp/rustdoctestrXh7fx/rust_out.rust_out.7rcbfp3g-cgu.14.rcgu.o" "/tmp/rustdoctestrXh7fx/rust_out.rust_out.7rcbfp3g-cgu.15.rcgu.o" "/tmp/rustdoctestrXh7fx/rust_out.rust_out.7rcbfp3g-cgu.2.rcgu.o" "/tmp/rustdoctestrXh7fx/rust_out.rust_out.7rcbfp3g-cgu.3.rcgu.o" "/tmp/rustdoctestrXh7fx/rust_out.rust_out.7rcbfp3g-cgu.4.rcgu.o" "/tmp/rustdoctestrXh7fx/rust_out.rust_out.7rcbfp3g-cgu.5.rcgu.o" "/tmp/rustdoctestrXh7fx/rust_out.rust_out.7rcbfp3g-cgu.6.rcgu.o" "/tmp/rustdoctestrXh7fx/rust_out.rust_out.7rcbfp3g-cgu.7.rcgu.o" "/tmp/rustdoctestrXh7fx/rust_out.rust_out.7rcbfp3g-cgu.8.rcgu.o" "/tmp/rustdoctestrXh7fx/rust_out.rust_out.7rcbfp3g-cgu.9.rcgu.o" "-o" "/tmp/rustdoctestrXh7fx/rust_out" "/tmp/rustdoctestrXh7fx/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/build/compiler_builtins-f96eaad1e12ec7d0/out" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8bbcb2e0cce1ba3d.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1003b8ab0aedda5c.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-fd3d71fb725eeb08.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-ac3138456e6f15a7.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5dcd48969c0f158e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-2447b3de6505c918.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e288eba838fabb9e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a05353c69a1c4119.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-57ab343d0334f277.rlib" "-Wl,--end-group" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8170ea5269eab5a0.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
[01:19:08] thread 'collections/btree/set.rs - collections::btree::set::BTreeSet<T>::len (line 714)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:316:13
[01:19:08] 
[01:19:08] ---- collections/btree/set.rs - collections::btree::set::BTreeSet<T>::iter (line 695) stdout ----
[01:19:08] ---- collections/btree/set.rs - collections::btree::set::BTreeSet<T>::iter (line 695) stdout ----
[01:19:08] error: could not exec the linker `cc`
[01:19:08]   = note: Cannot allocate memory (os error 12)
[01:19:08]   = note: Cannot allocate memory (os error 12)
[01:19:08]   = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctestTgtM2v/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "/tmp/rustdoctestTgtM2v/rust_out.rust_out.7rcbfp3g-cgu.1.rcgu.o" "/tmp/rustdoctestTgtM2v/rust_out.rust_out.7rcbfp3g-cgu.10.rcgu.o" "/tmp/rustdoctestTgtM2v/rust_out.rust_out.7rcbfp3g-cgu.11.rcgu.o" "/tmp/rustdoctestTgtM2v/rust_out.rust_out.7rcbfp3g-cgu.12.rcgu.o" "/tmp/rustdoctestTgtM2v/rust_out.rust_out.7rcbfp3g-cgu.13.rcgu.o" "/tmp/rustdoctestTgtM2v/rust_out.rust_out.7rcbfp3g-cgu.14.rcgu.o" "/tmp/rustdoctestTgtM2v/rust_out.rust_out.7rcbfp3g-cgu.15.rcgu.o" "/tmp/rustdoctestTgtM2v/rust_out.rust_out.7rcbfp3g-cgu.2.rcgu.o" "/tmp/rustdoctestTgtM2v/rust_out.rust_out.7rcbfp3g-c5dcd48969c0f158e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-2447b3de6505c918.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e288eba838fabb9e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a05353c69a1c4119.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-57ab343d0334f277.rlib" "-Wl,--end-group" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8170ea5269eab5a0.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
[01:19:08] thread 'collections/btree/set.rs - collections::btree::set::BTreeSet<T>::iter (line 695)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:316:13
[01:19:08] 
[01:19:08] ---- collections/btree/set.rs - collections::btree::set::BTreeSet<T>::iter (line 682) stdout ----
[01:19:08] thread 'collections/btree/set.rs - collections::btree::set::BTreeSet<T>::iter (line 682)' panicked at 'couldn't run the test: Cannot allocate memory (os error 12)', src/librustdoc/test.rs:343:19
[01:19:08] thread 'collections/btree/set.rs - collections::btree::set::BTreeSet<T>::iter (line 682)' panicked at 'couldn't run the test: Cannot allocate memory (os error 12)', src/librustdoc/test.rs:343:19
[01:19:08] 
[01:19:08] ---- collections/btree/set.rs - collections::btree::set::BTreeSet<T>::new (line 210) stdout ----
[01:19:08] thread 'collections/btree/set.rs - collections::btree::set::BTreeSet<T>::new (line 210)' panicked at 'couldn't run the test: Cannot allocate memory (os error 12)', src/librustdoc/test.rs:343:19
[01:19:3g-cgu.7.rcgu.o" "/tmp/rustdoctest4dez1N/rust_out.rust_out.7rcbfp3g-cgu.8.rcgu.o" "/tmp/rustdoctest4dez1N/rust_out.rust_out.7rcbfp3g-cgu.9.rcgu.o" "-o" "/tmp/rustdoctest4dez1N/rust_out" "/tmp/rustdoctest4dez1N/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/build/compiler_builtins-f96eaad1e12ec7d0/out" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8bbcb2e0cce1ba3d.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1003b8ab0aedda5c.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-fd3d71fb725eeb08.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-ac3138456e6f15a7.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5dcd48969c0f158e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-2447b3de6505c918.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e288eba838fabb9e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a05353c69a1c4119.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-57ab343d0334f277.rlib" "-Wl,--end-group" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8170ea5269eab5a0.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
[01:19:08] thread 'collections/btree/set.rs - collections::btree::set::BTreeSet<T>::split_off (line 649)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:316:13
[01:19:08] 
[01:19:08] ---- collections/btree/set.rs - collections::btree::set::BTreeSet<T>::union (line 342) stdout ----
[01:19:08] thread 'collections/btree/set.rs - collections::btree::set::BTreeSet<T>::union (line 342)' panicked at 'couldn't run the test: Cannot allocate memory (os error 12)', src/librustdoc/test.rs:343:19
[01:19:08] thread 'collections/btree/set.rs - collections::btree::set::BTreeSet<T>::union (line 342)' panicked at 'couldn't run the test: Cannot allocate memory (os error 12)', src/librustdoc/test.rs:343:19
[01:19:08] 
[01:19:08] ---- collections/linked_list.rs - collections::linked_list::LinkedList<T>::back_mut (line 551) stdout ----
[01:19:08] thread 'collections/linked_list.rs - collections::linked_list::LinkedList<T>::back_mut (line 551)' panicked at 'couldn't run the test: Cannot allocate memory (os error 12)', src/librustdoc/test.rs:343:19
[01:19:08] 
[01:19:08] ---- collections/linked_list.rs - collections::linked_list::LinkedList<T>::contains (line 455) stdout ----
[01:19:08] error: could not exec the linker `cc`
[01:19:08]   = note: Cannot allocate memory (os error 12)
[01:19:08]   = note: Cannot allocate memory (os error 12)
[01:19:08]   = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctestWErNgX/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "/tmp/rustdoctestWErNgX/rust_out.rust_out.7rcbfp3g-cgu.1.rcgu.o" "/tmp/rustdoctestWErNgX/rust_out.rust_out.7rcbfp3g-cgu.10.rcgu.o" "/tmp/rustdoctestWErNgX/rust_out.rust_out.7rcbfp3g-cgu.11.rcgu.o" "/tmp/rustdoctestWErNgX/rust_out.rust_out.7rcbfp3g-cgu.12.rcgu.o" "/tmp/rustdoctestWErNgX/rust_out.rust_out.7rcbfp3g-cgu.13.rcgu.o" "/tmp/rustdoctestWErNgX/rust_out.rust_out.7rcbfp3g-cgu.14.rcgu.o" "/tmp/rustdoctestWErNgX/rust_out.rust_out.7rcbfp3g-cgu.15.rcgu.o" "/tmp/rustdoctestWErNgX/rust_out.rust_out.7rcbfp3g-cgu.2.rcgu.o" "/tmp/rustdoctestWErNgX/rust_out.rust_out.7rcbfp3g-cgu.3.rcgu.o" "/tmp/rustdoctestWErNgX/rust_out.rust_out.7rcbfp3g-cgu.4.rcgu.o" "/tmp/rustdoctestWErNgX/rust_out.rust_out.7rcbfp3g-cgu.5.rcgu.o" "/tmp/rustdoctestWErNgX/rust_out.rust_out.7rcbfp3g-cgu.6.rcgu.o" "/tmp/rustdoctestWErNgX/rust_out.rust_out.7rcbfp3g-cgu.7.rcgu.o" "/tmp/rustdoctestWErNgX/rust_out.rust_out.7rcbfp3g-cgu.8.rcgu.o" "/tmp/rustdoctestWErNgX/rust_out.rust_out.7rcbfp3g-cgu.9.rcgu.o" "-o" "/tmp/rustdoctestWErNgX/rust_out" "/tmp/rustdoctestWErNgX/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/build/compiler_builtins-f96eaad1e12ec7d0/out" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8bbcb2e0cce1ba3d.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1003b8ab0aedda5c.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-fd3d71fb725eeb08.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-ac3138456e6f15a7.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5dcd48969c0f158e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-2447b3de6505c918.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e288eba838fabb9e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a05353c69a1c4119.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-57ab343d0334f277.rlib" "-Wl,--end-group" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8170ea5269eab5a0.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
[0 1050) stdout ----
[01:19:08] thread 'collections/vec_deque.rs - collections::vec_deque::VecDeque<T>::contains (line 1050)' panicked at 'couldn't run the test: Cannot allocate memory (os error 12)', src/librustdoc/test.rs:343:19
[01:19:08] 
[01:19:08] ---- collections/vec_deque.rs - collections::vec_deque::VecDeque<T>::front (line 1074) stdout ----
[01:19:08] ---- collections/vec_deque.rs - collections::vec_deque::VecDeque<T>::front (line 1074) stdout ----
[01:19:08] error: could not exec the linker `cc`
[01:19:08]   = note: Cannot allocate memory (os error 12)
[01:19:08]   = note: Cannot allocate memory (os error 12)
[01:19:08]   = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctestoUYqEY/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "/tmp/rustdoctestoUYqEY/rust_out.rust_out.7rcbfp3g-cgu.1.rcgu.o" "/tmp/rustdoctestoUYqEY/rust_out.rust_out.7rcbfp3g-cgu.10.rcgu.o" "/tmp/rustdoctestoUYqEY/rust_out.rust_out.7rcbfp3g-cgu.11.rcgu.o" "/tmp/rustdoctestoUYqEY/rust_out.rust_out.7rcbfp3g-cgu.12.rcgu.o" "/tmp/rustdoctestoUYqEY/rust_out.rust_out.7rcbfp3g-cgu.13.rcgu.o" "/tmp/rustdoctestoUYqEY/rust_out.rust_out.7rcbfp3g-cgu.14.rcgu.o" "/tmp/rustdoctestoUYqEY/rust_out.rust_out.7rcbfp3g-cgu.15.rcgu.o" "/tmp/rustdoctestoUYqEY/rust_out.rust_out.7rcbfp3g-cgu.2.rcgu.o" "/tmp/rustdoctestoUYqEY/rust_out.rust_out.7rcbfp3g-cgu.3.rcgu.o" "/tmp/rustdoctestoUYqEY/rust_out.rust_out.7rcbfp3g-cgu.4.rcgu.o" "/tmp/rustdoctestoUYqEY/rust_out.rust_out.7rcbfp3g-cgu.5.rcgu.o" "/tmp/rustdoctestoUYqEY/rust_out.rust_out.7rcbfp3g-cgu.6.rcgu.o" "/tmp/rustdoctestoUYqEY/rust_out.rust_out.7rcbfp3g-cgu.7.rcgu.o" "/tmp/rustdoctestoUYqEY/rust_out.rust_out.7rcbfp3g-cgu.8.rcgu.o" "/tmp/rustdoctestoUYqEY/rust_out.rust_out.7rcbfp3g-cgu.9.rcgu.o" "-o" "/tmp/rustdoctestoUYqEY/rust_out" "/tmp/rustdoctestoUYqEY/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/build/compiler_builtins-f96eaad1e12ec7d0/out" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8bbcb2e0cce1ba3d.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1003b8ab0aedda5c.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-fd3d71fb725eeb08.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-ac3138456e6f15a7.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5dcd48969c0f158e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-2447b3de6505c918.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e288eba838fabb9e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linuoctestrsY3SA/rust_out.rust_out.7rcbfp3g-cgu.3.rcgu.o" "/tmp/rustdoctestrsY3SA/rust_out.rust_out.7rcbfp3g-cgu.4.rcgu.o" "/tmp/rustdoctestrsY3SA/rust_out.rust_out.7rcbfp3g-cgu.5.rcgu.o" "/tmp/rustdoctestrsY3SA/rust_out.rust_out.7rcbfp3g-cgu.6.rcgu.o" "/tmp/rustdoctestrsY3SA/rust_out.rust_out.7rcbfp3g-cgu.7.rcgu.o" "/tmp/rustdoctestrsY3SA/rust_out.rust_out.7rcbfp3g-cgu.8.rcgu.o" "/tmp/rustdoctestrsY3SA/rust_out.rust_out.7rcbfp3g-cgu.9.rcgu.o" "-o" "/tmp/rustdoctestrsY3SA/rust_out" "/tmp/rustdoctestrsY3SA/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/build/compiler_builtins-f96eaad1e12ec7d0/out" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8bbcb2e0cce1ba3d.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1003b8ab0aedda5c.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-fd3d71fb725eeb08.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-ac3138456e6f15a7.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64 error 12)', src/librustdoc/test.rs:343:19
[01:19:08] ---- collections/vec_deque.rs - collections::vec_deque::VecDeque<T>::iter_mut (line 813) stdout ----
[01:19:08] thread 'collections/vec_deque.rs - collections::vec_deque::VecDeque<T>::iter_mut (line 813)' panicked at 'couldn't run the test: Cannot allocate memory (os error 12)', src/librustdoc/test.rs:343:19
[01:19:08] 
[01:19:08] ---- collections/vec_deque.rs - collections::vec_deque::VecDeque<T>::pop_front (line 1179) stdout ----

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

@bors
Copy link
Contributor

bors commented Dec 31, 2018

☀️ Test successful - status-travis
State: approved= try=True

@Zoxc
Copy link
Contributor Author

Zoxc commented Dec 31, 2018

@rust-timer build 2eb7307a44bc76a18eeb0c4d2947492b2be4cbf2

@rust-timer
Copy link
Collaborator

Success: Queued 2eb7307a44bc76a18eeb0c4d2947492b2be4cbf2 with parent aeed63b, comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking try commit 2eb7307a44bc76a18eeb0c4d2947492b2be4cbf2

@nikomatsakis nikomatsakis added I-nominated T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jan 2, 2019
@nikomatsakis
Copy link
Contributor

Nominating for discussion at a @rust-lang/compiler meeting -- afaik, the whole 'tcx and 'gcx split is purely motivated by memory usage. It does however impose a definite burden, in terms of more complex lifetimes to track -- it is also sometimes in the way. For example, the Chalk work would prefer not to have the split, since we would like to maintain type inference variables across a number of queries. I'm definitely interested in the idea of removing it if we find that it is not that helpful.

For a decision this major, though, it seems like it would behoove us to gather more data than just perf. @Zoxc do you think you could measure bootstrap memory usage for stage2 or something like that? i'm not sure what's the easiest way to do that -- perhaps perf stat on a x.py run would work?

@Zoxc
Copy link
Contributor Author

Zoxc commented Jan 4, 2019

I measured the maximum size of a local arena in librustc (2 MB) and the size of the single arena here (128 MB). So I'd expect this change to add 126 MB to the peak memory usage when compiling librustc. This would be a 3.9% regression given that the peak memory usage is 3.28 GB (debuginfo-lines, 16 CGUs) with is change.

@Zoxc
Copy link
Contributor Author

Zoxc commented Jan 4, 2019

With some more options enabled (debug-assertions, debuginfo, experimental-parallel-queries) peak memory usage rises to 4.25 GB giving a 3% regression.

@bors
Copy link
Contributor

bors commented Jun 2, 2019

💔 Test failed - checks-travis

@rust-highfive
Copy link
Collaborator

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

Click to expand the log.
[01:46:09] test string::test_str_truncate ... ok
[01:46:09] test string::test_str_clear ... ok
[01:46:09] test string::test_str_truncate_invalid_len ... ok
[01:46:09] test string::test_str_truncate_split_codepoint ... ok
[01:46:09] died due to signal 11
[01:46:09] error: test failed, to rerun pass '-p alloc --test collectionstests'
[01:46:09] 
[01:46:09] 
[01:46:09] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "test" "--target" "arm-linux-androideabi" "-j" "4" "--release" "--locked" "--color" "always" "--features" "panic-unwind backtrace compiler-builtins-c" "--manifest-path" "/checkout/src/libstd/Cargo.toml" "-p" "alloc" "--"
[01:46:09] 
[01:46:09] 
[01:46:09] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test --target arm-linux-androideabi
[01:46:09] Build completed unsuccessfully in 1:35:22
---
travis_time:end:07fb557c:start=1559466024570701861,finish=1559466024577856445,duration=7154584
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:0a68f498
$ ln -s . checkout && for CORE in obj/cores/core.*; do EXE=$(echo $CORE | sed 's|obj/cores/core\.[0-9]*\.!checkout!\(.*\)|\1|;y|!|/|'); if [ -f "$EXE" ]; then printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" "$CORE"; gdb --batch -q -c "$CORE" "$EXE" -iex 'set auto-load off' -iex 'dir src/' -iex 'set sysroot .' -ex bt -ex q; echo travis_fold":"end:crashlog; fi; done || true
travis_fold:start:crashlog
obj/cores/core.10237.!checkout!obj!build!x86_64-unknown-linux-gnu!stage2!bin!rustc
[New LWP 10257]
[New LWP 10258]
[New LWP 10237]
[New LWP 10259]
[New LWP 10260]
warning: Could not load shared library symbols for 8 libraries, e.g. /lib/x86_64-linux-gnu/libc.so.6.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
Core was generated by `/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc /checkout/src/tes'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007ff10a96c428 in ?? ()
[Current thread is 1 (LWP 10257)]
#0  0x00007ff10a96c428 in ?? ()
#1  0x00007ff10a96e02a in ?? ()
#2  0x0000000000000020 in ?? ()
#3  0x0000000000000000 in ?? ()
travis_time:end:0a68f498:start=1559466024583657475,finish=1559466026537401500,duration=1953744025
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:16cc5cea
travis_time:start:16cc5cea
$ cat ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers || true
cat: ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers: No such file or directory
travis_fold:end:after_failure.5
travis_fold:start:after_failure.6
travis_time:start:0fdb48cc
$ dmesg | grep -i kill

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

@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 Jun 2, 2019
@mati865
Copy link
Contributor

mati865 commented Jun 2, 2019

cc #55861

@Centril
Copy link
Contributor

Centril commented Jun 2, 2019

@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 Jun 2, 2019
@bors
Copy link
Contributor

bors commented Jun 2, 2019

⌛ Testing commit 66a376e with merge 6220254a46ca08f33bfd0e2182fd10e4abb14a0d...

@bors
Copy link
Contributor

bors commented Jun 2, 2019

💔 Test failed - status-appveyor

@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 Jun 2, 2019
@Zoxc
Copy link
Contributor Author

Zoxc commented Jun 3, 2019

@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 Jun 3, 2019
@bors
Copy link
Contributor

bors commented Jun 3, 2019

⌛ Testing commit 66a376e with merge 7096ff0...

bors added a commit that referenced this pull request Jun 3, 2019
Store CtxtInterners for local values in AllArenas

r? @eddyb
@bors
Copy link
Contributor

bors commented Jun 3, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: eddyb
Pushing 7096ff0 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Jun 3, 2019
@bors bors merged commit 66a376e into rust-lang:master Jun 3, 2019
@Zoxc Zoxc deleted the no-local-interners branch June 3, 2019 14:18
bors added a commit that referenced this pull request Jun 12, 2019
Use a single lifetime for MIR construction

Builds on #57214

r? @eddyb
bors added a commit that referenced this pull request Jun 14, 2019
Unify all uses of 'gcx and 'tcx.

This is made possible by @Zoxc landing #57214 (see #57214 (comment) for the decision).

A bit of context for the approach: just like #61722, this is *not* how I originally intended to go about this, but @Zoxc and my own experimentation independently resulted in the same conclusion:
The interim alias `type TyCx<'tcx> = TyCtxt<'tcx, 'tcx>;` attempt required more work (adding `use`s), even only for handling the `TyCtxt<'tcx, 'tcx>` case and not the general `TyCtxt<'gcx, 'tcx>` one.

What this PR is based on is the realization that `'gcx` is a special-enough name that it can be replaced, without caring for context, with `'tcx`, and then repetitions of the name `'tcx` be compacted away.
After that, only a small number of error categories remained, each category easily dealt with with either more mass replacements (e.g. `TyCtxt<'tcx, '_>` -> `TyCtxt<'tcx>`) or by hand.

For the `rustfmt` commit, I used rust-lang/rustfmt#1324 (comment), and manually filtered out some noise, like in #61735 and #61722, and like the latter, there was also a weird bug to work around.
It should be reviewed separately, and dropped if unwanted (in this PR it's pretty significant).

cc @rust-lang/compiler r? @nikomatsakis
Centril added a commit to Centril/rust that referenced this pull request Jul 4, 2019
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request Jul 4, 2019
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request Jul 4, 2019
bors added a commit that referenced this pull request Jul 4, 2019
Use a single CtxtInterners

Builds on #57214

r? @eddyb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-compilemem Issue: Problems and improvements with respect to memory usage during compilation. 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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet