[INFO] fetching crate rsjs 0.1.2... [INFO] testing rsjs-0.1.2 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate rsjs 0.1.2 into /workspace/builds/worker-95/source [INFO] validating manifest of crates.io crate rsjs 0.1.2 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-95/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7deecd81b56113d24fd0236d83361947f064c1acd52a4cfa97ce286a66f78805 [INFO] running `Command { std: "docker" "start" "-a" "7deecd81b56113d24fd0236d83361947f064c1acd52a4cfa97ce286a66f78805", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7deecd81b56113d24fd0236d83361947f064c1acd52a4cfa97ce286a66f78805", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7deecd81b56113d24fd0236d83361947f064c1acd52a4cfa97ce286a66f78805", kill_on_drop: false }` [INFO] [stdout] 7deecd81b56113d24fd0236d83361947f064c1acd52a4cfa97ce286a66f78805 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1f537afe2f8c58c7c04f61c82a397a44b863a5c04f6565fb36ec871af6d8e59 [INFO] running `Command { std: "docker" "start" "-a" "e1f537afe2f8c58c7c04f61c82a397a44b863a5c04f6565fb36ec871af6d8e59", 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" "e1f537afe2f8c58c7c04f61c82a397a44b863a5c04f6565fb36ec871af6d8e59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1f537afe2f8c58c7c04f61c82a397a44b863a5c04f6565fb36ec871af6d8e59", kill_on_drop: false }` [INFO] [stdout] e1f537afe2f8c58c7c04f61c82a397a44b863a5c04f6565fb36ec871af6d8e59