[INFO] cloning repository https://github.com/tejasag/napi-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tejasag/napi-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftejasag%2Fnapi-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftejasag%2Fnapi-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a8dcfd3c344dc003e78a9b2f02179067712d5e5 [INFO] checking tejasag/napi-test against try#8c500c7cefd54fd11d57295f3771d576be9ee415 for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftejasag%2Fnapi-test" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/tejasag/napi-test [INFO] finished tweaking git repo https://github.com/tejasag/napi-test [INFO] tweaked toml for git repo https://github.com/tejasag/napi-test written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tejasag/napi-test on toolchain 8c500c7cefd54fd11d57295f3771d576be9ee415 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tejasag/napi-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.x86_64-unknown-linux-musl.crt_static [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded napi-sys v2.1.0 [INFO] [stderr] Downloaded napi-derive-backend v1.0.25 [INFO] [stderr] Downloaded napi-derive v2.1.0 [INFO] [stderr] Downloaded napi v2.1.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.30.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.30.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.30.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.30.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.30.0 [INFO] [stderr] Downloaded windows v0.30.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76e8caed0ada084c3684932ae0bf10f09d89fe57d852674c2754d8db4e311beb [INFO] running `Command { std: "docker" "start" "-a" "76e8caed0ada084c3684932ae0bf10f09d89fe57d852674c2754d8db4e311beb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76e8caed0ada084c3684932ae0bf10f09d89fe57d852674c2754d8db4e311beb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76e8caed0ada084c3684932ae0bf10f09d89fe57d852674c2754d8db4e311beb", kill_on_drop: false }` [INFO] [stdout] 76e8caed0ada084c3684932ae0bf10f09d89fe57d852674c2754d8db4e311beb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eec65361eefce0d63749b482de002be688cbeb7e2e8ab3e61f5085b71c7af50d [INFO] running `Command { std: "docker" "start" "-a" "eec65361eefce0d63749b482de002be688cbeb7e2e8ab3e61f5085b71c7af50d", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.x86_64-unknown-linux-musl.crt_static [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling napi-build v1.2.1 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling convert_case v0.5.0 [INFO] [stderr] Checking napi-sys v2.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling tejasag-test v0.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling napi-derive-backend v1.0.25 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Checking napi v2.1.0 [INFO] [stderr] Compiling napi-derive v2.1.0 [INFO] [stdout] warning: unexpected `cfg` condition value: `noop` [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[napi] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `napi` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `noop` [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[napi] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `napi` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `noop` [INFO] [stdout] --> src/animal.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[napi(constructor)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `napi` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `noop` [INFO] [stdout] --> src/animal.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[napi] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `napi` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `noop` [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[napi] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `napi` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `noop` [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[napi] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `napi` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `noop` [INFO] [stdout] --> src/animal.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[napi(constructor)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `napi` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `noop` [INFO] [stdout] --> src/animal.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[napi] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `napi` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum` is never used [INFO] [stdout] --> src/lib.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn sum(a: i32, b: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_even` is never used [INFO] [stdout] --> src/lib.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn is_even(n: i32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.73s [INFO] running `Command { std: "docker" "inspect" "eec65361eefce0d63749b482de002be688cbeb7e2e8ab3e61f5085b71c7af50d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eec65361eefce0d63749b482de002be688cbeb7e2e8ab3e61f5085b71c7af50d", kill_on_drop: false }` [INFO] [stdout] eec65361eefce0d63749b482de002be688cbeb7e2e8ab3e61f5085b71c7af50d