[INFO] fetching crate webplatform 0.4.2... [INFO] testing webplatform-0.4.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate webplatform 0.4.2 into /workspace/builds/worker-5-tc2/source [INFO] removed /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate webplatform 0.4.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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] * 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 `src/main.rs` was erroneously implicitly accepted for binary `webplatform-test`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22f687e4554bccc680b64300c83e1a59dd51f77dcf525a2cf6014f2a67d4d275 [INFO] running `Command { std: "docker" "start" "-a" "22f687e4554bccc680b64300c83e1a59dd51f77dcf525a2cf6014f2a67d4d275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22f687e4554bccc680b64300c83e1a59dd51f77dcf525a2cf6014f2a67d4d275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22f687e4554bccc680b64300c83e1a59dd51f77dcf525a2cf6014f2a67d4d275", kill_on_drop: false }` [INFO] [stdout] 22f687e4554bccc680b64300c83e1a59dd51f77dcf525a2cf6014f2a67d4d275 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0b0fa8d7353e76907bc29b79a391a2d1162a3c906e0299caa27e6feb7056bff [INFO] running `Command { std: "docker" "start" "-a" "c0b0fa8d7353e76907bc29b79a391a2d1162a3c906e0299caa27e6feb7056bff", 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] * 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 `src/main.rs` was erroneously implicitly accepted for binary `webplatform-test`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling webplatform v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `emscripten_asm_const` [INFO] [stdout] --> src/lib.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | pub use emscripten_asm_const; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:69:40 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn emscripten_set_main_loop(m: extern fn(), fps: libc::c_int, infinite: libc::c_int); [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | extern fn rust_caller(a: *const libc::c_void, docptr: *const libc::c_void, id: i32) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:506:1 [INFO] [stdout] | [INFO] [stdout] 506 | extern fn leavemebe() { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 344 | refs: Rc) + 'a>>>>, [INFO] [stdout] | +++ [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcpHuIsi/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libwebplatform-7cb9d9a1c9464ddf,liblibc-a58beeab2e1413cc}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcpHuIsi/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/webplatform_test-f5f671f67223ffbd" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: emscripten_asm_const_int [INFO] [stdout] >>> referenced by lib.rs:53 (src/lib.rs:53) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/webplatform_test-f5f671f67223ffbd.webplatform_test.c93ae69fc0beaecf-cgu.0.rcgu.o:(webplatform::HtmlNode::on::h3db2fd627fa586e4) [INFO] [stdout] >>> referenced by lib.rs:59 (src/lib.rs:59) [INFO] [stdout] >>> webplatform-7cb9d9a1c9464ddf.webplatform.6b3f3c7a3c8797f5-cgu.0.rcgu.o:(webplatform::init::h28ba589431b7c7fa) in archive /opt/rustwide/target/debug/deps/libwebplatform-7cb9d9a1c9464ddf.rlib [INFO] [stdout] >>> referenced by lib.rs:53 (src/lib.rs:53) [INFO] [stdout] >>> webplatform-7cb9d9a1c9464ddf.webplatform.6b3f3c7a3c8797f5-cgu.0.rcgu.o:(webplatform::Document::element_query::hfb2fe690e4a9966f) in archive /opt/rustwide/target/debug/deps/libwebplatform-7cb9d9a1c9464ddf.rlib [INFO] [stdout] >>> referenced 7 more times [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: emscripten_set_main_loop [INFO] [stdout] >>> referenced by lib.rs:514 (src/lib.rs:514) [INFO] [stdout] >>> webplatform-7cb9d9a1c9464ddf.webplatform.6b3f3c7a3c8797f5-cgu.0.rcgu.o:(webplatform::spin::hc3015bf16ac601a3) in archive /opt/rustwide/target/debug/deps/libwebplatform-7cb9d9a1c9464ddf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: emscripten_pause_main_loop [INFO] [stdout] >>> referenced by lib.rs:508 (src/lib.rs:508) [INFO] [stdout] >>> webplatform-7cb9d9a1c9464ddf.webplatform.6b3f3c7a3c8797f5-cgu.0.rcgu.o:(webplatform::leavemebe::ha11bf04e67ab0dbd) in archive /opt/rustwide/target/debug/deps/libwebplatform-7cb9d9a1c9464ddf.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `webplatform` (bin "webplatform-test") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c0b0fa8d7353e76907bc29b79a391a2d1162a3c906e0299caa27e6feb7056bff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0b0fa8d7353e76907bc29b79a391a2d1162a3c906e0299caa27e6feb7056bff", kill_on_drop: false }` [INFO] [stdout] c0b0fa8d7353e76907bc29b79a391a2d1162a3c906e0299caa27e6feb7056bff