[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 master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fratchetdesigns%2Fts-bindgen" "/workspace/builds/worker-99/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-99/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ratchetdesigns/ts-bindgen on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-99/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded swc_macros_common v0.3.2 [INFO] [stderr] Downloaded swc_atoms v0.2.7 [INFO] [stderr] Downloaded swc_visit v0.2.6 [INFO] [stderr] Downloaded swc_ecma_ast v0.56.0 [INFO] [stderr] Downloaded swc_common v0.14.3 [INFO] [stderr] Downloaded trybuild v1.0.45 [INFO] [stderr] Downloaded swc_ecma_parser v0.76.3 [INFO] [stderr] Downloaded swc_ecma_visit v0.42.0 [INFO] [stderr] Downloaded enum_to_enum_derive v0.1.0 [INFO] [stderr] Downloaded enum_to_enum v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 055f111d2f3e6fe16907d9ea583c3ee2be212c8655c903cbb1bc088702300393 [INFO] running `Command { std: "docker" "start" "-a" "055f111d2f3e6fe16907d9ea583c3ee2be212c8655c903cbb1bc088702300393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "055f111d2f3e6fe16907d9ea583c3ee2be212c8655c903cbb1bc088702300393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "055f111d2f3e6fe16907d9ea583c3ee2be212c8655c903cbb1bc088702300393", kill_on_drop: false }` [INFO] [stdout] 055f111d2f3e6fe16907d9ea583c3ee2be212c8655c903cbb1bc088702300393 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9ed63560165f1c246bde491c13db94fb3580cd1ec87c012fe4c70e953c4c3c8 [INFO] running `Command { std: "docker" "start" "-a" "a9ed63560165f1c246bde491c13db94fb3580cd1ec87c012fe4c70e953c4c3c8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.78 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.67 [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 num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling lexical v5.2.2 [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 rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling swc_macros_common v0.3.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling swc_atoms v0.2.7 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling swc_visit_macros v0.2.3 [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_to_enum_derive v0.1.0 [INFO] [stderr] Compiling enum_kind v0.2.1 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.78 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling ast_node v0.7.3 [INFO] [stderr] Compiling js-sys v0.3.55 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling enum_to_enum v0.1.0 [INFO] [stderr] Compiling swc_visit v0.2.6 [INFO] [stderr] Compiling serde v1.0.130 [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 03s [INFO] running `Command { std: "docker" "inspect" "a9ed63560165f1c246bde491c13db94fb3580cd1ec87c012fe4c70e953c4c3c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9ed63560165f1c246bde491c13db94fb3580cd1ec87c012fe4c70e953c4c3c8", kill_on_drop: false }` [INFO] [stdout] a9ed63560165f1c246bde491c13db94fb3580cd1ec87c012fe4c70e953c4c3c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f73945b1ba0cb82324883afeee1b3fcfa9d7bd3a9b0a16f4ce43792e669795ce [INFO] running `Command { std: "docker" "start" "-a" "f73945b1ba0cb82324883afeee1b3fcfa9d7bd3a9b0a16f4ce43792e669795ce", kill_on_drop: false }` [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling trybuild v1.0.45 [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] [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 v0.1.0 (/opt/rustwide/workdir/ts-bindgen) [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" "f73945b1ba0cb82324883afeee1b3fcfa9d7bd3a9b0a16f4ce43792e669795ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f73945b1ba0cb82324883afeee1b3fcfa9d7bd3a9b0a16f4ce43792e669795ce", kill_on_drop: false }` [INFO] [stdout] f73945b1ba0cb82324883afeee1b3fcfa9d7bd3a9b0a16f4ce43792e669795ce