<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="133349" data-post-id="133349">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="axelson" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/axelson/120/26351_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  axelson
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Scenic Core Team</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>What deps and applications are you using? I faced what seems like it could be a similar issue that I solved by moving away from listing the <code>applications</code> and instead using <code>extra_applications</code>: <a href="https://github.com/BlakeWilliams/Elixir-Slack/pull/196" class="inline-onebox" rel="nofollow">Fix application list by axelson · Pull Request #196 · BlakeWilliams/Elixir-Slack · GitHub</a></p>
<p>Actually looking at jose, it looks like it has the same issue<br>
<a href="https://github.com/potatosalad/erlang-jose/blob/80551fc36abab81b6fac798e112a9c1a644b60f1/mix.exs#L25" class="onebox" target="_blank" rel="noopener nofollow">https://github.com/potatosalad/erlang-jose/blob/80551fc36abab81b6fac798e112a9c1a644b60f1/mix.exs#L25</a></p>
<p>And it could be fixed by either adding <code>:poison</code> to the list of application or moving the the <code>:extra_applications</code> approach.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="133349" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/having-trouble-compiling-telemetry-0-4-0-under-elixir-alpine/23365/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-133349" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="133349"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #11"></div>
  </section>
</div>
    <div class="postbit" id="133354" data-post-id="133354">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="terenceponce" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/terenceponce/120/15902_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  terenceponce
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="NobbZ" data-post="6" data-topic="23365">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/nobbz/48/27235_2.png" class="avatar"> NobbZ:</div>
<blockquote>
<p>Can you please verify that you have <code>deps</code> and <code>_build</code> in your <code>.dockerignore</code> ?</p>
</blockquote>
</aside>
<p>I’m not using Docker yet, but I removed the caching of <code>deps</code> and <code>_build</code> from <code>gitlab-ci.yml</code> and it works now. Thanks for pointing this out. Turns out, <code>telemetry</code> had nothing to do with the problem.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="133354" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/having-trouble-compiling-telemetry-0-4-0-under-elixir-alpine/23365/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-133354" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="133354"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #12"></div>
  </section>
</div>
    <div class="postbit" id="144392" data-post-id="144392">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="mhs" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/mhs/120/2300_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  mhs
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I’m seeing this (occasional <code>:telemetry</code> compile fails) too. I’m not sure how to repro it as it seems to happen randomly once and awhile. I’ve seen it on my local OSX machine as well as on a <code>circleci/elixir:1.9.1-node</code> container.</p>
<p>The relevent part from my CircleCI config looks like this:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">elixir_tests:
    docker:
      - image: circleci/elixir:1.9.1-node
    working_directory: ~/repo/api/my_app
    steps:
      - checkout:
          path: ~/repo

      - restore_cache:
          keys:
            - ex-deps-{{ checksum "mix.exs" }}-{{ checksum "mix.lock" }}
            - ex-deps-

      - run:
          name: Install hex and rebar3
          command: mix local.hex --force &amp;&amp; mix local.rebar --force

      - run:
          name: App Dependencies
          command: MIX_ENV=test mix do deps.get --only test, deps.compile, compile

      - save_cache:
          paths:
            - deps
          key: ex-deps-{{ checksum "mix.exs" }}-{{ checksum "mix.lock" }}

      - run:
          name: ExUnit Tests
          command: mix test --cover

      - store_artifacts:
          path: cover
          destination: cover
</code></pre>
<p><code>mix deps.clean telemetry</code> fixes it up if I SSH in and try to interactively manipulate the build.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="144392" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/having-trouble-compiling-telemetry-0-4-0-under-elixir-alpine/23365/14">Post #13</a>
	                </div>
	            </div>
              <div id="likers-container-144392" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="144392"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #13"></div>
  </section>
</div>
    <div class="postbit" id="153735" data-post-id="153735">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="engineeringdept" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/engineeringdept/120/17074_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  engineeringdept
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I had the same issue on CircleCI.</p>
<p>I was using a two stage workflow: building and running unit tests in one stage, and running E2E/integration tests in another stage.</p>
<p>They were using different Elixir docker images (1.8 vs 1.9), and when I upgraded to telemetry 0.4 it started to error on build. Using the same Docker image on both stages fixed this.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="153735" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/having-trouble-compiling-telemetry-0-4-0-under-elixir-alpine/23365/15">Post #14</a>
	                </div>
	            </div>
              <div id="likers-container-153735" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="153735"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #14"></div>
  </section>
</div>
    <div class="postbit" id="157135" data-post-id="157135">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="hlalvesbr" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/hlalvesbr/120/19928_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  hlalvesbr
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I had the same problem. It’s not telemetry, it’s old cached files. Delete “_build” and “deps” folders and run “mix deps.get” and “mix deps.compile”. Everything ok now.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="157135" data-batch-url="/posts/batch_likers">
                        3
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/having-trouble-compiling-telemetry-0-4-0-under-elixir-alpine/23365/16">Post #15</a>
	                </div>
	            </div>
              <div id="likers-container-157135" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="157135"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>