[INFO] fetching crate js-sys 0.3.50... [INFO] checking js-sys-0.3.50 against try#7b3565da729099dbe807466fcd118fb2815986e0 for pr-81789 [INFO] extracting crate js-sys 0.3.50 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate js-sys 0.3.50 on toolchain 7b3565da729099dbe807466fcd118fb2815986e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate js-sys 0.3.50 [INFO] finished tweaking crates.io crate js-sys 0.3.50 [INFO] tweaked toml for crates.io crate js-sys 0.3.50 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6c800a64981ff0af9d8ab2a937f11cfecd22c4e10b95779686c96462ae9aa31 [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" "b6c800a64981ff0af9d8ab2a937f11cfecd22c4e10b95779686c96462ae9aa31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6c800a64981ff0af9d8ab2a937f11cfecd22c4e10b95779686c96462ae9aa31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6c800a64981ff0af9d8ab2a937f11cfecd22c4e10b95779686c96462ae9aa31", kill_on_drop: false }` [INFO] [stdout] b6c800a64981ff0af9d8ab2a937f11cfecd22c4e10b95779686c96462ae9aa31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+7b3565da729099dbe807466fcd118fb2815986e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cc9c2e0973394c4bf2432d1d93d1b9cfe28f497e061e2a9583f4240d9010587 [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" "8cc9c2e0973394c4bf2432d1d93d1b9cfe28f497e061e2a9583f4240d9010587", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.73 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.73 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.73 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.73 [INFO] [stderr] Checking wasm-bindgen v0.2.73 [INFO] [stderr] Checking js-sys v0.3.50 (/opt/rustwide/workdir) [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/lib.rs:4936:21 [INFO] [stdout] | [INFO] [stdout] 4936 | rust.as_ptr() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `rust.as_ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 5024 | / arrays! { [INFO] [stdout] 5025 | | /// `Int8Array()` [INFO] [stdout] 5026 | | /// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array [INFO] [stdout] 5027 | | Int8Array: i8, [INFO] [stdout] ... | [INFO] [stdout] 5059 | | Float64Array: f64, [INFO] [stdout] 5060 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(invalid_ptr_to_int_cast)]` on by default [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/lib.rs:4936:21 [INFO] [stdout] | [INFO] [stdout] 4936 | rust.as_ptr() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `rust.as_ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 5024 | / arrays! { [INFO] [stdout] 5025 | | /// `Int8Array()` [INFO] [stdout] 5026 | | /// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array [INFO] [stdout] 5027 | | Int8Array: i8, [INFO] [stdout] ... | [INFO] [stdout] 5059 | | Float64Array: f64, [INFO] [stdout] 5060 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/lib.rs:4961:21 [INFO] [stdout] | [INFO] [stdout] 4961 | ptr as u32, [INFO] [stdout] | ^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `ptr as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 5024 | / arrays! { [INFO] [stdout] 5025 | | /// `Int8Array()` [INFO] [stdout] 5026 | | /// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array [INFO] [stdout] 5027 | | Int8Array: i8, [INFO] [stdout] ... | [INFO] [stdout] 5059 | | Float64Array: f64, [INFO] [stdout] 5060 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `js-sys` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/lib.rs:4936:21 [INFO] [stdout] | [INFO] [stdout] 4936 | rust.as_ptr() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `rust.as_ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 5024 | / arrays! { [INFO] [stdout] 5025 | | /// `Int8Array()` [INFO] [stdout] 5026 | | /// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array [INFO] [stdout] 5027 | | Int8Array: i8, [INFO] [stdout] ... | [INFO] [stdout] 5059 | | Float64Array: f64, [INFO] [stdout] 5060 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(invalid_ptr_to_int_cast)]` on by default [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/lib.rs:4936:21 [INFO] [stdout] | [INFO] [stdout] 4936 | rust.as_ptr() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `rust.as_ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 5024 | / arrays! { [INFO] [stdout] 5025 | | /// `Int8Array()` [INFO] [stdout] 5026 | | /// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array [INFO] [stdout] 5027 | | Int8Array: i8, [INFO] [stdout] ... | [INFO] [stdout] 5059 | | Float64Array: f64, [INFO] [stdout] 5060 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/lib.rs:4961:21 [INFO] [stdout] | [INFO] [stdout] 4961 | ptr as u32, [INFO] [stdout] | ^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `ptr as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 5024 | / arrays! { [INFO] [stdout] 5025 | | /// `Int8Array()` [INFO] [stdout] 5026 | | /// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array [INFO] [stdout] 5027 | | Int8Array: i8, [INFO] [stdout] ... | [INFO] [stdout] 5059 | | Float64Array: f64, [INFO] [stdout] 5060 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8cc9c2e0973394c4bf2432d1d93d1b9cfe28f497e061e2a9583f4240d9010587", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cc9c2e0973394c4bf2432d1d93d1b9cfe28f497e061e2a9583f4240d9010587", kill_on_drop: false }` [INFO] [stdout] 8cc9c2e0973394c4bf2432d1d93d1b9cfe28f497e061e2a9583f4240d9010587