[INFO] cloning repository https://github.com/1714080902120/auto_gen_d_ts
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/1714080902120/auto_gen_d_ts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1714080902120%2Fauto_gen_d_ts", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1714080902120%2Fauto_gen_d_ts'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bf537c4134f064388466eccec2e2e1808c5f5d61
[INFO] building 1714080902120/auto_gen_d_ts against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1714080902120%2Fauto_gen_d_ts" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/1714080902120/auto_gen_d_ts on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/1714080902120/auto_gen_d_ts
[INFO] finished tweaking git repo https://github.com/1714080902120/auto_gen_d_ts
[INFO] tweaked toml for git repo https://github.com/1714080902120/auto_gen_d_ts written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/1714080902120/auto_gen_d_ts 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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e22b4e259dea14a7b8d065ba28f9e819e97d80a367c7603213054f219574abbc
[INFO] running `Command { std: "docker" "start" "-a" "e22b4e259dea14a7b8d065ba28f9e819e97d80a367c7603213054f219574abbc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e22b4e259dea14a7b8d065ba28f9e819e97d80a367c7603213054f219574abbc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e22b4e259dea14a7b8d065ba28f9e819e97d80a367c7603213054f219574abbc", kill_on_drop: false }`
[INFO] [stdout] e22b4e259dea14a7b8d065ba28f9e819e97d80a367c7603213054f219574abbc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 02aff748a44d3f655af295f3c9ba5b1892b068de5d2ac870b956edc0fb9344ea
[INFO] running `Command { std: "docker" "start" "-a" "02aff748a44d3f655af295f3c9ba5b1892b068de5d2ac870b956edc0fb9344ea", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]    Compiling serde v1.0.198
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling ryu v1.0.17
[INFO] [stderr]    Compiling serde_json v1.0.116
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling cc v1.0.94
[INFO] [stderr]    Compiling zerocopy v0.7.32
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling phf_shared v0.11.2
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling either v1.11.0
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling outref v0.1.0
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling simd-abstraction v0.7.1
[INFO] [stderr]    Compiling wyz v0.5.1
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling uuid v1.8.0
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling base64-simd v0.7.0
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling unicode-id-start v1.1.2
[INFO] [stderr]    Compiling getrandom v0.2.14
[INFO] [stderr]    Compiling if_chain v1.0.2
[INFO] [stderr]    Compiling data-encoding v2.5.0
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]    Compiling unicode-width v0.1.11
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling scoped-tls v1.0.1
[INFO] [stderr]    Compiling unicode-id v0.3.4
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling better_scoped_tls v0.1.1
[INFO] [stderr]    Compiling smartstring v1.0.1
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling anyhow v1.0.82
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling stacker v0.1.15
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling socket2 v0.5.6
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling phf_generator v0.11.2
[INFO] [stderr]    Compiling thiserror v1.0.59
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling phf_generator v0.10.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling string_cache_codegen v0.5.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling pathdiff v0.2.1
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling ryu-js v1.0.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling http-body v1.0.0
[INFO] [stderr]    Compiling gimli v0.28.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling semver v1.0.22
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling path-clean v0.1.0
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling miniz_oxide v0.7.2
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling object v0.32.2
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling smawk v0.3.2
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling tower-layer v0.3.2
[INFO] [stderr]    Compiling is_ci v1.2.0
[INFO] [stderr]    Compiling sha-1 v0.10.0
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling rustc-demangle v0.1.23
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling unicode-linebreak v0.1.5
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling textwrap v0.15.2
[INFO] [stderr]    Compiling supports-color v1.3.1
[INFO] [stderr]    Compiling supports-unicode v1.0.2
[INFO] [stderr]    Compiling supports-hyperlinks v1.2.0
[INFO] [stderr]    Compiling terminal_size v0.1.17
[INFO] [stderr]    Compiling rustix v0.38.32
[INFO] [stderr]    Compiling owo-colors v3.5.0
[INFO] [stderr]    Compiling radix_fmt v1.0.0
[INFO] [stderr]    Compiling http-body-util v0.1.1
[INFO] [stderr]    Compiling base64 v0.22.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling addr2line v0.21.0
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling rustls-pki-types v1.4.1
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling swc_macros_common v0.3.10
[INFO] [stderr]    Compiling rustls-pemfile v2.1.2
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling fastrand v2.0.2
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling miette-derive v4.7.1
[INFO] [stderr]    Compiling serde_derive v1.0.198
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling phf_macros v0.11.2
[INFO] [stderr]    Compiling swc_visit_macros v0.5.11
[INFO] [stderr]    Compiling from_variant v0.1.7
[INFO] [stderr]    Compiling swc_eq_ignore_macros v0.1.3
[INFO] [stderr]    Compiling ast_node v0.9.7
[INFO] [stderr]    Compiling string_enum v0.4.3
[INFO] [stderr]    Compiling is-macro v0.3.5
[INFO] [stderr]    Compiling swc_ecma_transforms_macros v0.5.4
[INFO] [stderr]    Compiling swc_trace_macro v0.1.3
[INFO] [stderr]    Compiling swc_config_macro v0.1.3
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.59
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling static-map-macro v0.3.3
[INFO] [stderr]    Compiling swc_ecma_codegen_macros v0.7.5
[INFO] [stderr]    Compiling phf v0.11.2
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling auto_impl v1.2.0
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling st-map v0.2.3
[INFO] [stderr]    Compiling swc_timer v0.21.21
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling swc_visit v0.5.13
[INFO] [stderr]    Compiling miette v4.7.1
[INFO] [stderr]    Compiling triomphe v0.1.11
[INFO] [stderr]    Compiling debugid v0.8.0
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling string_cache v0.8.7
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hstr v0.2.10
[INFO] [stderr]    Compiling swc_cached v0.3.20
[INFO] [stderr]    Compiling hashbrown v0.13.2
[INFO] [stderr]    Compiling swc_atoms v0.6.7
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-stream v0.1.15
[INFO] [stderr]    Compiling petgraph v0.6.4
[INFO] [stderr]    Compiling lru v0.10.1
[INFO] [stderr]    Compiling sourcemap v8.0.1
[INFO] [stderr]    Compiling jsonc-parser v0.21.1
[INFO] [stderr]    Compiling h2 v0.4.4
[INFO] [stderr]    Compiling browserslist-rs v0.15.0
[INFO] [stderr]    Compiling swc_common v0.33.25
[INFO] [stderr]    Compiling swc_config v0.1.12
[INFO] [stderr]    Compiling swc_ecma_ast v0.112.8
[INFO] [stderr]    Compiling swc_fast_graph v0.21.21
[INFO] [stderr]    Compiling swc_ecma_loader v0.45.27
[INFO] [stderr]    Compiling swc_error_reporters v0.17.19
[INFO] [stderr]    Compiling swc_node_comments v0.20.19
[INFO] [stderr]    Compiling hyper v1.3.1
[INFO] [stderr]    Compiling hyper-util v0.1.3
[INFO] [stderr]    Compiling swc_ecma_visit v0.98.7
[INFO] [stderr]    Compiling swc_ecma_parser v0.143.16
[INFO] [stderr]    Compiling swc_ecma_codegen v0.148.17
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.3
[INFO] [stderr]    Compiling preset_env_base v0.4.12
[INFO] [stderr]    Compiling swc_ecma_utils v0.127.20
[INFO] [stderr]    Compiling swc_ecma_transforms_base v0.137.21
[INFO] [stderr]    Compiling swc_ecma_compat_common v0.4.13
[INFO] [stderr]    Compiling swc_ecma_usage_analyzer v0.23.14
[INFO] [stderr]    Compiling swc_ecma_lints v0.92.21
[INFO] [stderr]    Compiling swc_ecma_ext_transforms v0.113.14
[INFO] [stderr]    Compiling swc_ecma_transforms_classes v0.126.16
[INFO] [stderr]    Compiling swc_ecma_transforms_optimization v0.198.22
[INFO] [stderr]    Compiling swc_ecma_compat_es2018 v0.4.17
[INFO] [stderr]    Compiling swc_ecma_compat_es2019 v0.4.16
[INFO] [stderr]    Compiling swc_ecma_compat_es2017 v0.4.17
[INFO] [stderr]    Compiling swc_ecma_compat_es2016 v0.4.16
[INFO] [stderr]    Compiling swc_ecma_transforms_react v0.183.19
[INFO] [stderr]    Compiling swc_ecma_compat_es3 v0.4.16
[INFO] [stderr]    Compiling swc_ecma_compat_es2021 v0.4.16
[INFO] [stderr]    Compiling swc_ecma_transforms_module v0.180.19
[INFO] [stderr]    Compiling swc_ecma_compat_es2022 v0.4.17
[INFO] [stderr]    Compiling swc_ecma_compat_es2015 v0.4.20
[INFO] [stderr]    Compiling swc_ecma_transforms_proposal v0.171.23
[INFO] [stderr]    Compiling swc_ecma_transforms_typescript v0.188.19
[INFO] [stderr]    Compiling swc_ecma_compat_es2020 v0.4.17
[INFO] [stderr]    Compiling swc_ecma_minifier v0.192.23
[INFO] [stderr]    Compiling swc_ecma_compat_bugfixes v0.4.18
[INFO] [stderr]    Compiling swc_ecma_transforms_compat v0.163.19
[INFO] [stderr]    Compiling swc_ecma_transforms v0.229.18
[INFO] [stderr]    Compiling swc_ecma_preset_env v0.206.18
[INFO] [stderr]    Compiling swc_compiler_base v0.7.20
[INFO] [stderr]    Compiling swc v0.273.27
[INFO] [stderr]    Compiling rust_auto_gen_d_ts v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `File` and `OpenOptions`
[INFO] [stdout]  --> src/args/mod.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::{canonicalize, File, OpenOptions};
[INFO] [stdout]   |                             ^^^^  ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufReader` and `BufWriter`
[INFO] [stdout]  --> src/args/mod.rs:2:45
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{self, stdin, stdout, BufRead, BufReader, BufWriter, Write};
[INFO] [stdout]   |                                             ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `env`
[INFO] [stdout]  --> src/args/mod.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{env, fs};
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/compile/parse.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mark`
[INFO] [stdout]  --> src/compile/parse.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 | use swc_common::{Mark, GLOBALS};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `swc_ecma_preset_env::preset_env`
[INFO] [stdout]   --> src/compile/parse.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use swc_ecma_preset_env::preset_env;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `swc_ecma_transforms_base::resolver`
[INFO] [stdout]   --> src/compile/parse.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use swc_ecma_transforms_base::resolver;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `swc_ecma_visit::FoldWith`
[INFO] [stdout]   --> src/compile/parse.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use swc_ecma_visit::FoldWith;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncRead`, `ReadBuf`, `ReadDir`, and `self`
[INFO] [stdout]  --> src/file_io/read.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 |     fs::{self, ReadDir},
[INFO] [stdout]   |          ^^^^  ^^^^^^^
[INFO] [stdout] 4 |     io::{self, AsyncRead, AsyncReadExt, ReadBuf},
[INFO] [stdout]   |                ^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `File`
[INFO] [stdout]  --> src/file_io/write.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::{self, File};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]  --> src/args/mod.rs:2:36
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{self, stdin, stdout, BufRead, BufReader, BufWriter, Write};
[INFO] [stdout]   |                                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/file_io/write.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{self, Write};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/compile/transform.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn visit_ast(mut module: Module, source_code: &str) -> (Module, Vec<Vec<String>>) {
[INFO] [stdout]    |                  ----^^^^^^
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::str::<impl str>::trim_end_matches` that must be used
[INFO] [stdout]   --> src/args/mod.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     path.trim_end_matches('\n');
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this returns the trimmed string as a new slice, without modifying the original
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let _ = path.trim_end_matches('\n');
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/file_io/read.rs:113:5
[INFO] [stdout]     |
[INFO] [stdout] 113 |     recur_dir(String::new(), deep, path, &mut dirs, &mut contents);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 113 |     let _ = recur_dir(String::new(), deep, path, &mut dirs, &mut contents);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s
[INFO] running `Command { std: "docker" "inspect" "02aff748a44d3f655af295f3c9ba5b1892b068de5d2ac870b956edc0fb9344ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "02aff748a44d3f655af295f3c9ba5b1892b068de5d2ac870b956edc0fb9344ea", kill_on_drop: false }`
[INFO] [stdout] 02aff748a44d3f655af295f3c9ba5b1892b068de5d2ac870b956edc0fb9344ea
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0f23bcb815e30f44a00829afba1efe5d68c9e0b653cb01dfee7d549d0ff755b6
[INFO] running `Command { std: "docker" "start" "-a" "0f23bcb815e30f44a00829afba1efe5d68c9e0b653cb01dfee7d549d0ff755b6", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust_auto_gen_d_ts v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `File` and `OpenOptions`
[INFO] [stdout]  --> src/args/mod.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::{canonicalize, File, OpenOptions};
[INFO] [stdout]   |                             ^^^^  ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufReader` and `BufWriter`
[INFO] [stdout]  --> src/args/mod.rs:2:45
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{self, stdin, stdout, BufRead, BufReader, BufWriter, Write};
[INFO] [stdout]   |                                             ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `env`
[INFO] [stdout]  --> src/args/mod.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{env, fs};
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/compile/parse.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mark`
[INFO] [stdout]  --> src/compile/parse.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 | use swc_common::{Mark, GLOBALS};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `swc_ecma_preset_env::preset_env`
[INFO] [stdout]   --> src/compile/parse.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use swc_ecma_preset_env::preset_env;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `swc_ecma_transforms_base::resolver`
[INFO] [stdout]   --> src/compile/parse.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use swc_ecma_transforms_base::resolver;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `swc_ecma_visit::FoldWith`
[INFO] [stdout]   --> src/compile/parse.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use swc_ecma_visit::FoldWith;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `swc_ecma_ast::*`
[INFO] [stdout]   --> src/compile/parse.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     use swc_ecma_ast::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncRead`, `ReadBuf`, `ReadDir`, and `self`
[INFO] [stdout]  --> src/file_io/read.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 |     fs::{self, ReadDir},
[INFO] [stdout]   |          ^^^^  ^^^^^^^
[INFO] [stdout] 4 |     io::{self, AsyncRead, AsyncReadExt, ReadBuf},
[INFO] [stdout]   |                ^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]    --> src/file_io/read.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |     use std::path::Path;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `File`
[INFO] [stdout]  --> src/file_io/write.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::{self, File};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]  --> src/args/mod.rs:2:36
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{self, stdin, stdout, BufRead, BufReader, BufWriter, Write};
[INFO] [stdout]   |                                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/file_io/write.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{self, Write};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `temp_dir`
[INFO] [stdout]    --> src/args/mod.rs:119:13
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let temp_dir = fs::create_dir_all("/tmp/test_dir").await.unwrap();
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_dir`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `module`
[INFO] [stdout]   --> src/compile/parse.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let module = parse_js_2_ast(file_name, &mut code);
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/compile/transform.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn visit_ast(mut module: Module, source_code: &str) -> (Module, Vec<Vec<String>>) {
[INFO] [stdout]    |                  ----^^^^^^
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/compile/transform.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let mut parse_res = parse_js_2_ast(file_name, &mut code);
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `module`
[INFO] [stdout]    --> src/compile/transform.rs:138:13
[INFO] [stdout]     |
[INFO] [stdout] 138 |         let module = visit_ast(parse_res.0, &parse_res.1);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]    --> src/file_io/write.rs:121:13
[INFO] [stdout]     |
[INFO] [stdout] 121 |         let res = generate_dts_files(
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::str::<impl str>::trim_end_matches` that must be used
[INFO] [stdout]   --> src/args/mod.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     path.trim_end_matches('\n');
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this returns the trimmed string as a new slice, without modifying the original
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let _ = path.trim_end_matches('\n');
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/file_io/read.rs:113:5
[INFO] [stdout]     |
[INFO] [stdout] 113 |     recur_dir(String::new(), deep, path, &mut dirs, &mut contents);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 113 |     let _ = recur_dir(String::new(), deep, path, &mut dirs, &mut contents);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.85s
[INFO] running `Command { std: "docker" "inspect" "0f23bcb815e30f44a00829afba1efe5d68c9e0b653cb01dfee7d549d0ff755b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f23bcb815e30f44a00829afba1efe5d68c9e0b653cb01dfee7d549d0ff755b6", kill_on_drop: false }`
[INFO] [stdout] 0f23bcb815e30f44a00829afba1efe5d68c9e0b653cb01dfee7d549d0ff755b6
