On Fri, Jan 31, 2020 at 06:37:38AM -0800, Freya Mehta wrote:
> On Friday, January 31, 2020 at 7:58:02 PM UTC+5:30, Mike Hommey wrote:
> > On Fri, Jan 31, 2020 at 04:18:30AM -0800, Freya Mehta wrote:
> > >  4:39.77 error: could not compile `style`.
> > >  4:41.08 Caused by:
> > >  4:41.08   process didn't exit successfully: 
> > > `/home/freya/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc 
> > > --crate-name style servo/components/style/lib.rs --error-format=json 
> > > --json=diagnostic-rendered-ansi,artifacts --crate-type lib 
> > > --emit=dep-info,metadata,link -C opt-level=2 -C panic=abort -C 
> > > codegen-units=1 --cfg 'feature="bindgen"' --cfg 'feature="gecko"' --cfg 
> > > 'feature="gecko_profiler"' --cfg 'feature="nsstring"' --cfg 
> > > 'feature="regex"' --cfg 'feature="serde"' --cfg 'feature="toml"' -C 
> > > metadata=80be4b2b8a1bb636 -C extra-filename=-80be4b2b8a1bb636 --out-dir 
> > > /home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps
> > >  --target x86_64-unknown-linux-gnu -C 
> > > linker=/home/freya/src/mozilla-central/build/cargo-linker -C 
> > > incremental=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/incremental
> > >  -L 
> > > dependency=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/de
 ps
>   -L 
> > >  
> > > dependency=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/release/deps
> > >  --extern 
> > > app_units=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libapp_units-086f82f8ebec68cb.rmeta
> > >  --extern 
> > > arrayvec=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libarrayvec-50da0b1ba9893c17.rmeta
> > >  --extern 
> > > atomic_refcell=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libatomic_refcell-4db9ea35c18c1820.rmeta
> > >  --extern 
> > > bitflags=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libbitflags-64397b07e76ca04c.rmeta
> > >  --extern 
> > > byteorder=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libbyteorder-6a9203ff7d558b6c.rmeta
> > >  --extern 
> > > cssparser=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libcssparser-2692a9008e736e4f.rmeta
> > >  --extern de
 ri
>  ve_m
> > >  
> > > ore=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/release/deps/libderive_more-663f635d0d403b5c.so
> > >  --extern 
> > > euclid=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libeuclid-899a1e1c8d2714c5.rmeta
> > >  --extern 
> > > fallible=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libfallible-154827baec5df5bc.rmeta
> > >  --extern 
> > > fxhash=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libfxhash-ee4763ed83f8fcfe.rmeta
> > >  --extern 
> > > hashglobe=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libhashglobe-5b7dad0505b7f5d7.rmeta
> > >  --extern 
> > > indexmap=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libindexmap-2338357887a87272.rmeta
> > >  --extern 
> > > itertools=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libitertools-aeab0a46c84d35e4.rmeta
> > >  --ext
 er
>  n it
> > >  
> > > oa=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libitoa-54e75a97b1a71d1d.rmeta
> > >  --extern 
> > > lazy_static=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/liblazy_static-baab005b2294f3c5.rmeta
> > >  --extern 
> > > log=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/liblog-a98b202757b33e11.rmeta
> > >  --extern 
> > > malloc_size_of=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libmalloc_size_of-5d80b50de118c020.rmeta
> > >  --extern 
> > > malloc_size_of_derive=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/release/deps/libmalloc_size_of_derive-446f0bc16d88332b.so
> > >  --extern 
> > > matches=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libmatches-84fc8ae3ea8c039c.rmeta
> > >  --extern 
> > > debug_unreachable=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/lib
 de
>  bug_
> > >  unreachable-2773e65b673100a5.rmeta --extern 
> > > nsstring=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libnsstring-a9e0a7e031d8a2f6.rmeta
> > >  --extern 
> > > num_derive=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/release/deps/libnum_derive-e3963348143cb166.so
> > >  --extern 
> > > num_integer=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libnum_integer-c47819caaf95b727.rmeta
> > >  --extern 
> > > num_traits=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libnum_traits-1a81640531737b6b.rmeta
> > >  --extern 
> > > num_cpus=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libnum_cpus-535e5ac56a9ab85a.rmeta
> > >  --extern 
> > > ordered_float=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libordered_float-b03ef0bed21a92e6.rmeta
> > >  --extern 
> > > owning_ref=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x8
 6_
>  64-u
> > >  nknown-linux-gnu/release/deps/libowning_ref-7ce28baa5613da34.rmeta 
> > > --extern 
> > > parking_lot=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libparking_lot-08133d8f8ee3218f.rmeta
> > >  --extern 
> > > precomputed_hash=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libprecomputed_hash-ff6334e892467d47.rmeta
> > >  --extern 
> > > rayon=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/librayon-c58e3661954c3e1c.rmeta
> > >  --extern 
> > > selectors=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libselectors-cfd4cce3d7d424ae.rmeta
> > >  --extern 
> > > serde=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libserde-0284429ee22863dc.rmeta
> > >  --extern 
> > > servo_arc=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libservo_arc-d772bb5e94246fc6.rmeta
> > >  --extern smallbitvec=/home/f
 re
>  ya/s
> > >  
> > > rc/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libsmallbitvec-6ea58766b7e6ee20.rmeta
> > >  --extern 
> > > smallvec=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libsmallvec-77314edbb59f3d62.rmeta
> > >  --extern 
> > > static_prefs=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libstatic_prefs-71dcc95fc5baa880.rmeta
> > >  --extern 
> > > style_derive=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/release/deps/libstyle_derive-4952bf4a2b9d695d.so
> > >  --extern 
> > > style_traits=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libstyle_traits-b0f0fac5edaa2942.rmeta
> > >  --extern 
> > > thin_slice=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libthin_slice-f71525bbd1ecff1f.rmeta
> > >  --extern 
> > > time=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libtime-d2acde541442d1ba.rmet
 a 
>  --ex
> > >  tern 
> > > to_shmem=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libto_shmem-e91a4a21c832e393.rmeta
> > >  --extern 
> > > to_shmem_derive=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/release/deps/libto_shmem_derive-55d131b358026590.so
> > >  --extern 
> > > uluru=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libuluru-dacb9b3572d57109.rmeta
> > >  --extern 
> > > unicode_bidi=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libunicode_bidi-c9f55a05b86d91dd.rmeta
> > >  --extern 
> > > unicode_segmentation=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libunicode_segmentation-611c7b1e9f94e8a2.rmeta
> > >  --extern 
> > > void=/home/freya/src/mozilla-central/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libvoid-4736c0ed00a79a1e.rmeta
> > >  -C opt-level=1 -C debuginfo=2 -C force-frame-pointers=yes --cap-lints 
> > > warn` (signal: 9, SIGKILL: kill)
> > 
> > This smells like you don't have enough memory and the OOM killer killed
> > the rust compiler.
> > 
> > Mike
> 
> But I suppose I have enough memory available on my machine.
> freya@freya-HP-Laptop-15-bs1xx:~/src/mozilla-central$ vmstat -s
>       8082692 K total memory
>       3090616 K used memory
>       3799020 K active memory
>       1435088 K inactive memory
>       2095528 K free memory
>        276792 K buffer memory
>       2619756 K swap cache
>             0 K total swap
>             0 K used swap
>             0 K free swap
>       1192094 non-nice user cpu ticks
>          5928 nice user cpu ticks
>        313496 system cpu ticks
>      13813510 idle cpu ticks
>        215148 IO-wait cpu ticks
>             0 IRQ cpu ticks
>         10776 softirq cpu ticks
>             0 stolen cpu ticks
>      31105455 pages paged in
>      11514965 pages paged out
>             0 pages swapped in
>             0 pages swapped out
>      28716264 interrupts
>     124484771 CPU context switches
>    1580409950 boot time
>         36179 forks
> freya@freya-HP-Laptop-15-bs1xx:~/src/mozilla-central$ cat /proc/meminfo 
> MemTotal:        8082692 kB
> MemFree:         2011220 kB
> MemAvailable:    3793084 kB
> Buffers:          280124 kB
> Cached:          2076240 kB
> SwapCached:            0 kB
> Active:          3858236 kB
> Inactive:        1458292 kB
> Active(anon):    2962740 kB
> Inactive(anon):   765952 kB
> Active(file):     895496 kB
> Inactive(file):   692340 kB
> Unevictable:          80 kB
> Mlocked:              80 kB
> SwapTotal:             0 kB
> SwapFree:              0 kB
> Dirty:               708 kB
> Writeback:             0 kB
> AnonPages:       2960292 kB
> Mapped:           581228 kB
> Shmem:            768528 kB
> Slab:             571160 kB
> SReclaimable:     498160 kB
> SUnreclaim:        73000 kB
> KernelStack:       18016 kB
> PageTables:        63536 kB
> NFS_Unstable:          0 kB
> Bounce:                0 kB
> WritebackTmp:          0 kB
> CommitLimit:     4041344 kB
> Committed_AS:   10732120 kB
> VmallocTotal:   34359738367 kB
> VmallocUsed:           0 kB
> VmallocChunk:          0 kB
> HardwareCorrupted:     0 kB
> AnonHugePages:      2048 kB
> ShmemHugePages:        0 kB
> ShmemPmdMapped:        0 kB
> CmaTotal:              0 kB
> CmaFree:               0 kB
> HugePages_Total:       0
> HugePages_Free:        0
> HugePages_Rsvd:        0
> HugePages_Surp:        0
> Hugepagesize:       2048 kB
> DirectMap4k:      251188 kB
> DirectMap2M:     7004160 kB
> DirectMap1G:     1048576 kB
> 
> 
> Does it require more memory?

Probably. Check you dmesg, I bet you'll see a message that rustc was
killed for lack of memory. 8GB may be enough if you close other
applications, but that also depends how many jobs you run in parallel.

Mike
_______________________________________________
dev-builds mailing list
dev-builds@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-builds

Reply via email to