[INFO] fetching crate nj-core 6.0.0... [INFO] testing nj-core-6.0.0 against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] extracting crate nj-core 6.0.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate nj-core 6.0.0 on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nj-core 6.0.0 [INFO] finished tweaking crates.io crate nj-core 6.0.0 [INFO] tweaked toml for crates.io crate nj-core 6.0.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ghost v0.1.17 [INFO] [stderr] Downloaded inventory v0.1.11 [INFO] [stderr] Downloaded inventory-impl v0.1.11 [INFO] [stderr] Downloaded nj-sys v4.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 073273f57432c52de15f56a4f537c0cfbebdb21abe593e6e7014916bbb43b228 [INFO] running `Command { std: "docker" "start" "-a" "073273f57432c52de15f56a4f537c0cfbebdb21abe593e6e7014916bbb43b228", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "073273f57432c52de15f56a4f537c0cfbebdb21abe593e6e7014916bbb43b228", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "073273f57432c52de15f56a4f537c0cfbebdb21abe593e6e7014916bbb43b228", kill_on_drop: false }` [INFO] [stdout] 073273f57432c52de15f56a4f537c0cfbebdb21abe593e6e7014916bbb43b228 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42cf164cda292c5f93dfa9bff82cf702e229674d5beb016df0d36d284719e739 [INFO] running `Command { std: "docker" "start" "-a" "42cf164cda292c5f93dfa9bff82cf702e229674d5beb016df0d36d284719e739", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling value-bag v1.7.0 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling async-task v4.7.0 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling futures-lite v2.2.0 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling event-listener v5.1.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling event-listener-strategy v0.5.0 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling async-channel v2.2.0 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling async-executor v1.8.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling inventory v0.1.11 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling nj-sys v4.0.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] error: could not compile `regex-syntax` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/bin/rustc --crate-name regex_syntax --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-syntax-0.6.29/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=b8a0d7e0e7512e17 -C extra-filename=-b8a0d7e0e7512e17 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints allow --cap-lints=forbid -Copt-level=3` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "42cf164cda292c5f93dfa9bff82cf702e229674d5beb016df0d36d284719e739", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42cf164cda292c5f93dfa9bff82cf702e229674d5beb016df0d36d284719e739", kill_on_drop: false }` [INFO] [stdout] 42cf164cda292c5f93dfa9bff82cf702e229674d5beb016df0d36d284719e739 [INFO] testing nj-core-6.0.0 against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] extracting crate nj-core 6.0.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate nj-core 6.0.0 on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nj-core 6.0.0 [INFO] finished tweaking crates.io crate nj-core 6.0.0 [INFO] tweaked toml for crates.io crate nj-core 6.0.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b92ad3cde86c43e454a7c7d34b25e08f70e397a234e91d208b72c3353c64802 [INFO] running `Command { std: "docker" "start" "-a" "9b92ad3cde86c43e454a7c7d34b25e08f70e397a234e91d208b72c3353c64802", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b92ad3cde86c43e454a7c7d34b25e08f70e397a234e91d208b72c3353c64802", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b92ad3cde86c43e454a7c7d34b25e08f70e397a234e91d208b72c3353c64802", kill_on_drop: false }` [INFO] [stdout] 9b92ad3cde86c43e454a7c7d34b25e08f70e397a234e91d208b72c3353c64802 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 476b017e75358d03f0a3d2b2a516fe0bc3735d98bef531993e6cddae9a632dbf [INFO] running `Command { std: "docker" "start" "-a" "476b017e75358d03f0a3d2b2a516fe0bc3735d98bef531993e6cddae9a632dbf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling value-bag v1.7.0 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling async-task v4.7.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling event-listener v5.1.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling futures-lite v2.2.0 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.0 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling async-channel v2.2.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling async-executor v1.8.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling inventory v0.1.11 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling nj-sys v4.0.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling inventory-impl v0.1.11 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling ghost v0.1.17 [INFO] [stderr] Compiling ctor v0.2.7 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling pin-project v1.1.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling polling v3.5.0 [INFO] [stderr] Compiling blocking v1.5.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling async-io v2.3.1 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling fluvio-future v0.6.2 [INFO] [stderr] Compiling nj-core v6.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/module.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | napi_module_register(&mut _MODULE); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 87 | napi_module_register(addr_of_mut!(_MODULE)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/basic.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct JsNapiValue(napi_value); [INFO] [stdout] | ----------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `JsNapiValue` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 44 | pub struct JsNapiValue(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `JSWorker` is never used [INFO] [stdout] --> src/worker.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait JSWorker: Sized + Send + 'static { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 58s [INFO] running `Command { std: "docker" "inspect" "476b017e75358d03f0a3d2b2a516fe0bc3735d98bef531993e6cddae9a632dbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "476b017e75358d03f0a3d2b2a516fe0bc3735d98bef531993e6cddae9a632dbf", kill_on_drop: false }` [INFO] [stdout] 476b017e75358d03f0a3d2b2a516fe0bc3735d98bef531993e6cddae9a632dbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06e63f1968455f172d7155400dd799aa8b5353ed4122f21226c0878221c84e60 [INFO] running `Command { std: "docker" "start" "-a" "06e63f1968455f172d7155400dd799aa8b5353ed4122f21226c0878221c84e60", kill_on_drop: false }` [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/module.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | napi_module_register(&mut _MODULE); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 87 | napi_module_register(addr_of_mut!(_MODULE)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/basic.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct JsNapiValue(napi_value); [INFO] [stdout] | ----------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `JsNapiValue` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 44 | pub struct JsNapiValue(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `JSWorker` is never used [INFO] [stdout] --> src/worker.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait JSWorker: Sized + Send + 'static { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "06e63f1968455f172d7155400dd799aa8b5353ed4122f21226c0878221c84e60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06e63f1968455f172d7155400dd799aa8b5353ed4122f21226c0878221c84e60", kill_on_drop: false }` [INFO] [stdout] 06e63f1968455f172d7155400dd799aa8b5353ed4122f21226c0878221c84e60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8f3d5b2cb3122cb6c7182de42f114e5b00fee15bc515ce9ac64fe11c7e398072 [INFO] running `Command { std: "docker" "start" "-a" "8f3d5b2cb3122cb6c7182de42f114e5b00fee15bc515ce9ac64fe11c7e398072", kill_on_drop: false }` [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/module.rs:87:30 [INFO] [stderr] | [INFO] [stderr] 87 | napi_module_register(&mut _MODULE); [INFO] [stderr] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 87 | napi_module_register(addr_of_mut!(_MODULE)); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/basic.rs:44:24 [INFO] [stderr] | [INFO] [stderr] 44 | pub struct JsNapiValue(napi_value); [INFO] [stderr] | ----------- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = note: `JsNapiValue` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 44 | pub struct JsNapiValue(()); [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: trait `JSWorker` is never used [INFO] [stderr] --> src/worker.rs:123:11 [INFO] [stderr] | [INFO] [stderr] 123 | pub trait JSWorker: Sized + Send + 'static { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `nj-core` (lib) generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Doc-tests nj-core [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/buffer.rs - buffer::JSArrayBuffer (line 96) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/buffer.rs - buffer::JSArrayBuffer (line 96) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `node_bindgen` [INFO] [stdout] --> src/buffer.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 3 | use node_bindgen::derive::node_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `node_bindgen` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `node_bindgen::core::buffer::JSArrayBuffer` [INFO] [stdout] --> src/buffer.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 4 | use node_bindgen::core::buffer::JSArrayBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NjError` in this scope [INFO] [stdout] --> src/buffer.rs:101:49 [INFO] [stdout] | [INFO] [stdout] 7 | fn hello(data: JSArrayBuffer) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use nj_core::NjError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/buffer.rs - buffer::JSArrayBuffer (line 96) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8f3d5b2cb3122cb6c7182de42f114e5b00fee15bc515ce9ac64fe11c7e398072", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f3d5b2cb3122cb6c7182de42f114e5b00fee15bc515ce9ac64fe11c7e398072", kill_on_drop: false }` [INFO] [stdout] 8f3d5b2cb3122cb6c7182de42f114e5b00fee15bc515ce9ac64fe11c7e398072