[INFO] cloning repository https://github.com/kzha0/deno-bindgen2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kzha0/deno-bindgen2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkzha0%2Fdeno-bindgen2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkzha0%2Fdeno-bindgen2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51f2233e8ca797c65c590b266d8b6f6f96c4932e [INFO] testing kzha0/deno-bindgen2 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkzha0%2Fdeno-bindgen2" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/kzha0/deno-bindgen2 [INFO] finished tweaking git repo https://github.com/kzha0/deno-bindgen2 [INFO] tweaked toml for git repo https://github.com/kzha0/deno-bindgen2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kzha0/deno-bindgen2 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kzha0/deno-bindgen2 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72ac1ac9047ee65ed161173deca6303bc88ce1841326cc19d05b4863c7ec98e0 [INFO] running `Command { std: "docker" "start" "-a" "72ac1ac9047ee65ed161173deca6303bc88ce1841326cc19d05b4863c7ec98e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72ac1ac9047ee65ed161173deca6303bc88ce1841326cc19d05b4863c7ec98e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72ac1ac9047ee65ed161173deca6303bc88ce1841326cc19d05b4863c7ec98e0", kill_on_drop: false }` [INFO] [stdout] 72ac1ac9047ee65ed161173deca6303bc88ce1841326cc19d05b4863c7ec98e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36572160d0d8d58bce9d109aac2df2908eff58ff6cae4f533468af5ae933d10d [INFO] running `Command { std: "docker" "start" "-a" "36572160d0d8d58bce9d109aac2df2908eff58ff6cae4f533468af5ae933d10d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling better_scoped_tls v0.1.2 [INFO] [stderr] Compiling swc_visit v0.6.2 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling unicode-id-start v1.3.1 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling data-url v0.3.1 [INFO] [stderr] Compiling deno_terminal v0.2.0 [INFO] [stderr] Compiling string_capacity v0.1.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling clap_builder v4.5.31 [INFO] [stderr] Compiling newline-converter v0.3.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling psm v0.1.25 [INFO] [stderr] Compiling stacker v0.1.19 [INFO] [stderr] Compiling inquire v0.7.5 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling swc_macros_common v0.3.14 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling dprint-core-macros v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.4 [INFO] [stderr] Compiling ast_node v0.9.9 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling from_variant v0.1.9 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Compiling string_enum v0.4.4 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling hstr v0.2.17 [INFO] [stderr] Compiling swc_atoms v0.6.7 [INFO] [stderr] Compiling swc_allocator v0.1.10 [INFO] [stderr] Compiling text_lines v0.6.0 [INFO] [stderr] Compiling deno_error_macro v0.5.6 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling swc_common v0.37.5 [INFO] [stderr] Compiling deno_media_type v0.2.6 [INFO] [stderr] Compiling dprint-core v0.66.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling swc_ecma_ast v0.118.2 [INFO] [stderr] Compiling deno_error v0.5.6 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling clap v4.5.31 [INFO] [stderr] Compiling swc_ecma_parser v0.149.1 [INFO] [stderr] Compiling dprint-swc-ext v0.20.0 [INFO] [stderr] Compiling deno_ast v0.45.1 [INFO] [stderr] Compiling dprint-plugin-typescript v0.93.4 [INFO] [stderr] Compiling deno-bindgen2-common v1.0.2 (/opt/rustwide/workdir/packages/common) [INFO] [stdout] error: couldn't read `packages/common/src/deno/../ts/util.ts`: No such file or directory (os error 2) [INFO] [stdout] --> packages/common/src/deno/ty.rs:485:25 [INFO] [stdout] | [INFO] [stdout] 485 | let util_file = include_str!("../ts/util.ts"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `packages/common/src/deno/../ts/core.ts`: No such file or directory (os error 2) [INFO] [stdout] --> packages/common/src/deno/ty.rs:486:25 [INFO] [stdout] | [INFO] [stdout] 486 | let core_file = include_str!("../ts/core.ts"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `packages/common/src/deno/../ts/extended.ts`: No such file or directory (os error 2) [INFO] [stdout] --> packages/common/src/deno/ty.rs:487:29 [INFO] [stdout] | [INFO] [stdout] 487 | let extended_file = include_str!("../ts/extended.ts"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> packages/common/src/deno/ty.rs:317:30 [INFO] [stdout] | [INFO] [stdout] 317 | .extract_if(|user_defined| *user_defined == *class_name) [INFO] [stdout] | ^^^^^^^^^^^^ ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 317 | .extract_if(|user_defined: /* Type */| *user_defined == *class_name) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> packages/common/src/deno/ty.rs:317:18 [INFO] [stdout] | [INFO] [stdout] 317 | .extract_if(|user_defined| *user_defined == *class_name) [INFO] [stdout] | ^^^^^^^^^^--------------------------------------------- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/collections/btree/set.rs:1223:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 317 | .extract_if(|user_defined| *user_defined == *class_name, /* pred */) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `deno-bindgen2-common` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "36572160d0d8d58bce9d109aac2df2908eff58ff6cae4f533468af5ae933d10d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36572160d0d8d58bce9d109aac2df2908eff58ff6cae4f533468af5ae933d10d", kill_on_drop: false }` [INFO] [stdout] 36572160d0d8d58bce9d109aac2df2908eff58ff6cae4f533468af5ae933d10d