[INFO] updating cached repository https://github.com/DenisKolodin/wasm-compilation-fail [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d773ed532a9036722e4d613dc0e0392b40f1d8a1 [INFO] testing DenisKolodin/wasm-compilation-fail against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDenisKolodin%2Fwasm-compilation-fail" "/workspace/builds/worker-13/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DenisKolodin/wasm-compilation-fail on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/DenisKolodin/wasm-compilation-fail [INFO] finished tweaking git repo https://github.com/DenisKolodin/wasm-compilation-fail [INFO] tweaked toml for git repo https://github.com/DenisKolodin/wasm-compilation-fail written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/DenisKolodin/wasm-compilation-fail already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8395a76d3591b0193f970cc72fa68b4eae9b339344ed5fdd259500452da6a8a9 [INFO] running `"docker" "start" "-a" "8395a76d3591b0193f970cc72fa68b4eae9b339344ed5fdd259500452da6a8a9"` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling serde v1.0.27 [INFO] [stderr] Compiling cc v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.1 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling stdweb v0.4.0 [INFO] [stderr] Compiling rustc-demangle v0.1.7 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling futures v0.1.18 [INFO] [stderr] Compiling stdweb v0.4.0 (https://github.com/koute/stdweb#7785f817) [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling syn v0.12.13 [INFO] [stderr] Compiling bytes v0.4.6 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling http v0.1.5 [INFO] [stderr] Compiling serde_derive_internals v0.19.0 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.27 [INFO] [stderr] Compiling serde_json v1.0.10 [INFO] [stderr] Compiling stdweb-derive v0.4.0 [INFO] [stderr] Compiling stdweb-derive v0.4.0 (https://github.com/koute/stdweb#7785f817) [INFO] [stderr] Compiling backtrace v0.3.5 [INFO] [stderr] Compiling failure v0.1.1 [INFO] [stderr] Compiling yew v0.3.0 (https://github.com/DenisKolodin/yew#c6cce687) [INFO] [stderr] Compiling wrong-wasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `stdweb::Value` [INFO] [stderr] --> src/main.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use stdweb::Value; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/wsproto.rs:137:52 [INFO] [stderr] | [INFO] [stderr] 137 | ... .or_else(|e| Err(e.description().into())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/wsproto.rs:143:35 [INFO] [stderr] | [INFO] [stderr] 143 | ... Err(e.description().into()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/main.rs:35:36 [INFO] [stderr] | [INFO] [stderr] 35 | fn create(_: Self::Properties, context: &mut Env) -> Self { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/main.rs:39:42 [INFO] [stderr] | [INFO] [stderr] 39 | fn update(&mut self, msg: Self::Msg, context: &mut Env) -> ShouldRender { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `ProtoResult` [INFO] [stderr] --> src/wsproto.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | pub type ProtoResult = Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `ProtoCallback` [INFO] [stderr] --> src/wsproto.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | pub type ProtoCallback = Callback>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `ProtoStatus` [INFO] [stderr] --> src/wsproto.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | pub enum ProtoStatus { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `ProtoService` [INFO] [stderr] --> src/wsproto.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct ProtoService { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/wsproto.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn new() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `connect` [INFO] [stderr] --> src/wsproto.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn connect(&mut self, url: &str, notification: Callback) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `request` [INFO] [stderr] --> src/wsproto.rs:113:5 [INFO] [stderr] | [INFO] [stderr] 113 | / pub fn request(&mut self, service: &str, action: &str, input: &IN, handler: ProtoCallback) -> ProtoTask [INFO] [stderr] 114 | | where [INFO] [stderr] 115 | | IN: Serialize, [INFO] [stderr] 116 | | OUT: for <'de> Deserialize<'de>, [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/wrong_wasm-2f99caed7198ce9d.wrong_wasm.casjrj3f-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/wrong_wasm-2f99caed7198ce9d.wrong_wasm.casjrj3f-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/wrong_wasm-2f99caed7198ce9d.wrong_wasm.casjrj3f-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/wrong_wasm-2f99caed7198ce9d.wrong_wasm.casjrj3f-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/wrong_wasm-2f99caed7198ce9d.wrong_wasm.casjrj3f-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/wrong_wasm-2f99caed7198ce9d.wrong_wasm.casjrj3f-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/wrong_wasm-2f99caed7198ce9d.wrong_wasm.casjrj3f-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/wrong_wasm-2f99caed7198ce9d.wrong_wasm.casjrj3f-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/wrong_wasm-2f99caed7198ce9d.wrong_wasm.casjrj3f-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/wrong_wasm-2f99caed7198ce9d.wrong_wasm.casjrj3f-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/wrong_wasm-2f99caed7198ce9d.wrong_wasm.casjrj3f-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/wrong_wasm-2f99caed7198ce9d.wrong_wasm.casjrj3f-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/wrong_wasm-2f99caed7198ce9d.wrong_wasm.casjrj3f-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/wrong_wasm-2f99caed7198ce9d.wrong_wasm.casjrj3f-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/wrong_wasm-2f99caed7198ce9d.wrong_wasm.casjrj3f-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/wrong_wasm-2f99caed7198ce9d.wrong_wasm.casjrj3f-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/wrong_wasm-2f99caed7198ce9d" "/opt/rustwide/target/debug/deps/wrong_wasm-2f99caed7198ce9d.1kgv7ylgss9pzp2k.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/backtrace-sys-7f83a292abaee9b6/out/.libs" "-L" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libyew-3f6b25fa4977c57b.rlib" "/opt/rustwide/target/debug/deps/libstdweb-cdea72c73ec7940f.rlib" "/opt/rustwide/target/debug/deps/libhttp-b21a8bc4ca4f647f.rlib" "/opt/rustwide/target/debug/deps/libfnv-5eb3a865ee06cdd3.rlib" "/opt/rustwide/target/debug/deps/libbytes-af84f77df9562e03.rlib" "/opt/rustwide/target/debug/deps/libiovec-d84d2ac90d84c9a1.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-efcd5283ec89720e.rlib" "/opt/rustwide/target/debug/deps/libfailure-f4686af4fd4789e1.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-545cf0c78a500b4e.rlib" "/opt/rustwide/target/debug/deps/libbacktrace_sys-d8cf4cb5e18d804d.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-4d02dcb74e48a859.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-86922dddbd81b29b.rlib" "/opt/rustwide/target/debug/deps/liblibc-97e5f92bbab23ff6.rlib" "/opt/rustwide/target/debug/deps/libstdweb-1ea2f1c99ad1b331.rlib" "/opt/rustwide/target/debug/deps/libfutures-b7a58e52c79162cd.rlib" "/opt/rustwide/target/debug/deps/libserde_json-99708cac611ad782.rlib" "/opt/rustwide/target/debug/deps/libdtoa-ba72c7138b152e79.rlib" "/opt/rustwide/target/debug/deps/libitoa-cb56783f765e6b0b.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-11a15711f479e405.rlib" "/opt/rustwide/target/debug/deps/libserde-78ec9758a4f65c6a.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1dac1a412c98f50d.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-b7841fd014bf83a1.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-338c0763450dca22.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5f2e5d11836e0967.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-81a9070bd3553adf.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-e297830377b95af4.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-b38b87f2dd197fa0.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-601015f2e15e7e26.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-439f3a589bd88586.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-57ab7e6ac23ce11f.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-3aec7f88778e912a.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-b6806800b307d4b9.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-e49d7651b12f7563.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-e8266574e26adcc3.rlib" "-Wl,-Bdynamic" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stderr] = note: /opt/rustwide/target/debug/deps/wrong_wasm-2f99caed7198ce9d.wrong_wasm.casjrj3f-cgu.10.rcgu.o: In function `::instance_of': [INFO] [stderr] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.0/src/webcore/macros.rs:34: undefined reference to `emscripten_asm_const_int' [INFO] [stderr] /opt/rustwide/target/debug/deps/wrong_wasm-2f99caed7198ce9d.wrong_wasm.casjrj3f-cgu.10.rcgu.o: In function `stdweb::webapi::parent_node::IParentNode::query_selector': [INFO] [stderr] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.0/src/webcore/macros.rs:34: undefined reference to `emscripten_asm_const_int' [INFO] [stderr] /opt/rustwide/target/debug/deps/wrong_wasm-2f99caed7198ce9d.wrong_wasm.casjrj3f-cgu.10.rcgu.o: In function `stdweb::webapi::event::IEvent::stop_propagation': [INFO] [stderr] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.0/src/webcore/macros.rs:34: undefined reference to `emscripten_asm_const_int' [INFO] [stderr] /opt/rustwide/target/debug/deps/wrong_wasm-2f99caed7198ce9d.wrong_wasm.casjrj3f-cgu.10.rcgu.o: In function `stdweb::webapi::events::mouse::IMouseEvent::client_x': [INFO] [stderr] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.0/src/webcore/macros.rs:34: undefined reference to `emscripten_asm_const_int' [INFO] [stderr] /opt/rustwide/target/debug/deps/wrong_wasm-2f99caed7198ce9d.wrong_wasm.casjrj3f-cgu.10.rcgu.o: In function `stdweb::webapi::events::mouse::IMouseEvent::client_y': [INFO] [stderr] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.0/src/webcore/macros.rs:34: undefined reference to `emscripten_asm_const_int' [INFO] [stderr] /opt/rustwide/target/debug/deps/wrong_wasm-2f99caed7198ce9d.wrong_wasm.casjrj3f-cgu.10.rcgu.o:/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.0/src/webcore/macros.rs:34: more undefined references to `emscripten_asm_const_int' follow [INFO] [stderr] /opt/rustwide/target/debug/deps/libstdweb-cdea72c73ec7940f.rlib(stdweb-cdea72c73ec7940f.stdweb.dbmpq9z6-cgu.9.rcgu.o): In function `stdweb::webcore::ffi::emscripten::event_loop': [INFO] [stderr] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.0/src/webcore/ffi/emscripten.rs:9: undefined reference to `emscripten_pause_main_loop' [INFO] [stderr] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.0/src/webcore/ffi/emscripten.rs:11: undefined reference to `emscripten_set_main_loop' [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 12 warnings emitted [INFO] [stderr] [INFO] [stderr] error: could not compile `wrong-wasm`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8395a76d3591b0193f970cc72fa68b4eae9b339344ed5fdd259500452da6a8a9"` [INFO] running `"docker" "rm" "-f" "8395a76d3591b0193f970cc72fa68b4eae9b339344ed5fdd259500452da6a8a9"` [INFO] [stdout] 8395a76d3591b0193f970cc72fa68b4eae9b339344ed5fdd259500452da6a8a9