[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] testing hecrean/tsx-files-as-source-of-truth against try#1b74e096b9bfb06f84a3007193dcd2f059cbdf6a for pr-96025 [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-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hecrean/tsx-files-as-source-of-truth on toolchain 1b74e096b9bfb06f84a3007193dcd2f059cbdf6a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "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-5/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" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b48b0e3565435baed70cb3d98db81dd2597121f6be630391eb7178466a02e2b4 [INFO] running `Command { std: "docker" "start" "-a" "b48b0e3565435baed70cb3d98db81dd2597121f6be630391eb7178466a02e2b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b48b0e3565435baed70cb3d98db81dd2597121f6be630391eb7178466a02e2b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b48b0e3565435baed70cb3d98db81dd2597121f6be630391eb7178466a02e2b4", kill_on_drop: false }` [INFO] [stdout] b48b0e3565435baed70cb3d98db81dd2597121f6be630391eb7178466a02e2b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6570d98384bd3601f77b17ea3a5b6aa0a663a5400b26895568ec5e4e8466c5c4 [INFO] running `Command { std: "docker" "start" "-a" "6570d98384bd3601f77b17ea3a5b6aa0a663a5400b26895568ec5e4e8466c5c4", kill_on_drop: false }` [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 cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling unicode-id v0.3.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling 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] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling semver v1.0.7 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling path-clean v0.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling smawk v0.3.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling is_ci v1.1.1 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling owo-colors v3.3.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling retain_mut v0.1.7 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling json_comments v0.2.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling lexical-util v0.8.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.24 [INFO] [stderr] Compiling better_scoped_tls v0.1.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling debug_unreachable v0.1.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling heck v0.3.3 [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] 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] Compiling lexical-write-integer v0.8.3 [INFO] [stderr] Compiling lexical-parse-integer v0.8.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling lexical-write-float v0.8.4 [INFO] [stderr] Compiling lexical-parse-float v0.8.3 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling lexical-core v0.8.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling supports-unicode v1.0.2 [INFO] [stderr] Compiling supports-color v1.3.0 [INFO] [stderr] Compiling supports-hyperlinks v1.2.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling lexical v6.1.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling dashmap v5.2.0 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling 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 Inflector v0.11.4 [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] Compiling swc_macros_common v0.3.3 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling from_variant v0.1.3 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling swc_visit_macros v0.3.1 (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 static-map-macro v0.2.3 [INFO] [stderr] Compiling swc_trace_macro v0.1.1 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling miette-derive v4.3.0 [INFO] [stderr] Compiling swc_ecma_codegen_macros v0.7.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling auto_impl v0.5.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling darling_macro v0.13.3 [INFO] [stderr] Compiling st-map v0.1.6 [INFO] [stderr] Compiling darling v0.13.3 [INFO] [stderr] Compiling ast_node v0.7.7 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling swc_timer v0.5.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling miette v4.3.0 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling swc_visit v0.3.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling swc_cached v0.1.1 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling lru v0.7.5 [INFO] [stderr] Compiling sourcemap v6.0.1 [INFO] [stderr] Compiling serde_yaml v0.8.23 [INFO] [stderr] Compiling browserslist-rs v0.9.0 [INFO] [stderr] Compiling swc_common v0.17.19 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling swc_ecma_ast v0.75.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling swc_ecma_loader v0.29.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling swc_error_reporters v0.1.1 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling swc_node_comments v0.4.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling preset_env_base v0.2.1 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling swc_ecma_visit v0.61.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling swc_ecma_parser v0.100.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling swc_ecma_codegen v0.103.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling swc_ecmascript v0.143.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling swc_ecma_utils v0.79.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling swc_ecma_transforms_base v0.75.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling swc_ecma_lints v0.31.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling swc_ecma_ext_transforms v0.65.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling swc_ecma_transforms_classes v0.63.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling swc_ecma_transforms_react v0.104.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling swc_ecma_transforms_optimization v0.112.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling swc_ecma_transforms_module v0.102.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling swc_ecma_transforms_proposal v0.97.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling swc_ecma_transforms_compat v0.89.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling swc_ecma_transforms_typescript v0.107.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling swc_ecma_minifier v0.100.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling swc_ecma_transforms v0.142.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling swc_ecma_preset_env v0.117.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling swc v0.164.0 (https://github.com/swc-project/swc#262f5436) [INFO] [stderr] Compiling 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: 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 is never used: `tsx_node_visitor` [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 is never used: `sanitise_text` [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "6570d98384bd3601f77b17ea3a5b6aa0a663a5400b26895568ec5e4e8466c5c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6570d98384bd3601f77b17ea3a5b6aa0a663a5400b26895568ec5e4e8466c5c4", kill_on_drop: false }` [INFO] [stdout] 6570d98384bd3601f77b17ea3a5b6aa0a663a5400b26895568ec5e4e8466c5c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5d140a25d91246e6d4773f814fb74c4ecc8a4f5b45e4eb377d9966f81a46b58 [INFO] running `Command { std: "docker" "start" "-a" "c5d140a25d91246e6d4773f814fb74c4ecc8a4f5b45e4eb377d9966f81a46b58", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling 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: 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 is never used: `tsx_node_visitor` [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 is never used: `sanitise_text` [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.10s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/html_parser-f9c9251fcb2e6f07) [INFO] running `Command { std: "docker" "inspect" "c5d140a25d91246e6d4773f814fb74c4ecc8a4f5b45e4eb377d9966f81a46b58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5d140a25d91246e6d4773f814fb74c4ecc8a4f5b45e4eb377d9966f81a46b58", kill_on_drop: false }` [INFO] [stdout] c5d140a25d91246e6d4773f814fb74c4ecc8a4f5b45e4eb377d9966f81a46b58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 428ea83eecaf8f5792a1223927f829851e692f49895149fc4ee512a287a4b2f3 [INFO] running `Command { std: "docker" "start" "-a" "428ea83eecaf8f5792a1223927f829851e692f49895149fc4ee512a287a4b2f3", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `BufWriter`, `self` [INFO] [stderr] --> src/main.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | use std::io::{self, BufWriter, Write}; [INFO] [stderr] | ^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:45:13 [INFO] [stderr] | [INFO] [stderr] 45 | let mut trimmed_words = words.replace("\n", "").trim().to_string(); [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `tsx_node_visitor` [INFO] [stderr] --> src/main.rs:36:4 [INFO] [stderr] | [INFO] [stderr] 36 | fn tsx_node_visitor(visitor: TsxNodeVisitor) -> impl Fold + VisitMut { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `sanitise_text` [INFO] [stderr] --> src/main.rs:80:4 [INFO] [stderr] | [INFO] [stderr] 80 | fn sanitise_text(input: &str) -> Option<&str> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:119:21 [INFO] [stderr] | [INFO] [stderr] 119 | write!(file, "{}", data); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `html-parser` (bin "html-parser" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.84s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/html_parser-f9c9251fcb2e6f07) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "428ea83eecaf8f5792a1223927f829851e692f49895149fc4ee512a287a4b2f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "428ea83eecaf8f5792a1223927f829851e692f49895149fc4ee512a287a4b2f3", kill_on_drop: false }` [INFO] [stdout] 428ea83eecaf8f5792a1223927f829851e692f49895149fc4ee512a287a4b2f3