[INFO] cloning repository https://github.com/ratchetdesigns/ts-bindgen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ratchetdesigns/ts-bindgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fratchetdesigns%2Fts-bindgen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fratchetdesigns%2Fts-bindgen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 031c0c7101b984c3a8745a71538d085d1f022d5d [INFO] testing ratchetdesigns/ts-bindgen against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fratchetdesigns%2Fts-bindgen" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ratchetdesigns/ts-bindgen on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ratchetdesigns/ts-bindgen [INFO] finished tweaking git repo https://github.com/ratchetdesigns/ts-bindgen [INFO] tweaked toml for git repo https://github.com/ratchetdesigns/ts-bindgen written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/ratchetdesigns/ts-bindgen already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db2fa0e62be5d0116ce0df48cd21f1bfc4a2f6e0affac57a40b01c2d9ce5fb4d [INFO] running `Command { std: "docker" "start" "-a" "db2fa0e62be5d0116ce0df48cd21f1bfc4a2f6e0affac57a40b01c2d9ce5fb4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db2fa0e62be5d0116ce0df48cd21f1bfc4a2f6e0affac57a40b01c2d9ce5fb4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db2fa0e62be5d0116ce0df48cd21f1bfc4a2f6e0affac57a40b01c2d9ce5fb4d", kill_on_drop: false }` [INFO] [stdout] db2fa0e62be5d0116ce0df48cd21f1bfc4a2f6e0affac57a40b01c2d9ce5fb4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b845b4d1151198a60ca0e7d4a0f102ac146070f9b5e75d6bc65124e514dbc8f [INFO] running `Command { std: "docker" "start" "-a" "9b845b4d1151198a60ca0e7d4a0f102ac146070f9b5e75d6bc65124e514dbc8f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.78 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling lexical v5.2.2 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling swc_atoms v0.2.7 [INFO] [stderr] Compiling pmutil v0.5.3 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.78 [INFO] [stderr] Compiling swc_macros_common v0.3.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Compiling swc_visit_macros v0.2.3 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.0 [INFO] [stderr] Compiling from_variant v0.1.3 [INFO] [stderr] Compiling is-macro v0.1.9 [INFO] [stderr] Compiling string_enum v0.3.1 [INFO] [stderr] Compiling enum_kind v0.2.1 [INFO] [stderr] Compiling enum_to_enum_derive v0.1.0 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.78 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling ast_node v0.7.3 [INFO] [stderr] Compiling enum_to_enum v0.1.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling js-sys v0.3.55 [INFO] [stderr] Compiling swc_visit v0.2.6 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling ts-bindgen-rt v0.1.0 (/opt/rustwide/workdir/ts-bindgen-rt) [INFO] [stderr] Compiling swc_common v0.14.3 [INFO] [stderr] Compiling swc_ecma_ast v0.56.0 [INFO] [stderr] Compiling swc_ecma_visit v0.42.0 [INFO] [stderr] Compiling swc_ecma_parser v0.76.3 [INFO] [stderr] Compiling ts-bindgen-gen v0.1.0 (/opt/rustwide/workdir/ts-bindgen-gen) [INFO] [stdout] warning: unused variable: `type_params` [INFO] [stdout] --> ts-bindgen-gen/src/codegen.rs:1634:21 [INFO] [stdout] | [INFO] [stdout] 1634 | type_params, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `type_params: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ref` [INFO] [stdout] --> ts-bindgen-gen/src/codegen.rs:1038:5 [INFO] [stdout] | [INFO] [stdout] 1038 | Ref, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_string_type_params` [INFO] [stdout] --> ts-bindgen-gen/src/identifier.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn with_string_type_params(&self, type_params: &[String]) -> Identifier { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ts-bindgen-macro v0.1.0 (/opt/rustwide/workdir/ts-bindgen-macro) [INFO] [stderr] Compiling ts-bindgen v0.1.0 (/opt/rustwide/workdir/ts-bindgen) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 05s [INFO] running `Command { std: "docker" "inspect" "9b845b4d1151198a60ca0e7d4a0f102ac146070f9b5e75d6bc65124e514dbc8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b845b4d1151198a60ca0e7d4a0f102ac146070f9b5e75d6bc65124e514dbc8f", kill_on_drop: false }` [INFO] [stdout] 9b845b4d1151198a60ca0e7d4a0f102ac146070f9b5e75d6bc65124e514dbc8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60f3bb62497d24f067455b0165248a634e9e7b30fc17916933fd775fffc313e7 [INFO] running `Command { std: "docker" "start" "-a" "60f3bb62497d24f067455b0165248a634e9e7b30fc17916933fd775fffc313e7", kill_on_drop: false }` [INFO] [stderr] Compiling trybuild v1.0.45 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling ts-bindgen-rt v0.1.0 (/opt/rustwide/workdir/ts-bindgen-rt) [INFO] [stdout] warning: unused variable: `type_params` [INFO] [stdout] --> ts-bindgen-gen/src/codegen.rs:1634:21 [INFO] [stdout] | [INFO] [stdout] 1634 | type_params, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `type_params: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ts-bindgen v0.1.0 (/opt/rustwide/workdir/ts-bindgen) [INFO] [stdout] warning: variant is never constructed: `Ref` [INFO] [stdout] --> ts-bindgen-gen/src/codegen.rs:1038:5 [INFO] [stdout] | [INFO] [stdout] 1038 | Ref, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_string_type_params` [INFO] [stdout] --> ts-bindgen-gen/src/identifier.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn with_string_type_params(&self, type_params: &[String]) -> Identifier { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling ts-bindgen-gen v0.1.0 (/opt/rustwide/workdir/ts-bindgen-gen) [INFO] [stdout] error: environment variable `USER` not defined [INFO] [stdout] --> ts-bindgen-gen/tests/end_to_end_test.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | .env("USER", env!("USER")) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `USER` not defined [INFO] [stdout] --> ts-bindgen-gen/tests/end_to_end_test.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | .env("USER", env!("USER")) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `RUST_VERSION` not defined [INFO] [stdout] --> ts-bindgen-gen/tests/end_to_end_test.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | .env("RUST_VERSION", env!("RUST_VERSION")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `USER` not defined [INFO] [stdout] --> ts-bindgen-gen/tests/end_to_end_test.rs:106:22 [INFO] [stdout] | [INFO] [stdout] 106 | .env("USER", env!("USER")) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `RUST_VERSION` not defined [INFO] [stdout] --> ts-bindgen-gen/tests/end_to_end_test.rs:110:30 [INFO] [stdout] | [INFO] [stdout] 110 | .env("RUST_VERSION", env!("RUST_VERSION")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::tempdir` [INFO] [stdout] --> ts-bindgen-gen/tests/end_to_end_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tempfile::tempdir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ts-bindgen-gen` due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `type_params` [INFO] [stdout] --> ts-bindgen-gen/src/codegen.rs:1634:21 [INFO] [stdout] | [INFO] [stdout] 1634 | type_params, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `type_params: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ref` [INFO] [stdout] --> ts-bindgen-gen/src/codegen.rs:1038:5 [INFO] [stdout] | [INFO] [stdout] 1038 | Ref, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_string_type_params` [INFO] [stdout] --> ts-bindgen-gen/src/identifier.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn with_string_type_params(&self, type_params: &[String]) -> Identifier { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "60f3bb62497d24f067455b0165248a634e9e7b30fc17916933fd775fffc313e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60f3bb62497d24f067455b0165248a634e9e7b30fc17916933fd775fffc313e7", kill_on_drop: false }` [INFO] [stdout] 60f3bb62497d24f067455b0165248a634e9e7b30fc17916933fd775fffc313e7