[INFO] fetching crate nj-core 4.1.2... [INFO] testing nj-core-4.1.2 against 1.49.0 for beta-1.50-1 [INFO] extracting crate nj-core 4.1.2 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate nj-core 4.1.2 on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate nj-core 4.1.2 [INFO] finished tweaking crates.io crate nj-core 4.1.2 [INFO] tweaked toml for crates.io crate nj-core 4.1.2 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9311e5dd8c62654e5bf2272d1ceaf93ef0d96216ea7300d00dc9ec35d86909b6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9311e5dd8c62654e5bf2272d1ceaf93ef0d96216ea7300d00dc9ec35d86909b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9311e5dd8c62654e5bf2272d1ceaf93ef0d96216ea7300d00dc9ec35d86909b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9311e5dd8c62654e5bf2272d1ceaf93ef0d96216ea7300d00dc9ec35d86909b6", kill_on_drop: false }` [INFO] [stdout] 9311e5dd8c62654e5bf2272d1ceaf93ef0d96216ea7300d00dc9ec35d86909b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5293dc6e6a148bf4cb4251873b73885d3370261a785d38c7b33b362dd5f0acb4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5293dc6e6a148bf4cb4251873b73885d3370261a785d38c7b33b362dd5f0acb4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling pin-project-lite v0.2.0 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Compiling smallvec v1.6.0 [INFO] [stderr] Compiling nj-sys v3.0.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling sharded-slab v0.1.0 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling nb-connect v1.0.2 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling tracing-log v0.1.1 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling async-io v1.3.1 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-global-executor v1.4.3 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling async-std v1.8.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling ctor v0.1.17 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling tracing-subscriber v0.2.15 [INFO] [stderr] Compiling fluvio-future v0.1.13 [INFO] [stderr] Compiling nj-core v4.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: static variable `_module` should have an upper case name [INFO] [stdout] --> src/module.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | static mut _module: napi_module = napi_module { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `_MODULE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` 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 1m 27s [INFO] running `Command { std: "docker" "inspect" "5293dc6e6a148bf4cb4251873b73885d3370261a785d38c7b33b362dd5f0acb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5293dc6e6a148bf4cb4251873b73885d3370261a785d38c7b33b362dd5f0acb4", kill_on_drop: false }` [INFO] [stdout] 5293dc6e6a148bf4cb4251873b73885d3370261a785d38c7b33b362dd5f0acb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cf63e07441a43170ebe765953b6f83934aef251aaac9d7e44d29cdd86fcd6b90 [INFO] running `Command { std: "docker" "start" "-a" "cf63e07441a43170ebe765953b6f83934aef251aaac9d7e44d29cdd86fcd6b90", kill_on_drop: false }` [INFO] [stdout] warning: static variable `_module` should have an upper case name [INFO] [stdout] --> src/module.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | static mut _module: napi_module = napi_module { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `_MODULE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "cf63e07441a43170ebe765953b6f83934aef251aaac9d7e44d29cdd86fcd6b90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf63e07441a43170ebe765953b6f83934aef251aaac9d7e44d29cdd86fcd6b90", kill_on_drop: false }` [INFO] [stdout] cf63e07441a43170ebe765953b6f83934aef251aaac9d7e44d29cdd86fcd6b90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c4edebe14b42908b36e17023ea2dd26f0d0fee8f3419c946554d59949080f0ab [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c4edebe14b42908b36e17023ea2dd26f0d0fee8f3419c946554d59949080f0ab", kill_on_drop: false }` [INFO] [stderr] warning: static variable `_module` should have an upper case name [INFO] [stderr] --> src/module.rs:74:16 [INFO] [stderr] | [INFO] [stderr] 74 | static mut _module: napi_module = napi_module { [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper case: `_MODULE` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Doc-tests nj-core [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/buffer.rs - buffer::JSArrayBuffer (line 96) ... 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 [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "c4edebe14b42908b36e17023ea2dd26f0d0fee8f3419c946554d59949080f0ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4edebe14b42908b36e17023ea2dd26f0d0fee8f3419c946554d59949080f0ab", kill_on_drop: false }` [INFO] [stdout] c4edebe14b42908b36e17023ea2dd26f0d0fee8f3419c946554d59949080f0ab