[INFO] fetching crate rsjs 0.1.2... [INFO] testing rsjs-0.1.2 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate rsjs 0.1.2 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate rsjs 0.1.2 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rsjs 0.1.2 [INFO] finished tweaking crates.io crate rsjs 0.1.2 [INFO] tweaked toml for crates.io crate rsjs 0.1.2 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ea0a7c3151f3e734328f6f73146bec11a44d98b329ff90fbc5522542311fef3 [INFO] running `Command { std: "docker" "start" "-a" "7ea0a7c3151f3e734328f6f73146bec11a44d98b329ff90fbc5522542311fef3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ea0a7c3151f3e734328f6f73146bec11a44d98b329ff90fbc5522542311fef3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ea0a7c3151f3e734328f6f73146bec11a44d98b329ff90fbc5522542311fef3", kill_on_drop: false }` [INFO] [stdout] 7ea0a7c3151f3e734328f6f73146bec11a44d98b329ff90fbc5522542311fef3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a5352f38ab4376266978ecc132ee30ba293b75561b4cf546dda7dc80b7b0dda [INFO] running `Command { std: "docker" "start" "-a" "7a5352f38ab4376266978ecc132ee30ba293b75561b4cf546dda7dc80b7b0dda", kill_on_drop: false }` [INFO] [stderr] Compiling rsjs v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:324:70 [INFO] [stdout] | [INFO] [stdout] 324 | __js_macro!(emscripten_asm_const_double, $jscode, $($args),*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 418 | __js_from_numeric!(isize, usize, i32, u32, i16, u16, i8, u8, f32, f64); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` 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 a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:324:70 [INFO] [stdout] | [INFO] [stdout] 324 | __js_macro!(emscripten_asm_const_double, $jscode, $($args),*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 418 | __js_from_numeric!(isize, usize, i32, u32, i16, u16, i8, u8, f32, f64); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:324:70 [INFO] [stdout] | [INFO] [stdout] 324 | __js_macro!(emscripten_asm_const_double, $jscode, $($args),*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 418 | __js_from_numeric!(isize, usize, i32, u32, i16, u16, i8, u8, f32, f64); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:324:70 [INFO] [stdout] | [INFO] [stdout] 324 | __js_macro!(emscripten_asm_const_double, $jscode, $($args),*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 418 | __js_from_numeric!(isize, usize, i32, u32, i16, u16, i8, u8, f32, f64); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:324:70 [INFO] [stdout] | [INFO] [stdout] 324 | __js_macro!(emscripten_asm_const_double, $jscode, $($args),*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 418 | __js_from_numeric!(isize, usize, i32, u32, i16, u16, i8, u8, f32, f64); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:324:70 [INFO] [stdout] | [INFO] [stdout] 324 | __js_macro!(emscripten_asm_const_double, $jscode, $($args),*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 418 | __js_from_numeric!(isize, usize, i32, u32, i16, u16, i8, u8, f32, f64); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:324:70 [INFO] [stdout] | [INFO] [stdout] 324 | __js_macro!(emscripten_asm_const_double, $jscode, $($args),*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 418 | __js_from_numeric!(isize, usize, i32, u32, i16, u16, i8, u8, f32, f64); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:324:70 [INFO] [stdout] | [INFO] [stdout] 324 | __js_macro!(emscripten_asm_const_double, $jscode, $($args),*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 418 | __js_from_numeric!(isize, usize, i32, u32, i16, u16, i8, u8, f32, f64); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:324:70 [INFO] [stdout] | [INFO] [stdout] 324 | __js_macro!(emscripten_asm_const_double, $jscode, $($args),*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 418 | __js_from_numeric!(isize, usize, i32, u32, i16, u16, i8, u8, f32, f64); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:324:70 [INFO] [stdout] | [INFO] [stdout] 324 | __js_macro!(emscripten_asm_const_double, $jscode, $($args),*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 418 | __js_from_numeric!(isize, usize, i32, u32, i16, u16, i8, u8, f32, f64); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset_to` found for raw pointer `*const u16` in the current scope [INFO] [stdout] --> src/lib.rs:424:52 [INFO] [stdout] | [INFO] [stdout] 424 | let data_ptr_as_isize = ptr::null::().offset_to(data.as_ptr()).unwrap_or(0) * 2; [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rsjs` due to 2 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7a5352f38ab4376266978ecc132ee30ba293b75561b4cf546dda7dc80b7b0dda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a5352f38ab4376266978ecc132ee30ba293b75561b4cf546dda7dc80b7b0dda", kill_on_drop: false }` [INFO] [stdout] 7a5352f38ab4376266978ecc132ee30ba293b75561b4cf546dda7dc80b7b0dda