[INFO] fetching crate nj-core 5.0.0... [INFO] testing nj-core-5.0.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate nj-core 5.0.0 into /workspace/builds/worker-42/source [INFO] validating manifest of crates.io crate nj-core 5.0.0 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-42/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 857e33ae2480d0098f6ada2f3fe7163aac1e1c591d7ad78fbbee090c62e30540 [INFO] running `Command { std: "docker" "start" "-a" "857e33ae2480d0098f6ada2f3fe7163aac1e1c591d7ad78fbbee090c62e30540", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "857e33ae2480d0098f6ada2f3fe7163aac1e1c591d7ad78fbbee090c62e30540", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "857e33ae2480d0098f6ada2f3fe7163aac1e1c591d7ad78fbbee090c62e30540", kill_on_drop: false }` [INFO] [stdout] 857e33ae2480d0098f6ada2f3fe7163aac1e1c591d7ad78fbbee090c62e30540 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bb2449e2cfef41d7c63ecb6835578708f05774d4a348534956741b348a77aff [INFO] running `Command { std: "docker" "start" "-a" "4bb2449e2cfef41d7c63ecb6835578708f05774d4a348534956741b348a77aff", 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 proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling inventory v0.1.11 [INFO] [stderr] Compiling nj-sys v3.0.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [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 futures-lite v1.12.0 [INFO] [stderr] Compiling quote v1.0.10 [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 blocking v1.1.0 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling inventory-impl v0.1.11 [INFO] [stderr] Compiling log v0.4.14 [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 pin-project v1.0.8 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling async-process v1.3.0 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.2 [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 18.66s [INFO] running `Command { std: "docker" "inspect" "4bb2449e2cfef41d7c63ecb6835578708f05774d4a348534956741b348a77aff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bb2449e2cfef41d7c63ecb6835578708f05774d4a348534956741b348a77aff", kill_on_drop: false }` [INFO] [stdout] 4bb2449e2cfef41d7c63ecb6835578708f05774d4a348534956741b348a77aff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a8c56945c6cf0906ba00ffe2a788b79241bf87958e0c8c2d7c371b6930f5308 [INFO] running `Command { std: "docker" "start" "-a" "3a8c56945c6cf0906ba00ffe2a788b79241bf87958e0c8c2d7c371b6930f5308", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [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" "3a8c56945c6cf0906ba00ffe2a788b79241bf87958e0c8c2d7c371b6930f5308", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a8c56945c6cf0906ba00ffe2a788b79241bf87958e0c8c2d7c371b6930f5308", kill_on_drop: false }` [INFO] [stdout] 3a8c56945c6cf0906ba00ffe2a788b79241bf87958e0c8c2d7c371b6930f5308 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 75ff388fa89ab62cff14e0a6ec05e1a141c36ee1fff04ffc3119bf859c99a31e [INFO] running `Command { std: "docker" "start" "-a" "75ff388fa89ab62cff14e0a6ec05e1a141c36ee1fff04ffc3119bf859c99a31e", 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.14s [INFO] [stderr] Doc-tests nj-core [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: test failed, to rerun pass '--doc' [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.20s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "75ff388fa89ab62cff14e0a6ec05e1a141c36ee1fff04ffc3119bf859c99a31e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75ff388fa89ab62cff14e0a6ec05e1a141c36ee1fff04ffc3119bf859c99a31e", kill_on_drop: false }` [INFO] [stdout] 75ff388fa89ab62cff14e0a6ec05e1a141c36ee1fff04ffc3119bf859c99a31e