Skip to content

Instantly share code, notes, and snippets.

@23Skidoo
Created July 31, 2017 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 23Skidoo/b3b1c7d3a0e8f140beb28b6b3e46e907 to your computer and use it in GitHub Desktop.
Save 23Skidoo/b3b1c7d3a0e8f140beb28b6b3e46e907 to your computer and use it in GitHub Desktop.
ekg-core: new warnings in GHC 8.2.1
System/Metrics.hs:414:55: warning: [-Wdeprecations]
In the use of ‘bytesAllocated’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
414 | [ ("rts.gc.bytes_allocated" , Counter . Stats.bytesAllocated)
| ^^^^^^^^^^^^^^^^^^^^
System/Metrics.hs:415:55: warning: [-Wdeprecations]
In the use of ‘numGcs’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
415 | , ("rts.gc.num_gcs" , Counter . Stats.numGcs)
| ^^^^^^^^^^^^
System/Metrics.hs:416:55: warning: [-Wdeprecations]
In the use of ‘numByteUsageSamples’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
416 | , ("rts.gc.num_bytes_usage_samples" , Counter . Stats.numByteUsageSamples)
| ^^^^^^^^^^^^^^^^^^^^^^^^^
System/Metrics.hs:417:55: warning: [-Wdeprecations]
In the use of ‘cumulativeBytesUsed’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
417 | , ("rts.gc.cumulative_bytes_used" , Counter . Stats.cumulativeBytesUsed)
| ^^^^^^^^^^^^^^^^^^^^^^^^^
System/Metrics.hs:418:55: warning: [-Wdeprecations]
In the use of ‘bytesCopied’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
418 | , ("rts.gc.bytes_copied" , Counter . Stats.bytesCopied)
| ^^^^^^^^^^^^^^^^^
System/Metrics.hs:419:62: warning: [-Wdeprecations]
In the use of ‘mutatorCpuSeconds’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
419 | , ("rts.gc.mutator_cpu_ms" , Counter . toMs . Stats.mutatorCpuSeconds)
| ^^^^^^^^^^^^^^^^^^^^^^^
System/Metrics.hs:420:62: warning: [-Wdeprecations]
In the use of ‘mutatorWallSeconds’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
420 | , ("rts.gc.mutator_wall_ms" , Counter . toMs . Stats.mutatorWallSeconds)
| ^^^^^^^^^^^^^^^^^^^^^^^^
System/Metrics.hs:421:62: warning: [-Wdeprecations]
In the use of ‘gcCpuSeconds’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
421 | , ("rts.gc.gc_cpu_ms" , Counter . toMs . Stats.gcCpuSeconds)
| ^^^^^^^^^^^^^^^^^^
System/Metrics.hs:422:62: warning: [-Wdeprecations]
In the use of ‘gcWallSeconds’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
422 | , ("rts.gc.gc_wall_ms" , Counter . toMs . Stats.gcWallSeconds)
| ^^^^^^^^^^^^^^^^^^^
System/Metrics.hs:423:62: warning: [-Wdeprecations]
In the use of ‘cpuSeconds’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
423 | , ("rts.gc.cpu_ms" , Counter . toMs . Stats.cpuSeconds)
| ^^^^^^^^^^^^^^^^
System/Metrics.hs:424:62: warning: [-Wdeprecations]
In the use of ‘wallSeconds’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
424 | , ("rts.gc.wall_ms" , Counter . toMs . Stats.wallSeconds)
| ^^^^^^^^^^^^^^^^^
System/Metrics.hs:425:53: warning: [-Wdeprecations]
In the use of ‘maxBytesUsed’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
425 | , ("rts.gc.max_bytes_used" , Gauge . Stats.maxBytesUsed)
| ^^^^^^^^^^^^^^^^^^
System/Metrics.hs:426:53: warning: [-Wdeprecations]
In the use of ‘currentBytesUsed’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
426 | , ("rts.gc.current_bytes_used" , Gauge . Stats.currentBytesUsed)
| ^^^^^^^^^^^^^^^^^^^^^^
System/Metrics.hs:427:53: warning: [-Wdeprecations]
In the use of ‘currentBytesSlop’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
427 | , ("rts.gc.current_bytes_slop" , Gauge . Stats.currentBytesSlop)
| ^^^^^^^^^^^^^^^^^^^^^^
System/Metrics.hs:428:53: warning: [-Wdeprecations]
In the use of ‘maxBytesSlop’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
428 | , ("rts.gc.max_bytes_slop" , Gauge . Stats.maxBytesSlop)
| ^^^^^^^^^^^^^^^^^^
System/Metrics.hs:429:53: warning: [-Wdeprecations]
In the use of ‘peakMegabytesAllocated’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
429 | , ("rts.gc.peak_megabytes_allocated" , Gauge . Stats.peakMegabytesAllocated)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
System/Metrics.hs:432:53: warning: [-Wdeprecations]
In the use of ‘parMaxBytesCopied’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
432 | , ("rts.gc.par_max_bytes_copied" , Gauge . Stats.parMaxBytesCopied)
| ^^^^^^^^^^^^^^^^^^^^^^^
System/Metrics.hs:438:18: warning: [-Wdeprecations]
In the use of type constructor or class ‘GCStats’
(imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
438 | getGcStats :: IO Stats.GCStats
| ^^^^^^^^^^^^^
System/Metrics.hs:441:16: warning: [-Wdeprecations]
In the use of ‘getGCStatsEnabled’ (imported from GHC.Stats):
Deprecated: "use getRTSStatsEnabled instead. This will be removed in GHC 8.4.1"
|
441 | enabled <- Stats.getGCStatsEnabled
| ^^^^^^^^^^^^^^^^^^^^^^^
System/Metrics.hs:443:14: warning: [-Wdeprecations]
In the use of ‘getGCStats’ (imported from GHC.Stats):
Deprecated: "Use getRTSStats instead. This will be removed in GHC 8.4.1"
|
443 | then Stats.getGCStats
| ^^^^^^^^^^^^^^^^
System/Metrics.hs:447:17: warning: [-Wdeprecations]
In the use of type constructor or class ‘GCStats’
(imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
447 | emptyGCStats :: Stats.GCStats
| ^^^^^^^^^^^^^
System/Metrics.hs:449:16: warning: [-Wdeprecations]
In the use of data constructor ‘GCStats’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
449 | emptyGCStats = Stats.GCStats
| ^^^^^^^^^^^^^
System/Metrics.hs:450:7: warning: [-Wdeprecations]
In the use of ‘bytesAllocated’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
450 | { bytesAllocated = 0
| ^^^^^^^^^^^^^^
System/Metrics.hs:451:7: warning: [-Wdeprecations]
In the use of ‘numGcs’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
451 | , numGcs = 0
| ^^^^^^
System/Metrics.hs:452:7: warning: [-Wdeprecations]
In the use of ‘maxBytesUsed’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
452 | , maxBytesUsed = 0
| ^^^^^^^^^^^^
System/Metrics.hs:453:7: warning: [-Wdeprecations]
In the use of ‘numByteUsageSamples’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
453 | , numByteUsageSamples = 0
| ^^^^^^^^^^^^^^^^^^^
System/Metrics.hs:454:7: warning: [-Wdeprecations]
In the use of ‘cumulativeBytesUsed’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
454 | , cumulativeBytesUsed = 0
| ^^^^^^^^^^^^^^^^^^^
System/Metrics.hs:455:7: warning: [-Wdeprecations]
In the use of ‘bytesCopied’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
455 | , bytesCopied = 0
| ^^^^^^^^^^^
System/Metrics.hs:456:7: warning: [-Wdeprecations]
In the use of ‘currentBytesUsed’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
456 | , currentBytesUsed = 0
| ^^^^^^^^^^^^^^^^
System/Metrics.hs:457:7: warning: [-Wdeprecations]
In the use of ‘currentBytesSlop’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
457 | , currentBytesSlop = 0
| ^^^^^^^^^^^^^^^^
System/Metrics.hs:458:7: warning: [-Wdeprecations]
In the use of ‘maxBytesSlop’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
458 | , maxBytesSlop = 0
| ^^^^^^^^^^^^
System/Metrics.hs:459:7: warning: [-Wdeprecations]
In the use of ‘peakMegabytesAllocated’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
459 | , peakMegabytesAllocated = 0
| ^^^^^^^^^^^^^^^^^^^^^^
System/Metrics.hs:460:7: warning: [-Wdeprecations]
In the use of ‘mutatorCpuSeconds’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
460 | , mutatorCpuSeconds = 0
| ^^^^^^^^^^^^^^^^^
System/Metrics.hs:461:7: warning: [-Wdeprecations]
In the use of ‘mutatorWallSeconds’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
461 | , mutatorWallSeconds = 0
| ^^^^^^^^^^^^^^^^^^
System/Metrics.hs:462:7: warning: [-Wdeprecations]
In the use of ‘gcCpuSeconds’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
462 | , gcCpuSeconds = 0
| ^^^^^^^^^^^^
System/Metrics.hs:463:7: warning: [-Wdeprecations]
In the use of ‘gcWallSeconds’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
463 | , gcWallSeconds = 0
| ^^^^^^^^^^^^^
System/Metrics.hs:464:7: warning: [-Wdeprecations]
In the use of ‘cpuSeconds’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
464 | , cpuSeconds = 0
| ^^^^^^^^^^
System/Metrics.hs:465:7: warning: [-Wdeprecations]
In the use of ‘wallSeconds’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
465 | , wallSeconds = 0
| ^^^^^^^^^^^
System/Metrics.hs:466:7: warning: [-Wdeprecations]
In the use of ‘parTotBytesCopied’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
466 | , parTotBytesCopied = 0
| ^^^^^^^^^^^^^^^^^
System/Metrics.hs:467:7: warning: [-Wdeprecations]
In the use of ‘parMaxBytesCopied’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
467 | , parMaxBytesCopied = 0
| ^^^^^^^^^^^^^^^^^
System/Metrics.hs:468:7: warning: [-Wdeprecations]
In the use of ‘mblocksAllocated’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
468 | , mblocksAllocated = 0
| ^^^^^^^^^^^^^^^^
System/Metrics.hs:497:24: warning: [-Wdeprecations]
In the use of type constructor or class ‘GCStats’
(imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
497 | gcParTotBytesCopied :: Stats.GCStats -> Int64
| ^^^^^^^^^^^^^
System/Metrics.hs:499:23: warning: [-Wdeprecations]
In the use of ‘parTotBytesCopied’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
499 | gcParTotBytesCopied = Stats.parTotBytesCopied
| ^^^^^^^^^^^^^^^^^^^^^^^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment