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

Upgrade Emscripten targets to use upstream LLVM backend #63649

Merged
merged 7 commits into from
Oct 5, 2019

Conversation

tlively
Copy link
Contributor

@tlively tlively commented Aug 17, 2019

  • Refactors the Emscripten target spec to share code with other wasm
    targets.
  • Replaces the incorrect wasm32 C call ABI with the old asmjs
    version, which is correct for both wasm32 and JS.
  • Updates the varargs ABI used by Emscripten and deletes the old one.
  • Removes the obsolete wasm32-experimental-emscripten target.
  • Temporarily makes Emscripten targets use panic=abort by default
    because supporting unwinding will require an LLVM patch.

@tlively
Copy link
Contributor Author

tlively commented Aug 17, 2019

TODO: update CI to install and use upstream emscripten to run tests.

The ui/statics/static-mut-foreign.rs test will not pass without rust-lang/libc#1478 and possibly a patch to wasm-ld.

There are also some outstanding undiagnosed test failures on js-unknown-emscripten, so wasm2js will probably require more bugfixes before this can land as well.

// wasm32 can't build the test helpers
if !target.contains("wasm32") {
builder.ensure(native::TestHelpers { target });
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure which LLVM versions rust supports, so this may not be correct. This change was necessary to uncover all the ABI problems, though.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW this may fail on CI for the wasm32-unknown-unknown target, but I think that it'll probably work in that it'll generate a native library with ELF code (using clang) and then we'd just ignore it during the test suite. In that sense let's just ignore this for now and if it causes problems on CI we can add it back, but only for the non-emscripten target

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this is the line that's failing on CI, this'll need to be disabled still for wasm32-unknown-unknown I believe

src/libcore/ffi.rs Outdated Show resolved Hide resolved
src/libcore/hint.rs Show resolved Hide resolved
src/librustc_codegen_llvm/llvm_util.rs Show resolved Hide resolved
src/librustc_codegen_ssa/back/write.rs Show resolved Hide resolved
src/librustc_target/abi/call/wasm32.rs Outdated Show resolved Hide resolved
src/test/ui/issues/issue-14875.rs Show resolved Hide resolved
@JohnTitor JohnTitor added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 18, 2019
@alexcrichton
Copy link
Member

Thanks for the PR @tlively!

I think we may want to hold off on the target renaming yet, I suspect there's probably enough users of the target that this is already going to be somewhat breaking but changing names may be a bit aggressive for a first step. I definitely agree that the new naming is better, just thinking we may want to roll it out a bit slowly (also since it's just purely naming). The main thing I'm worried about is if anyone's using #[cfg(target_arch = "asmjs")] on crates.io that'll break.

For CI, You can edit .azure-pipelines/pr.yml to include the bits from .azure-pipelines/auto.yml about the asmjs image to run that image on this PR, and it'd probably be good to do so while iterating!

Would this be able to remove src/llvm-emscripten, and delete the support for emscripten backends in src/bootstrap/*.rs? (this would be fine to be a follow-up)

@hdhoang hdhoang added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 30, 2019
@hdhoang
Copy link
Contributor

hdhoang commented Aug 30, 2019

ping from triage @tlively, any updates on this?

@tlively
Copy link
Contributor Author

tlively commented Aug 31, 2019

Still on my radar! I've been mostly working on getting the CI to pass on the related PR rust-lang/libc#1478. I'm pretty sure that needs to be merged before this one, but I'm not sure how libc gets rolled into rustc. I will be updating this PR in response to the review comments next week.


fn classify_ret_ty<Ty>(ret: &mut ArgType<'_, Ty>) {
ret.extend_integer_width_to(32);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be kept.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain why? There’s no need to expand i8s and i16s to i32s during the lowering to LLVM IR because LLVM will perform the necessary type legalization itself. In fact, it’s better not to do the expansion here so that legalization is handled by the same system for both C/C++ and Rust.

Copy link
Member

@eddyb eddyb Oct 1, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

}

fn classify_arg_ty<Ty>(arg: &mut ArgType<'_, Ty>) {
arg.extend_integer_width_to(32);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

Copy link
Member

@eddyb eddyb Oct 1, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it's confusing that this happens in both the frontend and the backend. I suppose if we're trying to match clang here then it would make sense to do the expansion, although practically it shouldn't make a difference.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the difference is we pick sign- or zero- extension depending on the type, which LLVM doesn't know, so presumably it would be correct for unsigned integers but not signed, or vice-versa.

I didn't really like this entire dance but IIRC @rkruppe explained at some point that it makes life easier for architectures with e.g. 32-bit registers that you want to do 16-bit or 8-bit operations within, if everything is appropriately extended with its individual signedness.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that makes sense actually 👍

@@ -377,6 +377,7 @@
# but you can also optionally enable the "emscripten" backend for asm.js or
# make this an empty array (but that probably won't get too far in the
# bootstrap)
# FIXME: remove the obsolete emscripten backend option.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep the codegen-backends option when you remove that.

@bors
Copy link
Contributor

bors commented Sep 7, 2019

☔ The latest upstream changes (presumably #64246) made this pull request unmergeable. Please resolve the merge conflicts.

@tlively
Copy link
Contributor Author

tlively commented Sep 9, 2019

Update: I've undone the asmjs => js renaming locally and everything is working well. I'm now experimenting with enabling Emscripten's exception handling to allow panic=unwind, but am running into some bug, probably in LLVM. If that takes much longer I will update this PR to use panic=abort and leave panic=unwind support for the future.

@tlively
Copy link
Contributor Author

tlively commented Sep 10, 2019

Ah, of course the exception handling doesn't work because https://reviews.llvm.org/rG5c3cdef84b82464756bb571c13c31cf7773860c3 has not been merged into Rust's LLVM fork. I'll create a separate issue for that and update this PR to use panic=abort since I don't know how long that will take.

@rust-highfive
Copy link
Collaborator

The job mingw-check of your PR failed (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.
2019-09-10T20:09:42.3065342Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-09-10T20:09:42.3248007Z ##[command]git config gc.auto 0
2019-09-10T20:09:42.3329747Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-09-10T20:09:42.3389677Z ##[command]git config --get-all http.proxy
2019-09-10T20:09:42.3544289Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/63649/merge:refs/remotes/pull/63649/merge
---
2019-09-10T20:13:05.1963907Z ##############################################################            87.1%
2019-09-10T20:13:05.2109876Z ######################################################################    97.7%
2019-09-10T20:13:05.2111409Z ######################################################################## 100.0%
2019-09-10T20:13:05.6136017Z extracting /checkout/obj/build/cache/2019-08-13/cargo-beta-x86_64-unknown-linux-gnu.tar.gz
2019-09-10T20:13:05.6812218Z error: failed to resolve patches for `https://github.com/rust-lang/crates.io-index`
2019-09-10T20:13:05.6812411Z Caused by:
2019-09-10T20:13:05.6812411Z Caused by:
2019-09-10T20:13:05.6812985Z   patch for `rustfmt-nightly` in `https://github.com/rust-lang/crates.io-index` did not resolve to any crates. If this is unexpected, you may wish to consult: https://github.com/rust-lang/cargo/issues/4678
2019-09-10T20:13:05.6859209Z failed to run: /checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path /checkout/src/bootstrap/Cargo.toml
2019-09-10T20:13:05.6874376Z == clock drift check ==
2019-09-10T20:13:05.6885878Z   local time: Tue Sep 10 20:13:05 UTC 2019
2019-09-10T20:13:05.8456023Z   network time: Tue, 10 Sep 2019 20:13:05 GMT
2019-09-10T20:13:05.8460749Z == end clock drift check ==
2019-09-10T20:13:05.8460749Z == end clock drift check ==
2019-09-10T20:13:25.7879988Z ##[error]Bash exited with code '1'.
2019-09-10T20:13:25.7916132Z ##[section]Starting: Checkout
2019-09-10T20:13:25.7918119Z ==============================================================================
2019-09-10T20:13:25.7918202Z Task         : Get sources
2019-09-10T20:13:25.7918254Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

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)

@tlively
Copy link
Contributor Author

tlively commented Sep 10, 2019

Oops, looks like I accidentally changed all the submodules 🙃

Copy link
Member

@alexcrichton alexcrichton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me!

Would you be ok editing src/ci/azure-pipelines/pr.yml to include the asmjs/wasm entries of src/ci/azure-pipelines/auto.yml temporarily? That would ensure that these builds all still pass on this PR, and then we can back that out just before merging with bors.

# asmjs-specific backend assertion trip), so disable assertions for these
# tests.
ENV NO_LLVM_ASSERTIONS=1
ENV NO_DEBUG_ASSERTIONS=1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW I think we trimmed down the tests run on the emscripten builder because of how long it took, so this may want to preserve the lack of assertions and running just a few test suites

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My hope is that with the upstream LLVM backend instead of Fastcomp the performance should be similar to that of other targets so we can give it the full testing treatment, but I'd be happy to put these limits back if that does not pan out.

src/libcore/hint.rs Show resolved Hide resolved
@tlively
Copy link
Contributor Author

tlively commented Sep 11, 2019

@alexcrichton The CI doesn't seem to be running with my latest change. Did I mess something up?
Nvm, it seems to be working now.

@rust-highfive
Copy link
Collaborator

The job asmjs of your PR failed (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.
2019-09-11T20:29:34.7358943Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-09-11T20:29:34.7568036Z ##[command]git config gc.auto 0
2019-09-11T20:29:34.7654293Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-09-11T20:29:34.7705187Z ##[command]git config --get-all http.proxy
2019-09-11T20:29:34.7844471Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/63649/merge:refs/remotes/pull/63649/merge
---
2019-09-11T20:34:34.0673521Z  ---> 07309c031cec
2019-09-11T20:34:34.0673589Z Step 3/13 : COPY scripts/emscripten.sh /scripts/
2019-09-11T20:34:35.9760122Z  ---> 8ed93b5c0e1f
2019-09-11T20:34:35.9760300Z Step 4/13 : RUN bash /scripts/emscripten.sh
2019-09-11T20:34:36.1286178Z  ---> Running in f401f42199d8
2019-09-11T20:34:36.6585069Z + git clone https://github.com/emscripten-core/emsdk.git /emsdk-portable
2019-09-11T20:34:36.6610281Z Cloning into '/emsdk-portable'...
2019-09-11T20:34:37.8845565Z + cd /emsdk-portable
2019-09-11T20:34:37.8845961Z + hide_output ./emsdk install 1.38.42-upstream
2019-09-11T20:35:07.2805297Z Wed Sep 11 20:35:07 UTC 2019 - building ...
2019-09-11T20:35:11.9956159Z /scripts/emscripten.sh: line 3:    17 Terminated              bash -c "while true; do sleep 30; echo \$(date) - building ...; done"
2019-09-11T20:35:11.9956159Z /scripts/emscripten.sh: line 3:    17 Terminated              bash -c "while true; do sleep 30; echo \$(date) - building ...; done"
2019-09-11T20:35:11.9961514Z + ./emsdk activate 1.38.42-upstream
2019-09-11T20:35:12.3851752Z Writing .emscripten configuration file to user home directory /root/
2019-09-11T20:35:12.3852734Z The Emscripten configuration file /root/.emscripten has been rewritten with the following contents:
2019-09-11T20:35:12.3853453Z import os
2019-09-11T20:35:12.3853453Z import os
2019-09-11T20:35:12.3854090Z LLVM_ROOT = '/emsdk-portable/upstream/bin'
2019-09-11T20:35:12.3855042Z BINARYEN_ROOT = '/emsdk-portable/upstream'
2019-09-11T20:35:12.3855712Z EMSCRIPTEN_ROOT = '/emsdk-portable/upstream/emscripten'
2019-09-11T20:35:12.3856267Z NODE_JS = '/emsdk-portable/node/12.9.1_64bit/bin/node'
2019-09-11T20:35:12.3856784Z SPIDERMONKEY_ENGINE = ''
2019-09-11T20:35:12.3857308Z V8_ENGINE = ''
2019-09-11T20:35:12.3857798Z TEMP_DIR = '/tmp'
2019-09-11T20:35:12.3858085Z COMPILER_ENGINE = NODE_JS
2019-09-11T20:35:12.3858332Z JS_ENGINES = [NODE_JS]
2019-09-11T20:35:12.3858559Z 
2019-09-11T20:35:12.3859178Z To conveniently access the selected set of tools from the command line, consider adding the following directories to PATH, or call 'source ./emsdk_env.sh' to do this for you.
2019-09-11T20:35:12.3859488Z 
2019-09-11T20:35:12.3860021Z    /emsdk-portable:/emsdk-portable/upstream/emscripten:/emsdk-portable/node/12.9.1_64bit/bin
2019-09-11T20:35:12.3860567Z Set the following tools as active:
2019-09-11T20:35:12.3860567Z Set the following tools as active:
2019-09-11T20:35:12.3861078Z    releases-upstream-05f8c01394ddd0838d3cb484ba8ca97a3efc1ac9-64bit
2019-09-11T20:35:12.3861892Z 
2019-09-11T20:35:12.3943740Z + source ./emsdk_env.sh
2019-09-11T20:35:12.3952269Z ++ SRC=./emsdk_env.sh
2019-09-11T20:35:12.3952269Z ++ SRC=./emsdk_env.sh
2019-09-11T20:35:12.3953130Z ++ '[' ./emsdk_env.sh = '' ']'
2019-09-11T20:35:12.3953731Z +++ pwd
2019-09-11T20:35:12.3954179Z ++ CURDIR=/emsdk-portable
2019-09-11T20:35:12.3954787Z +++ dirname ./emsdk_env.sh
2019-09-11T20:35:12.3961693Z ++ unset SRC
2019-09-11T20:35:12.3962297Z +++ mktemp
2019-09-11T20:35:12.3962297Z +++ mktemp
2019-09-11T20:35:12.3974091Z ++ tmpfile=/tmp/tmp.nya847z9Tq
2019-09-11T20:35:12.3974204Z ++ ./emsdk construct_env /tmp/tmp.nya847z9Tq
2019-09-11T20:35:12.5743752Z PATH += /emsdk-portable
2019-09-11T20:35:12.5743752Z PATH += /emsdk-portable
2019-09-11T20:35:12.5744044Z PATH += /emsdk-portable/upstream/emscripten
2019-09-11T20:35:12.5746364Z 
2019-09-11T20:35:12.5746649Z Setting environment variables:
2019-09-11T20:35:12.5747123Z EMSDK = /emsdk-portable
2019-09-11T20:35:12.5747423Z EM_CONFIG = /root/.emscripten
2019-09-11T20:35:12.5747423Z EM_CONFIG = /root/.emscripten
2019-09-11T20:35:12.5747941Z EMSDK_NODE = /emsdk-portable/node/12.9.1_64bit/bin/node
2019-09-11T20:35:12.5748212Z 
2019-09-11T20:35:12.5836312Z ++ . /tmp/tmp.nya847z9Tq
2019-09-11T20:35:12.5837162Z +++ export PATH=/emsdk-portable:/emsdk-portable/upstream/emscripten:/emsdk-portable/node/12.9.1_64bit/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2019-09-11T20:35:12.5837643Z +++ PATH=/emsdk-portable:/emsdk-portable/upstream/emscripten:/emsdk-portable/node/12.9.1_64bit/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2019-09-11T20:35:12.5837878Z +++ export EMSDK=/emsdk-portable
2019-09-11T20:35:12.5838079Z +++ EMSDK=/emsdk-portable
2019-09-11T20:35:12.5838149Z +++ export EM_CONFIG=/root/.emscripten
2019-09-11T20:35:12.5838195Z +++ EM_CONFIG=/root/.emscripten
2019-09-11T20:35:12.5838439Z +++ export EMSDK_NODE=/emsdk-portable/node/12.9.1_64bit/bin/node
2019-09-11T20:35:12.5838692Z +++ EMSDK_NODE=/emsdk-portable/node/12.9.1_64bit/bin/node
2019-09-11T20:35:12.5838903Z ++ rm -f /tmp/tmp.nya847z9Tq
2019-09-11T20:35:12.5839181Z ++ cd /emsdk-portable
2019-09-11T20:35:12.5839412Z + echo 'main(){}'
2019-09-11T20:35:12.5839619Z + HOME=/emsdk-portable/
2019-09-11T20:35:12.5839813Z + emcc a.c
2019-09-11T20:35:12.6474530Z cache:INFO: generating system asset: is_vanilla.txt... (this will be cached in "/emsdk-portable/.emscripten_cache/is_vanilla.txt" for subsequent builds)
2019-09-11T20:35:12.6595793Z cache:INFO:  - ok
2019-09-11T20:35:12.7704050Z a.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
2019-09-11T20:35:12.7704207Z main(){}
2019-09-11T20:35:12.7735953Z 1 warning generated.
2019-09-11T20:35:12.7735953Z 1 warning generated.
2019-09-11T20:35:12.7986717Z cache:INFO: generating system library: libc.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libc.a" for subsequent builds)
2019-09-11T20:36:38.1394874Z cache:INFO:  - ok
2019-09-11T20:36:38.1400468Z cache:INFO: generating system library: libcompiler_rt.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libcompiler_rt.a" for subsequent builds)
2019-09-11T20:36:38.6683106Z cache:INFO:  - ok
2019-09-11T20:36:38.6688413Z cache:INFO: generating system library: libc-wasm.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libc-wasm.a" for subsequent builds)
2019-09-11T20:36:41.8604825Z cache:INFO:  - ok
2019-09-11T20:36:41.8625187Z cache:INFO: generating system library: libdlmalloc.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libdlmalloc.a" for subsequent builds)
2019-09-11T20:36:42.9365296Z cache:INFO:  - ok
2019-09-11T20:36:42.9368542Z cache:INFO: generating system library: libpthreads_stub.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libpthreads_stub.a" for subsequent builds)
2019-09-11T20:36:43.2790869Z cache:INFO:  - ok
2019-09-11T20:36:43.2796957Z cache:INFO: generating system library: libcompiler_rt_wasm.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libcompiler_rt_wasm.a" for subsequent builds)
2019-09-11T20:36:48.7870347Z cache:INFO:  - ok
2019-09-11T20:36:48.7875281Z cache:INFO: generating system library: libc_rt_wasm.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libc_rt_wasm.a" for subsequent builds)
2019-09-11T20:36:51.4781014Z cache:INFO:  - ok
2019-09-11T20:36:51.4986050Z cache:INFO: generating system asset: generated_struct_info.json... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/generated_struct_info.json" for subsequent builds)
2019-09-11T20:36:53.3463985Z cache:INFO:  - ok
2019-09-11T20:36:53.7122136Z + rm -f a.c a.out.js a.out.wasm
2019-09-11T20:36:53.7134258Z + cp /root/.emscripten /emsdk-portable
2019-09-11T20:36:53.7153671Z + chmod a+rxw -R /emsdk-portable
2019-09-11T20:37:19.2429172Z Removing intermediate container f401f42199d8
2019-09-11T20:37:19.2430792Z Step 5/13 : COPY scripts/sccache.sh /scripts/
2019-09-11T20:37:21.1692182Z  ---> eafc23691bb5
2019-09-11T20:37:21.1692959Z Step 6/13 : RUN sh /scripts/sccache.sh
2019-09-11T20:37:21.3381294Z  ---> Running in c6f5288c6eb3
---
2019-09-11T20:37:25.9398096Z Step 7/13 : ENV PATH=$PATH:/emsdk-portable
2019-09-11T20:37:26.1900896Z  ---> Running in 09d2483b5452
2019-09-11T20:37:27.6394090Z Removing intermediate container 09d2483b5452
2019-09-11T20:37:27.6394995Z  ---> 28f6d4aaf6e9
2019-09-11T20:37:27.6395390Z Step 8/13 : ENV PATH=$PATH:/emsdk-portable/upstream/emscripten/
2019-09-11T20:37:27.8438349Z  ---> Running in 368b7f6ab589
2019-09-11T20:37:29.3749311Z Removing intermediate container 368b7f6ab589
2019-09-11T20:37:29.3751280Z Step 9/13 : ENV PATH=$PATH:/emsdk-portable/node/12.9.1_64bit/bin/
2019-09-11T20:37:29.5830795Z  ---> Running in 32f1b7f1f455
2019-09-11T20:37:31.0638093Z Removing intermediate container 32f1b7f1f455
2019-09-11T20:37:31.0638892Z  ---> 62931d59260e
---
2019-09-11T20:37:37.8954536Z Removing intermediate container a95de16d5118
2019-09-11T20:37:37.8956063Z  ---> 15e72cfdcb3d
2019-09-11T20:37:37.9000516Z Successfully built 15e72cfdcb3d
2019-09-11T20:37:38.0007868Z Successfully tagged rust-ci:latest
2019-09-11T20:37:38.1186564Z Built container sha256:15e72cfdcb3d8d4a6dee09906e10d7ecc3b2834cb90a2efbc5c24b01a816847a
2019-09-11T20:37:38.1202897Z Uploading finished image to https://rust-lang-ci-sccache2.s3.amazonaws.com/docker/8ee7d461869c9704c3ba0346ea7f0e68dceeee7beed3d0aa54d8ec45631045dd591f036407da64f446872e712c15d85f81ffb5caf5ad710b37c3e97022542921
2019-09-11T20:39:12.3090762Z upload failed: - to s3://rust-lang-ci-sccache2/docker/8ee7d461869c9704c3ba0346ea7f0e68dceeee7beed3d0aa54d8ec45631045dd591f036407da64f446872e712c15d85f81ffb5caf5ad710b37c3e97022542921 Unable to locate credentials
2019-09-11T20:39:13.4438594Z [CI_JOB_NAME=asmjs]
2019-09-11T20:39:13.4496606Z == clock drift check ==
2019-09-11T20:39:13.4505453Z   local time: Wed Sep 11 20:39:13 UTC 2019
2019-09-11T20:39:13.7153640Z   network time: Wed, 11 Sep 2019 20:39:13 GMT
---
2019-09-11T20:39:13.8173171Z configure: build.locked-deps    := True
2019-09-11T20:39:13.8173226Z configure: llvm.ccache          := sccache
2019-09-11T20:39:13.8174314Z configure: build.cargo-native-static := True
2019-09-11T20:39:13.8174564Z configure: dist.missing-tools   := True
2019-09-11T20:39:13.8174854Z configure: build.configure-args := ['--enable-sccache', '--disable-manage-submodu ...
2019-09-11T20:39:13.8175007Z configure: writing `config.toml` in current directory
2019-09-11T20:39:13.8175286Z configure: 
2019-09-11T20:39:13.8175605Z configure: run `python /checkout/x.py --help`
2019-09-11T20:39:13.8175657Z configure: 
---
2019-09-11T22:14:43.1098874Z running: "ar" "crs" "/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers/librust_test_helpers.a" "/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers/rust_test_helpers.o"
2019-09-11T22:14:43.1122301Z exit code: 0
2019-09-11T22:14:43.1127467Z Building test helpers
2019-09-11T22:14:43.1134205Z running: "emcc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-o" "/checkout/obj/build/asmjs-unknown-emscripten/native/rust-test-helpers/rust_test_helpers.o" "-c" "/checkout/src/test/auxiliary/rust_test_helpers.c"
2019-09-11T22:14:43.2132934Z cargo:warning=cache:INFO: generating system asset: is_vanilla.txt... (this will be cached in "/home/user/.emscripten_cache/is_vanilla.txt" for subsequent builds)
2019-09-11T22:14:43.6318995Z cargo:warning=cache:INFO:  - ok
2019-09-11T22:14:43.9530416Z cargo:warning=shared:INFO: (Emscripten: Running sanity checks)
2019-09-11T22:14:43.9574596Z cargo:warning=shared:WARNING: java does not seem to exist, required for closure compiler, which is optional (define JAVA in /emsdk-portable/.emscripten if you want it)
2019-09-11T22:14:43.9578583Z cargo:warning=shared:WARNING: closure compiler will not be available
2019-09-11T22:14:44.2583482Z running: "emar" "crs" "/checkout/obj/build/asmjs-unknown-emscripten/native/rust-test-helpers/librust_test_helpers.a" "/checkout/obj/build/asmjs-unknown-emscripten/native/rust-test-helpers/rust_test_helpers.o"
2019-09-11T22:14:44.3387089Z exit code: 0
2019-09-11T22:14:44.3408917Z Building stage0 tool compiletest (x86_64-unknown-linux-gnu)
2019-09-11T22:14:44.6587980Z    Compiling proc-macro2 v0.4.30
---
2019-09-11T22:16:59.6674018Z 
2019-09-11T22:16:59.6674255Z running 9009 tests
2019-09-11T22:17:59.0632821Z test [ui] ui/abi/abi-sysv64-arg-passing.rs has been running for over 60 seconds
2019-09-11T22:17:59.0633817Z test [ui] ui/abi/abi-sysv64-register-usage.rs has been running for over 60 seconds
2019-09-11T22:22:07.8779501Z .i.....ii..i.......i......i........i.iiiF....................................ii...............i..... 100/9009
2019-09-11T22:25:17.0788977Z .ii.........i.......................i....iiiiii..................................................... 200/9009
2019-09-11T22:30:15.5063204Z .............................................i........................i............................. 400/9009
2019-09-11T22:30:15.5063204Z .............................................i........................i............................. 400/9009
2019-09-11T22:32:18.5203921Z ...............................i..............................................iii................... 500/9009
2019-09-11T22:38:33.6343215Z .......................................................i............................................ 700/9009
2019-09-11T22:39:23.6729320Z .................................................................................................... 800/9009
2019-09-11T22:40:20.0465517Z .............................................................i...................................... 900/9009
2019-09-11T22:43:02.7074490Z ...i............................................ii.........................................i........ 1000/9009
2019-09-11T22:43:02.7074490Z ...i............................................ii.........................................i........ 1000/9009
2019-09-11T22:44:45.4974014Z i.i........................................i........................................................ 1100/9009
2019-09-11T22:45:47.2023502Z .................................................................................................... 1200/9009
2019-09-11T22:46:58.2525783Z ............i.ii.................................................................................... 1300/9009
2019-09-11T22:49:39.3164007Z ......................................................................i............................. 1400/9009
2019-09-11T22:52:05.2073937Z .................................................................................................... 1500/9009
2019-09-11T22:54:30.5463942Z ...................ii.i............................................................................. 1600/9009
2019-09-11T22:57:06.7962259Z ...............................i......i..................i...............i....iii................... 1700/9009
2019-09-11T22:59:20.6322764Z .................................................................................................... 1800/9009
2019-09-11T23:00:55.4875419Z ................................................iiiii.......................i.........ii............ 1900/9009
2019-09-11T23:02:55.8877353Z .................................................................................................... 2000/9009
2019-09-11T23:03:14.6215595Z ......iii........................................................................................... 2100/9009
2019-09-11T23:03:17.7055104Z .................................................................................................... 2200/9009
2019-09-11T23:03:50.9326958Z .....................................................iiii......................i.................... 2300/9009
2019-09-11T23:06:02.8634428Z ..............................i.........................................i........................... 2400/9009
2019-09-11T23:06:11.3047693Z i..........ii....................................................................................... 2500/9009
2019-09-11T23:08:59.9646107Z ...................................................................................................i 2600/9009
2019-09-11T23:12:18.5209441Z ....i..........................................................i...........ii.....ii.i.............. 2700/9009
2019-09-11T23:16:03.4707617Z .i.................................................................................................. 2900/9009
2019-09-11T23:18:03.1762485Z ................................F................................................................... 3000/9009
2019-09-11T23:19:45.2626563Z ..................................................................................................ii 3100/9009
2019-09-11T23:19:45.2626563Z ..................................................................................................ii 3100/9009
2019-09-11T23:22:10.5805687Z ..ii.................i....i............i....i.................i..................................... 3200/9009
2019-09-11T23:27:59.9442713Z ............i.............i.....i.........................................i.......i........i........ 3400/9009
2019-09-11T23:30:20.0047624Z ....................i............................................................................... 3500/9009
2019-09-11T23:33:17.4834993Z ...................................i................................................................ 3600/9009
2019-09-11T23:36:08.6030461Z .i...........................................................i..............................i....... 3700/9009
---
2019-09-12T00:07:40.4977530Z .......................i...............................i............................................ 4900/9009
2019-09-12T00:10:50.2911045Z ...................................................................i...........i..............i..... 5000/9009
2019-09-12T00:12:23.5532908Z .....................test [ui] ui/iterators/iter-count-overflow-debug.rs has been running for over 60 seconds
2019-09-12T00:13:01.5971713Z test [ui] ui/iterators/iter-position-overflow-debug.rs has been running for over 60 seconds
2019-09-12T00:15:12.8609927Z FF.i.i.i.........................................test [ui] ui/iterators/iter-position-overflow-ndebug.rs has been running for over 60 seconds
2019-09-12T00:16:52.0440582Z .....................................i.............................................................. 5200/9009
2019-09-12T00:18:26.8447577Z ..........................................................................................i......... 5300/9009
2019-09-12T00:18:26.8447577Z ..........................................................................................i......... 5300/9009
2019-09-12T00:21:06.6965868Z ......i......................................................ii..................ii................. 5400/9009
2019-09-12T00:25:37.1653229Z .................................................................................................... 5600/9009
2019-09-12T00:25:37.1653229Z .................................................................................................... 5600/9009
2019-09-12T00:27:59.8162522Z ...i............i...i......................................................ii...i..ii...........i... 5700/9009
2019-09-12T00:30:29.4574864Z ........................i........i.i................................................................ 5800/9009
2019-09-12T00:33:02.5256978Z .................................................................................................... 6000/9009
2019-09-12T00:33:02.5256978Z .................................................................................................... 6000/9009
2019-09-12T00:34:03.1528911Z ............................................i...........i....................i..ii.................. 6100/9009
2019-09-12T00:37:08.0283744Z ..............i.....ii.............................................................................. 6200/9009
2019-09-12T00:39:29.3171604Z ...................i...............................i....................iii..i..ii.iiii.iiiii....... 6300/9009
2019-09-12T00:39:46.5007201Z .................................................................................................... 6500/9009
2019-09-12T00:39:49.6227140Z ........i........................................................................................... 6600/9009
2019-09-12T00:40:50.0539464Z ..............................i............................i........................................ 6700/9009
2019-09-12T00:43:10.6034760Z .........................................................................i.......................... 6800/9009
2019-09-12T00:43:10.6034760Z .........................................................................i.......................... 6800/9009
2019-09-12T00:45:00.8985103Z .....................................iiiiiiii..............................................i........ 6900/9009
2019-09-12T00:49:13.6901119Z .................................................................................................... 7100/9009
2019-09-12T00:50:09.5471074Z .................................................................................................... 7200/9009
2019-09-12T00:51:04.4727303Z .................i.................................................................................. 7300/9009
2019-09-12T00:54:20.8764363Z .......................................................................i.......i.................... 7400/9009
2019-09-12T00:54:20.8764363Z .......................................................................i.......i.................... 7400/9009
2019-09-12T00:56:13.8146294Z .................................................................................................... 7500/9009
2019-09-12T00:58:13.7041794Z ..........................i..i.............iii.....i....iiiiiiiiiii.i.........................i..... 7600/9009
2019-09-12T01:01:04.9206498Z .............................................................................i.i.................... 7800/9009
2019-09-12T01:06:05.2310799Z .................................................i.................................................. 7900/9009
2019-09-12T01:07:31.2796764Z ...............i.................................................................................... 8000/9009
2019-09-12T01:07:31.2796764Z ...............i.................................................................................... 8000/9009
2019-09-12T01:11:00.7525313Z ..............................................iii.....i.....i.........i........ii....i.i.....iiiiii. 8100/9009
2019-09-12T01:13:49.8022628Z ....iiiiiiii.ii...ii.iii..iiii............................................................i......... 8200/9009
2019-09-12T01:19:33.4522831Z ........................................................................i........................... 8400/9009
2019-09-12T01:20:48.4384345Z .................................................................................................... 8500/9009
2019-09-12T01:22:54.3563559Z .................................................................................................... 8600/9009
2019-09-12T01:25:09.5152528Z ................i................................................................................... 8700/9009
2019-09-12T01:25:09.5152528Z ................i................................................................................... 8700/9009
2019-09-12T01:28:02.0125920Z ..........................................i......................................................... 8800/9009
2019-09-12T01:29:12.0048757Z ................................ii...............................i.................................. 8900/9009
2019-09-12T01:30:36.7434804Z .............i...i.i.............................................................................ii. 9000/9009
2019-09-12T01:31:04.8044184Z failures:
2019-09-12T01:31:04.8093134Z 
2019-09-12T01:31:04.8094283Z ---- [ui] ui/abi/statics/static-mut-foreign.rs stdout ----
2019-09-12T01:31:04.8094330Z 
2019-09-12T01:31:04.8094330Z 
2019-09-12T01:31:04.8094583Z error: test compilation failed although it shouldn't!
2019-09-12T01:31:04.8094967Z status: exit code: 1
2019-09-12T01:31:04.8095822Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/abi/statics/static-mut-foreign.rs" "-Zthreads=1" "--target=asmjs-unknown-emscripten" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.js" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/asmjs-unknown-emscripten/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/auxiliary"
2019-09-12T01:31:04.8096379Z ------------------------------------------
2019-09-12T01:31:04.8096494Z 
2019-09-12T01:31:04.8096775Z ------------------------------------------
2019-09-12T01:31:04.8096841Z stderr:
2019-09-12T01:31:04.8096841Z stderr:
2019-09-12T01:31:04.8097057Z ------------------------------------------
2019-09-12T01:31:04.8097106Z error: linking with `emcc` failed: exit code: 1
2019-09-12T01:31:04.8097163Z    |
2019-09-12T01:31:04.8101303Z    = note: "emcc" "-s" "DISABLE_EXCEPTION_CATCHING=1" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.static_mut_foreign.7rcbfp3g-cgu.0.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.static_mut_foreign.7rcbfp3g-cgu.1.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.static_mut_foreign.7rcbfp3g-cgu.2.rcgu.o" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.js" "-s" "EXPORTED_FUNCTIONS=[\"_main\",\"_rust_eh_personality\"]" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.3lin0r3ymdvpj22v.rcgu.o" "-O2" "--memory-init-file" "0" "-g0" "-s" "DEFAULT_LIBRARY_FUNCS_TO_INCLUDE=[]" "-L" "/checkout/obj/build/asmjs-unknown-emscripten/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/auxiliary" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib" "-l" "rust_test_helpers" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libstd-4e65788bae25c659.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libpanic_abort-a699a14fc732c57a.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libhashbrown-9b60830bbe2d581e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/librustc_std_workspace_alloc-ba59cbcb6e7217de.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libbacktrace-c7227c1ea0e624f6.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/librustc_demangle-ec10ee0429285dbd.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libunwind-11efea36ab74a158.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libcfg_if-537a31a71a1667e5.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/liblibc-bf44b0c00855d2df.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/liballoc-ac926a854a4b8f07.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/librustc_std_workspace_core-6243923ce9b44c89.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libcore-608b04ebb869497f.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libcompiler_builtins-18771975efaea389.rlib" "-l" "c" "-s" "ERROR_ON_UNDEFINED_SYMBOLS=1" "-s" "ASSERTIONS=1" "-s" "DISABLE_EXCEPTION_CATCHING=1" "-s" "WASM=0"
2019-09-12T01:31:04.8104420Z    = note: wasm-ld: warning: function signature mismatch: lseek64
2019-09-12T01:31:04.8104850Z            >>> defined as (i32, i32, i32) -> i32 in /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libstd-4e65788bae25c659.rlib(std-4e65788bae25c659.std.l78fir96-cgu.0.rcgu.o)
2019-09-12T01:31:04.8105153Z            >>> defined as (i32, i64, i32) -> i64 in /home/user/.emscripten_cache/wasm-obj/libc.a(lseek.c.o)
2019-09-12T01:31:04.8105207Z            
2019-09-12T01:31:04.8105459Z            wasm-ld: warning: function signature mismatch: ftruncate64
2019-09-12T01:31:04.8105950Z            >>> defined as (i32, i32) -> i32 in /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libstd-4e65788bae25c659.rlib(std-4e65788bae25c659.std.l78fir96-cgu.0.rcgu.o)
2019-09-12T01:31:04.8106304Z            >>> defined as (i32, i64) -> i32 in /home/user/.emscripten_cache/wasm-obj/libc.a(ftruncate.c.o)
2019-09-12T01:31:04.8106355Z            
2019-09-12T01:31:04.8106588Z            wasm-ld: warning: function signature mismatch: pwrite64
2019-09-12T01:31:04.8106997Z            >>> defined as (i32, i32, i32, i32) -> i32 in /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libstd-4e65788bae25c659.rlib(std-4e65788bae25c659.std.l78fir96-cgu.0.rcgu.o)
2019-09-12T01:31:04.8107296Z            >>> defined as (i32, i32, i32, i64) -> i32 in /home/user/.emscripten_cache/wasm-obj/libc.a(pwrite.c.o)
2019-09-12T01:31:04.8107348Z            
2019-09-12T01:31:04.8107598Z            wasm-ld: warning: function signature mismatch: pread64
2019-09-12T01:31:04.8107999Z            >>> defined as (i32, i32, i32, i32) -> i32 in /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libstd-4e65788bae25c659.rlib(std-4e65788bae25c659.std.l78fir96-cgu.0.rcgu.o)
2019-09-12T01:31:04.8108542Z            >>> defined as (i32, i32, i32, i64) -> i32 in /home/user/.emscripten_cache/wasm-obj/libc.a(pread.c.o)
2019-09-12T01:31:04.8109015Z            wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/lld/wasm/Symbols.cpp:115: void lld::wasm::Symbol::setGOTIndex(uint32_t): Assertion `gotIndex == INVALID_INDEX' failed.
2019-09-12T01:31:04.8109569Z            Stack dump:
2019-09-12T01:31:04.8113765Z            0.    Program arguments: /emsdk-portable/upstream/bin/wasm-ld -o /tmp/emscripten_temp_FmzcAl/a.wasm --allow-undefined --import-memory --import-table --lto-O0 /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.static_mut_foreign.7rcbfp3g-cgu.0.rcgu.o /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.static_mut_foreign.7rcbfp3g-cgu.1.rcgu.o /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.static_mut_foreign.7rcbfp3g-cgu.2.rcgu.o /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.3lin0r3ymdvpj22v.rcgu.o /checkout/obj/build/asmjs-unknown-emscripten/native/rust-test-helpers/librust_test_helpers.a /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libstd-4e65788bae25c659.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libpanic_abort-a699a14fc732c57a.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libhashbrown-9b60830bbe2d581e.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/librustc_std_workspace_alloc-ba59cbcb6e7217de.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libbacktrace-c7227c1ea0e624f6.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/librustc_demangle-ec10ee0429285dbd.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libunwind-11efea36ab74a158.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libcfg_if-537a31a71a1667e5.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/liblibc-bf44b0c00855d2df.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/liballoc-ac926a854a4b8f07.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/librustc_std_workspace_core-6243923ce9b44c89.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libcore-608b04ebb869497f.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libcompiler_builtins-18771975efaea389.rlib /home/user/.emscripten_cache/wasm-obj/libc.a /home/user/.emscripten_cache/wasm-obj/libcompiler_rt.a /home/user/.emscripten_cache/wasm-obj/libc-wasm.a /home/user/.emscripten_cache/wasm-obj/libc-extras.a /home/user/.emscripten_cache/wasm-obj/libdlmalloc.a /home/user/.emscripten_cache/wasm-obj/libpthreads_stub.a /home/user/.emscripten_cache/wasm-obj/libcompiler_rt_wasm.a /home/user/.emscripten_cache/wasm-obj/libc_rt_wasm.a -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export __wasm_call_ctors --export __data_end --export main --export rust_eh_personality --export malloc --export free --export setThrew --export __errno_location --export fflush --export htonl --export htons --export ntohs --export _get_environ -z stack-size=5242880 --initial-memory=16777216 --no-entry --max-memory=16777216 --global-base=1024 
2019-09-12T01:31:04.8116307Z             #0 0x00007f23dc4739f4 PrintStackTraceSignalHandler(void*) (/emsdk-portable/upstream/bin/../lib/libLLVM-10svn.so+0x6d79f4)
2019-09-12T01:31:04.8116851Z             #1 0x00007f23dc47173e llvm::sys::RunSignalHandlers() (/emsdk-portable/upstream/bin/../lib/libLLVM-10svn.so+0x6d573e)
2019-09-12T01:31:04.8117167Z             #2 0x00007f23dc473ca8 SignalHandler(int) (/emsdk-portable/upstream/bin/../lib/libLLVM-10svn.so+0x6d7ca8)
2019-09-12T01:31:04.8117448Z             #3 0x00007f23df345390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390)
2019-09-12T01:31:04.8118045Z             #4 0x00007f23db166428 raise (/lib/x86_64-linux-gnu/libc.so.6+0x35428)
2019-09-12T01:31:04.8118384Z             #5 0x00007f23db16802a abort (/lib/x86_64-linux-gnu/libc.so.6+0x3702a)
2019-09-12T01:31:04.8118647Z             #6 0x00007f23db15ebd7 (/lib/x86_64-linux-gnu/libc.so.6+0x2dbd7)
2019-09-12T01:31:04.8118928Z             #7 0x00007f23db15ec82 (/lib/x86_64-linux-gnu/libc.so.6+0x2dc82)
2019-09-12T01:31:04.8119632Z             #8 0x00000000006ac4fb (/emsdk-portable/upstream/bin/wasm-ld+0x6ac4fb)
2019-09-12T01:31:04.8120025Z             #9 0x00000000006c691b lld::wasm::GlobalSection::assignIndexes() (/emsdk-portable/upstream/bin/wasm-ld+0x6c691b)
2019-09-12T01:31:04.8120358Z            #10 0x00000000006b1466 (anonymous namespace)::Writer::run() (/emsdk-portable/upstream/bin/wasm-ld+0x6b1466)
2019-09-12T01:31:04.8120646Z            #11 0x00000000006adaaf lld::wasm::writeResult() (/emsdk-portable/upstream/bin/wasm-ld+0x6adaaf)
2019-09-12T01:31:04.8120994Z            #12 0x0000000000690ae7 (anonymous namespace)::LinkerDriver::link(llvm::ArrayRef<char const*>) (/emsdk-portable/upstream/bin/wasm-ld+0x690ae7)
2019-09-12T01:31:04.8121334Z            #13 0x000000000068b6d8 lld::wasm::link(llvm::ArrayRef<char const*>, bool, llvm::raw_ostream&) (/emsdk-portable/upstream/bin/wasm-ld+0x68b6d8)
2019-09-12T01:31:04.8121611Z            #14 0x000000000041eadb main (/emsdk-portable/upstream/bin/wasm-ld+0x41eadb)
2019-09-12T01:31:04.8121908Z            #15 0x00007f23db151830 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x20830)
2019-09-12T01:31:04.8122196Z            #16 0x000000000041e669 _start (/emsdk-portable/upstream/bin/wasm-ld+0x41e669)
2019-09-12T01:31:04.8126339Z            shared:ERROR: '/emsdk-portable/upstream/bin/wasm-ld -o /tmp/emscripten_temp_FmzcAl/a.wasm --allow-undefined --import-memory --import-table --lto-O0 /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.static_mut_foreign.7rcbfp3g-cgu.0.rcgu.o /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.static_mut_foreign.7rcbfp3g-cgu.1.rcgu.o /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.static_mut_foreign.7rcbfp3g-cgu.2.rcgu.o /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.3lin0r3ymdvpj22v.rcgu.o /checkout/obj/build/asmjs-unknown-emscripten/native/rust-test-helpers/librust_test_helpers.a /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libstd-4e65788bae25c659.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libpanic_abort-a699a14fc732c57a.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libhashbrown-9b60830bbe2d581e.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/librustc_std_workspace_alloc-ba59cbcb6e7217de.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libbacktrace-c7227c1ea0e624f6.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/librustc_demangle-ec10ee0429285dbd.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libunwind-11efea36ab74a158.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libcfg_if-537a31a71a1667e5.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/liblibc-bf44b0c00855d2df.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/liballoc-ac926a854a4b8f07.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/librustc_std_workspace_core-6243923ce9b44c89.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libcore-608b04ebb869497f.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libcompiler_builtins-18771975efaea389.rlib /home/user/.emscripten_cache/wasm-obj/libc.a /home/user/.emscripten_cache/wasm-obj/libcompiler_rt.a /home/user/.emscripten_cache/wasm-obj/libc-wasm.a /home/user/.emscripten_cache/wasm-obj/libc-extras.a /home/user/.emscripten_cache/wasm-obj/libdlmalloc.a /home/user/.emscripten_cache/wasm-obj/libpthreads_stub.a /home/user/.emscripten_cache/wasm-obj/libcompiler_rt_wasm.a /home/user/.emscripten_cache/wasm-obj/libc_rt_wasm.a -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export __wasm_call_ctors --export __data_end --export main --export rust_eh_personality --export malloc --export free --export setThrew --export __errno_location --export fflush --export htonl --export htons --export ntohs --export _get_environ -z stack-size=5242880 --initial-memory=16777216 --no-entry --max-memory=16777216 --global-base=1024' failed (-6)
2019-09-12T01:31:04.8127090Z 
2019-09-12T01:31:04.8127133Z error: aborting due to previous error
2019-09-12T01:31:04.8127179Z 
2019-09-12T01:31:04.8127207Z 
2019-09-12T01:31:04.8127207Z 
2019-09-12T01:31:04.8127481Z ------------------------------------------
2019-09-12T01:31:04.8127514Z 
2019-09-12T01:31:04.8127539Z 
2019-09-12T01:31:04.8127791Z ---- [ui] ui/impl-trait/example-calendar.rs stdout ----
2019-09-12T01:31:04.8127826Z 
2019-09-12T01:31:04.8127871Z error: test run failed!
2019-09-12T01:31:04.8127930Z status: exit code: 1
2019-09-12T01:31:04.8128257Z command: "/emsdk-portable/node/12.9.1_64bit/bin/node" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/example-calendar/a.js"
2019-09-12T01:31:04.8128556Z ------------------------------------------
2019-09-12T01:31:04.8128602Z undefined
2019-09-12T01:31:04.8128629Z 
2019-09-12T01:31:04.8128842Z ------------------------------------------
2019-09-12T01:31:04.8128842Z ------------------------------------------
2019-09-12T01:31:04.8128900Z stderr:
2019-09-12T01:31:04.8129181Z ------------------------------------------
2019-09-12T01:31:04.8129434Z thread 'main' panicked at 'assertion failed: `(left == right)`
2019-09-12T01:31:04.8129502Z   left: `[((2012, 52), 7), ((2013, 1), 7)]`,
2019-09-12T01:31:04.8129788Z  right: `[((2013, 1), 6), ((2013, 2), 7)]`', /checkout/src/test/ui/impl-trait/example-calendar.rs:461:5
2019-09-12T01:31:04.8129908Z undefined
2019-09-12T01:31:04.8129908Z undefined
2019-09-12T01:31:04.8129953Z exception thrown: abort(undefined) at Error
2019-09-12T01:31:04.8130333Z     at jsStackTrace (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/example-calendar/a.js:23:15885)
2019-09-12T01:31:04.8130696Z     at stackTrace (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/example-calendar/a.js:23:16056)
2019-09-12T01:31:04.8130996Z     at Object.abort (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/example-calendar/a.js:23:130488)
2019-09-12T01:31:04.8131284Z     at _abort (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/example-calendar/a.js:23:90291)
2019-09-12T01:31:04.8131584Z     at Nd (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/example-calendar/a.js:9:3395)
2019-09-12T01:31:04.8131867Z     at be (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/example-calendar/a.js:9:11231)
2019-09-12T01:31:04.8132147Z     at ae (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/example-calendar/a.js:9:9935)
2019-09-12T01:31:04.8132455Z     at hc (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/example-calendar/a.js:5:132379)
2019-09-12T01:31:04.8132989Z     at Array.Ma (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/example-calendar/a.js:5:64312)
2019-09-12T01:31:04.8133639Z     at Array.bb (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/example-calendar/a.js:5:90120)
2019-09-12T01:31:04.8133918Z ------------------------------------------
2019-09-12T01:31:04.8133949Z 
2019-09-12T01:31:04.8133973Z 
2019-09-12T01:31:04.8134197Z ---- [ui] ui/issues/issue-33992.rs stdout ----
2019-09-12T01:31:04.8134197Z ---- [ui] ui/issues/issue-33992.rs stdout ----
2019-09-12T01:31:04.8134227Z 
2019-09-12T01:31:04.8134437Z error: test compilation failed although it shouldn't!
2019-09-12T01:31:04.8134481Z status: signal: 6
2019-09-12T01:31:04.8135142Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/issues/issue-33992.rs" "-Zthreads=1" "--target=asmjs-unknown-emscripten" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/issues/issue-33992/a.js" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/asmjs-unknown-emscripten/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/issues/issue-33992/auxiliary"
2019-09-12T01:31:04.8135449Z ------------------------------------------
2019-09-12T01:31:04.8135480Z 
2019-09-12T01:31:04.8135682Z ------------------------------------------
2019-09-12T01:31:04.8135739Z stderr:
---
2019-09-12T01:31:04.8136762Z ---- [ui] ui/iterators/iter-position-overflow-debug.rs stdout ----
2019-09-12T01:31:04.8136808Z 
2019-09-12T01:31:04.8136846Z error: test run failed!
2019-09-12T01:31:04.8136901Z status: exit code: 1
2019-09-12T01:31:04.8137204Z command: "/emsdk-portable/node/12.9.1_64bit/bin/node" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/iterators/iter-position-overflow-debug/a.js"
2019-09-12T01:31:04.8137476Z ------------------------------------------
2019-09-12T01:31:04.8137519Z undefined
2019-09-12T01:31:04.8137543Z 
2019-09-12T01:31:04.8137737Z ------------------------------------------
2019-09-12T01:31:04.8137737Z ------------------------------------------
2019-09-12T01:31:04.8137792Z stderr:
2019-09-12T01:31:04.8137989Z ------------------------------------------
2019-09-12T01:31:04.8138243Z thread 'main' panicked at 'attempt to add with overflow', /checkout/src/libcore/ops/arith.rs:100:45
2019-09-12T01:31:04.8138355Z undefined
2019-09-12T01:31:04.8138355Z undefined
2019-09-12T01:31:04.8138394Z exception thrown: abort(undefined) at Error
2019-09-12T01:31:04.8138806Z     at jsStackTrace (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/iterators/iter-position-overflow-debug/a.js:19:14633)
2019-09-12T01:31:04.8139171Z     at stackTrace (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/iterators/iter-position-overflow-debug/a.js:19:14804)
2019-09-12T01:31:04.8139625Z     at Object.abort (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/iterators/iter-position-overflow-debug/a.js:19:127901)
2019-09-12T01:31:04.8139947Z     at _abort (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/iterators/iter-position-overflow-debug/a.js:19:89039)
2019-09-12T01:31:04.8140243Z     at Nb (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/iterators/iter-position-overflow-debug/a.js:5:74266)
2019-09-12T01:31:04.8140552Z     at _a (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/iterators/iter-position-overflow-debug/a.js:5:48949)
2019-09-12T01:31:04.8140855Z     at Kb (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/iterators/iter-position-overflow-debug/a.js:5:72877)
2019-09-12T01:31:04.8141273Z     at ra (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/iterators/iter-position-overflow-debug/a.js:5:9595)
2019-09-12T01:31:04.8141583Z     at ea (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/iterators/iter-position-overflow-debug/a.js:5:271)
2019-09-12T01:31:04.8141885Z     at Array.je (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/iterators/iter-position-overflow-debug/a.js:5:130833)
2019-09-12T01:31:04.8142151Z ------------------------------------------
2019-09-12T01:31:04.8142183Z 
2019-09-12T01:31:04.8142208Z 
2019-09-12T01:31:04.8142440Z ---- [ui] ui/iterators/iter-count-overflow-debug.rs stdout ----
2019-09-12T01:31:04.8142440Z ---- [ui] ui/iterators/iter-count-overflow-debug.rs stdout ----
2019-09-12T01:31:04.8142473Z 
2019-09-12T01:31:04.8142529Z error: test run failed!
2019-09-12T01:31:04.8142570Z status: exit code: 1
2019-09-12T01:31:04.8143134Z command: "/emsdk-portable/node/12.9.1_64bit/bin/node" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/iterators/iter-count-overflow-debug/a.js"
2019-09-12T01:31:04.8143410Z ------------------------------------------
2019-09-12T01:31:04.8143451Z undefined
2019-09-12T01:31:04.8143476Z 
2019-09-12T01:31:04.8143688Z ------------------------------------------
2019-09-12T01:31:04.8143688Z ------------------------------------------
2019-09-12T01:31:04.8143730Z stderr:
2019-09-12T01:31:04.8143925Z ------------------------------------------
2019-09-12T01:31:04.8144285Z thread 'main' panicked at 'attempt to add with overflow', /checkout/src/libcore/ops/arith.rs:100:45
2019-09-12T01:31:04.8144376Z undefined
2019-09-12T01:31:04.8144376Z undefined
2019-09-12T01:31:04.8144429Z exception thrown: abort(undefined) at Error
2019-09-12T01:31:04.8144692Z     at jsStackTrace (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/iterators/iter-count-overflow-debug/a.js:19:14633)
2019-09-12T01:31:04.8144953Z     at stackTrace (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/iterators/iter-count-overflow-debug/a.js:19:14804)
2019-09-12T01:31:04.8145246Z     at Object.abort (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/iterators/iter-count-overflow-debug/a.js:19:127901)
2019-09-12T01:31:04.8145508Z     at _abort (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/iterators/iter-count-overflow-debug/a.js:19:89039)
2019-09-12T01:31:04.8145761Z     at Ob (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/iterators/iter-count-overflow-debug/a.js:5:75244)
2019-09-12T01:31:04.8146029Z     at Ya (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/iterators/iter-count-overflow-debug/a.js:5:48734)
2019-09-12T01:31:04.8146281Z     at Jb (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/iterators/iter-count-overflow-debug/a.js:5:73656)
2019-09-12T01:31:04.8146535Z     at ra (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/iterators/iter-count-overflow-debug/a.js:5:9595)
2019-09-12T01:31:04.8146802Z     at ea (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/iterators/iter-count-overflow-debug/a.js:5:271)
2019-09-12T01:31:04.8147144Z     at Array.Mc (/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/iterators/iter-count-overflow-debug/a.js:5:99356)
2019-09-12T01:31:04.8147415Z ------------------------------------------
2019-09-12T01:31:04.8147443Z 
2019-09-12T01:31:04.8147467Z 
2019-09-12T01:31:04.8147489Z 
---
2019-09-12T01:31:04.8180336Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:536:22
2019-09-12T01:31:04.8180956Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
2019-09-12T01:31:04.8181132Z 
2019-09-12T01:31:04.8181296Z 
2019-09-12T01:31:04.8183080Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/ui" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui" "--stage-id" "stage2-asmjs-unknown-emscripten" "--mode" "ui" "--target" "asmjs-unknown-emscripten" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/build/bin/FileCheck" "--nodejs" "/emsdk-portable/node/12.9.1_64bit/bin/node" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/asmjs-unknown-emscripten/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "9.0.0-rust-1.39.0-dev\n" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2019-09-12T01:31:04.8183635Z 
2019-09-12T01:31:04.8183761Z 
2019-09-12T01:31:04.8184197Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test --target asmjs-unknown-emscripten
2019-09-12T01:31:04.8184412Z Build completed unsuccessfully in 4:49:13
2019-09-12T01:31:04.8184412Z Build completed unsuccessfully in 4:49:13
2019-09-12T01:31:04.8212144Z == clock drift check ==
2019-09-12T01:31:04.8225120Z   local time: Thu Sep 12 01:31:04 UTC 2019
2019-09-12T01:31:04.9583540Z   network time: Thu, 12 Sep 2019 01:31:04 GMT
2019-09-12T01:31:04.9588659Z == end clock drift check ==
2019-09-12T01:31:05.7288719Z ##[error]Bash exited with code '1'.
2019-09-12T01:31:05.7339305Z ##[section]Starting: Checkout
2019-09-12T01:31:05.7341163Z ==============================================================================
2019-09-12T01:31:05.7341243Z Task         : Get sources
2019-09-12T01:31:05.7341296Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

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)

@alexcrichton
Copy link
Member

I haven't done much analysis of the timing, but those did run for a bit of a long time. It looks like there's some asmjs failures, but perhaps we could switch back to running a subset of tests and then expand it later if necessary? We're already bleeding for time in a lot of areas so I don't think we can afford taking too much longer. Otherwise I'm realizing now that test-various is the wasm32-unknown-unknown tests, but it's ok to fixup the asmjs errors here and then run those tests with bors.

@tlively
Copy link
Contributor Author

tlively commented Sep 13, 2019

[ui] ui/abi/statics/static-mut-foreign.rs
[ui] ui/impl-trait/example-calendar.rs
[ui] ui/issues/issue-33992.rs
[ui] ui/iterators/iter-count-overflow-debug.rs
[ui] ui/iterators/iter-position-overflow-debug.rs

The ui/impl-trait/example-calendar.rs failure is due to an old bug in wasm2js and should be solved by updating the Emscripten version.

The ui/abi/statics/static-mut-foreign.rs failure is due to incorrect libc types and is solved by rust-lang/libc#1478. @alexcrichton what needs to be done to incorporate that libc change?

The other three test failures were in new tests that had // ignore-wasm32-bare but needed // ignore-wasm32-emscripten.

@mati865
Copy link
Contributor

mati865 commented Sep 13, 2019

what needs to be done to incorporate that libc change?

New libc release but it's blocked on bugfix: rust-lang/libc#1515 (comment)

@alexcrichton
Copy link
Member

If tests require something like a newer libc to pass it's fine to either inline the extern declaration with a FIXME or just ignore the test for now.

@rust-highfive
Copy link
Collaborator

The job wasm32 of your PR failed (pretty log, 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.
2019-09-13T22:41:43.4319121Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-09-13T22:41:44.2640983Z ##[command]git config gc.auto 0
2019-09-13T22:41:44.2644410Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-09-13T22:41:44.2646178Z ##[command]git config --get-all http.proxy
2019-09-13T22:41:44.2648744Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/63649/merge:refs/remotes/pull/63649/merge
---
2019-09-13T22:46:14.0107747Z  ---> 225969a551cc
2019-09-13T22:46:14.0107811Z Step 3/13 : COPY scripts/emscripten.sh /scripts/
2019-09-13T22:46:15.5183525Z  ---> 34a65d8998ea
2019-09-13T22:46:15.5223551Z Step 4/13 : RUN bash /scripts/emscripten.sh
2019-09-13T22:46:15.7116833Z  ---> Running in 23270edeb8b6
2019-09-13T22:46:16.2088472Z + git clone https://github.com/emscripten-core/emsdk.git /emsdk-portable
2019-09-13T22:46:16.2149611Z Cloning into '/emsdk-portable'...
2019-09-13T22:46:16.9318891Z + cd /emsdk-portable
2019-09-13T22:46:16.9319343Z + hide_output ./emsdk install 1.38.45-upstream
2019-09-13T22:46:46.9376129Z Fri Sep 13 22:46:46 UTC 2019 - building ...
2019-09-13T22:46:53.6268045Z /scripts/emscripten.sh: line 3:    17 Terminated              bash -c "while true; do sleep 30; echo \$(date) - building ...; done"
2019-09-13T22:46:53.6268045Z /scripts/emscripten.sh: line 3:    17 Terminated              bash -c "while true; do sleep 30; echo \$(date) - building ...; done"
2019-09-13T22:46:53.6268527Z + ./emsdk activate 1.38.45-upstream
2019-09-13T22:46:53.9734998Z Writing .emscripten configuration file to user home directory /root/
2019-09-13T22:46:53.9735175Z The Emscripten configuration file /root/.emscripten has been rewritten with the following contents:
2019-09-13T22:46:53.9735276Z import os
2019-09-13T22:46:53.9735276Z import os
2019-09-13T22:46:53.9735500Z LLVM_ROOT = '/emsdk-portable/upstream/bin'
2019-09-13T22:46:53.9735685Z BINARYEN_ROOT = '/emsdk-portable/upstream'
2019-09-13T22:46:53.9735900Z EMSCRIPTEN_ROOT = '/emsdk-portable/upstream/emscripten'
2019-09-13T22:46:53.9736097Z NODE_JS = '/emsdk-portable/node/12.9.1_64bit/bin/node'
2019-09-13T22:46:53.9736267Z SPIDERMONKEY_ENGINE = ''
2019-09-13T22:46:53.9736447Z V8_ENGINE = ''
2019-09-13T22:46:53.9736609Z TEMP_DIR = '/tmp'
2019-09-13T22:46:53.9736652Z COMPILER_ENGINE = NODE_JS
2019-09-13T22:46:53.9736711Z JS_ENGINES = [NODE_JS]
2019-09-13T22:46:53.9736738Z 
2019-09-13T22:46:53.9737038Z To conveniently access the selected set of tools from the command line, consider adding the following directories to PATH, or call 'source ./emsdk_env.sh' to do this for you.
2019-09-13T22:46:53.9737085Z 
2019-09-13T22:46:53.9738363Z    /emsdk-portable:/emsdk-portable/upstream/emscripten:/emsdk-portable/node/12.9.1_64bit/bin
2019-09-13T22:46:53.9738460Z Set the following tools as active:
2019-09-13T22:46:53.9738756Z    releases-upstream-f3030d9fffcc9e1287cb6b8e72982e94ece31d71-64bit
2019-09-13T22:46:53.9738965Z    node-12.9.1-64bit
2019-09-13T22:46:53.9738998Z 
2019-09-13T22:46:53.9738998Z 
2019-09-13T22:46:53.9812218Z + source ./emsdk_env.sh
2019-09-13T22:46:53.9812857Z ++ SRC=./emsdk_env.sh
2019-09-13T22:46:53.9813084Z ++ '[' ./emsdk_env.sh = '' ']'
2019-09-13T22:46:53.9816606Z +++ pwd
2019-09-13T22:46:53.9820363Z ++ CURDIR=/emsdk-portable
2019-09-13T22:46:53.9824681Z +++ dirname ./emsdk_env.sh
2019-09-13T22:46:53.9846559Z ++ unset SRC
2019-09-13T22:46:53.9846731Z +++ mktemp
2019-09-13T22:46:53.9846731Z +++ mktemp
2019-09-13T22:46:53.9861071Z ++ tmpfile=/tmp/tmp.tBiD1gQMCd
2019-09-13T22:46:53.9861196Z ++ ./emsdk construct_env /tmp/tmp.tBiD1gQMCd
2019-09-13T22:46:54.1499450Z PATH += /emsdk-portable
2019-09-13T22:46:54.1499450Z PATH += /emsdk-portable
2019-09-13T22:46:54.1499695Z PATH += /emsdk-portable/upstream/emscripten
2019-09-13T22:46:54.1499965Z 
2019-09-13T22:46:54.1500038Z Setting environment variables:
2019-09-13T22:46:54.1500243Z EMSDK = /emsdk-portable
2019-09-13T22:46:54.1500296Z EM_CONFIG = /root/.emscripten
2019-09-13T22:46:54.1500296Z EM_CONFIG = /root/.emscripten
2019-09-13T22:46:54.1500559Z EMSDK_NODE = /emsdk-portable/node/12.9.1_64bit/bin/node
2019-09-13T22:46:54.1500596Z 
2019-09-13T22:46:54.1559272Z ++ . /tmp/tmp.tBiD1gQMCd
2019-09-13T22:46:54.1560036Z +++ export PATH=/emsdk-portable:/emsdk-portable/upstream/emscripten:/emsdk-portable/node/12.9.1_64bit/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2019-09-13T22:46:54.1560502Z +++ PATH=/emsdk-portable:/emsdk-portable/upstream/emscripten:/emsdk-portable/node/12.9.1_64bit/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2019-09-13T22:46:54.1560919Z +++ export EMSDK=/emsdk-portable
2019-09-13T22:46:54.1566757Z +++ EMSDK=/emsdk-portable
2019-09-13T22:46:54.1566872Z +++ export EM_CONFIG=/root/.emscripten
2019-09-13T22:46:54.1566918Z +++ EM_CONFIG=/root/.emscripten
2019-09-13T22:46:54.1567197Z +++ export EMSDK_NODE=/emsdk-portable/node/12.9.1_64bit/bin/node
2019-09-13T22:46:54.1567954Z +++ EMSDK_NODE=/emsdk-portable/node/12.9.1_64bit/bin/node
2019-09-13T22:46:54.1568188Z ++ rm -f /tmp/tmp.tBiD1gQMCd
2019-09-13T22:46:54.1666652Z ++ cd /emsdk-portable
2019-09-13T22:46:54.1666876Z + echo 'main(){}'
2019-09-13T22:46:54.1667344Z + HOME=/emsdk-portable/
2019-09-13T22:46:54.1667417Z + emcc a.c
2019-09-13T22:46:54.2192963Z cache:INFO: generating system asset: is_vanilla.txt... (this will be cached in "/emsdk-portable/.emscripten_cache/is_vanilla.txt" for subsequent builds)
2019-09-13T22:46:54.2304340Z cache:INFO:  - ok
2019-09-13T22:46:54.3062893Z a.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
2019-09-13T22:46:54.3063074Z main(){}
2019-09-13T22:46:54.3094157Z 1 warning generated.
2019-09-13T22:46:54.3094157Z 1 warning generated.
2019-09-13T22:46:54.3320755Z cache:INFO: generating system library: libc.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libc.a" for subsequent builds)
2019-09-13T22:48:04.3090485Z cache:INFO:  - ok
2019-09-13T22:48:04.3095573Z cache:INFO: generating system library: libcompiler_rt.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libcompiler_rt.a" for subsequent builds)
2019-09-13T22:48:04.7301886Z cache:INFO:  - ok
2019-09-13T22:48:04.7302627Z cache:INFO: generating system library: libc-wasm.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libc-wasm.a" for subsequent builds)
2019-09-13T22:48:07.4612567Z cache:INFO:  - ok
2019-09-13T22:48:07.4632296Z cache:INFO: generating system library: libdlmalloc.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libdlmalloc.a" for subsequent builds)
2019-09-13T22:48:08.5611730Z cache:INFO:  - ok
2019-09-13T22:48:08.5620794Z cache:INFO: generating system library: libpthreads_stub.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libpthreads_stub.a" for subsequent builds)
2019-09-13T22:48:08.8651694Z cache:INFO:  - ok
2019-09-13T22:48:08.8657350Z cache:INFO: generating system library: libcompiler_rt_wasm.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libcompiler_rt_wasm.a" for subsequent builds)
2019-09-13T22:48:13.4533550Z cache:INFO:  - ok
2019-09-13T22:48:13.4534029Z cache:INFO: generating system library: libc_rt_wasm.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libc_rt_wasm.a" for subsequent builds)
2019-09-13T22:48:15.7374572Z cache:INFO:  - ok
2019-09-13T22:48:15.7646087Z cache:INFO: generating system asset: generated_struct_info.json... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/generated_struct_info.json" for subsequent builds)
2019-09-13T22:48:17.6650720Z cache:INFO:  - ok
2019-09-13T22:48:17.9661485Z + rm -f a.c a.out.js a.out.wasm
2019-09-13T22:48:17.9667821Z + cp /root/.emscripten /emsdk-portable
2019-09-13T22:48:17.9682976Z + chmod a+rxw -R /emsdk-portable
2019-09-13T22:48:43.0934618Z Removing intermediate container 23270edeb8b6
2019-09-13T22:48:43.0935772Z  ---> 8e51d9eb0e9a
2019-09-13T22:48:44.8952980Z  ---> 241886181758
2019-09-13T22:48:44.8953442Z Step 6/13 : RUN sh /scripts/sccache.sh
2019-09-13T22:48:45.0655131Z  ---> Running in fc613a549a33
2019-09-13T22:48:45.4834688Z + curl -fo /usr/local/bin/sccache https://rust-lang-ci-mirrors.s3-us-west-1.amazonaws.com/rustc/2018-04-02-sccache-x86_64-unknown-linux-musl
---
2019-09-13T22:48:49.3034241Z Step 7/13 : ENV PATH=$PATH:/emsdk-portable
2019-09-13T22:48:49.7528746Z  ---> Running in 76ec8dfe0325
2019-09-13T22:48:51.2943797Z Removing intermediate container 76ec8dfe0325
2019-09-13T22:48:51.2944620Z  ---> 9a4fcafedb91
2019-09-13T22:48:51.2944918Z Step 8/13 : ENV PATH=$PATH:/emsdk-portable/upstream/emscripten/
2019-09-13T22:48:51.5997457Z  ---> Running in ac9ac5a4b2e7
2019-09-13T22:48:53.0048707Z Removing intermediate container ac9ac5a4b2e7
2019-09-13T22:48:53.0051265Z Step 9/13 : ENV PATH=$PATH:/emsdk-portable/node/12.9.1_64bit/bin/
2019-09-13T22:48:53.2233524Z  ---> Running in bf95f347ad38
2019-09-13T22:48:54.5927273Z Removing intermediate container bf95f347ad38
2019-09-13T22:48:54.5929248Z  ---> a3355047feab
---
2019-09-13T22:49:00.9416768Z  ---> fad64a385cb1
2019-09-13T22:49:00.9491480Z Successfully built fad64a385cb1
2019-09-13T22:49:01.0247003Z Successfully tagged rust-ci:latest
2019-09-13T22:49:01.0970354Z Built container sha256:fad64a385cb18126f9924e33c9bffd7acf9e53e83598fa370411301507552237
2019-09-13T22:49:01.0987693Z Uploading finished image to https://rust-lang-ci-sccache2.s3.amazonaws.com/docker/7bfc17d02707b3e62f122fb47893a47314e94fe81f2628b66d98ea5f533d9a55e0e9e946bf7fd5e02d1dc5f983a79ed61bc451b8bbf8e8ba70dd60789e6c2358
2019-09-13T22:50:32.5563145Z upload failed: - to s3://rust-lang-ci-sccache2/docker/7bfc17d02707b3e62f122fb47893a47314e94fe81f2628b66d98ea5f533d9a55e0e9e946bf7fd5e02d1dc5f983a79ed61bc451b8bbf8e8ba70dd60789e6c2358 Unable to locate credentials
2019-09-13T22:50:33.3512554Z [CI_JOB_NAME=wasm32]
2019-09-13T22:50:33.5628135Z [CI_JOB_NAME=wasm32]
2019-09-13T22:50:33.5672875Z   local time: Fri Sep 13 22:50:33 UTC 2019
2019-09-13T22:50:33.8478435Z   network time: Fri, 13 Sep 2019 22:50:33 GMT
2019-09-13T22:50:33.8482394Z == end clock drift check ==
2019-09-13T22:50:33.8506914Z Starting sccache server...
---
2019-09-13T22:50:33.9428769Z configure: build.locked-deps    := True
2019-09-13T22:50:33.9428817Z configure: llvm.ccache          := sccache
2019-09-13T22:50:33.9429012Z configure: build.cargo-native-static := True
2019-09-13T22:50:33.9429396Z configure: dist.missing-tools   := True
2019-09-13T22:50:33.9429619Z configure: build.configure-args := ['--enable-sccache', '--disable-manage-submodu ...
2019-09-13T22:50:33.9429728Z configure: writing `config.toml` in current directory
2019-09-13T22:50:33.9429770Z configure: 
2019-09-13T22:50:33.9430014Z configure: run `python /checkout/x.py --help`
2019-09-13T22:50:33.9430087Z configure: 
---
2019-09-14T00:23:37.6321132Z exit code: 0
2019-09-14T00:23:37.6323197Z running: "ar" "crs" "/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers/librust_test_helpers.a" "/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers/rust_test_helpers.o"
2019-09-14T00:23:37.6342308Z exit code: 0
2019-09-14T00:23:37.6346272Z Building test helpers
2019-09-14T00:23:37.6354048Z running: "emcc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-o" "/checkout/obj/build/wasm32-unknown-emscripten/native/rust-test-helpers/rust_test_helpers.o" "-c" "/checkout/src/test/auxiliary/rust_test_helpers.c"
2019-09-14T00:23:37.7385451Z cargo:warning=cache:INFO: generating system asset: is_vanilla.txt... (this will be cached in "/home/user/.emscripten_cache/is_vanilla.txt" for subsequent builds)
2019-09-14T00:23:37.7535983Z cargo:warning=cache:INFO:  - ok
2019-09-14T00:23:37.8911050Z cargo:warning=shared:INFO: (Emscripten: Running sanity checks)
2019-09-14T00:23:37.8962899Z cargo:warning=shared:WARNING: java does not seem to exist, required for closure compiler, which is optional (define JAVA in /emsdk-portable/.emscripten if you want it)
2019-09-14T00:23:37.8963032Z cargo:warning=shared:WARNING: closure compiler will not be available
2019-09-14T00:23:37.9812571Z running: "emar" "crs" "/checkout/obj/build/wasm32-unknown-emscripten/native/rust-test-helpers/librust_test_helpers.a" "/checkout/obj/build/wasm32-unknown-emscripten/native/rust-test-helpers/rust_test_helpers.o"
2019-09-14T00:23:38.0458364Z exit code: 0
2019-09-14T00:23:38.0472954Z Building stage0 tool compiletest (x86_64-unknown-linux-gnu)
2019-09-14T00:23:38.3403679Z    Compiling proc-macro2 v0.4.30
---
2019-09-14T00:25:50.6269834Z 
2019-09-14T00:25:50.6270805Z running 9012 tests
2019-09-14T00:26:50.6293439Z test [ui] ui/abi/abi-sysv64-arg-passing.rs has been running for over 60 seconds
2019-09-14T00:26:50.6294611Z test [ui] ui/abi/abi-sysv64-register-usage.rs has been running for over 60 seconds
2019-09-14T00:28:41.3626088Z .i.....ii..i.......i......i......i.iiiiiF....................................ii...............i..... 100/9012
2019-09-14T00:29:58.9422066Z .ii.........i.......................i....iiiiii..................................................... 200/9012
2019-09-14T00:32:07.0799409Z .............................................i...................................................... 400/9012
2019-09-14T00:32:07.0799409Z .............................................i...................................................... 400/9012
2019-09-14T00:32:56.3566931Z ...............................i..............................................iii................... 500/9012
2019-09-14T00:35:27.1181140Z .......................................................i............................................ 700/9012
2019-09-14T00:35:48.7859873Z .................................................................................................... 800/9012
2019-09-14T00:36:12.4731983Z .............................................................i...................................... 900/9012
2019-09-14T00:37:20.1842809Z ...i............................................ii.........................................i........ 1000/9012
---
2019-09-14T00:41:06.4156904Z .................................................................................................... 1500/9012
2019-09-14T00:42:04.4538778Z ....................ii.i............................................................................ 1600/9012
2019-09-14T00:43:11.3719053Z ................................i......i..................i...............i.....ii.................. 1700/9012
2019-09-14T00:44:08.2328896Z .................................................................................................... 1800/9012
2019-09-14T00:44:51.2861863Z .................................................iiiii.......................i.........ii........... 1900/9012
2019-09-14T00:45:43.6289515Z .................................................................................................... 2000/9012
2019-09-14T00:45:52.6688927Z .......iii.......................................................................................... 2100/9012
2019-09-14T00:45:55.8784894Z .................................................................................................... 2200/9012
2019-09-14T00:46:09.7621059Z ......................................................iiii......................i................... 2300/9012
2019-09-14T00:47:05.9327118Z .........................................................................i.......................... 2400/9012
2019-09-14T00:47:10.7806541Z .i..........ii...................................................................................... 2500/9012
2019-09-14T00:48:21.9120915Z .................................................................................................... 2600/9012
2019-09-14T00:49:42.1023740Z i....i......................................................................ii.....ii.i............. 2700/9012
2019-09-14T00:51:14.1598158Z ..i................................................................................................. 2900/9012
2019-09-14T00:52:04.6231172Z .................................................................................................... 3000/9012
2019-09-14T00:52:47.2078347Z ...................................................................................................i 3100/9012
2019-09-14T00:52:47.2078347Z ...................................................................................................i 3100/9012
2019-09-14T00:53:44.8000173Z i..ii.................i....i............i....i.................i.................................... 3200/9012
2019-09-14T00:56:03.7711590Z .............i.............i.....i.........................................i.......i........i....... 3400/9012
2019-09-14T00:57:01.2529529Z .....................i.............................................................................. 3500/9012
2019-09-14T00:58:08.3860227Z ....................................i............................................................... 3600/9012
2019-09-14T00:59:10.4649324Z ..i...........................................................i..............................i...... 3700/9012
---
2019-09-14T01:09:09.6085594Z ....................................i...............i............................................... 4700/9012
2019-09-14T01:10:17.9743114Z ...........................................................................i........................ 4800/9012
2019-09-14T01:11:18.6604220Z ........................i........................................................................... 4900/9012
2019-09-14T01:12:30.3073218Z ....................................................................i...........i..............i.... 5000/9012
2019-09-14T01:13:40.1178438Z ...................i..i..i.i.i...................................................................... 5100/9012
2019-09-14T01:14:40.7582832Z ............................................................................................i....... 5300/9012
2019-09-14T01:14:40.7582832Z ............................................................................................i....... 5300/9012
2019-09-14T01:15:40.3791897Z ........i......................................................ii..................ii............... 5400/9012
2019-09-14T01:16:47.0810512Z .........................................................i...i...................................... 5500/9012
2019-09-14T01:17:24.2402101Z .................................................................................................... 5600/9012
2019-09-14T01:18:21.9880773Z ......i............i...i......................................................ii...i..ii...........i 5700/9012
2019-09-14T01:19:25.8674118Z ...........................i........i.i............................................................. 5800/9012
2019-09-14T01:20:29.0490106Z .................................................................................................... 6000/9012
2019-09-14T01:20:29.0490106Z .................................................................................................... 6000/9012
2019-09-14T01:20:49.8276991Z ...............................................i...........i....................i..ii............... 6100/9012
2019-09-14T01:22:06.2478775Z .................i.....ii........................................................................... 6200/9012
2019-09-14T01:23:07.0382649Z ......................i...............................i.....................iii..i.ii.iiii.iiiii.... 6300/9012
2019-09-14T01:23:18.2404047Z .................................................................................................... 6500/9012
2019-09-14T01:23:21.1620050Z ...........i........................................................................................ 6600/9012
2019-09-14T01:23:48.8649907Z .................................i............................i..................................... 6700/9012
2019-09-14T01:24:51.7888675Z ............................................................................i....................... 6800/9012
2019-09-14T01:24:51.7888675Z ............................................................................i....................... 6800/9012
2019-09-14T01:25:45.6283490Z .............i..........................iiiiiiii..............................................i..... 6900/9012
2019-09-14T01:27:24.2766274Z .................................................................................................... 7100/9012
2019-09-14T01:27:47.4144235Z .................................................................................................... 7200/9012
2019-09-14T01:28:12.4178638Z ....................i............................................................................... 7300/9012
2019-09-14T01:29:29.5501698Z ..........................................................................i.......i................. 7400/9012
2019-09-14T01:29:29.5501698Z ..........................................................................i.......i................. 7400/9012
2019-09-14T01:30:20.4011085Z .................................................................................................... 7500/9012
2019-09-14T01:31:11.2571607Z ................................i.............iii.....i....iiiiiiiiiii.i.........................i.. 7600/9012
2019-09-14T01:32:21.1670050Z ................................................................................i.i................. 7800/9012
2019-09-14T01:34:26.3324551Z ....................................................i............................................... 7900/9012
2019-09-14T01:35:04.4383328Z ..................i................................................................................. 8000/9012
2019-09-14T01:35:04.4383328Z ..................i................................................................................. 8000/9012
2019-09-14T01:36:11.2729780Z .................................................iii.....i.....i.........i........ii....i.i.....iiii 8100/9012
2019-09-14T01:37:25.0324062Z ii.....iiiiiiii.ii...ii.iii..iiii............................................................i...... 8200/9012
2019-09-14T01:39:45.2107965Z ...........................................................................i........................ 8400/9012
2019-09-14T01:40:17.2918768Z .................................................................................................... 8500/9012
2019-09-14T01:41:05.0201488Z .................................................................................................... 8600/9012
2019-09-14T01:42:03.5439901Z .................................................................................................... 8700/9012
---
2019-09-14T01:44:38.6031228Z ---- [ui] ui/abi/statics/static-mut-foreign.rs stdout ----
2019-09-14T01:44:38.6031315Z 
2019-09-14T01:44:38.6031592Z error: test compilation failed although it shouldn't!
2019-09-14T01:44:38.6031916Z status: exit code: 1
2019-09-14T01:44:38.6032808Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/abi/statics/static-mut-foreign.rs" "-Zthreads=1" "--target=wasm32-unknown-emscripten" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.js" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/wasm32-unknown-emscripten/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/auxiliary"
2019-09-14T01:44:38.6033157Z ------------------------------------------
2019-09-14T01:44:38.6033190Z 
2019-09-14T01:44:38.6033391Z ------------------------------------------
2019-09-14T01:44:38.6033435Z stderr:
2019-09-14T01:44:38.6033435Z stderr:
2019-09-14T01:44:38.6033806Z ------------------------------------------
2019-09-14T01:44:38.6033852Z error: linking with `emcc` failed: exit code: 1
2019-09-14T01:44:38.6033900Z    |
2019-09-14T01:44:38.6037841Z    = note: "emcc" "-s" "DISABLE_EXCEPTION_CATCHING=1" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.static_mut_foreign.7rcbfp3g-cgu.0.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.static_mut_foreign.7rcbfp3g-cgu.1.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.static_mut_foreign.7rcbfp3g-cgu.2.rcgu.o" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.js" "-s" "EXPORTED_FUNCTIONS=[\"_main\",\"_rust_eh_personality\"]" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.3lin0r3ymdvpj22v.rcgu.o" "-O2" "--memory-init-file" "0" "-g0" "-s" "DEFAULT_LIBRARY_FUNCS_TO_INCLUDE=[]" "-L" "/checkout/obj/build/wasm32-unknown-emscripten/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/auxiliary" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib" "-l" "rust_test_helpers" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libstd-4e65788bae25c659.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libpanic_abort-a699a14fc732c57a.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libhashbrown-9b60830bbe2d581e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/librustc_std_workspace_alloc-ba59cbcb6e7217de.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libbacktrace-c7227c1ea0e624f6.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/librustc_demangle-ec10ee0429285dbd.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libunwind-11efea36ab74a158.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libcfg_if-537a31a71a1667e5.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/liblibc-bf44b0c00855d2df.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/liballoc-ac926a854a4b8f07.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/librustc_std_workspace_core-6243923ce9b44c89.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libcore-608b04ebb869497f.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libcompiler_builtins-18771975efaea389.rlib" "-l" "c" "-s" "ERROR_ON_UNDEFINED_SYMBOLS=1" "-s" "ASSERTIONS=1" "-s" "DISABLE_EXCEPTION_CATCHING=1"
2019-09-14T01:44:38.6039282Z    = note: wasm-ld: warning: function signature mismatch: lseek64
2019-09-14T01:44:38.6039662Z            >>> defined as (i32, i32, i32) -> i32 in /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libstd-4e65788bae25c659.rlib(std-4e65788bae25c659.std.l78fir96-cgu.0.rcgu.o)
2019-09-14T01:44:38.6039954Z            >>> defined as (i32, i64, i32) -> i64 in /home/user/.emscripten_cache/wasm-obj/libc.a(lseek.c.o)
2019-09-14T01:44:38.6040004Z            
2019-09-14T01:44:38.6040208Z            wasm-ld: warning: function signature mismatch: ftruncate64
2019-09-14T01:44:38.6040559Z            >>> defined as (i32, i32) -> i32 in /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libstd-4e65788bae25c659.rlib(std-4e65788bae25c659.std.l78fir96-cgu.0.rcgu.o)
2019-09-14T01:44:38.6040804Z            >>> defined as (i32, i64) -> i32 in /home/user/.emscripten_cache/wasm-obj/libc.a(ftruncate.c.o)
2019-09-14T01:44:38.6040855Z            
2019-09-14T01:44:38.6041075Z            wasm-ld: warning: function signature mismatch: pwrite64
2019-09-14T01:44:38.6041594Z            >>> defined as (i32, i32, i32, i32) -> i32 in /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libstd-4e65788bae25c659.rlib(std-4e65788bae25c659.std.l78fir96-cgu.0.rcgu.o)
2019-09-14T01:44:38.6041891Z            >>> defined as (i32, i32, i32, i64) -> i32 in /home/user/.emscripten_cache/wasm-obj/libc.a(pwrite.c.o)
2019-09-14T01:44:38.6041940Z            
2019-09-14T01:44:38.6042328Z            wasm-ld: warning: function signature mismatch: pread64
2019-09-14T01:44:38.6042705Z            >>> defined as (i32, i32, i32, i32) -> i32 in /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libstd-4e65788bae25c659.rlib(std-4e65788bae25c659.std.l78fir96-cgu.0.rcgu.o)
2019-09-14T01:44:38.6043134Z            >>> defined as (i32, i32, i32, i64) -> i32 in /home/user/.emscripten_cache/wasm-obj/libc.a(pread.c.o)
2019-09-14T01:44:38.6043472Z            wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/lld/wasm/Symbols.cpp:116: void lld::wasm::Symbol::setGOTIndex(uint32_t): Assertion `gotIndex == INVALID_INDEX' failed.
2019-09-14T01:44:38.6043533Z            Stack dump:
2019-09-14T01:44:38.6047925Z            0.    Program arguments: /emsdk-portable/upstream/bin/wasm-ld -o /tmp/emscripten_temp_GPKN1R/a.wasm --allow-undefined --import-memory --import-table --lto-O0 /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.static_mut_foreign.7rcbfp3g-cgu.0.rcgu.o /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.static_mut_foreign.7rcbfp3g-cgu.1.rcgu.o /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.static_mut_foreign.7rcbfp3g-cgu.2.rcgu.o /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.3lin0r3ymdvpj22v.rcgu.o /checkout/obj/build/wasm32-unknown-emscripten/native/rust-test-helpers/librust_test_helpers.a /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libstd-4e65788bae25c659.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libpanic_abort-a699a14fc732c57a.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libhashbrown-9b60830bbe2d581e.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/librustc_std_workspace_alloc-ba59cbcb6e7217de.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libbacktrace-c7227c1ea0e624f6.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/librustc_demangle-ec10ee0429285dbd.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libunwind-11efea36ab74a158.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libcfg_if-537a31a71a1667e5.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/liblibc-bf44b0c00855d2df.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/liballoc-ac926a854a4b8f07.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/librustc_std_workspace_core-6243923ce9b44c89.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libcore-608b04ebb869497f.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libcompiler_builtins-18771975efaea389.rlib /home/user/.emscripten_cache/wasm-obj/libc.a /home/user/.emscripten_cache/wasm-obj/libcompiler_rt.a /home/user/.emscripten_cache/wasm-obj/libc-wasm.a /home/user/.emscripten_cache/wasm-obj/libc-extras.a /home/user/.emscripten_cache/wasm-obj/libdlmalloc.a /home/user/.emscripten_cache/wasm-obj/libpthreads_stub.a /home/user/.emscripten_cache/wasm-obj/libcompiler_rt_wasm.a /home/user/.emscripten_cache/wasm-obj/libc_rt_wasm.a -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export __wasm_call_ctors --export __data_end --export main --export rust_eh_personality --export malloc --export free --export setThrew --export __errno_location --export fflush --export htonl --export htons --export ntohs --export _get_environ -z stack-size=5242880 --initial-memory=16777216 --no-entry --max-memory=16777216 --global-base=1024 
2019-09-14T01:44:38.6049204Z             #0 0x00007fc808e37ec4 PrintStackTraceSignalHandler(void*) (/emsdk-portable/upstream/bin/../lib/libLLVM-10svn.so+0x6f6ec4)
2019-09-14T01:44:38.6049643Z             #1 0x00007fc808e35c4e llvm::sys::RunSignalHandlers() (/emsdk-portable/upstream/bin/../lib/libLLVM-10svn.so+0x6f4c4e)
2019-09-14T01:44:38.6050171Z             #2 0x00007fc808e38178 SignalHandler(int) (/emsdk-portable/upstream/bin/../lib/libLLVM-10svn.so+0x6f7178)
2019-09-14T01:44:38.6050424Z             #3 0x00007fc80bd94390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390)
2019-09-14T01:44:38.6050670Z             #4 0x00007fc807b0b428 raise (/lib/x86_64-linux-gnu/libc.so.6+0x35428)
2019-09-14T01:44:38.6050935Z             #5 0x00007fc807b0d02a abort (/lib/x86_64-linux-gnu/libc.so.6+0x3702a)
2019-09-14T01:44:38.6051165Z             #6 0x00007fc807b03bd7 (/lib/x86_64-linux-gnu/libc.so.6+0x2dbd7)
2019-09-14T01:44:38.6051547Z             #7 0x00007fc807b03c82 (/lib/x86_64-linux-gnu/libc.so.6+0x2dc82)
2019-09-14T01:44:38.6051949Z             #8 0x00000000006babcb (/emsdk-portable/upstream/bin/wasm-ld+0x6babcb)
2019-09-14T01:44:38.6052204Z             #9 0x00000000006d675b lld::wasm::GlobalSection::assignIndexes() (/emsdk-portable/upstream/bin/wasm-ld+0x6d675b)
2019-09-14T01:44:38.6052453Z            #10 0x00000000006c04b6 (anonymous namespace)::Writer::run() (/emsdk-portable/upstream/bin/wasm-ld+0x6c04b6)
2019-09-14T01:44:38.6052778Z            #11 0x00000000006bc191 lld::wasm::writeResult() (/emsdk-portable/upstream/bin/wasm-ld+0x6bc191)
2019-09-14T01:44:38.6053057Z            #12 0x000000000069effe (anonymous namespace)::LinkerDriver::link(llvm::ArrayRef<char const*>) (/emsdk-portable/upstream/bin/wasm-ld+0x69effe)
2019-09-14T01:44:38.6053465Z            #13 0x0000000000699b28 lld::wasm::link(llvm::ArrayRef<char const*>, bool, llvm::raw_ostream&) (/emsdk-portable/upstream/bin/wasm-ld+0x699b28)
2019-09-14T01:44:38.6053694Z            #14 0x000000000041eefb main (/emsdk-portable/upstream/bin/wasm-ld+0x41eefb)
2019-09-14T01:44:38.6053918Z            #15 0x00007fc807af6830 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x20830)
2019-09-14T01:44:38.6054159Z            #16 0x000000000041ea89 _start (/emsdk-portable/upstream/bin/wasm-ld+0x41ea89)
2019-09-14T01:44:38.6058140Z            shared:ERROR: '/emsdk-portable/upstream/bin/wasm-ld -o /tmp/emscripten_temp_GPKN1R/a.wasm --allow-undefined --import-memory --import-table --lto-O0 /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.static_mut_foreign.7rcbfp3g-cgu.0.rcgu.o /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.static_mut_foreign.7rcbfp3g-cgu.1.rcgu.o /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.static_mut_foreign.7rcbfp3g-cgu.2.rcgu.o /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/statics/static-mut-foreign/a.3lin0r3ymdvpj22v.rcgu.o /checkout/obj/build/wasm32-unknown-emscripten/native/rust-test-helpers/librust_test_helpers.a /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libstd-4e65788bae25c659.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libpanic_abort-a699a14fc732c57a.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libhashbrown-9b60830bbe2d581e.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/librustc_std_workspace_alloc-ba59cbcb6e7217de.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libbacktrace-c7227c1ea0e624f6.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/librustc_demangle-ec10ee0429285dbd.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libunwind-11efea36ab74a158.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libcfg_if-537a31a71a1667e5.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/liblibc-bf44b0c00855d2df.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/liballoc-ac926a854a4b8f07.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/librustc_std_workspace_core-6243923ce9b44c89.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libcore-608b04ebb869497f.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib/libcompiler_builtins-18771975efaea389.rlib /home/user/.emscripten_cache/wasm-obj/libc.a /home/user/.emscripten_cache/wasm-obj/libcompiler_rt.a /home/user/.emscripten_cache/wasm-obj/libc-wasm.a /home/user/.emscripten_cache/wasm-obj/libc-extras.a /home/user/.emscripten_cache/wasm-obj/libdlmalloc.a /home/user/.emscripten_cache/wasm-obj/libpthreads_stub.a /home/user/.emscripten_cache/wasm-obj/libcompiler_rt_wasm.a /home/user/.emscripten_cache/wasm-obj/libc_rt_wasm.a -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export __wasm_call_ctors --export __data_end --export main --export rust_eh_personality --export malloc --export free --export setThrew --export __errno_location --export fflush --export htonl --export htons --export ntohs --export _get_environ -z stack-size=5242880 --initial-memory=16777216 --no-entry --max-memory=16777216 --global-base=1024' failed (-6)
2019-09-14T01:44:38.6059074Z 
2019-09-14T01:44:38.6059118Z error: aborting due to previous error
2019-09-14T01:44:38.6059371Z 
2019-09-14T01:44:38.6059419Z 
---
2019-09-14T01:44:38.6101534Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:536:22
2019-09-14T01:44:38.6101614Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
2019-09-14T01:44:38.6126493Z 
2019-09-14T01:44:38.6126608Z 
2019-09-14T01:44:38.6132329Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-emscripten/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/ui" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui" "--stage-id" "stage2-wasm32-unknown-emscripten" "--mode" "ui" "--target" "wasm32-unknown-emscripten" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/build/bin/FileCheck" "--nodejs" "/emsdk-portable/node/12.9.1_64bit/bin/node" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/wasm32-unknown-emscripten/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "9.0.0-rust-1.39.0-dev\n" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2019-09-14T01:44:38.6132679Z 
2019-09-14T01:44:38.6132714Z 
2019-09-14T01:44:38.6193723Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test --target wasm32-unknown-emscripten
2019-09-14T01:44:38.6193843Z Build completed unsuccessfully in 2:51:37
2019-09-14T01:44:38.6193843Z Build completed unsuccessfully in 2:51:37
2019-09-14T01:44:38.6200986Z == clock drift check ==
2019-09-14T01:44:38.6214169Z   local time: Sat Sep 14 01:44:38 UTC 2019
2019-09-14T01:44:38.9048457Z   network time: Sat, 14 Sep 2019 01:44:38 GMT
2019-09-14T01:44:38.9051439Z == end clock drift check ==
2019-09-14T01:44:39.5552445Z ##[error]Bash exited with code '1'.
2019-09-14T01:44:39.5591223Z ##[section]Starting: Checkout
2019-09-14T01:44:39.5593016Z ==============================================================================
2019-09-14T01:44:39.5593105Z Task         : Get sources
2019-09-14T01:44:39.5593152Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

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)

@rust-highfive
Copy link
Collaborator

The job asmjs of your PR failed (pretty log, 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.
2019-09-19T01:34:12.0153923Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-09-19T01:34:12.0345340Z ##[command]git config gc.auto 0
2019-09-19T01:34:12.0425954Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-09-19T01:34:12.0493637Z ##[command]git config --get-all http.proxy
2019-09-19T01:34:12.0627516Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/63649/merge:refs/remotes/pull/63649/merge
---
2019-09-19T01:38:55.2286860Z Step 3/15 : COPY scripts/emscripten.sh /scripts/
2019-09-19T01:38:57.0194206Z  ---> b5d32898e7cc
2019-09-19T01:38:57.0194431Z Step 4/15 : RUN bash /scripts/emscripten.sh
2019-09-19T01:38:57.2661964Z  ---> Running in 69435b1a8079
2019-09-19T01:38:57.8364841Z + git clone https://github.com/emscripten-core/emsdk.git /emsdk-portable
2019-09-19T01:38:57.8419171Z Cloning into '/emsdk-portable'...
2019-09-19T01:38:58.5257077Z + cd /emsdk-portable
2019-09-19T01:38:58.5258352Z + hide_output ./emsdk install 1.38.45-upstream
2019-09-19T01:39:28.5321926Z Thu Sep 19 01:39:28 UTC 2019 - building ...
2019-09-19T01:39:37.2572880Z /scripts/emscripten.sh: line 3:    16 Terminated              bash -c "while true; do sleep 30; echo \$(date) - building ...; done"
2019-09-19T01:39:37.2572880Z /scripts/emscripten.sh: line 3:    16 Terminated              bash -c "while true; do sleep 30; echo \$(date) - building ...; done"
2019-09-19T01:39:37.2575055Z + ./emsdk activate 1.38.45-upstream
2019-09-19T01:39:37.6132031Z Writing .emscripten configuration file to user home directory /root/
2019-09-19T01:39:37.6132215Z The Emscripten configuration file /root/.emscripten has been rewritten with the following contents:
2019-09-19T01:39:37.6132366Z import os
2019-09-19T01:39:37.6132366Z import os
2019-09-19T01:39:37.6132672Z LLVM_ROOT = '/emsdk-portable/upstream/bin'
2019-09-19T01:39:37.6133305Z BINARYEN_ROOT = '/emsdk-portable/upstream'
2019-09-19T01:39:37.6133610Z EMSCRIPTEN_ROOT = '/emsdk-portable/upstream/emscripten'
2019-09-19T01:39:37.6133886Z NODE_JS = '/emsdk-portable/node/12.9.1_64bit/bin/node'
2019-09-19T01:39:37.6134117Z SPIDERMONKEY_ENGINE = ''
2019-09-19T01:39:37.6134355Z V8_ENGINE = ''
2019-09-19T01:39:37.6134579Z TEMP_DIR = '/tmp'
2019-09-19T01:39:37.6134631Z COMPILER_ENGINE = NODE_JS
2019-09-19T01:39:37.6134681Z JS_ENGINES = [NODE_JS]
2019-09-19T01:39:37.6134734Z 
2019-09-19T01:39:37.6135136Z To conveniently access the selected set of tools from the command line, consider adding the following directories to PATH, or call 'source ./emsdk_env.sh' to do this for you.
2019-09-19T01:39:37.6135191Z 
2019-09-19T01:39:37.6135523Z    /emsdk-portable:/emsdk-portable/upstream/emscripten:/emsdk-portable/node/12.9.1_64bit/bin
2019-09-19T01:39:37.6135613Z Set the following tools as active:
2019-09-19T01:39:37.6135901Z    releases-upstream-f3030d9fffcc9e1287cb6b8e72982e94ece31d71-64bit
2019-09-19T01:39:37.6136170Z    node-12.9.1-64bit
2019-09-19T01:39:37.6136204Z 
2019-09-19T01:39:37.6136204Z 
2019-09-19T01:39:37.6219901Z + source ./emsdk_env.sh
2019-09-19T01:39:37.6220537Z ++ SRC=./emsdk_env.sh
2019-09-19T01:39:37.6220786Z ++ '[' ./emsdk_env.sh = '' ']'
2019-09-19T01:39:37.6221022Z +++ pwd
2019-09-19T01:39:37.6221235Z ++ CURDIR=/emsdk-portable
2019-09-19T01:39:37.6226230Z +++ dirname ./emsdk_env.sh
2019-09-19T01:39:37.6239338Z ++ unset SRC
2019-09-19T01:39:37.6249069Z +++ mktemp
2019-09-19T01:39:37.6249069Z +++ mktemp
2019-09-19T01:39:37.6262580Z ++ tmpfile=/tmp/tmp.SNd2CrVyPV
2019-09-19T01:39:37.6262942Z ++ ./emsdk construct_env /tmp/tmp.SNd2CrVyPV
2019-09-19T01:39:37.7999682Z PATH += /emsdk-portable
2019-09-19T01:39:37.7999682Z PATH += /emsdk-portable
2019-09-19T01:39:37.7999927Z PATH += /emsdk-portable/upstream/emscripten
2019-09-19T01:39:37.8000501Z 
2019-09-19T01:39:37.8000575Z Setting environment variables:
2019-09-19T01:39:37.8000856Z EMSDK = /emsdk-portable
2019-09-19T01:39:37.8000905Z EM_CONFIG = /root/.emscripten
2019-09-19T01:39:37.8000905Z EM_CONFIG = /root/.emscripten
2019-09-19T01:39:37.8001158Z EMSDK_NODE = /emsdk-portable/node/12.9.1_64bit/bin/node
2019-09-19T01:39:37.8001198Z 
2019-09-19T01:39:37.8065674Z ++ . /tmp/tmp.SNd2CrVyPV
2019-09-19T01:39:37.8066368Z +++ export PATH=/emsdk-portable:/emsdk-portable/upstream/emscripten:/emsdk-portable/node/12.9.1_64bit/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2019-09-19T01:39:37.8066793Z +++ PATH=/emsdk-portable:/emsdk-portable/upstream/emscripten:/emsdk-portable/node/12.9.1_64bit/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2019-09-19T01:39:37.8067047Z +++ export EMSDK=/emsdk-portable
2019-09-19T01:39:37.8067245Z +++ EMSDK=/emsdk-portable
2019-09-19T01:39:37.8067296Z +++ export EM_CONFIG=/root/.emscripten
2019-09-19T01:39:37.8067359Z +++ EM_CONFIG=/root/.emscripten
2019-09-19T01:39:37.8067615Z +++ export EMSDK_NODE=/emsdk-portable/node/12.9.1_64bit/bin/node
2019-09-19T01:39:37.8067850Z +++ EMSDK_NODE=/emsdk-portable/node/12.9.1_64bit/bin/node
2019-09-19T01:39:37.8068075Z ++ rm -f /tmp/tmp.SNd2CrVyPV
2019-09-19T01:39:37.8077285Z ++ cd /emsdk-portable
2019-09-19T01:39:37.8077518Z + echo 'main(){}'
2019-09-19T01:39:37.8077726Z + HOME=/emsdk-portable/
2019-09-19T01:39:37.8077810Z + emcc a.c
2019-09-19T01:39:37.8710021Z cache:INFO: generating system asset: is_vanilla.txt... (this will be cached in "/emsdk-portable/.emscripten_cache/is_vanilla.txt" for subsequent builds)
2019-09-19T01:39:37.8833912Z cache:INFO:  - ok
2019-09-19T01:39:37.9597429Z a.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
2019-09-19T01:39:37.9597580Z main(){}
2019-09-19T01:39:37.9628933Z 1 warning generated.
2019-09-19T01:39:37.9628933Z 1 warning generated.
2019-09-19T01:39:37.9856314Z cache:INFO: generating system library: libc.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libc.a" for subsequent builds)
2019-09-19T01:40:50.9530787Z cache:INFO:  - ok
2019-09-19T01:40:50.9535011Z cache:INFO: generating system library: libcompiler_rt.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libcompiler_rt.a" for subsequent builds)
2019-09-19T01:40:51.3750578Z cache:INFO:  - ok
2019-09-19T01:40:51.3752113Z cache:INFO: generating system library: libc-wasm.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libc-wasm.a" for subsequent builds)
2019-09-19T01:40:54.1114330Z cache:INFO:  - ok
2019-09-19T01:40:54.1129995Z cache:INFO: generating system library: libdlmalloc.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libdlmalloc.a" for subsequent builds)
2019-09-19T01:40:55.1742360Z cache:INFO:  - ok
2019-09-19T01:40:55.1745061Z cache:INFO: generating system library: libpthreads_stub.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libpthreads_stub.a" for subsequent builds)
2019-09-19T01:40:55.4915598Z cache:INFO:  - ok
2019-09-19T01:40:55.4922823Z cache:INFO: generating system library: libcompiler_rt_wasm.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libcompiler_rt_wasm.a" for subsequent builds)
2019-09-19T01:41:00.2813501Z cache:INFO:  - ok
2019-09-19T01:41:00.2817684Z cache:INFO: generating system library: libc_rt_wasm.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libc_rt_wasm.a" for subsequent builds)
2019-09-19T01:41:02.6077969Z cache:INFO:  - ok
2019-09-19T01:41:02.6343150Z cache:INFO: generating system asset: generated_struct_info.json... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/generated_struct_info.json" for subsequent builds)
2019-09-19T01:41:04.4502700Z cache:INFO:  - ok
2019-09-19T01:41:04.7434582Z + rm -f a.c a.out.js a.out.wasm
2019-09-19T01:41:04.7444443Z + cp /root/.emscripten /emsdk-portable
2019-09-19T01:41:04.7463156Z + chmod a+rxw -R /emsdk-portable
2019-09-19T01:41:30.3887738Z  ---> d008c95bcec5
2019-09-19T01:41:30.3887833Z Step 5/15 : COPY scripts/sccache.sh /scripts/
2019-09-19T01:41:32.1763167Z  ---> 44b245e81471
2019-09-19T01:41:32.1763327Z Step 6/15 : RUN sh /scripts/sccache.sh
---
2019-09-19T01:41:36.2237188Z Step 7/15 : ENV PATH=$PATH:/emsdk-portable
2019-09-19T01:41:36.4181243Z  ---> Running in 4d5cfe531281
2019-09-19T01:41:37.8606308Z Removing intermediate container 4d5cfe531281
2019-09-19T01:41:37.8607303Z  ---> 2020babf348d
2019-09-19T01:41:37.8607687Z Step 8/15 : ENV PATH=$PATH:/emsdk-portable/upstream/emscripten/
2019-09-19T01:41:39.8216876Z Removing intermediate container de9c595d81e1
2019-09-19T01:41:39.8217786Z  ---> 195dac97f7ae
2019-09-19T01:41:39.8218470Z Step 9/15 : ENV PATH=$PATH:/emsdk-portable/node/12.9.1_64bit/bin/
2019-09-19T01:41:39.9667044Z  ---> Running in 27d9c519337d
---
2019-09-19T01:41:51.7898323Z Successfully built 6f53585cdbb5
2019-09-19T01:41:51.8774206Z Successfully tagged rust-ci:latest
2019-09-19T01:41:51.9065904Z Built container sha256:6f53585cdbb5564cafa40d83467ebc8799c793bee4516eb11a397fb097205872
2019-09-19T01:41:51.9082439Z Uploading finished image to https://rust-lang-ci-sccache2.s3.amazonaws.com/docker/b00c92a889cf916884e8edff8b9a3fefc8aa3192713ae8fb19e87ece5dc1beceaeff53ad6cf282e0375890176a09a5ab3e4ac3d5bf4720b955873d72323d34b6
2019-09-19T01:43:25.1782235Z upload failed: - to s3://rust-lang-ci-sccache2/docker/b00c92a889cf916884e8edff8b9a3fefc8aa3192713ae8fb19e87ece5dc1beceaeff53ad6cf282e0375890176a09a5ab3e4ac3d5bf4720b955873d72323d34b6 Unable to locate credentials
2019-09-19T01:43:26.0728407Z [CI_JOB_NAME=asmjs]
2019-09-19T01:43:26.0765390Z == clock drift check ==
2019-09-19T01:43:26.0777134Z   local time: Thu Sep 19 01:43:26 UTC 2019
2019-09-19T01:43:26.2257501Z   network time: Thu, 19 Sep 2019 01:43:26 GMT
---
2019-09-19T01:43:26.3251553Z configure: build.locked-deps    := True
2019-09-19T01:43:26.3251757Z configure: llvm.ccache          := sccache
2019-09-19T01:43:26.3252180Z configure: build.cargo-native-static := True
2019-09-19T01:43:26.3252653Z configure: dist.missing-tools   := True
2019-09-19T01:43:26.3253125Z configure: build.configure-args := ['--enable-sccache', '--disable-manage-submodu ...
2019-09-19T01:43:26.3253514Z configure: writing `config.toml` in current directory
2019-09-19T01:43:26.3253688Z configure: 
2019-09-19T01:43:26.3254109Z configure: run `python /checkout/x.py --help`
2019-09-19T01:43:26.3254316Z configure: 
---
2019-09-19T02:49:25.1311527Z running: "ar" "crs" "/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers/librust_test_helpers.a" "/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers/rust_test_helpers.o"
2019-09-19T02:49:25.1325424Z exit code: 0
2019-09-19T02:49:25.1331537Z Building test helpers
2019-09-19T02:49:25.1336815Z running: "emcc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-o" "/checkout/obj/build/asmjs-unknown-emscripten/native/rust-test-helpers/rust_test_helpers.o" "-c" "/checkout/src/test/auxiliary/rust_test_helpers.c"
2019-09-19T02:49:25.2227119Z cargo:warning=cache:INFO: generating system asset: is_vanilla.txt... (this will be cached in "/home/user/.emscripten_cache/is_vanilla.txt" for subsequent builds)
2019-09-19T02:49:25.2372218Z cargo:warning=cache:INFO:  - ok
2019-09-19T02:49:25.3783859Z cargo:warning=shared:INFO: (Emscripten: Running sanity checks)
2019-09-19T02:49:25.3834823Z cargo:warning=shared:WARNING: java does not seem to exist, required for closure compiler, which is optional (define JAVA in /emsdk-portable/.emscripten if you want it)
2019-09-19T02:49:25.3834986Z cargo:warning=shared:WARNING: closure compiler will not be available
2019-09-19T02:49:25.4702447Z running: "emar" "crs" "/checkout/obj/build/asmjs-unknown-emscripten/native/rust-test-helpers/librust_test_helpers.a" "/checkout/obj/build/asmjs-unknown-emscripten/native/rust-test-helpers/rust_test_helpers.o"
2019-09-19T02:49:25.5450291Z exit code: 0
2019-09-19T02:49:25.5464171Z Building stage0 tool compiletest (x86_64-unknown-linux-gnu)
2019-09-19T02:49:25.8685046Z    Compiling proc-macro2 v0.4.30
---
2019-09-19T02:51:35.6890257Z 
2019-09-19T02:51:35.6891428Z running 9024 tests
2019-09-19T02:52:35.6909111Z test [ui] ui/abi/abi-sysv64-register-usage.rs has been running for over 60 seconds
2019-09-19T02:52:35.6911285Z test [ui] ui/abi/abi-sysv64-arg-passing.rs has been running for over 60 seconds
2019-09-19T02:55:51.6960476Z .i.....ii..i.......i......i........i.iiii.....................................ii...............i.... 100/9024
2019-09-19T02:58:27.3147620Z ..ii.........i.......................i....iiiiii.................................................... 200/9024
2019-09-19T03:02:30.6529534Z ..............................................i.........................i........................... 400/9024
2019-09-19T03:02:30.6529534Z ..............................................i.........................i........................... 400/9024
2019-09-19T03:04:12.0866009Z ..................................i...............................................iii............... 500/9024
2019-09-19T03:09:16.2340788Z ...........................................................i........................................ 700/9024
2019-09-19T03:09:55.4118185Z .................................................................................................... 800/9024
2019-09-19T03:10:38.0616754Z .................................................................i.................................. 900/9024
2019-09-19T03:12:45.2165455Z .......i............................................ii.........................................i.... 1000/9024
2019-09-19T03:12:45.2165455Z .......i............................................ii.........................................i.... 1000/9024
2019-09-19T03:14:17.5134371Z ....i.i........................................i.................................................... 1100/9024
2019-09-19T03:15:08.0332921Z .................................................................................................... 1200/9024
2019-09-19T03:15:58.3202588Z .................i.ii............................................................................... 1300/9024
2019-09-19T03:18:13.5786171Z .............................................................................i...................... 1400/9024
2019-09-19T03:20:04.1821899Z .................................................................................................... 1500/9024
2019-09-19T03:22:08.9227741Z ..........................ii.i...................................................................... 1600/9024
2019-09-19T03:24:22.3640482Z .......................................i......i..................i...............i....iii........... 1700/9024
2019-09-19T03:25:55.6778823Z .................................................................................................... 1800/9024
2019-09-19T03:27:29.2968852Z ........................................................iiiii.......................i.........ii.... 1900/9024
2019-09-19T03:28:58.5105346Z .................................................................................................... 2000/9024
2019-09-19T03:29:22.4351994Z ..............iii................................................................................... 2100/9024
2019-09-19T03:29:24.7151499Z .................................................................................................... 2200/9024
2019-09-19T03:29:37.1676754Z .............................................................iiii......................i............ 2300/9024
2019-09-19T03:31:41.9350475Z ........i..........ii............................................................................... 2500/9024
2019-09-19T03:33:45.6326045Z .................................................................................................... 2600/9024
2019-09-19T03:33:45.6326045Z .................................................................................................... 2600/9024
2019-09-19T03:36:31.1875675Z .......i....i..........................................................i...........ii.....ii.i...... 2700/9024
2019-09-19T03:39:25.1480238Z ..........i......................................................................................... 2900/9024
2019-09-19T03:41:11.0996370Z .................................................................................................... 3000/9024
2019-09-19T03:42:45.7053596Z .................................................................................................... 3100/9024
2019-09-19T03:42:45.7053596Z .................................................................................................... 3100/9024
2019-09-19T03:44:31.7229492Z .......ii..ii..................i....i............i....i.................i........................... 3200/9024
2019-09-19T03:49:05.8874483Z ......................i.............i.....i.........................................i.......i....... 3400/9024
2019-09-19T03:51:21.0418865Z .i............................i..................................................................... 3500/9024
2019-09-19T03:53:41.3119572Z .............................................i...................................................... 3600/9024
2019-09-19T03:55:57.5946190Z ...........i...........................................................i............................ 3700/9024
---
2019-09-19T04:16:25.8756304Z ............................................ii..............i....................................... 4700/9024
2019-09-19T04:18:41.2224879Z ...................................................................................i................ 4800/9024
2019-09-19T04:20:46.2568684Z ................................i...............................i................................... 4900/9024
2019-09-19T04:23:10.7077318Z .............................................................................i...........i.......... 5000/9024
2019-09-19T04:24:58.1527410Z ....i.......................i..i..i.i.i............................................................. 5100/9024
2019-09-19T04:26:55.8928441Z .................................................................................................... 5300/9024
2019-09-19T04:26:55.8928441Z .................................................................................................... 5300/9024
2019-09-19T04:28:57.9922612Z .i...............i......................................................ii..................ii...... 5400/9024
2019-09-19T04:32:27.8422833Z .................................................................................................... 5600/9024
2019-09-19T04:32:27.8422833Z .................................................................................................... 5600/9024
2019-09-19T04:34:15.4318379Z ...............i............i...i......................................................ii...i..ii... 5700/9024
2019-09-19T04:36:33.6766688Z ........i...........................i........i.i.................................................... 5800/9024
2019-09-19T04:38:52.1392732Z .................................................................................................... 6000/9024
2019-09-19T04:38:52.1392732Z .................................................................................................... 6000/9024
2019-09-19T04:39:28.7999405Z ........................................................i...........i....................i..ii...... 6100/9024
2019-09-19T04:41:56.6364108Z ..........................i.....ii.................................................................. 6200/9024
2019-09-19T04:44:07.4575375Z ...............................i...............................i....................iii..i..ii.iiii. 6300/9024
2019-09-19T04:44:26.2347301Z iiiii...........................................i................................................... 6400/9024
2019-09-19T04:44:33.4626231Z ....................i............................................................................... 6600/9024
2019-09-19T04:45:21.9198777Z ..........................................i............................i............................ 6700/9024
2019-09-19T04:47:11.8168184Z .....................................................................................i.............. 6800/9024
2019-09-19T04:47:11.8168184Z .....................................................................................i.............. 6800/9024
2019-09-19T04:48:40.7906578Z .................................................iiiiiiii........................................... 6900/9024
2019-09-19T04:52:13.9772775Z .................................................................................................... 7100/9024
2019-09-19T04:53:07.3689209Z .................................................................................................... 7200/9024
2019-09-19T04:53:51.2683879Z .............................i...................................................................... 7300/9024
2019-09-19T04:56:09.3889418Z .....................................................................................i.......i...... 7400/9024
2019-09-19T04:56:09.3889418Z .....................................................................................i.......i...... 7400/9024
2019-09-19T04:57:55.9068583Z .................................................................................................... 7500/9024
2019-09-19T04:59:39.8717844Z .........................................i..i.............iii.....i....iiiiiiiiiii.i................ 7600/9024
2019-09-19T05:01:52.9323567Z ............................................................................................i.i..... 7800/9024
2019-09-19T05:05:51.5229749Z ................................................................i................................... 7900/9024
2019-09-19T05:07:29.5317929Z ..............................i..................................................................... 8000/9024
2019-09-19T05:07:29.5317929Z ..............................i..................................................................... 8000/9024
2019-09-19T05:10:05.0507034Z .............................................................iii.....i.....i.........i........ii.... 8100/9024
2019-09-19T05:12:31.4077494Z i.i.....iiiiii.....iiiiiiii.ii...ii.iii..iiii....................................................... 8200/9024
2019-09-19T05:17:15.8126988Z .......................................................................................i............ 8400/9024
2019-09-19T05:18:30.3341495Z .................................................................................................... 8500/9024
2019-09-19T05:19:55.7629577Z .................................................................................................... 8600/9024
2019-09-19T05:21:47.5806333Z ...............................i.................................................................... 8700/9024
---
2019-09-19T05:27:01.2905822Z failures:
2019-09-19T05:27:01.2906138Z 
2019-09-19T05:27:01.2907086Z ---- [compile-fail] compile-fail/weak-lang-item.rs stdout ----
2019-09-19T05:27:01.2907400Z 
2019-09-19T05:27:01.2908182Z error: error pattern ' language item required, but not found: `eh_personality`' not found!
2019-09-19T05:27:01.2908509Z status: exit code: 1
2019-09-19T05:27:01.2909562Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/compile-fail/weak-lang-item.rs" "-Zthreads=1" "--target=asmjs-unknown-emscripten" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/compile-fail/weak-lang-item" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/asmjs-unknown-emscripten/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/compile-fail/weak-lang-item/auxiliary" "-A" "unused"
2019-09-19T05:27:01.2910321Z ------------------------------------------
2019-09-19T05:27:01.2910517Z 
2019-09-19T05:27:01.2910942Z ------------------------------------------
2019-09-19T05:27:01.2911157Z stderr:
2019-09-19T05:27:01.2911157Z stderr:
2019-09-19T05:27:01.2911565Z ------------------------------------------
2019-09-19T05:27:01.2911803Z error[E0259]: the name `core` is defined multiple times
2019-09-19T05:27:01.2912240Z   --> /checkout/src/test/compile-fail/weak-lang-item.rs:8:1
2019-09-19T05:27:01.2912463Z    |
2019-09-19T05:27:01.2912649Z LL | extern crate core;
2019-09-19T05:27:01.2912810Z    | ^^^^^^^^^^^^^^^^^^ `core` reimported here
2019-09-19T05:27:01.2912964Z    |
2019-09-19T05:27:01.2913145Z    = note: `core` must be defined only once in the type namespace of this module
2019-09-19T05:27:01.2914432Z    |
2019-09-19T05:27:01.2914596Z LL | extern crate core as other_core;
2019-09-19T05:27:01.2914753Z    |
2019-09-19T05:27:01.2914885Z 
2019-09-19T05:27:01.2914885Z 
2019-09-19T05:27:01.2915064Z error: `#[panic_handler]` function required, but not found
2019-09-19T05:27:01.2915357Z error: aborting due to 2 previous errors
2019-09-19T05:27:01.2916350Z 
2019-09-19T05:27:01.2917748Z For more information about this error, try `rustc --explain E0259`.
2019-09-19T05:27:01.2918317Z 
---
2019-09-19T05:27:01.2922228Z 
2019-09-19T05:27:01.2922638Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:536:22
2019-09-19T05:27:01.2922680Z 
2019-09-19T05:27:01.2923046Z 
2019-09-19T05:27:01.2926717Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/compile-fail" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/compile-fail" "--stage-id" "stage2-asmjs-unknown-emscripten" "--mode" "compile-fail" "--target" "asmjs-unknown-emscripten" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/build/bin/FileCheck" "--nodejs" "/emsdk-portable/node/12.9.1_64bit/bin/node" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/asmjs-unknown-emscripten/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "9.0.0-rust-1.39.0-dev\n" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2019-09-19T05:27:01.2927368Z 
2019-09-19T05:27:01.2927402Z 
2019-09-19T05:27:01.2927825Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test --target asmjs-unknown-emscripten
2019-09-19T05:27:01.2927909Z Build completed unsuccessfully in 3:40:50
2019-09-19T05:27:01.2927909Z Build completed unsuccessfully in 3:40:50
2019-09-19T05:27:01.2983407Z == clock drift check ==
2019-09-19T05:27:01.2998027Z   local time: Thu Sep 19 05:27:01 UTC 2019
2019-09-19T05:27:01.4488846Z   network time: Thu, 19 Sep 2019 05:27:01 GMT
2019-09-19T05:27:01.4492388Z == end clock drift check ==
2019-09-19T05:27:02.1883404Z ##[error]Bash exited with code '1'.
2019-09-19T05:27:02.1921925Z ##[section]Starting: Checkout
2019-09-19T05:27:02.1923720Z ==============================================================================
2019-09-19T05:27:02.1923775Z Task         : Get sources
2019-09-19T05:27:02.1923822Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

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)

@rust-highfive
Copy link
Collaborator

The job asmjs of your PR failed (pretty log, 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.
2019-09-20T17:37:32.5299224Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-09-20T17:37:32.5504982Z ##[command]git config gc.auto 0
2019-09-20T17:37:32.5577016Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-09-20T17:37:32.5635417Z ##[command]git config --get-all http.proxy
2019-09-20T17:37:32.5789943Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/63649/merge:refs/remotes/pull/63649/merge
---
2019-09-20T17:42:26.6086259Z  ---> a0b394aa6827
2019-09-20T17:42:26.6086331Z Step 3/15 : COPY scripts/emscripten.sh /scripts/
2019-09-20T17:42:28.3468327Z  ---> 0c99687a38c0
2019-09-20T17:42:28.3468526Z Step 4/15 : RUN bash /scripts/emscripten.sh
2019-09-20T17:42:28.5059040Z  ---> Running in 81188b4bc613
2019-09-20T17:42:29.0744974Z + git clone https://github.com/emscripten-core/emsdk.git /emsdk-portable
2019-09-20T17:42:29.0800534Z Cloning into '/emsdk-portable'...
2019-09-20T17:42:29.9515898Z + cd /emsdk-portable
2019-09-20T17:42:29.9516272Z + hide_output ./emsdk install 1.38.45-upstream
2019-09-20T17:42:59.0690515Z /scripts/emscripten.sh: line 3:    16 Terminated              bash -c "while true; do sleep 30; echo \$(date) - building ...; done"
2019-09-20T17:42:59.0690515Z /scripts/emscripten.sh: line 3:    16 Terminated              bash -c "while true; do sleep 30; echo \$(date) - building ...; done"
2019-09-20T17:42:59.0691623Z + ./emsdk activate 1.38.45-upstream
2019-09-20T17:42:59.5368720Z Writing .emscripten configuration file to user home directory /root/
2019-09-20T17:42:59.5369660Z The Emscripten configuration file /root/.emscripten has been rewritten with the following contents:
2019-09-20T17:42:59.5369807Z import os
2019-09-20T17:42:59.5369807Z import os
2019-09-20T17:42:59.5370259Z LLVM_ROOT = '/emsdk-portable/upstream/bin'
2019-09-20T17:42:59.5370776Z BINARYEN_ROOT = '/emsdk-portable/upstream'
2019-09-20T17:42:59.5371275Z EMSCRIPTEN_ROOT = '/emsdk-portable/upstream/emscripten'
2019-09-20T17:42:59.5371821Z NODE_JS = '/emsdk-portable/node/12.9.1_64bit/bin/node'
2019-09-20T17:42:59.5372276Z SPIDERMONKEY_ENGINE = ''
2019-09-20T17:42:59.5372713Z V8_ENGINE = ''
2019-09-20T17:42:59.5373218Z TEMP_DIR = '/tmp'
2019-09-20T17:42:59.5373768Z COMPILER_ENGINE = NODE_JS
2019-09-20T17:42:59.5373888Z JS_ENGINES = [NODE_JS]
2019-09-20T17:42:59.5373954Z 
2019-09-20T17:42:59.5374458Z To conveniently access the selected set of tools from the command line, consider adding the following directories to PATH, or call 'source ./emsdk_env.sh' to do this for you.
2019-09-20T17:42:59.5374709Z 
2019-09-20T17:42:59.5375174Z    /emsdk-portable:/emsdk-portable/upstream/emscripten:/emsdk-portable/node/12.9.1_64bit/bin
2019-09-20T17:42:59.5375442Z Set the following tools as active:
2019-09-20T17:42:59.5375865Z    releases-upstream-f3030d9fffcc9e1287cb6b8e72982e94ece31d71-64bit
2019-09-20T17:42:59.5376094Z    node-12.9.1-64bit
2019-09-20T17:42:59.5376129Z 
2019-09-20T17:42:59.5376129Z 
2019-09-20T17:42:59.5464005Z + source ./emsdk_env.sh
2019-09-20T17:42:59.5464644Z ++ SRC=./emsdk_env.sh
2019-09-20T17:42:59.5465432Z ++ '[' ./emsdk_env.sh = '' ']'
2019-09-20T17:42:59.5475095Z +++ pwd
2019-09-20T17:42:59.5475403Z ++ CURDIR=/emsdk-portable
2019-09-20T17:42:59.5479757Z +++ dirname ./emsdk_env.sh
2019-09-20T17:43:00.1394221Z ++ unset SRC
2019-09-20T17:43:00.1395031Z +++ mktemp
2019-09-20T17:43:00.1395031Z +++ mktemp
2019-09-20T17:43:00.1395542Z ++ tmpfile=/tmp/tmp.0JRqXAd1Qo
2019-09-20T17:43:00.1396147Z ++ ./emsdk construct_env /tmp/tmp.0JRqXAd1Qo
2019-09-20T17:43:00.1397103Z PATH += /emsdk-portable
2019-09-20T17:43:00.1397103Z PATH += /emsdk-portable
2019-09-20T17:43:00.1397568Z PATH += /emsdk-portable/upstream/emscripten
2019-09-20T17:43:00.1398258Z 
2019-09-20T17:43:00.1398427Z Setting environment variables:
2019-09-20T17:43:00.1399137Z EMSDK = /emsdk-portable
2019-09-20T17:43:00.1399475Z EM_CONFIG = /root/.emscripten
2019-09-20T17:43:00.1399475Z EM_CONFIG = /root/.emscripten
2019-09-20T17:43:00.1399988Z EMSDK_NODE = /emsdk-portable/node/12.9.1_64bit/bin/node
2019-09-20T17:43:00.1400200Z 
2019-09-20T17:43:00.1401178Z ++ . /tmp/tmp.0JRqXAd1Qo
2019-09-20T17:43:00.1401817Z +++ export PATH=/emsdk-portable:/emsdk-portable/upstream/emscripten:/emsdk-portable/node/12.9.1_64bit/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2019-09-20T17:43:00.1402640Z +++ PATH=/emsdk-portable:/emsdk-portable/upstream/emscripten:/emsdk-portable/node/12.9.1_64bit/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2019-09-20T17:43:00.1403300Z +++ export EMSDK=/emsdk-portable
2019-09-20T17:43:00.1404180Z +++ EMSDK=/emsdk-portable
2019-09-20T17:43:00.1404817Z +++ export EM_CONFIG=/root/.emscripten
2019-09-20T17:43:00.1405299Z +++ EM_CONFIG=/root/.emscripten
2019-09-20T17:43:00.1405805Z +++ export EMSDK_NODE=/emsdk-portable/node/12.9.1_64bit/bin/node
2019-09-20T17:43:00.1406332Z +++ EMSDK_NODE=/emsdk-portable/node/12.9.1_64bit/bin/node
2019-09-20T17:43:00.1406796Z ++ rm -f /tmp/tmp.0JRqXAd1Qo
2019-09-20T17:43:00.6393360Z ++ cd /emsdk-portable
2019-09-20T17:43:00.6395822Z + echo 'main(){}'
2019-09-20T17:43:00.6400380Z + HOME=/emsdk-portable/
2019-09-20T17:43:00.6401049Z + emcc a.c
2019-09-20T17:43:00.7151743Z cache:INFO: generating system asset: is_vanilla.txt... (this will be cached in "/emsdk-portable/.emscripten_cache/is_vanilla.txt" for subsequent builds)
2019-09-20T17:43:00.7286729Z cache:INFO:  - ok
2019-09-20T17:43:00.8092708Z a.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
2019-09-20T17:43:00.8092809Z main(){}
2019-09-20T17:43:00.8123809Z 1 warning generated.
2019-09-20T17:43:00.8123809Z 1 warning generated.
2019-09-20T17:43:00.8360330Z cache:INFO: generating system library: libc.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libc.a" for subsequent builds)
2019-09-20T17:44:15.3318135Z cache:INFO:  - ok
2019-09-20T17:44:15.3322945Z cache:INFO: generating system library: libcompiler_rt.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libcompiler_rt.a" for subsequent builds)
2019-09-20T17:44:15.7510506Z cache:INFO:  - ok
2019-09-20T17:44:15.7517007Z cache:INFO: generating system library: libc-wasm.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libc-wasm.a" for subsequent builds)
2019-09-20T17:44:18.5895648Z cache:INFO:  - ok
2019-09-20T17:44:18.5917950Z cache:INFO: generating system library: libdlmalloc.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libdlmalloc.a" for subsequent builds)
2019-09-20T17:44:19.6570350Z cache:INFO:  - ok
2019-09-20T17:44:19.6573833Z cache:INFO: generating system library: libpthreads_stub.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libpthreads_stub.a" for subsequent builds)
2019-09-20T17:44:19.9637336Z cache:INFO:  - ok
2019-09-20T17:44:19.9642649Z cache:INFO: generating system library: libcompiler_rt_wasm.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libcompiler_rt_wasm.a" for subsequent builds)
2019-09-20T17:44:24.7502812Z cache:INFO:  - ok
2019-09-20T17:44:24.7507545Z cache:INFO: generating system library: libc_rt_wasm.a... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/libc_rt_wasm.a" for subsequent builds)
2019-09-20T17:44:27.0801047Z cache:INFO:  - ok
2019-09-20T17:44:27.1122799Z cache:INFO: generating system asset: generated_struct_info.json... (this will be cached in "/emsdk-portable/.emscripten_cache/wasm-obj/generated_struct_info.json" for subsequent builds)
2019-09-20T17:44:28.8932422Z cache:INFO:  - ok
2019-09-20T17:44:29.2216172Z + rm -f a.c a.out.js a.out.wasm
2019-09-20T17:44:29.2229148Z + cp /root/.emscripten /emsdk-portable
2019-09-20T17:44:29.2246604Z + chmod a+rxw -R /emsdk-portable
2019-09-20T17:44:54.7691569Z Removing intermediate container 81188b4bc613
2019-09-20T17:44:54.7692273Z  ---> 3b0547fa887d
2019-09-20T17:44:56.5975358Z  ---> 7f59cd7e20b7
2019-09-20T17:44:56.5975505Z Step 6/15 : RUN sh /scripts/sccache.sh
2019-09-20T17:44:56.7731869Z  ---> Running in c09c21fa5ecd
2019-09-20T17:44:58.1675457Z + curl -fo /usr/local/bin/sccache https://rust-lang-ci-mirrors.s3-us-west-1.amazonaws.com/rustc/2018-04-02-sccache-x86_64-unknown-linux-musl
---
2019-09-20T17:45:00.8198561Z Step 7/15 : ENV PATH=$PATH:/emsdk-portable
2019-09-20T17:45:01.0184878Z  ---> Running in 61fb49ef2595
2019-09-20T17:45:02.4707151Z Removing intermediate container 61fb49ef2595
2019-09-20T17:45:02.4708764Z  ---> 7a6e0f740e02
2019-09-20T17:45:02.4709314Z Step 8/15 : ENV PATH=$PATH:/emsdk-portable/upstream/emscripten/
2019-09-20T17:45:02.6669206Z  ---> Running in 46774db4e9d5
2019-09-20T17:45:04.0625918Z Removing intermediate container 46774db4e9d5
2019-09-20T17:45:04.0628109Z Step 9/15 : ENV PATH=$PATH:/emsdk-portable/node/12.9.1_64bit/bin/
2019-09-20T17:45:04.2667452Z  ---> Running in 88a91997ed08
2019-09-20T17:45:05.6775423Z Removing intermediate container 88a91997ed08
2019-09-20T17:45:05.6776698Z  ---> 3133ea3006b1
---
2019-09-20T17:45:15.2470316Z  ---> 3aad510c5da0
2019-09-20T17:45:15.2510547Z Successfully built 3aad510c5da0
2019-09-20T17:45:15.3574939Z Successfully tagged rust-ci:latest
2019-09-20T17:45:15.4479720Z Built container sha256:3aad510c5da04c6fddd1b9186125ba299e41191cb8a4dc14f212e1947206b4c6
2019-09-20T17:45:15.4538542Z Uploading finished image to https://rust-lang-ci-sccache2.s3.amazonaws.com/docker/9069a8ae71b54c926e2a8002679e7618c86055bb388d267d806c6caebcd0ade8c08692ea699e039b70cf69938549b5e3aa2d924b0a69bcb52be16ba4bc6a194a
2019-09-20T17:46:48.9061133Z upload failed: - to s3://rust-lang-ci-sccache2/docker/9069a8ae71b54c926e2a8002679e7618c86055bb388d267d806c6caebcd0ade8c08692ea699e039b70cf69938549b5e3aa2d924b0a69bcb52be16ba4bc6a194a An error occurred (InvalidAccessKeyId) when calling the CreateMultipartUpload operation: The AWS Access Key Id you provided does not exist in our records.
2019-09-20T17:46:49.9087588Z [CI_JOB_NAME=asmjs]
2019-09-20T17:46:49.9130648Z == clock drift check ==
2019-09-20T17:46:49.9139734Z   local time: Fri Sep 20 17:46:49 UTC 2019
2019-09-20T17:46:50.0690002Z   network time: Fri, 20 Sep 2019 17:46:50 GMT
---
2019-09-20T17:46:50.1694228Z configure: build.locked-deps    := True
2019-09-20T17:46:50.1694277Z configure: llvm.ccache          := sccache
2019-09-20T17:46:50.1694508Z configure: build.cargo-native-static := True
2019-09-20T17:46:50.1694751Z configure: dist.missing-tools   := True
2019-09-20T17:46:50.1695016Z configure: build.configure-args := ['--enable-sccache', '--disable-manage-submodu ...
2019-09-20T17:46:50.1695140Z configure: writing `config.toml` in current directory
2019-09-20T17:46:50.1695188Z configure: 
2019-09-20T17:46:50.1695448Z configure: run `python /checkout/x.py --help`
2019-09-20T17:46:50.1695516Z configure: 
---
2019-09-20T18:52:30.0604828Z running: "ar" "crs" "/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers/librust_test_helpers.a" "/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers/rust_test_helpers.o"
2019-09-20T18:52:30.0621656Z exit code: 0
2019-09-20T18:52:30.0624693Z Building test helpers
2019-09-20T18:52:30.0630007Z running: "emcc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-o" "/checkout/obj/build/asmjs-unknown-emscripten/native/rust-test-helpers/rust_test_helpers.o" "-c" "/checkout/src/test/auxiliary/rust_test_helpers.c"
2019-09-20T18:52:30.1517895Z cargo:warning=cache:INFO: generating system asset: is_vanilla.txt... (this will be cached in "/home/user/.emscripten_cache/is_vanilla.txt" for subsequent builds)
2019-09-20T18:52:30.1661448Z cargo:warning=cache:INFO:  - ok
2019-09-20T18:52:30.3081138Z cargo:warning=shared:INFO: (Emscripten: Running sanity checks)
2019-09-20T18:52:30.3137877Z cargo:warning=shared:WARNING: java does not seem to exist, required for closure compiler, which is optional (define JAVA in /emsdk-portable/.emscripten if you want it)
2019-09-20T18:52:30.3138055Z cargo:warning=shared:WARNING: closure compiler will not be available
2019-09-20T18:52:30.3999060Z running: "emar" "crs" "/checkout/obj/build/asmjs-unknown-emscripten/native/rust-test-helpers/librust_test_helpers.a" "/checkout/obj/build/asmjs-unknown-emscripten/native/rust-test-helpers/rust_test_helpers.o"
2019-09-20T18:52:30.4720159Z exit code: 0
2019-09-20T18:52:30.4737997Z Building stage0 tool compiletest (x86_64-unknown-linux-gnu)
2019-09-20T18:52:30.7846184Z    Compiling proc-macro2 v0.4.30
---
2019-09-20T18:54:40.5139640Z 
2019-09-20T18:54:40.5140774Z running 9026 tests
2019-09-20T18:55:40.5158670Z test [ui] ui/abi/abi-sysv64-arg-passing.rs has been running for over 60 seconds
2019-09-20T18:55:40.5160516Z test [ui] ui/abi/abi-sysv64-register-usage.rs has been running for over 60 seconds
2019-09-20T18:58:55.7388201Z .i.....ii..i.......i......i........i.iiii.....................................ii...............i.... 100/9026
2019-09-20T19:01:30.4543603Z ..ii.........i.......................i....iiiiii.................................................... 200/9026
2019-09-20T19:05:34.4587756Z ..............................................i.........................i........................... 400/9026
2019-09-20T19:05:34.4587756Z ..............................................i.........................i........................... 400/9026
2019-09-20T19:07:15.5204180Z ..................................i...............................................iii............... 500/9026
2019-09-20T19:12:21.0112685Z ...........................................................i........................................ 700/9026
2019-09-20T19:13:01.0296450Z .................................................................................................... 800/9026
2019-09-20T19:13:43.4426270Z .................................................................i.................................. 900/9026
2019-09-20T19:15:51.1418990Z .......i............................................ii.........................................i.... 1000/9026
2019-09-20T19:15:51.1418990Z .......i............................................ii.........................................i.... 1000/9026
2019-09-20T19:17:22.8796956Z ....i.i........................................i.................................................... 1100/9026
2019-09-20T19:18:13.0963582Z .................................................................................................... 1200/9026
2019-09-20T19:19:03.6108614Z .................i.ii............................................................................... 1300/9026
2019-09-20T19:21:19.9675003Z .............................................................................i...................... 1400/9026
2019-09-20T19:23:11.6942282Z .................................................................................................... 1500/9026
2019-09-20T19:25:15.3974262Z ..........................ii.i...................................................................... 1600/9026
2019-09-20T19:27:31.8433825Z ........................................i......i..................i...............i....iii.......... 1700/9026
2019-09-20T19:29:02.9510636Z .................................................................................................... 1800/9026
2019-09-20T19:30:38.2496634Z .........................................................iiiii.......................i.........ii... 1900/9026
2019-09-20T19:32:08.2293771Z .................................................................................................... 2000/9026
2019-09-20T19:32:32.1383582Z ...............iii.................................................................................. 2100/9026
2019-09-20T19:32:34.3762605Z .................................................................................................... 2200/9026
2019-09-20T19:32:45.5959882Z ...............................................................iiii.....................i........... 2300/9026
2019-09-20T19:34:52.8844888Z .........i..........ii.............................................................................. 2500/9026
2019-09-20T19:36:56.7050529Z .................................................................................................... 2600/9026
2019-09-20T19:36:56.7050529Z .................................................................................................... 2600/9026
2019-09-20T19:39:42.8271838Z ........i....i..........................................................i...........ii.....ii.i..... 2700/9026
2019-09-20T19:42:34.4635783Z ...........i........................................................................................ 2900/9026
2019-09-20T19:44:24.6299006Z .................................................................................................... 3000/9026
2019-09-20T19:45:58.7166879Z .................................................................................................... 3100/9026
2019-09-20T19:45:58.7166879Z .................................................................................................... 3100/9026
2019-09-20T19:47:43.3430696Z ........ii..ii..................i....i............i....i.................i.......................... 3200/9026
2019-09-20T19:52:17.4235965Z .......................i.............i.....i.........................................i.......i...... 3400/9026
2019-09-20T19:54:36.5628550Z ..i............................i.................................................................... 3500/9026
2019-09-20T19:56:57.6285884Z ..............................................i..................................................... 3600/9026
2019-09-20T19:59:14.2550455Z ............i...........................................................i........................... 3700/9026
---
2019-09-20T20:19:46.0172215Z .............................................ii..............i...................................... 4700/9026
2019-09-20T20:21:57.7053180Z ....................................................................................i............... 4800/9026
2019-09-20T20:24:05.2744732Z .................................i...............................i.................................. 4900/9026
2019-09-20T20:26:30.7797876Z ..............................................................................i...........i......... 5000/9026
2019-09-20T20:28:19.3144514Z .....i.......................i..i..i.i.i............................................................ 5100/9026
2019-09-20T20:30:13.5826493Z .................................................................................................... 5300/9026
2019-09-20T20:30:13.5826493Z .................................................................................................... 5300/9026
2019-09-20T20:32:19.9502771Z ..i...............i......................................................ii..................ii..... 5400/9026
2019-09-20T20:35:51.0791171Z .................................................................................................... 5600/9026
2019-09-20T20:35:51.0791171Z .................................................................................................... 5600/9026
2019-09-20T20:37:37.1645125Z ................i............i...i......................................................ii...i..ii.. 5700/9026
2019-09-20T20:39:56.3707720Z .........i...........................i........i.i................................................... 5800/9026
2019-09-20T20:42:18.8748193Z .................................................................................................... 6000/9026
2019-09-20T20:42:18.8748193Z .................................................................................................... 6000/9026
2019-09-20T20:42:54.6926087Z .........................................................i...........i....................i..ii..... 6100/9026
2019-09-20T20:45:23.4435388Z ...........................i.....ii................................................................. 6200/9026
2019-09-20T20:47:34.2661878Z ................................i...............................i....................iii..i..ii.iiii 6300/9026
2019-09-20T20:47:53.2055791Z .iiiii...........................................i.................................................. 6400/9026
2019-09-20T20:48:00.5034582Z .....................i.............................................................................. 6600/9026
2019-09-20T20:48:44.6427755Z ...........................................i............................i........................... 6700/9026
2019-09-20T20:50:39.1379886Z ......................................................................................i............. 6800/9026
2019-09-20T20:50:39.1379886Z ......................................................................................i............. 6800/9026
2019-09-20T20:52:05.9232221Z ..................................................iiiiiiii.......................................... 6900/9026
2019-09-20T20:55:38.8398405Z .................................................................................................... 7100/9026
2019-09-20T20:56:35.3481350Z .................................................................................................... 7200/9026
2019-09-20T20:57:18.6335509Z ...............................i.................................................................... 7300/9026
2019-09-20T20:59:35.4683449Z .......................................................................................i.......i.... 7400/9026
2019-09-20T20:59:35.4683449Z .......................................................................................i.......i.... 7400/9026
2019-09-20T21:01:25.1516099Z .................................................................................................... 7500/9026
2019-09-20T21:03:04.1133487Z ...........................................i..i.............iii.....i....iiiiiiiiiii.i.............. 7600/9026
2019-09-20T21:05:19.0761250Z ..............................................................................................i.i... 7800/9026
2019-09-20T21:09:15.4630380Z ..................................................................i................................. 7900/9026
2019-09-20T21:10:59.2731428Z ................................i................................................................... 8000/9026
2019-09-20T21:10:59.2731428Z ................................i................................................................... 8000/9026
2019-09-20T21:13:35.6631787Z ...............................................................iii.....i.....i.........i........ii.. 8100/9026
2019-09-20T21:16:00.6335518Z ..i.i.....iiiiii.....iiiiiiii.ii...ii.iii..iiii..................................................... 8200/9026
2019-09-20T21:20:48.4375590Z .........................................................................................i.......... 8400/9026
2019-09-20T21:22:03.1444850Z .................................................................................................... 8500/9026
2019-09-20T21:23:24.2989068Z .................................................................................................... 8600/9026
2019-09-20T21:25:19.3074597Z .................................i.................................................................. 8700/9026
---
2019-09-20T21:33:28.9125187Z    Compiling rand_core v0.5.0
2019-09-20T21:33:29.1754178Z    Compiling rand_hc v0.2.0
2019-09-20T21:33:29.3463379Z    Compiling rand v0.7.0
2019-09-20T21:33:32.1663078Z    Compiling std v0.0.0 (/checkout/src/libstd)
2019-09-20T21:33:32.6872615Z error: linking with `emcc` failed: exit code: 1
2019-09-20T21:33:32.6898945Z   |
2019-09-20T21:33:32.6949462Z   = note: "emcc" "-s" "DISABLE_EXCEPTION_CATCHING=1" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/asmjs-unknown-emscripten/release/deps/run_time_detect-41ac5c05a452285c.run_time_detect.2g7r8ovf-cgu.0.rcgu.o" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/asmjs-unknown-emscripten/release/deps/run_time_detect-41ac5c05a452285c.js" "-s" "EXPORTED_FUNCTIONS=[\"_main\",\"_rust_eh_personality\"]" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/asmjs-unknown-emscripten/release/deps/run_time_detect-41ac5c05a452285c.31edbhgvps6ybmht.rcgu.o" "-O2" "--memory-init-file" "0" "-g0" "-s" "DEFAULT_LIBRARY_FUNCS_TO_INCLUDE=[]" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/asmjs-unknown-emscripten/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libtest-3072b8356e59e60a.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libterm-ec3e883f321bb27d.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libgetopts-f91bd61645eaf2dd.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libunicode_width-7fae48598d197287.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/librustc_std_workspace_std-f536514bf94e11db.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/asmjs-unknown-emscripten/release/deps/libstd-4e65788bae25c659.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libpanic_unwind-353ec216f4d15524.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libhashbrown-9b60830bbe2d581e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/librustc_std_workspace_alloc-ba59cbcb6e7217de.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libbacktrace-c7227c1ea0e624f6.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/librustc_demangle-ec10ee0429285dbd.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libunwind-11efea36ab74a158.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libcfg_if-537a31a71a1667e5.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/liblibc-bf44b0c00855d2df.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/liballoc-ac926a854a4b8f07.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/librustc_std_workspace_core-6243923ce9b44c89.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libcore-608b04ebb869497f.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libcompiler_builtins-18771975efaea389.rlib" "-l" "c" "-Wl,-rpath,$ORIGIN/../lib" "-s" "ERROR_ON_UNDEFINED_SYMBOLS=1" "-s" "ASSERTIONS=1" "-s" "DISABLE_EXCEPTION_CATCHING=1" "-s" "WASM=0"
2019-09-20T21:33:32.6950922Z   = note: wasm-ld: error: unknown argument: -rpath
2019-09-20T21:33:32.6951228Z           wasm-ld: error: cannot open $ORIGIN/../lib: No such file or directory
2019-09-20T21:33:32.6955546Z           shared:ERROR: '/emsdk-portable/upstream/bin/wasm-ld -o /tmp/emscripten_temp_fuSfIY/run_time_detect-41ac5c05a452285c.wasm --allow-undefined --import-memory --import-table --lto-O0 /checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/asmjs-unknown-emscripten/release/deps/run_time_detect-41ac5c05a452285c.run_time_detect.2g7r8ovf-cgu.0.rcgu.o /checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/asmjs-unknown-emscripten/release/deps/run_time_detect-41ac5c05a452285c.31edbhgvps6ybmht.rcgu.o /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libtest-3072b8356e59e60a.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libterm-ec3e883f321bb27d.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libgetopts-f91bd61645eaf2dd.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libunicode_width-7fae48598d197287.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/librustc_std_workspace_std-f536514bf94e11db.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/asmjs-unknown-emscripten/release/deps/libstd-4e65788bae25c659.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libpanic_unwind-353ec216f4d15524.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libhashbrown-9b60830bbe2d581e.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/librustc_std_workspace_alloc-ba59cbcb6e7217de.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libbacktrace-c7227c1ea0e624f6.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/librustc_demangle-ec10ee0429285dbd.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libunwind-11efea36ab74a158.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libcfg_if-537a31a71a1667e5.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/liblibc-bf44b0c00855d2df.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/liballoc-ac926a854a4b8f07.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/librustc_std_workspace_core-6243923ce9b44c89.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libcore-608b04ebb869497f.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libcompiler_builtins-18771975efaea389.rlib -rpath $ORIGIN/../lib /home/user/.emscripten_cache/wasm-obj/libc.a /home/user/.emscripten_cache/wasm-obj/libcompiler_rt.a /home/user/.emscripten_cache/wasm-obj/libc-wasm.a /home/user/.emscripten_cache/wasm-obj/libc-extras.a /home/user/.emscripten_cache/wasm-obj/libdlmalloc.a /home/user/.emscripten_cache/wasm-obj/libpthreads_stub.a /home/user/.emscripten_cache/wasm-obj/libcompiler_rt_wasm.a /home/user/.emscripten_cache/wasm-obj/libc_rt_wasm.a -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export __wasm_call_ctors --export __data_end --export main --export rust_eh_personality --export malloc --export free --export setThrew --export __errno_location --export fflush --export htonl --export htons --export ntohs --export _get_environ -z stack-size=5242880 --initial-memory=16777216 --no-entry --max-memory=16777216 --global-base=1024' failed (1)
2019-09-20T21:33:32.6956646Z 
2019-09-20T21:33:32.6956918Z error: aborting due to previous error
2019-09-20T21:33:32.6956955Z 
2019-09-20T21:33:32.6957186Z error: Could not compile `std`.
2019-09-20T21:33:32.6957186Z error: Could not compile `std`.
2019-09-20T21:33:32.6957455Z warning: build failed, waiting for other jobs to finish...
2019-09-20T21:33:33.2242884Z error: linking with `emcc` failed: exit code: 1
2019-09-20T21:33:33.2246389Z   |
2019-09-20T21:33:33.2257033Z   = note: "emcc" "-s" "DISABLE_EXCEPTION_CATCHING=1" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/asmjs-unknown-emscripten/release/deps/env-684ee6cb0d06c9e5.env.84zftx17-cgu.0.rcgu.o" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/asmjs-unknown-emscripten/release/deps/env-684ee6cb0d06c9e5.js" "-s" "EXPORTED_FUNCTIONS=[\"_main\",\"_rust_eh_personality\"]" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/asmjs-unknown-emscripten/release/deps/env-684ee6cb0d06c9e5.kr1um5bq5n6zzlm.rcgu.o" "-O2" "--memory-init-file" "0" "-g0" "-s" "DEFAULT_LIBRARY_FUNCS_TO_INCLUDE=[]" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/asmjs-unknown-emscripten/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libtest-3072b8356e59e60a.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libterm-ec3e883f321bb27d.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libgetopts-f91bd61645eaf2dd.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libunicode_width-7fae48598d197287.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/librustc_std_workspace_std-f536514bf94e11db.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/asmjs-unknown-emscripten/release/deps/librand-af75f0f0f533354e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/asmjs-unknown-emscripten/release/deps/librand_hc-f75a59e834501b5b.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/asmjs-unknown-emscripten/release/deps/librand_core-a96c867b08c65e9f.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/asmjs-unknown-emscripten/release/deps/libgetrandom-320f122525bdc2f4.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/asmjs-unknown-emscripten/release/deps/libstd-4e65788bae25c659.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libpanic_unwind-353ec216f4d15524.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libhashbrown-9b60830bbe2d581e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/librustc_std_workspace_alloc-ba59cbcb6e7217de.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libbacktrace-c7227c1ea0e624f6.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/librustc_demangle-ec10ee0429285dbd.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libunwind-11efea36ab74a158.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libcfg_if-537a31a71a1667e5.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/liblibc-bf44b0c00855d2df.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/liballoc-ac926a854a4b8f07.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/librustc_std_workspace_core-6243923ce9b44c89.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libcore-608b04ebb869497f.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libcompiler_builtins-18771975efaea389.rlib" "-l" "c" "-Wl,-rpath,$ORIGIN/../lib" "-s" "ERROR_ON_UNDEFINED_SYMBOLS=1" "-s" "ASSERTIONS=1" "-s" "DISABLE_EXCEPTION_CATCHING=1" "-s" "WASM=0"
2019-09-20T21:33:33.2259049Z   = note: wasm-ld: error: unknown argument: -rpath
2019-09-20T21:33:33.2259376Z           wasm-ld: error: cannot open $ORIGIN/../lib: No such file or directory
2019-09-20T21:33:33.2264834Z           shared:ERROR: '/emsdk-portable/upstream/bin/wasm-ld -o /tmp/emscripten_temp_b_n7qX/env-684ee6cb0d06c9e5.wasm --allow-undefined --import-memory --import-table --lto-O0 /checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/asmjs-unknown-emscripten/release/deps/env-684ee6cb0d06c9e5.env.84zftx17-cgu.0.rcgu.o /checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/asmjs-unknown-emscripten/release/deps/env-684ee6cb0d06c9e5.kr1um5bq5n6zzlm.rcgu.o /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libtest-3072b8356e59e60a.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libterm-ec3e883f321bb27d.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libgetopts-f91bd61645eaf2dd.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libunicode_width-7fae48598d197287.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/librustc_std_workspace_std-f536514bf94e11db.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/asmjs-unknown-emscripten/release/deps/librand-af75f0f0f533354e.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/asmjs-unknown-emscripten/release/deps/librand_hc-f75a59e834501b5b.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/asmjs-unknown-emscripten/release/deps/librand_core-a96c867b08c65e9f.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/asmjs-unknown-emscripten/release/deps/libgetrandom-320f122525bdc2f4.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/asmjs-unknown-emscripten/release/deps/libstd-4e65788bae25c659.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libpanic_unwind-353ec216f4d15524.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libhashbrown-9b60830bbe2d581e.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/librustc_std_workspace_alloc-ba59cbcb6e7217de.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libbacktrace-c7227c1ea0e624f6.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/librustc_demangle-ec10ee0429285dbd.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libunwind-11efea36ab74a158.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libcfg_if-537a31a71a1667e5.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/liblibc-bf44b0c00855d2df.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/liballoc-ac926a854a4b8f07.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/librustc_std_workspace_core-6243923ce9b44c89.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libcore-608b04ebb869497f.rlib /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/asmjs-unknown-emscripten/lib/libcompiler_builtins-18771975efaea389.rlib -rpath $ORIGIN/../lib /home/user/.emscripten_cache/wasm-obj/libc.a /home/user/.emscripten_cache/wasm-obj/libcompiler_rt.a /home/user/.emscripten_cache/wasm-obj/libc-wasm.a /home/user/.emscripten_cache/wasm-obj/libc-extras.a /home/user/.emscripten_cache/wasm-obj/libdlmalloc.a /home/user/.emscripten_cache/wasm-obj/libpthreads_stub.a /home/user/.emscripten_cache/wasm-obj/libcompiler_rt_wasm.a /home/user/.emscripten_cache/wasm-obj/libc_rt_wasm.a -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export __wasm_call_ctors --export __data_end --export main --export rust_eh_personality --export malloc --export free --export setThrew --export __errno_location --export fflush --export htonl --export htons --export ntohs --export _get_environ -z stack-size=5242880 --initial-memory=16777216 --no-entry --max-memory=16777216 --global-base=1024' failed (1)
2019-09-20T21:33:33.2266209Z 
2019-09-20T21:33:33.2278673Z error: aborting due to previous error
2019-09-20T21:33:33.2278968Z 
2019-09-20T21:33:33.2391159Z error: Could not compile `std`.
2019-09-20T21:33:33.2391159Z error: Could not compile `std`.
2019-09-20T21:33:33.2391236Z 
2019-09-20T21:33:33.2391544Z To learn more, run the command again with --verbose.
2019-09-20T21:33:33.2412784Z 
2019-09-20T21:33:33.2412910Z 
2019-09-20T21:33:33.2413745Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "test" "--target" "asmjs-unknown-emscripten" "-Zbinary-dep-depinfo" "-j" "2" "--release" "--locked" "--color" "always" "--features" "panic-unwind backtrace compiler-builtins-c" "--manifest-path" "/checkout/src/libtest/Cargo.toml" "-p" "std" "--" "--quiet"
2019-09-20T21:33:33.2413882Z 
2019-09-20T21:33:33.2413916Z 
2019-09-20T21:33:33.2426507Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test --target asmjs-unknown-emscripten src/test/ui src/libstd src/liballoc src/libcore
2019-09-20T21:33:33.2426651Z Build completed unsuccessfully in 3:44:18
2019-09-20T21:33:33.2426651Z Build completed unsuccessfully in 3:44:18
2019-09-20T21:33:33.2484437Z == clock drift check ==
2019-09-20T21:33:33.2506929Z   local time: Fri Sep 20 21:33:33 UTC 2019
2019-09-20T21:33:33.3361958Z   network time: Fri, 20 Sep 2019 21:33:33 GMT
2019-09-20T21:33:33.3363728Z == end clock drift check ==
2019-09-20T21:33:34.7260520Z ##[error]Bash exited with code '1'.
2019-09-20T21:33:34.7307093Z ##[section]Starting: Checkout
2019-09-20T21:33:34.7309070Z ==============================================================================
2019-09-20T21:33:34.7309151Z Task         : Get sources
2019-09-20T21:33:34.7309502Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

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)

@tlively
Copy link
Contributor Author

tlively commented Sep 20, 2019

We believe the link failure is due to a recent emscripten regression, so this will have to wait for a bit before the libstd, libcore, or liballoc tests can be run.

@alexcrichton
Copy link
Member

Is the only error here you're referencing the part about -rpath business? If so it's likely fine to just turn off the rpath passing whenever we're on the emscripten target. Waiting for a new release seems fine as well!

@tlively
Copy link
Contributor Author

tlively commented Sep 20, 2019

Interestingly rpath passing is already turned off for the emscripten target, and yet an rpath argument is still being passed. The regression with emscripten is that we used to ignore rpath arguments but now we erroneously pass them through. So we can either wait for that to be fixed or figure out why an rpath is being passed in the first place. I will dive in deeper once I finish some of the other stuff I'm doing.

tlively added a commit to tlively/rust that referenced this pull request Oct 8, 2019
Updates LLVM to pick up the cherry-picked support for correctly
handling exception handling with aggregates passed by value. This will
be necessary to continue to support Emscripten's exception handling
once we switch using Emscripten's LLVM backend. See rust-lang#63649.
Centril added a commit to Centril/rust that referenced this pull request Oct 9, 2019
…exceptions, r=nikic

Update LLVM for Emscripten exception handling support

Updates LLVM to pick up the cherry-picked support for correctly
handling exception handling with aggregates passed by value. This will
be necessary to continue to support Emscripten's exception handling
once we switch using Emscripten's LLVM backend. See rust-lang#63649.
tmandry added a commit to tmandry/rust that referenced this pull request Oct 11, 2019
…exceptions, r=nikic

Update LLVM for Emscripten exception handling support

Updates LLVM to pick up the cherry-picked support for correctly
handling exception handling with aggregates passed by value. This will
be necessary to continue to support Emscripten's exception handling
once we switch using Emscripten's LLVM backend. See rust-lang#63649.
tlively added a commit to tlively/rust that referenced this pull request Oct 17, 2019
 - Compatible with Emscripten 1.38.46-upstream or later upstream.
 - Refactors the Emscripten target spec to share code with other wasm
   targets.
 - Replaces the old incorrect wasm32 C call ABI with the correct one,
   preserving the old one as wasm32_bindgen_compat for wasm-bindgen
   compatibility.
 - Updates the varargs ABI used by Emscripten and deletes the old one.
 - Removes the obsolete wasm32-experimental-emscripten target.
 - Uses EMCC_CFLAGS on CI to avoid the timeout problems with rust-lang#63649.
bors added a commit that referenced this pull request Oct 17, 2019
Upgrade Emscripten targets to use upstream LLVM backend

 - Compatible with Emscripten 1.38.46-upstream or later upstream.
 - Refactors the Emscripten target spec to share code with other wasm
   targets.
 - Replaces the old incorrect wasm32 C call ABI with the correct one,
   preserving the old one as wasm32_bindgen_compat for wasm-bindgen
   compatibility.
 - Updates the varargs ABI used by Emscripten and deletes the old one.
 - Removes the obsolete wasm32-experimental-emscripten target.
 - Uses EMCC_CFLAGS on CI to avoid the timeout problems with #63649.

r? @alexcrichton
ehuss added a commit to ehuss/rust-forge that referenced this pull request May 15, 2020
bjorn3 added a commit to bjorn3/rust that referenced this pull request Jul 16, 2020
Manishearth added a commit to Manishearth/rust that referenced this pull request Jul 17, 2020
…r=spastorino

Remove leftover from emscripten fastcomp support

This is no longer used since rust-lang#63649
Manishearth added a commit to Manishearth/rust that referenced this pull request Jul 17, 2020
…r=spastorino

Remove leftover from emscripten fastcomp support

This is no longer used since rust-lang#63649
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. relnotes Marks issues that should be documented in the release notes of the next release. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet