Many warnings when compressing assets


#1

I’m getting the following error compressing assets, I’ve tried rebuilding my container several times without luck:

Compressing: admin-4173814a424a29bf7eea769d82d424cf.js
WARN: Dropping unused function argument time [_admin-4173814a424a29bf7eea769d82d424cf.js:614,28]
WARN: Dropping unused function argument time [_admin-4173814a424a29bf7eea769d82d424cf.js:618,28]
WARN: Dropping unused function argument y [_admin-4173814a424a29bf7eea769d82d424cf.js:758,25]
WARN: Dropping unused variable contentIndex [_admin-4173814a424a29bf7eea769d82d424cf.js:777,12]
WARN: Dropping unused variable contentIndexEnd [_admin-4173814a424a29bf7eea769d82d424cf.js:778,12]
WARN: Dropping unused variable context [_admin-4173814a424a29bf7eea769d82d424cf.js:891,21]
WARN: Dropping unused variable childsCurrentContentIndex [_admin-4173814a424a29bf7eea769d82d424cf.js:891,42]
WARN: Dropping unused variable oldChildView [_admin-4173814a424a29bf7eea769d82d424cf.js:891,96]
WARN: Dropping unused variable rowHeight [_admin-4173814a424a29bf7eea769d82d424cf.js:952,46]
WARN: Dropping unused variable rowHeight [_admin-4173814a424a29bf7eea769d82d424cf.js:1112,12]
WARN: Dropping unused variable paddingCount [_admin-4173814a424a29bf7eea769d82d424cf.js:1112,23]
WARN: Dropping unused variable columnCount [_admin-4173814a424a29bf7eea769d82d424cf.js:1112,37]
WARN: Side effects in initialization of unused variable scrollTop [_admin-4173814a424a29bf7eea769d82d424cf.js:1113,12]
WARN: Dropping unused variable heightfromTop [_admin-4173814a424a29bf7eea769d82d424cf.js:1116,12]
WARN: Dropping unused variable currentHeight [_admin-4173814a424a29bf7eea769d82d424cf.js:1120,12]
WARN: Dropping unused variable paddingCount [_admin-4173814a424a29bf7eea769d82d424cf.js:1164,12]
WARN: Dropping unused variable rowHeight [_admin-4173814a424a29bf7eea769d82d424cf.js:1171,12]
WARN: Dropping unused variable paddingCount [_admin-4173814a424a29bf7eea769d82d424cf.js:1171,23]
WARN: Dropping unused variable columnCount [_admin-4173814a424a29bf7eea769d82d424cf.js:1171,37]
WARN: Side effects in initialization of unused variable viewportHeight [_admin-4173814a424a29bf7eea769d82d424cf.js:1173,12]
WARN: Dropping unused variable heightfromTop [_admin-4173814a424a29bf7eea769d82d424cf.js:1175,12]
WARN: Side effects in initialization of unused variable padding [_admin-4173814a424a29bf7eea769d82d424cf.js:1176,12]
WARN: Dropping unused function argument contentIndex [_admin-4173814a424a29bf7eea769d82d424cf.js:1242,33]
WARN: Dropping unused variable attrs [_admin-4173814a424a29bf7eea769d82d424cf.js:1348,51]
WARN: Dropping unused function argument addedCount [_admin-4173814a424a29bf7eea769d82d424cf.js:1394,61]
WARN: Dropping unused function argument removedCount [_admin-4173814a424a29bf7eea769d82d424cf.js:1394,47]
WARN: Dropping unused function enableProfilingOutput [_admin-4173814a424a29bf7eea769d82d424cf.js:613,13]
WARN: Dropping unused function argument global [_admin-4173814a424a29bf7eea769d82d424cf.js:8,10]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:2319,4]
WARN: Dropping unused function argument subject [_admin-4173814a424a29bf7eea769d82d424cf.js:3548,42]
WARN: Dropping unused function argument subject [_admin-4173814a424a29bf7eea769d82d424cf.js:3609,39]
WARN: Dropping unused function argument subject [_admin-4173814a424a29bf7eea769d82d424cf.js:3636,40]
WARN: Dropping unused function argument subject [_admin-4173814a424a29bf7eea769d82d424cf.js:3715,40]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:4478,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:4534,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:5041,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:5131,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:5231,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:5249,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:5388,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:5478,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:5524,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:5560,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:5587,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:5653,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:5839,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:5888,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:6061,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:6099,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:6168,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:6201,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:6311,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:6456,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:6486,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:6506,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:6585,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:6916,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:6941,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:6957,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:6989,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:7156,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:7186,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:7200,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:7214,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:7232,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:7271,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:7306,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:7338,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:7379,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:7497,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:7528,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:7546,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:7618,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:7654,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:7691,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:7733,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:7793,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:13249,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:13445,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:13489,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:13510,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:13564,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:13587,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:13599,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:13619,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:13633,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:13647,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:13661,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:13675,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:13688,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:13702,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:13724,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:13738,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:13760,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:13773,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:13795,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:13818,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:13841,4]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:13854,4]
WARN: Dropping unused function argument e [_admin-4173814a424a29bf7eea769d82d424cf.js:14323,35]
WARN: Dropping unused function argument e [_admin-4173814a424a29bf7eea769d82d424cf.js:14399,35]
WARN: Dropping unused function argument errorCount [_admin-4173814a424a29bf7eea769d82d424cf.js:13962,45]
WARN: Dropping unused function argument files [_admin-4173814a424a29bf7eea769d82d424cf.js:13962,38]
WARN: Dropping unused function argument errorCount [_admin-4173814a424a29bf7eea769d82d424cf.js:13967,46]
WARN: Dropping unused function argument errorCount [_admin-4173814a424a29bf7eea769d82d424cf.js:13971,46]
WARN: Dropping unused function argument errorCount [_admin-4173814a424a29bf7eea769d82d424cf.js:13975,44]
WARN: Side effects in initialization of unused variable $ [_admin-4173814a424a29bf7eea769d82d424cf.js:14722,4]

I’m currently on Discourse 043a93d with docker manager version 6230468. I’ve got two separate docker containers, one data one web_only. The only change I’ve made recently was adding a cdn and removing this change doesn’t stop the error.

These errors are happing for nearly every asset it tries to gzip.


(Sam Saffron) #2

its warnings that we used to just swallow, I may disable it for now.


(Jeff Atwood) #3

Yeah we should suppress these. No reason anyone would care about them but us.


#4

I’m just happy I didn’t break anything!


(Jeff Atwood) #5

Stop breaking all our stuff, man! :boom::hammer:


(Jeff Atwood) #6

These warnings are now suppressed in the latest Docker image. Confirmed.


(Jeff Atwood) #7