[INFO] fetching crate webplatform 0.4.2... [INFO] testing webplatform-0.4.2 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate webplatform 0.4.2 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate webplatform 0.4.2 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7/source/.cargo/config [INFO] started tweaking crates.io crate webplatform 0.4.2 [INFO] finished tweaking crates.io crate webplatform 0.4.2 [INFO] tweaked toml for crates.io crate webplatform 0.4.2 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-7/source/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/workspace/builds/worker-7/source/src/main.rs` was erroneously implicitly accepted for binary `webplatform-test`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e54e4266aefbab8ec477d3d03e64e25fab0e2e6ae40e23f18c483efdc7f82262 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e54e4266aefbab8ec477d3d03e64e25fab0e2e6ae40e23f18c483efdc7f82262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e54e4266aefbab8ec477d3d03e64e25fab0e2e6ae40e23f18c483efdc7f82262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e54e4266aefbab8ec477d3d03e64e25fab0e2e6ae40e23f18c483efdc7f82262", kill_on_drop: false }` [INFO] [stdout] e54e4266aefbab8ec477d3d03e64e25fab0e2e6ae40e23f18c483efdc7f82262 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 654e81fa09b64d09f4201071700355d8e7e11f4791c1cc58b4eb5c0d344bf544 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "654e81fa09b64d09f4201071700355d8e7e11f4791c1cc58b4eb5c0d344bf544", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/main.rs` was erroneously implicitly accepted for binary `webplatform-test`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling webplatform v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:344:30 [INFO] [stdout] | [INFO] [stdout] 344 | refs: Rc) + 'a>>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Event<'a>) + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate webplatform; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-Wl,--as-needed" "-L" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/webplatform_test-81178a0cc771b2fe.webplatform_test.dv3l9yqo-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/webplatform_test-81178a0cc771b2fe.webplatform_test.dv3l9yqo-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/webplatform_test-81178a0cc771b2fe.webplatform_test.dv3l9yqo-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/webplatform_test-81178a0cc771b2fe.webplatform_test.dv3l9yqo-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/webplatform_test-81178a0cc771b2fe.webplatform_test.dv3l9yqo-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/webplatform_test-81178a0cc771b2fe.webplatform_test.dv3l9yqo-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/webplatform_test-81178a0cc771b2fe.webplatform_test.dv3l9yqo-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/webplatform_test-81178a0cc771b2fe.webplatform_test.dv3l9yqo-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/webplatform_test-81178a0cc771b2fe.webplatform_test.dv3l9yqo-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/webplatform_test-81178a0cc771b2fe.webplatform_test.dv3l9yqo-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/webplatform_test-81178a0cc771b2fe.webplatform_test.dv3l9yqo-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/webplatform_test-81178a0cc771b2fe.webplatform_test.dv3l9yqo-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/webplatform_test-81178a0cc771b2fe.webplatform_test.dv3l9yqo-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/webplatform_test-81178a0cc771b2fe.webplatform_test.dv3l9yqo-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/webplatform_test-81178a0cc771b2fe.webplatform_test.dv3l9yqo-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/webplatform_test-81178a0cc771b2fe.webplatform_test.dv3l9yqo-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/webplatform_test-81178a0cc771b2fe" "/opt/rustwide/target/debug/deps/webplatform_test-81178a0cc771b2fe.2x9uz23eq962tz0d.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libwebplatform-e73eee0e9dac4ba8.rlib" "/opt/rustwide/target/debug/deps/liblibc-2eeb146fbbc48d30.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-21256c14e4504640.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-986e7fea4474d4d2.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-91d85f45babdb06e.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-756509c31813f9a6.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-5c2ef587e740c0cc.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-ad8f9371d31db1b3.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-402820fb3b4d3dd8.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-5e8e903f07dc8747.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-7ab9ae5080c07187.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-c8e8d47c6bf14de2.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5a02dbb58abd015a.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-cedc8fec61444895.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a1c96351c52bc56a.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-e41c6d24baeb2249.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-62493b241881590c.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a1fd7734706d5518.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-c8ded1707ad10767.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1eec8756baa5bc24.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/webplatform_test-81178a0cc771b2fe.webplatform_test.dv3l9yqo-cgu.6.rcgu.o: in function `_RINvMs7_CsdQRg17OOABL_11webplatformNtB6_8HtmlNode2onNCNvCs50axcetpSCu_16webplatform_test4main0EBS_': [INFO] [stdout] /opt/rustwide/workdir/src/lib.rs:301: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libwebplatform-e73eee0e9dac4ba8.rlib(webplatform-e73eee0e9dac4ba8.webplatform.3mc9t0b4-cgu.9.rcgu.o): in function `_RNvMs7_CsdQRg17OOABL_11webplatformNtB5_8HtmlNode12prop_set_str': [INFO] [stdout] /opt/rustwide/workdir/src/lib.rs:259: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libwebplatform-e73eee0e9dac4ba8.rlib(webplatform-e73eee0e9dac4ba8.webplatform.3mc9t0b4-cgu.9.rcgu.o): in function `_RNvMs7_CsdQRg17OOABL_11webplatformNtB5_8HtmlNode12prop_get_i32': [INFO] [stdout] /opt/rustwide/workdir/src/lib.rs:265: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libwebplatform-e73eee0e9dac4ba8.rlib(webplatform-e73eee0e9dac4ba8.webplatform.3mc9t0b4-cgu.9.rcgu.o): in function `_RNvMs7_CsdQRg17OOABL_11webplatformNtB5_8HtmlNode12prop_get_str': [INFO] [stdout] /opt/rustwide/workdir/src/lib.rs:271: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libwebplatform-e73eee0e9dac4ba8.rlib(webplatform-e73eee0e9dac4ba8.webplatform.3mc9t0b4-cgu.9.rcgu.o): in function `_RNvMs7_CsdQRg17OOABL_11webplatformNtB5_8HtmlNode6append': [INFO] [stdout] /opt/rustwide/workdir/src/lib.rs:280: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libwebplatform-e73eee0e9dac4ba8.rlib(webplatform-e73eee0e9dac4ba8.webplatform.3mc9t0b4-cgu.9.rcgu.o):/opt/rustwide/workdir/src/lib.rs:286: more undefined references to `emscripten_asm_const_int' follow [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libwebplatform-e73eee0e9dac4ba8.rlib(webplatform-e73eee0e9dac4ba8.webplatform.3mc9t0b4-cgu.9.rcgu.o): in function `_RNvCsdQRg17OOABL_11webplatform9leavemebe': [INFO] [stdout] /opt/rustwide/workdir/src/lib.rs:508: undefined reference to `emscripten_pause_main_loop' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libwebplatform-e73eee0e9dac4ba8.rlib(webplatform-e73eee0e9dac4ba8.webplatform.3mc9t0b4-cgu.9.rcgu.o): in function `_RNvCsdQRg17OOABL_11webplatform4spin': [INFO] [stdout] /opt/rustwide/workdir/src/lib.rs:514: undefined reference to `emscripten_set_main_loop' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `webplatform` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "654e81fa09b64d09f4201071700355d8e7e11f4791c1cc58b4eb5c0d344bf544", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "654e81fa09b64d09f4201071700355d8e7e11f4791c1cc58b4eb5c0d344bf544", kill_on_drop: false }` [INFO] [stdout] 654e81fa09b64d09f4201071700355d8e7e11f4791c1cc58b4eb5c0d344bf544