[INFO] cloning repository https://github.com/playXE/jsrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/playXE/jsrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FplayXE%2Fjsrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FplayXE%2Fjsrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec80532bcc54151b59cce1cdb8ee12a65b200812 [INFO] checking playXE/jsrs against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FplayXE%2Fjsrs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/playXE/jsrs [INFO] finished tweaking git repo https://github.com/playXE/jsrs [INFO] tweaked toml for git repo https://github.com/playXE/jsrs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/playXE/jsrs on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/playXE/jsrs 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07d6922c8353eb324bdb95bee417f0efa45c4a3dd32287a2b5ff4f9710e16b0b [INFO] running `Command { std: "docker" "start" "-a" "07d6922c8353eb324bdb95bee417f0efa45c4a3dd32287a2b5ff4f9710e16b0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07d6922c8353eb324bdb95bee417f0efa45c4a3dd32287a2b5ff4f9710e16b0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07d6922c8353eb324bdb95bee417f0efa45c4a3dd32287a2b5ff4f9710e16b0b", kill_on_drop: false }` [INFO] [stdout] 07d6922c8353eb324bdb95bee417f0efa45c4a3dd32287a2b5ff4f9710e16b0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05f733fe3b9d4cd7015904a78c18067264bbe51ed2ff2146fe0bd08929647589 [INFO] running `Command { std: "docker" "start" "-a" "05f733fe3b9d4cd7015904a78c18067264bbe51ed2ff2146fe0bd08929647589", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling standback v0.2.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking ahash v0.3.3 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling time v0.2.12 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking hashlink v0.5.0 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking simple_logger v1.6.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking cgc-single-threaded v0.1.1 [INFO] [stderr] Checking jsrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::cell::*` [INFO] [stdout] --> src/runtime/jsobject.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::cell::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/runtime/jsobject.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::cell::Cell` [INFO] [stdout] --> src/runtime/jsproperty.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cgc::api::Handle` [INFO] [stdout] --> src/runtime/jsproperty.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cgc::api::Handle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jsobject::*` [INFO] [stdout] --> src/runtime/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use jsobject::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jsproperty::*` [INFO] [stdout] --> src/runtime/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use jsproperty::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | unsafe { &(*(0 as *const $ty)).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/jsvalue.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | offset_of!(AsBits, tag) [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(deref_nullptr)]` on by default [INFO] [stdout] = note: this error originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | unsafe { &(*(0 as *const $ty)).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/jsvalue.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | offset_of!(AsBits, payload) [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/runtime/jsvalue.rs:492:9 [INFO] [stdout] | [INFO] [stdout] 491 | const _XX: () = { [INFO] [stdout] | ------------- move the `impl` block outside of this associated constant `_XX` [INFO] [stdout] 492 | impl PartialEq for JSValue { [INFO] [stdout] | ^^^^^---------^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | `JSValue` is not local [INFO] [stdout] | `PartialEq` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/runtime/jsvalue.rs:498:9 [INFO] [stdout] | [INFO] [stdout] 491 | const _XX: () = { [INFO] [stdout] | ------------- move the `impl` block outside of this associated constant `_XX` [INFO] [stdout] ... [INFO] [stdout] 498 | impl Eq for JSValue {} [INFO] [stdout] | ^^^^^--^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | `JSValue` is not local [INFO] [stdout] | `Eq` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::cell::*` [INFO] [stdout] --> src/runtime/jsobject.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::cell::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/runtime/jsobject.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::cell::Cell` [INFO] [stdout] --> src/runtime/jsproperty.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cgc::api::Handle` [INFO] [stdout] --> src/runtime/jsproperty.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cgc::api::Handle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jsobject::*` [INFO] [stdout] --> src/runtime/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use jsobject::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jsproperty::*` [INFO] [stdout] --> src/runtime/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use jsproperty::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jsrs` (lib test) due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | unsafe { &(*(0 as *const $ty)).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/jsvalue.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | offset_of!(AsBits, tag) [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(deref_nullptr)]` on by default [INFO] [stdout] = note: this error originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | unsafe { &(*(0 as *const $ty)).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/jsvalue.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | offset_of!(AsBits, payload) [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/runtime/jsvalue.rs:492:9 [INFO] [stdout] | [INFO] [stdout] 491 | const _XX: () = { [INFO] [stdout] | ------------- move the `impl` block outside of this associated constant `_XX` [INFO] [stdout] 492 | impl PartialEq for JSValue { [INFO] [stdout] | ^^^^^---------^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | `JSValue` is not local [INFO] [stdout] | `PartialEq` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/runtime/jsvalue.rs:498:9 [INFO] [stdout] | [INFO] [stdout] 491 | const _XX: () = { [INFO] [stdout] | ------------- move the `impl` block outside of this associated constant `_XX` [INFO] [stdout] ... [INFO] [stdout] 498 | impl Eq for JSValue {} [INFO] [stdout] | ^^^^^--^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | `JSValue` is not local [INFO] [stdout] | `Eq` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jsrs` (lib) due to 2 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "05f733fe3b9d4cd7015904a78c18067264bbe51ed2ff2146fe0bd08929647589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05f733fe3b9d4cd7015904a78c18067264bbe51ed2ff2146fe0bd08929647589", kill_on_drop: false }` [INFO] [stdout] 05f733fe3b9d4cd7015904a78c18067264bbe51ed2ff2146fe0bd08929647589