[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#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FplayXE%2Fjsrs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/playXE/jsrs on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro-hack v0.5.15 [INFO] [stderr] Downloaded ahash v0.3.3 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.61 [INFO] [stderr] Downloaded standback v0.2.8 [INFO] [stderr] Downloaded hermit-abi v0.1.12 [INFO] [stderr] Downloaded cgc-single-threaded v0.1.1 [INFO] [stderr] Downloaded time v0.2.12 [INFO] [stderr] Downloaded hashlink v0.5.0 [INFO] [stderr] Downloaded serde_json v1.0.52 [INFO] [stderr] Downloaded syn v1.0.18 [INFO] [stderr] Downloaded bumpalo v3.2.1 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.61 [INFO] [stderr] Downloaded wasm-bindgen v0.2.61 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.61 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.61 [INFO] [stderr] Downloaded quote v1.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e03316ca7fcc8c8354eb61950b2199d5aa9f813eefa7aabb2a7633b0ac45c865 [INFO] running `Command { std: "docker" "start" "-a" "e03316ca7fcc8c8354eb61950b2199d5aa9f813eefa7aabb2a7633b0ac45c865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e03316ca7fcc8c8354eb61950b2199d5aa9f813eefa7aabb2a7633b0ac45c865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e03316ca7fcc8c8354eb61950b2199d5aa9f813eefa7aabb2a7633b0ac45c865", kill_on_drop: false }` [INFO] [stdout] e03316ca7fcc8c8354eb61950b2199d5aa9f813eefa7aabb2a7633b0ac45c865 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 398f960bfe09b19e98e3c1323c460430899f51aab9bdec12e232ad9709ed96b5 [INFO] running `Command { std: "docker" "start" "-a" "398f960bfe09b19e98e3c1323c460430899f51aab9bdec12e232ad9709ed96b5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling standback v0.2.8 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling cfg-if v0.1.10 [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] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ahash v0.3.3 [INFO] [stderr] Compiling 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] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling hashlink v0.5.0 [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)]` 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 11.76s [INFO] running `Command { std: "docker" "inspect" "398f960bfe09b19e98e3c1323c460430899f51aab9bdec12e232ad9709ed96b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "398f960bfe09b19e98e3c1323c460430899f51aab9bdec12e232ad9709ed96b5", kill_on_drop: false }` [INFO] [stdout] 398f960bfe09b19e98e3c1323c460430899f51aab9bdec12e232ad9709ed96b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e64c59fa0dc7ef5c41a7d6e91f4e85d60b4a088ce51d3cc21a36790b7d1605d3 [INFO] running `Command { std: "docker" "start" "-a" "e64c59fa0dc7ef5c41a7d6e91f4e85d60b4a088ce51d3cc21a36790b7d1605d3", kill_on_drop: false }` [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)]` 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] [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)]` 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.61s [INFO] running `Command { std: "docker" "inspect" "e64c59fa0dc7ef5c41a7d6e91f4e85d60b4a088ce51d3cc21a36790b7d1605d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e64c59fa0dc7ef5c41a7d6e91f4e85d60b4a088ce51d3cc21a36790b7d1605d3", kill_on_drop: false }` [INFO] [stdout] e64c59fa0dc7ef5c41a7d6e91f4e85d60b4a088ce51d3cc21a36790b7d1605d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7433b0be18dcb473e173a76485dccb3685aa82876d04751799701621b6af9085 [INFO] running `Command { std: "docker" "start" "-a" "7433b0be18dcb473e173a76485dccb3685aa82876d04751799701621b6af9085", 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)]` 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.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/jsrs-500af01dc3544bb6) [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/x86_64-unknown-linux-musl/debug/deps/jsrs-b7b6628be0fe7262) [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" "7433b0be18dcb473e173a76485dccb3685aa82876d04751799701621b6af9085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7433b0be18dcb473e173a76485dccb3685aa82876d04751799701621b6af9085", kill_on_drop: false }` [INFO] [stdout] 7433b0be18dcb473e173a76485dccb3685aa82876d04751799701621b6af9085