[INFO] fetching crate nj-core 5.0.0... [INFO] testing nj-core-5.0.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate nj-core 5.0.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate nj-core 5.0.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98418a4482d1bb190bfb2c78608b737283376129da16ad87604a9ed5c82461fd [INFO] running `Command { std: "docker" "start" "-a" "98418a4482d1bb190bfb2c78608b737283376129da16ad87604a9ed5c82461fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98418a4482d1bb190bfb2c78608b737283376129da16ad87604a9ed5c82461fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98418a4482d1bb190bfb2c78608b737283376129da16ad87604a9ed5c82461fd", kill_on_drop: false }` [INFO] [stdout] 98418a4482d1bb190bfb2c78608b737283376129da16ad87604a9ed5c82461fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22b7c0e1d691cbe5522350b20ab86b541d8e0c486bfefd9df18316a3afa3fb66 [INFO] running `Command { std: "docker" "start" "-a" "22b7c0e1d691cbe5522350b20ab86b541d8e0c486bfefd9df18316a3afa3fb66", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling async-task v4.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling inventory v0.1.11 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling nj-sys v3.0.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling tracing-core v0.1.25 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.5.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.2.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling ctor v0.1.22 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling inventory-impl v0.1.11 [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 pin-project v1.0.10 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing-subscriber v0.3.11 [INFO] [stderr] Compiling async-process v1.3.0 [INFO] [stderr] Compiling async-global-executor v2.0.4 [INFO] [stderr] Compiling async-std v1.11.0 [INFO] [stderr] Compiling fluvio-future v0.3.15 [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 15.40s [INFO] running `Command { std: "docker" "inspect" "22b7c0e1d691cbe5522350b20ab86b541d8e0c486bfefd9df18316a3afa3fb66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22b7c0e1d691cbe5522350b20ab86b541d8e0c486bfefd9df18316a3afa3fb66", kill_on_drop: false }` [INFO] [stdout] 22b7c0e1d691cbe5522350b20ab86b541d8e0c486bfefd9df18316a3afa3fb66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f06fe0214e305d53703611c17e8ba43430ebe56348f4628b1a3834f08f8ccde4 [INFO] running `Command { std: "docker" "start" "-a" "f06fe0214e305d53703611c17e8ba43430ebe56348f4628b1a3834f08f8ccde4", kill_on_drop: false }` [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 test [unoptimized + debuginfo] target(s) in 0.06s [INFO] running `Command { std: "docker" "inspect" "f06fe0214e305d53703611c17e8ba43430ebe56348f4628b1a3834f08f8ccde4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f06fe0214e305d53703611c17e8ba43430ebe56348f4628b1a3834f08f8ccde4", kill_on_drop: false }` [INFO] [stdout] f06fe0214e305d53703611c17e8ba43430ebe56348f4628b1a3834f08f8ccde4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ea93c7ef6339148d3cd3eae3e0a192c3e18c7e809f7f95d01ff4c0f82ef0271f [INFO] running `Command { std: "docker" "start" "-a" "ea93c7ef6339148d3cd3eae3e0a192c3e18c7e809f7f95d01ff4c0f82ef0271f", 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: 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.05s [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.08s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "ea93c7ef6339148d3cd3eae3e0a192c3e18c7e809f7f95d01ff4c0f82ef0271f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea93c7ef6339148d3cd3eae3e0a192c3e18c7e809f7f95d01ff4c0f82ef0271f", kill_on_drop: false }` [INFO] [stdout] ea93c7ef6339148d3cd3eae3e0a192c3e18c7e809f7f95d01ff4c0f82ef0271f