[INFO] cloning repository https://github.com/xmas7/rust-webplatform [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xmas7/rust-webplatform" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxmas7%2Frust-webplatform", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxmas7%2Frust-webplatform'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d7afc4318f4e5e07d36e69cce007a0f9f3f1905a [INFO] checking xmas7/rust-webplatform against try#5fee451ebd94296ea05214e819c311e164b30af6 for pr-139042 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxmas7%2Frust-webplatform" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xmas7/rust-webplatform on toolchain 5fee451ebd94296ea05214e819c311e164b30af6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xmas7/rust-webplatform [INFO] finished tweaking git repo https://github.com/xmas7/rust-webplatform [INFO] tweaked toml for git repo https://github.com/xmas7/rust-webplatform written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/xmas7/rust-webplatform already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 485ad8d8abc647f53be93c08c8653934f6d87bca5798eab8c6be4cc94db61752 [INFO] running `Command { std: "docker" "start" "-a" "485ad8d8abc647f53be93c08c8653934f6d87bca5798eab8c6be4cc94db61752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "485ad8d8abc647f53be93c08c8653934f6d87bca5798eab8c6be4cc94db61752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "485ad8d8abc647f53be93c08c8653934f6d87bca5798eab8c6be4cc94db61752", kill_on_drop: false }` [INFO] [stdout] 485ad8d8abc647f53be93c08c8653934f6d87bca5798eab8c6be4cc94db61752 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c22842668d47e69e146558aecd2c9cf062988141b3b4f2f3a40edf6ecafe47d7 [INFO] running `Command { std: "docker" "start" "-a" "c22842668d47e69e146558aecd2c9cf062988141b3b4f2f3a40edf6ecafe47d7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.16 [INFO] [stderr] Checking webplatform v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `emscripten_asm_const` [INFO] [stdout] --> src/lib.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | pub use emscripten_asm_const; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | 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:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | 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:504:1 [INFO] [stdout] | [INFO] [stdout] 504 | 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:342:30 [INFO] [stdout] | [INFO] [stdout] 342 | 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)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 342 | refs: Rc) + 'a>>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `emscripten_asm_const` [INFO] [stdout] --> src/lib.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | pub use emscripten_asm_const; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | 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:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | 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:504:1 [INFO] [stdout] | [INFO] [stdout] 504 | 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:342:30 [INFO] [stdout] | [INFO] [stdout] 342 | 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)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 342 | refs: Rc) + 'a>>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | ... unsafe { ::webplatform::emscripten_asm_const_int(&LOCAL[0] as *const _ as *const libc::c_char, $(Interop::as_int($x, &mut arena... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 296 | ... unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 299 | / ... js! { (self.id, s, a as *const libc::c_void, [INFO] [stdout] 300 | | ... rust_caller:: as *const libc::c_void, [INFO] [stdout] 301 | | ... self.doc as *const libc::c_void) [INFO] [stdout] 302 | | ... b"\ [INFO] [stdout] ... | [INFO] [stdout] 305 | | ... }, false);\ [INFO] [stdout] 306 | | ... \0" }; [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in the macro `js` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | ... unsafe { ::webplatform::emscripten_asm_const_int(&LOCAL[0] as *const _ as *const libc::c_char, $(Interop::as_int($x, &mut arena... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 312 | ... unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 315 | / ... js! { (self.id, s, a as *const libc::c_void, [INFO] [stdout] 316 | | ... rust_caller:: as *const libc::c_void, [INFO] [stdout] 317 | | ... self.doc as *const libc::c_void) [INFO] [stdout] 318 | | ... b"\ [INFO] [stdout] ... | [INFO] [stdout] 321 | | ... }, true);\ [INFO] [stdout] 322 | | ... \0" }; [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `js` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 375 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | ... unsafe { ::webplatform::emscripten_asm_const_int(&LOCAL[0] as *const _ as *const libc::c_char, $(Interop::as_int($x, &mut arena... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 296 | ... unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 299 | / ... js! { (self.id, s, a as *const libc::c_void, [INFO] [stdout] 300 | | ... rust_caller:: as *const libc::c_void, [INFO] [stdout] 301 | | ... self.doc as *const libc::c_void) [INFO] [stdout] 302 | | ... b"\ [INFO] [stdout] ... | [INFO] [stdout] 305 | | ... }, false);\ [INFO] [stdout] 306 | | ... \0" }; [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in the macro `js` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | ... unsafe { ::webplatform::emscripten_asm_const_int(&LOCAL[0] as *const _ as *const libc::c_char, $(Interop::as_int($x, &mut arena... [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 312 | ... unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 315 | / ... js! { (self.id, s, a as *const libc::c_void, [INFO] [stdout] 316 | | ... rust_caller:: as *const libc::c_void, [INFO] [stdout] 317 | | ... self.doc as *const libc::c_void) [INFO] [stdout] 318 | | ... b"\ [INFO] [stdout] ... | [INFO] [stdout] 321 | | ... }, true);\ [INFO] [stdout] 322 | | ... \0" }; [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `js` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 375 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [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] warning: unused import: `std::borrow::ToOwned` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::borrow::ToOwned; [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::ToOwned` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut button = document.element_query("button").unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut button = document.element_query("button").unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "c22842668d47e69e146558aecd2c9cf062988141b3b4f2f3a40edf6ecafe47d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c22842668d47e69e146558aecd2c9cf062988141b3b4f2f3a40edf6ecafe47d7", kill_on_drop: false }` [INFO] [stdout] c22842668d47e69e146558aecd2c9cf062988141b3b4f2f3a40edf6ecafe47d7