[INFO] cloning repository https://github.com/codermall/rust-napi-upgrade [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codermall/rust-napi-upgrade" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodermall%2Frust-napi-upgrade", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodermall%2Frust-napi-upgrade'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 21c9cfb8e2e2508a9c39a642b2b9ada17f13bcb6 [INFO] checking codermall/rust-napi-upgrade against try#70daa2c0d8eed7066b07966f3c0b0b8622bff4e4 for pr-151539 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodermall%2Frust-napi-upgrade" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/codermall/rust-napi-upgrade [INFO] finished tweaking git repo https://github.com/codermall/rust-napi-upgrade [INFO] tweaked toml for git repo https://github.com/codermall/rust-napi-upgrade written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/codermall/rust-napi-upgrade on toolchain 70daa2c0d8eed7066b07966f3c0b0b8622bff4e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70daa2c0d8eed7066b07966f3c0b0b8622bff4e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/codermall/rust-napi-upgrade 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" "+70daa2c0d8eed7066b07966f3c0b0b8622bff4e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+70daa2c0d8eed7066b07966f3c0b0b8622bff4e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b71a29e0787f4f5ce91a60cb5b1549249708c3a3f49b3a430e38fec3fc9c1834 [INFO] running `Command { std: "docker" "start" "-a" "b71a29e0787f4f5ce91a60cb5b1549249708c3a3f49b3a430e38fec3fc9c1834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b71a29e0787f4f5ce91a60cb5b1549249708c3a3f49b3a430e38fec3fc9c1834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b71a29e0787f4f5ce91a60cb5b1549249708c3a3f49b3a430e38fec3fc9c1834", kill_on_drop: false }` [INFO] [stdout] b71a29e0787f4f5ce91a60cb5b1549249708c3a3f49b3a430e38fec3fc9c1834 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+70daa2c0d8eed7066b07966f3c0b0b8622bff4e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5c7b8974c25a74fc44c99f0d882b5f61b46f58ff330237290ee25fcd3979623 [INFO] running `Command { std: "docker" "start" "-a" "e5c7b8974c25a74fc44c99f0d882b5f61b46f58ff330237290ee25fcd3979623", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling dtor-proc-macro v0.0.5 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling ctor-proc-macro v0.0.6 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling napi-build v2.2.3 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling dtor v0.0.6 [INFO] [stderr] Compiling napi v3.1.6 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking ctor v0.4.3 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking napi-sys v3.0.0 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling napi-derive-backend v2.0.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling napi-derive v3.1.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/napi-3.1.6/src/bindgen_runtime/js_values/promise_raw.rs:512:45 [INFO] [stdout] | [INFO] [stdout] 512 | if !unsafe { *Box::from_raw(finalize_data.cast()) } { [INFO] [stdout] | ^^^^ cannot infer type of the type parameter `U` declared on the method `cast` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 512 | if !unsafe { *Box::from_raw(finalize_data.cast::()) } { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `napi` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e5c7b8974c25a74fc44c99f0d882b5f61b46f58ff330237290ee25fcd3979623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5c7b8974c25a74fc44c99f0d882b5f61b46f58ff330237290ee25fcd3979623", kill_on_drop: false }` [INFO] [stdout] e5c7b8974c25a74fc44c99f0d882b5f61b46f58ff330237290ee25fcd3979623