[INFO] fetching crate nj-core 6.1.0... [INFO] testing nj-core-6.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate nj-core 6.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate nj-core 6.1.0 [INFO] finished tweaking crates.io crate nj-core 6.1.0 [INFO] tweaked toml for crates.io crate nj-core 6.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nj-core 6.1.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 106 packages to latest compatible versions [INFO] [stderr] Adding ctor v0.2.9 (available: v0.5.0) [INFO] [stderr] Adding fluvio-future v0.7.2 (available: v0.8.3) [INFO] [stderr] Adding inventory v0.1.11 (available: v0.3.21) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ghost v0.1.20 [INFO] [stderr] Downloaded async-channel v1.9.0 [INFO] [stderr] Downloaded futures-lite v2.6.1 [INFO] [stderr] Downloaded inventory-impl v0.1.11 [INFO] [stderr] Downloaded inventory v0.1.11 [INFO] [stderr] Downloaded value-bag v1.11.1 [INFO] [stderr] Downloaded gloo-timers v0.3.0 [INFO] [stderr] Downloaded blocking v1.6.2 [INFO] [stderr] Downloaded async-process v2.5.0 [INFO] [stderr] Downloaded async-io v2.6.0 [INFO] [stderr] Downloaded async-executor v1.13.3 [INFO] [stderr] Downloaded polling v3.11.0 [INFO] [stderr] Downloaded async-lock v3.4.1 [INFO] [stderr] Downloaded event-listener-strategy v0.5.4 [INFO] [stderr] Downloaded event-listener v5.4.1 [INFO] [stderr] Downloaded async-signal v0.2.13 [INFO] [stderr] Downloaded async-std v1.13.2 [INFO] [stderr] Downloaded fluvio-future v0.7.2 [INFO] [stderr] Downloaded async-global-executor v2.4.1 [INFO] [stderr] Downloaded piper v0.2.4 [INFO] [stderr] Downloaded ctor v0.1.26 [INFO] [stderr] Downloaded async-channel v2.5.0 [INFO] [stderr] Downloaded nj-sys v4.0.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdc6a4a3ccd99e3c697deea981cfab8e767015807fd5965be26a07a9146541fd [INFO] running `Command { std: "docker" "start" "-a" "cdc6a4a3ccd99e3c697deea981cfab8e767015807fd5965be26a07a9146541fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdc6a4a3ccd99e3c697deea981cfab8e767015807fd5965be26a07a9146541fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdc6a4a3ccd99e3c697deea981cfab8e767015807fd5965be26a07a9146541fd", kill_on_drop: false }` [INFO] [stdout] cdc6a4a3ccd99e3c697deea981cfab8e767015807fd5965be26a07a9146541fd [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae7634635580ea5ca8741ab3b185998976326c9772f3fa10bd8ce358d00a6d21 [INFO] running `Command { std: "docker" "start" "-a" "ae7634635580ea5ca8741ab3b185998976326c9772f3fa10bd8ce358d00a6d21", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling inventory v0.1.11 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling nj-sys v4.0.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling inventory-impl v0.1.11 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling ghost v0.1.20 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling fluvio-future v0.7.2 [INFO] [stderr] Compiling nj-core v6.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.73s [INFO] running `Command { std: "docker" "inspect" "ae7634635580ea5ca8741ab3b185998976326c9772f3fa10bd8ce358d00a6d21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae7634635580ea5ca8741ab3b185998976326c9772f3fa10bd8ce358d00a6d21", kill_on_drop: false }` [INFO] [stdout] ae7634635580ea5ca8741ab3b185998976326c9772f3fa10bd8ce358d00a6d21 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d36ba07406284e15445f91867cf48ddbfac2665c31d4211c0d7a130b12908b1 [INFO] running `Command { std: "docker" "start" "-a" "9d36ba07406284e15445f91867cf48ddbfac2665c31d4211c0d7a130b12908b1", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "9d36ba07406284e15445f91867cf48ddbfac2665c31d4211c0d7a130b12908b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d36ba07406284e15445f91867cf48ddbfac2665c31d4211c0d7a130b12908b1", kill_on_drop: false }` [INFO] [stdout] 9d36ba07406284e15445f91867cf48ddbfac2665c31d4211c0d7a130b12908b1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] efdef14b8056b6f01874acbba33c77be994f65e284747a4b4bfb692a7caad8f1 [INFO] running `Command { std: "docker" "start" "-a" "efdef14b8056b6f01874acbba33c77be994f65e284747a4b4bfb692a7caad8f1", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Doc-tests nj_core [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/buffer.rs - buffer::JSArrayBuffer (line 96) - compile ... FAILED [INFO] [stdout] test src/safebuffer.rs - safebuffer::SafeArrayBuffer (line 15) - 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 unresolved module or unlinked crate `node_bindgen` [INFO] [stdout] --> src/buffer.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 3 | use node_bindgen::derive::node_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `node_bindgen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `node_bindgen`, use `cargo add node_bindgen` to add it to your `Cargo.toml` [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] ---- src/safebuffer.rs - safebuffer::SafeArrayBuffer (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `node_bindgen` [INFO] [stdout] --> src/safebuffer.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 3 | use node_bindgen::derive::node_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `node_bindgen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `node_bindgen`, use `cargo add node_bindgen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `node_bindgen::core::buffer::JSArrayBuffer`, `node_bindgen::core::safebuffer::SafeArrayBuffer` [INFO] [stdout] --> src/safebuffer.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 4 | use node_bindgen::core::{buffer::JSArrayBuffer, safebuffer::{SafeArrayBuffer}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NjError` in this scope [INFO] [stdout] --> src/safebuffer.rs:20:55 [INFO] [stdout] | [INFO] [stdout] 7 | fn msg_from_js(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[E0412]: cannot find type `NjError` in this scope [INFO] [stdout] --> src/safebuffer.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 12 | fn msg_to_js() -> 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[E0599]: no method named `to_vec` found for struct `String` in the current scope [INFO] [stdout] --> src/safebuffer.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 14 | Ok(SafeArrayBuffer::new(message.to_vec())) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_key` with a similar name [INFO] [stdout] | [INFO] [stdout] 14 - Ok(SafeArrayBuffer::new(message.to_vec())) [INFO] [stdout] 14 + Ok(SafeArrayBuffer::new(message.to_key())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599. [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] src/safebuffer.rs - safebuffer::SafeArrayBuffer (line 15) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "efdef14b8056b6f01874acbba33c77be994f65e284747a4b4bfb692a7caad8f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efdef14b8056b6f01874acbba33c77be994f65e284747a4b4bfb692a7caad8f1", kill_on_drop: false }` [INFO] [stdout] efdef14b8056b6f01874acbba33c77be994f65e284747a4b4bfb692a7caad8f1