[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] testing playXE/jsrs against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FplayXE%2Fjsrs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/playXE/jsrs on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7f05fa2a1fd9ca657b7c96dc50ee505c8c2f4bd92855f7c7da46c047fe96669 [INFO] running `Command { std: "docker" "start" "-a" "d7f05fa2a1fd9ca657b7c96dc50ee505c8c2f4bd92855f7c7da46c047fe96669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7f05fa2a1fd9ca657b7c96dc50ee505c8c2f4bd92855f7c7da46c047fe96669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7f05fa2a1fd9ca657b7c96dc50ee505c8c2f4bd92855f7c7da46c047fe96669", kill_on_drop: false }` [INFO] [stdout] d7f05fa2a1fd9ca657b7c96dc50ee505c8c2f4bd92855f7c7da46c047fe96669 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bffc4b48e1c3e6784e87a491ff728cc61fdb4ab727cb3f560497e8e933f8b2d [INFO] running `Command { std: "docker" "start" "-a" "3bffc4b48e1c3e6784e87a491ff728cc61fdb4ab727cb3f560497e8e933f8b2d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling standback v0.2.8 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling ahash v0.3.3 [INFO] [stderr] Compiling time v0.2.12 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling hashlink v0.5.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling simple_logger v1.6.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling cgc-single-threaded v0.1.1 [INFO] [stderr] Compiling 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] warning: 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: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 warning 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.04s [INFO] running `Command { std: "docker" "inspect" "3bffc4b48e1c3e6784e87a491ff728cc61fdb4ab727cb3f560497e8e933f8b2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bffc4b48e1c3e6784e87a491ff728cc61fdb4ab727cb3f560497e8e933f8b2d", kill_on_drop: false }` [INFO] [stdout] 3bffc4b48e1c3e6784e87a491ff728cc61fdb4ab727cb3f560497e8e933f8b2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2455f30d399d62cb8be1aa813b8921294eafdb5bd9191a32fb5ec5f28cf3f3c7 [INFO] running `Command { std: "docker" "start" "-a" "2455f30d399d62cb8be1aa813b8921294eafdb5bd9191a32fb5ec5f28cf3f3c7", kill_on_drop: false }` [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] [stderr] Compiling jsrs v0.1.0 (/opt/rustwide/workdir) [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] warning: 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: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 warning 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] [stdout] warning: 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: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 warning 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] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "2455f30d399d62cb8be1aa813b8921294eafdb5bd9191a32fb5ec5f28cf3f3c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2455f30d399d62cb8be1aa813b8921294eafdb5bd9191a32fb5ec5f28cf3f3c7", kill_on_drop: false }` [INFO] [stdout] 2455f30d399d62cb8be1aa813b8921294eafdb5bd9191a32fb5ec5f28cf3f3c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7c1ee180c7c0b3271ea39fb1d0869dc684f5ee672ccc656684fb5e8773b652fa [INFO] running `Command { std: "docker" "start" "-a" "7c1ee180c7c0b3271ea39fb1d0869dc684f5ee672ccc656684fb5e8773b652fa", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `super::cell::*` [INFO] [stderr] --> src/runtime/jsobject.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use super::cell::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/runtime/jsobject.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::cell::Cell` [INFO] [stderr] --> src/runtime/jsproperty.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use super::cell::Cell; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cgc::api::Handle` [INFO] [stderr] --> src/runtime/jsproperty.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use cgc::api::Handle; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsobject::*` [INFO] [stderr] --> src/runtime/mod.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use jsobject::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsproperty::*` [INFO] [stderr] --> src/runtime/mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use jsproperty::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/lib.rs:6:19 [INFO] [stderr] | [INFO] [stderr] 6 | unsafe { &(*(0 as *const $ty)).$field as *const _ as usize } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/runtime/jsvalue.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | offset_of!(AsBits, tag) [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/lib.rs:6:19 [INFO] [stderr] | [INFO] [stderr] 6 | unsafe { &(*(0 as *const $ty)).$field as *const _ as usize } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/runtime/jsvalue.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | offset_of!(AsBits, payload) [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/runtime/jsvalue.rs:492:9 [INFO] [stderr] | [INFO] [stderr] 491 | const _XX: () = { [INFO] [stderr] | ------------- move the `impl` block outside of this associated constant `_XX` [INFO] [stderr] 492 | impl PartialEq for JSValue { [INFO] [stderr] | ^^^^^---------^^^^^------- [INFO] [stderr] | | | [INFO] [stderr] | | `JSValue` is not local [INFO] [stderr] | `PartialEq` is not local [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/runtime/jsvalue.rs:498:9 [INFO] [stderr] | [INFO] [stderr] 491 | const _XX: () = { [INFO] [stderr] | ------------- move the `impl` block outside of this associated constant `_XX` [INFO] [stderr] ... [INFO] [stderr] 498 | impl Eq for JSValue {} [INFO] [stderr] | ^^^^^--^^^^^------- [INFO] [stderr] | | | [INFO] [stderr] | | `JSValue` is not local [INFO] [stderr] | `Eq` is not local [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `jsrs` (lib) generated 10 warnings (run `cargo fix --lib -p jsrs` to apply 6 suggestions) [INFO] [stderr] warning: `jsrs` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jsrs-d4a40e7e0739772f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/jsrs-873c6d6091b878bd) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests jsrs [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7c1ee180c7c0b3271ea39fb1d0869dc684f5ee672ccc656684fb5e8773b652fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c1ee180c7c0b3271ea39fb1d0869dc684f5ee672ccc656684fb5e8773b652fa", kill_on_drop: false }` [INFO] [stdout] 7c1ee180c7c0b3271ea39fb1d0869dc684f5ee672ccc656684fb5e8773b652fa