[INFO] cloning repository https://github.com/hecrean/tsx-files-as-source-of-truth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hecrean/tsx-files-as-source-of-truth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhecrean%2Ftsx-files-as-source-of-truth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhecrean%2Ftsx-files-as-source-of-truth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 889ea98f9cdcaa0620ad639d2085925644fd099b [INFO] checking hecrean/tsx-files-as-source-of-truth against master#80ed61fbd64936ed676c2050e7e660b5ad78c9f2 for pr-100555 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhecrean%2Ftsx-files-as-source-of-truth" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hecrean/tsx-files-as-source-of-truth on toolchain 80ed61fbd64936ed676c2050e7e660b5ad78c9f2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+80ed61fbd64936ed676c2050e7e660b5ad78c9f2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hecrean/tsx-files-as-source-of-truth [INFO] finished tweaking git repo https://github.com/hecrean/tsx-files-as-source-of-truth [INFO] tweaked toml for git repo https://github.com/hecrean/tsx-files-as-source-of-truth written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/hecrean/tsx-files-as-source-of-truth already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+80ed61fbd64936ed676c2050e7e660b5ad78c9f2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/swc-project/swc` [INFO] [stderr] Updating git submodule `https://github.com/tc39/test262-parser-tests.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sourcemap v6.0.1 [INFO] [stderr] Downloaded lexical-write-integer v0.8.3 [INFO] [stderr] Downloaded darling_macro v0.13.3 [INFO] [stderr] Downloaded lexical-core v0.8.3 [INFO] [stderr] Downloaded is-macro v0.2.0 [INFO] [stderr] Downloaded lexical-write-float v0.8.4 [INFO] [stderr] Downloaded lexical-parse-integer v0.8.3 [INFO] [stderr] Downloaded lexical-parse-float v0.8.3 [INFO] [stderr] Downloaded json_comments v0.2.0 [INFO] [stderr] Downloaded static-map-macro v0.2.3 [INFO] [stderr] Downloaded auto_impl v0.5.0 [INFO] [stderr] Downloaded lexical v6.1.0 [INFO] [stderr] Downloaded supports-hyperlinks v1.2.0 [INFO] [stderr] Downloaded supports-unicode v1.0.2 [INFO] [stderr] Downloaded normpath v0.2.0 [INFO] [stderr] Downloaded miette v4.3.0 [INFO] [stderr] Downloaded miette-derive v4.3.0 [INFO] [stderr] Downloaded lexical-util v0.8.3 [INFO] [stderr] Downloaded owo-colors v3.3.0 [INFO] [stderr] Downloaded darling_core v0.13.3 [INFO] [stderr] Downloaded st-map v0.1.6 [INFO] [stderr] Downloaded unicode-id v0.3.0 [INFO] [stderr] Downloaded darling v0.13.3 [INFO] [stderr] Downloaded browserslist-rs v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+80ed61fbd64936ed676c2050e7e660b5ad78c9f2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 288308ec8480de0798f610b260169729d00c11e43883881fb1d96ed34be603b3 [INFO] running `Command { std: "docker" "start" "-a" "288308ec8480de0798f610b260169729d00c11e43883881fb1d96ed34be603b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "288308ec8480de0798f610b260169729d00c11e43883881fb1d96ed34be603b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "288308ec8480de0798f610b260169729d00c11e43883881fb1d96ed34be603b3", kill_on_drop: false }` [INFO] [stdout] 288308ec8480de0798f610b260169729d00c11e43883881fb1d96ed34be603b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+80ed61fbd64936ed676c2050e7e660b5ad78c9f2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a4b44f7bc1bd6b339191ba78120a603abda0b09b5ed974d2475164db0de59c2 [INFO] running `Command { std: "docker" "start" "-a" "3a4b44f7bc1bd6b339191ba78120a603abda0b09b5ed974d2475164db0de59c2", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking unicode-id v0.3.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling semver v1.0.7 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking path-clean v0.1.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking smawk v0.3.1 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking is_ci v1.1.1 [INFO] [stderr] Checking owo-colors v3.3.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking retain_mut v0.1.7 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking json_comments v0.2.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking tracing-core v0.1.24 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking lexical-util v0.8.3 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking better_scoped_tls v0.1.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking debug_unreachable v0.1.1 [INFO] [stderr] Checking lexical-parse-integer v0.8.3 [INFO] [stderr] Checking lexical-write-integer v0.8.3 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Checking lexical-parse-float v0.8.3 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking lexical-write-float v0.8.4 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Checking ordered-float v2.10.0 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking supports-unicode v1.0.2 [INFO] [stderr] Checking supports-hyperlinks v1.2.0 [INFO] [stderr] Checking supports-color v1.3.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking lexical-core v0.8.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking dashmap v5.2.0 [INFO] [stderr] Checking lexical v6.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling swc_atoms v0.2.11 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling unicode-linebreak v0.1.2 [INFO] [stderr] Compiling pmutil v0.5.3 [INFO] [stderr] Compiling darling_core v0.13.3 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling swc_macros_common v0.3.3 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling swc_visit_macros v0.3.1 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling from_variant v0.1.3 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling string_enum v0.3.1 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling is-macro v0.2.0 [INFO] [stderr] Compiling enum_kind v0.2.1 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling swc_ecma_transforms_macros v0.3.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling swc_trace_macro v0.1.1 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling static-map-macro v0.2.3 [INFO] [stderr] Compiling swc_ecma_codegen_macros v0.7.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling miette-derive v4.3.0 [INFO] [stderr] Compiling auto_impl v0.5.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking st-map v0.1.6 [INFO] [stderr] Compiling darling_macro v0.13.3 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking miette v4.3.0 [INFO] [stderr] Checking tracing v0.1.32 [INFO] [stderr] Compiling darling v0.13.3 [INFO] [stderr] Checking swc_timer v0.5.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling ast_node v0.7.7 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking swc_visit v0.3.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking string_cache v0.8.4 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking swc_cached v0.1.1 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking lru v0.7.5 [INFO] [stderr] Checking sourcemap v6.0.1 [INFO] [stderr] Checking serde_yaml v0.8.23 [INFO] [stderr] Checking swc_common v0.17.19 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling browserslist-rs v0.9.0 [INFO] [stderr] Checking swc_ecma_ast v0.75.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking swc_ecma_loader v0.29.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking swc_node_comments v0.4.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking swc_error_reporters v0.1.1 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking preset_env_base v0.2.1 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking swc_ecma_visit v0.61.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking swc_ecma_parser v0.100.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking swc_ecma_codegen v0.103.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking swc_ecmascript v0.143.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking swc_ecma_utils v0.79.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking swc_ecma_transforms_base v0.75.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking swc_ecma_ext_transforms v0.65.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking swc_ecma_lints v0.31.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking swc_ecma_transforms_classes v0.63.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking swc_ecma_transforms_optimization v0.112.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking swc_ecma_transforms_react v0.104.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking swc_ecma_transforms_module v0.102.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking swc_ecma_transforms_compat v0.89.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking swc_ecma_transforms_proposal v0.97.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking swc_ecma_transforms_typescript v0.107.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking swc_ecma_minifier v0.100.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking swc_ecma_transforms v0.142.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking swc_ecma_preset_env v0.117.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking swc v0.164.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Checking html-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BufWriter`, `self` [INFO] [stdout] --> src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{self, BufWriter, Write}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufWriter`, `self` [INFO] [stdout] --> src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{self, BufWriter, Write}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut trimmed_words = words.replace("\n", "").trim().to_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/main.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut trimmed_words = words.replace("\n", "").trim().to_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: function `tsx_node_visitor` is never used [INFO] [stdout] --> src/main.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn tsx_node_visitor(visitor: TsxNodeVisitor) -> impl Fold + VisitMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sanitise_text` is never used [INFO] [stdout] --> src/main.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn sanitise_text(input: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tsx_node_visitor` is never used [INFO] [stdout] --> src/main.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn tsx_node_visitor(visitor: TsxNodeVisitor) -> impl Fold + VisitMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sanitise_text` is never used [INFO] [stdout] --> src/main.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn sanitise_text(input: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | write!(file, "{}", data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | write!(file, "{}", data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5m 11s [INFO] running `Command { std: "docker" "inspect" "3a4b44f7bc1bd6b339191ba78120a603abda0b09b5ed974d2475164db0de59c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a4b44f7bc1bd6b339191ba78120a603abda0b09b5ed974d2475164db0de59c2", kill_on_drop: false }` [INFO] [stdout] 3a4b44f7bc1bd6b339191ba78120a603abda0b09b5ed974d2475164db0de59c2