[INFO] fetching crate nj-core 5.0.0... [INFO] testing nj-core-5.0.0 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate nj-core 5.0.0 into /workspace/builds/worker-105/source [INFO] validating manifest of crates.io crate nj-core 5.0.0 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-105/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nj-sys v3.0.0 [INFO] [stderr] Downloaded matchers v0.1.0 [INFO] [stderr] Downloaded inventory v0.1.11 [INFO] [stderr] Downloaded tracing-subscriber v0.3.2 [INFO] [stderr] Downloaded ghost v0.1.2 [INFO] [stderr] Downloaded inventory-impl v0.1.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 720c9bfaf089a6206bf901fb7840d0513757fd2e33e3f30400dbf903cc869dae [INFO] running `Command { std: "docker" "start" "-a" "720c9bfaf089a6206bf901fb7840d0513757fd2e33e3f30400dbf903cc869dae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "720c9bfaf089a6206bf901fb7840d0513757fd2e33e3f30400dbf903cc869dae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "720c9bfaf089a6206bf901fb7840d0513757fd2e33e3f30400dbf903cc869dae", kill_on_drop: false }` [INFO] [stdout] 720c9bfaf089a6206bf901fb7840d0513757fd2e33e3f30400dbf903cc869dae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55bdf0cd5c32e4a95659694ec85cd6d144408756bfdb1e93cd55adbeff8ff6d4 [INFO] running `Command { std: "docker" "start" "-a" "55bdf0cd5c32e4a95659694ec85cd6d144408756bfdb1e93cd55adbeff8ff6d4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling inventory v0.1.11 [INFO] [stderr] Compiling nj-sys v3.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling blocking v1.1.0 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling inventory-impl v0.1.11 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing-subscriber v0.3.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-process v1.3.0 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling fluvio-future v0.3.11 [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: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/worker.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 137 | / extern "C" fn start_promise(env: napi_env, info: napi_callback_info) -> napi_value { [INFO] [stdout] 138 | | let js_env = JsEnv::new(env); [INFO] [stdout] 139 | | [INFO] [stdout] 140 | | let result: Result = (|| { [INFO] [stdout] ... | [INFO] [stdout] 145 | | result.into_js(&js_env) [INFO] [stdout] 146 | | } [INFO] [stdout] | |_____- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.93s [INFO] running `Command { std: "docker" "inspect" "55bdf0cd5c32e4a95659694ec85cd6d144408756bfdb1e93cd55adbeff8ff6d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55bdf0cd5c32e4a95659694ec85cd6d144408756bfdb1e93cd55adbeff8ff6d4", kill_on_drop: false }` [INFO] [stdout] 55bdf0cd5c32e4a95659694ec85cd6d144408756bfdb1e93cd55adbeff8ff6d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b030fb03147adbeb5f286d763a39df14d62fcae3c012a76e76b0ffcda17474a [INFO] running `Command { std: "docker" "start" "-a" "5b030fb03147adbeb5f286d763a39df14d62fcae3c012a76e76b0ffcda17474a", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [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: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/worker.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 137 | / extern "C" fn start_promise(env: napi_env, info: napi_callback_info) -> napi_value { [INFO] [stdout] 138 | | let js_env = JsEnv::new(env); [INFO] [stdout] 139 | | [INFO] [stdout] 140 | | let result: Result = (|| { [INFO] [stdout] ... | [INFO] [stdout] 145 | | result.into_js(&js_env) [INFO] [stdout] 146 | | } [INFO] [stdout] | |_____- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5b030fb03147adbeb5f286d763a39df14d62fcae3c012a76e76b0ffcda17474a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b030fb03147adbeb5f286d763a39df14d62fcae3c012a76e76b0ffcda17474a", kill_on_drop: false }` [INFO] [stdout] 5b030fb03147adbeb5f286d763a39df14d62fcae3c012a76e76b0ffcda17474a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 91bec3c37c51baa827002ea29475aa8f905794dd2561ea595c857934ecfc3d3d [INFO] running `Command { std: "docker" "start" "-a" "91bec3c37c51baa827002ea29475aa8f905794dd2561ea595c857934ecfc3d3d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: attribute should be applied to a free function, impl method or static [INFO] [stderr] --> src/worker.rs:136:5 [INFO] [stderr] | [INFO] [stderr] 136 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 137 | / extern "C" fn start_promise(env: napi_env, info: napi_callback_info) -> napi_value { [INFO] [stderr] 138 | | let js_env = JsEnv::new(env); [INFO] [stderr] 139 | | [INFO] [stderr] 140 | | let result: Result = (|| { [INFO] [stderr] ... | [INFO] [stderr] 145 | | result.into_js(&js_env) [INFO] [stderr] 146 | | } [INFO] [stderr] | |_____- not a free function, impl method or static [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] [INFO] [stderr] warning: `nj-core` (lib) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [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" "91bec3c37c51baa827002ea29475aa8f905794dd2561ea595c857934ecfc3d3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91bec3c37c51baa827002ea29475aa8f905794dd2561ea595c857934ecfc3d3d", kill_on_drop: false }` [INFO] [stdout] 91bec3c37c51baa827002ea29475aa8f905794dd2561ea595c857934ecfc3d3d