[INFO] fetching crate rsjs 0.1.2... [INFO] checking rsjs-0.1.2 against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] extracting crate rsjs 0.1.2 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate rsjs 0.1.2 on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c846552ba5146224f09860966248426411e36ec14f36db49cd729cd6dd1be6f9 [INFO] running `Command { std: "docker" "start" "-a" "c846552ba5146224f09860966248426411e36ec14f36db49cd729cd6dd1be6f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c846552ba5146224f09860966248426411e36ec14f36db49cd729cd6dd1be6f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c846552ba5146224f09860966248426411e36ec14f36db49cd729cd6dd1be6f9", kill_on_drop: false }` [INFO] [stdout] c846552ba5146224f09860966248426411e36ec14f36db49cd729cd6dd1be6f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] caf1cad2bf553c6f562879bb4ac6d71fd7ff19bd425f0123be33421cdfbb42f9 [INFO] running `Command { std: "docker" "start" "-a" "caf1cad2bf553c6f562879bb4ac6d71fd7ff19bd425f0123be33421cdfbb42f9", kill_on_drop: false }` [INFO] [stderr] Compiling rsjs v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error: Trailing semicolon in macro [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: this error originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [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: this error originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [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: this error originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [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: this error originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [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: this error originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [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: this error originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [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: this error originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [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: this error originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [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: this error originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [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: this error originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [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: this error originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [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: this error originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [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: this error originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [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: this error originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [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: this error originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [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: this error originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [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: this error originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [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: this error originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [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: this error originates in the macro `js_double` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [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: this error 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 11 previous errors [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` [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[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 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "caf1cad2bf553c6f562879bb4ac6d71fd7ff19bd425f0123be33421cdfbb42f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caf1cad2bf553c6f562879bb4ac6d71fd7ff19bd425f0123be33421cdfbb42f9", kill_on_drop: false }` [INFO] [stdout] caf1cad2bf553c6f562879bb4ac6d71fd7ff19bd425f0123be33421cdfbb42f9