[INFO] fetching crate nj-core 5.0.0... [INFO] testing nj-core-5.0.0 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] extracting crate nj-core 5.0.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate nj-core 5.0.0 on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nj-core 5.0.0 [INFO] finished tweaking crates.io crate nj-core 5.0.0 [INFO] tweaked toml for crates.io crate nj-core 5.0.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a6b866287df2b41d041ad66e428b6066f459d8bcbddfc2d1e5c6587be54dd42 [INFO] running `Command { std: "docker" "start" "-a" "4a6b866287df2b41d041ad66e428b6066f459d8bcbddfc2d1e5c6587be54dd42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a6b866287df2b41d041ad66e428b6066f459d8bcbddfc2d1e5c6587be54dd42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a6b866287df2b41d041ad66e428b6066f459d8bcbddfc2d1e5c6587be54dd42", kill_on_drop: false }` [INFO] [stdout] 4a6b866287df2b41d041ad66e428b6066f459d8bcbddfc2d1e5c6587be54dd42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d43303439922997e9e188ef2f2765697192679b107b8880d524bc8060477f2d0 [INFO] running `Command { std: "docker" "start" "-a" "d43303439922997e9e188ef2f2765697192679b107b8880d524bc8060477f2d0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Compiling nj-sys v3.0.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling signal-hook v0.3.9 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling sharded-slab v0.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling polling v2.1.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing-subscriber v0.2.19 [INFO] [stderr] Compiling async-process v1.1.0 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling fluvio-future v0.3.8 [INFO] [stderr] Compiling nj-core v5.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::val::JsObject` [INFO] [stdout] --> src/convert.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::val::JsObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.26s [INFO] running `Command { std: "docker" "inspect" "d43303439922997e9e188ef2f2765697192679b107b8880d524bc8060477f2d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d43303439922997e9e188ef2f2765697192679b107b8880d524bc8060477f2d0", kill_on_drop: false }` [INFO] [stdout] d43303439922997e9e188ef2f2765697192679b107b8880d524bc8060477f2d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 303ff2d4ae1f2ed32c2163764937fa56f08695ed080d5ea7d726976fbecb2f12 [INFO] running `Command { std: "docker" "start" "-a" "303ff2d4ae1f2ed32c2163764937fa56f08695ed080d5ea7d726976fbecb2f12", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stdout] warning: unused import: `crate::val::JsObject` [INFO] [stdout] --> src/convert.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::val::JsObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "303ff2d4ae1f2ed32c2163764937fa56f08695ed080d5ea7d726976fbecb2f12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "303ff2d4ae1f2ed32c2163764937fa56f08695ed080d5ea7d726976fbecb2f12", kill_on_drop: false }` [INFO] [stdout] 303ff2d4ae1f2ed32c2163764937fa56f08695ed080d5ea7d726976fbecb2f12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d72639eae80ea623010e5a24b3440eff6c9eb6c6b3a5026ca2369777935e9145 [INFO] running `Command { std: "docker" "start" "-a" "d72639eae80ea623010e5a24b3440eff6c9eb6c6b3a5026ca2369777935e9145", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::val::JsObject` [INFO] [stderr] --> src/convert.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::val::JsObject; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `nj-core` (lib) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [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[E0433]: failed to resolve: use of undeclared crate or module `node_bindgen` [INFO] [stdout] --> src/buffer.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 4 | use node_bindgen::core::buffer::JSArrayBuffer; [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: cannot find attribute `node_bindgen` in this scope [INFO] [stdout] --> src/buffer.rs:100:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[node_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JSArrayBuffer` in this scope [INFO] [stdout] --> src/buffer.rs:101:16 [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 struct [INFO] [stdout] | [INFO] [stdout] 2 | use nj_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 6 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.19s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "d72639eae80ea623010e5a24b3440eff6c9eb6c6b3a5026ca2369777935e9145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d72639eae80ea623010e5a24b3440eff6c9eb6c6b3a5026ca2369777935e9145", kill_on_drop: false }` [INFO] [stdout] d72639eae80ea623010e5a24b3440eff6c9eb6c6b3a5026ca2369777935e9145