[INFO] cloning repository https://github.com/ziv/node-bindgen-unitest-error-reproduction [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ziv/node-bindgen-unitest-error-reproduction" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fziv%2Fnode-bindgen-unitest-error-reproduction", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fziv%2Fnode-bindgen-unitest-error-reproduction'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6c29a6d136f26626358dfbf8d57930b77f30aa54 [INFO] checking ziv/node-bindgen-unitest-error-reproduction against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fziv%2Fnode-bindgen-unitest-error-reproduction" "/workspace/builds/worker-69/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-69/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ziv/node-bindgen-unitest-error-reproduction on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ziv/node-bindgen-unitest-error-reproduction [INFO] finished tweaking git repo https://github.com/ziv/node-bindgen-unitest-error-reproduction [INFO] tweaked toml for git repo https://github.com/ziv/node-bindgen-unitest-error-reproduction written to /workspace/builds/worker-69/source/Cargo.toml [INFO] crate git repo https://github.com/ziv/node-bindgen-unitest-error-reproduction already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70847645cfa81b1b12c7761196c86891a7bad972945bff805a1cf22fe663513c [INFO] running `Command { std: "docker" "start" "-a" "70847645cfa81b1b12c7761196c86891a7bad972945bff805a1cf22fe663513c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70847645cfa81b1b12c7761196c86891a7bad972945bff805a1cf22fe663513c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70847645cfa81b1b12c7761196c86891a7bad972945bff805a1cf22fe663513c", kill_on_drop: false }` [INFO] [stdout] 70847645cfa81b1b12c7761196c86891a7bad972945bff805a1cf22fe663513c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf7ceb350ad5dbf486a3fb227a0b2f3d8f7ef3988b674de724cdf734134f45f2 [INFO] running `Command { std: "docker" "start" "-a" "cf7ceb350ad5dbf486a3fb227a0b2f3d8f7ef3988b674de724cdf734134f45f2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] node-bindgen v4.3.0: build, nj-build [INFO] [stderr] regex v1.5.4: aho-corasick, default, memchr, perf, perf-cache, perf-dfa, perf-inline, perf-literal, unicode, unicode-age, unicode-bool, unicode-case, unicode-gencat, unicode-perl, unicode-script, unicode-segment [INFO] [stderr] [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 memchr v2.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling nj-sys v3.0.0 [INFO] [stderr] Compiling nj-build v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.3 [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 value-bag v1.0.0-alpha.7 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Compiling Inflector v0.11.4 [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 pin-project-internal v1.0.8 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling nj-derive v3.4.1 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Checking polling v2.1.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking async-io v1.6.0 [INFO] [stderr] Checking tracing-subscriber v0.2.19 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Checking fluvio-future v0.2.0 [INFO] [stderr] Checking nj-core v4.3.0 [INFO] [stderr] Checking node-bindgen v4.3.0 [INFO] [stderr] Compiling node-bindgen-unitest-error-reproduction v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error: cannot find attribute `node_bindgen` in this scope [INFO] [stdout] --> src/lib.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[node_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::node_bindgen [INFO] [stdout] node_bindgen::derive::node_bindgen [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `node_bindgen::derive::node_bindgen` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use node_bindgen::derive::node_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::example::sum` [INFO] [stdout] --> src/testing.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::example::sum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `node-bindgen-unitest-error-reproduction` due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `node_bindgen` in this scope [INFO] [stdout] --> src/lib.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[node_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::node_bindgen [INFO] [stdout] node_bindgen::derive::node_bindgen [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] warning: unused import: `node_bindgen::derive::node_bindgen` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use node_bindgen::derive::node_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "cf7ceb350ad5dbf486a3fb227a0b2f3d8f7ef3988b674de724cdf734134f45f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf7ceb350ad5dbf486a3fb227a0b2f3d8f7ef3988b674de724cdf734134f45f2", kill_on_drop: false }` [INFO] [stdout] cf7ceb350ad5dbf486a3fb227a0b2f3d8f7ef3988b674de724cdf734134f45f2