[INFO] cloning repository https://github.com/fluencyjs/fluency-builder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fluencyjs/fluency-builder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffluencyjs%2Ffluency-builder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffluencyjs%2Ffluency-builder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1478febc52f9a4ad1cf84277c18f56d9f0e79582 [INFO] checking fluencyjs/fluency-builder against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffluencyjs%2Ffluency-builder" "/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/fluencyjs/fluency-builder on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fluencyjs/fluency-builder [INFO] finished tweaking git repo https://github.com/fluencyjs/fluency-builder [INFO] tweaked toml for git repo https://github.com/fluencyjs/fluency-builder written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fluencyjs/fluency-builder 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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06095bc3a2cdc5620c917b5a5c8eae4485961216939205c2fffc4f2a4dcdaf50 [INFO] running `Command { std: "docker" "start" "-a" "06095bc3a2cdc5620c917b5a5c8eae4485961216939205c2fffc4f2a4dcdaf50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06095bc3a2cdc5620c917b5a5c8eae4485961216939205c2fffc4f2a4dcdaf50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06095bc3a2cdc5620c917b5a5c8eae4485961216939205c2fffc4f2a4dcdaf50", kill_on_drop: false }` [INFO] [stdout] 06095bc3a2cdc5620c917b5a5c8eae4485961216939205c2fffc4f2a4dcdaf50 [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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e426819967516cd18c8ded5e891a9e9280cf1c5c5050b1a20c7c7414e74e4743 [INFO] running `Command { std: "docker" "start" "-a" "e426819967516cd18c8ded5e891a9e9280cf1c5c5050b1a20c7c7414e74e4743", kill_on_drop: false }` [INFO] [stderr] warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking debug_unreachable v0.1.1 [INFO] [stderr] Checking better_scoped_tls v0.1.0 [INFO] [stderr] Compiling swc_ecma_ast v0.91.8 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Checking unicode-id v0.3.3 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Compiling anyhow v1.0.65 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Checking adler v1.0.2 [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] Compiling semver v1.0.14 [INFO] [stderr] Checking gimli v0.26.2 [INFO] [stderr] Checking iana-time-zone v0.1.50 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking ordered-float v2.10.0 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking smawk v0.3.1 [INFO] [stderr] Checking is_ci v1.1.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking supports-color v1.3.0 [INFO] [stderr] Checking supports-hyperlinks v1.2.0 [INFO] [stderr] Checking supports-unicode v1.0.2 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking digest v0.10.5 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking retain_mut v0.1.9 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Checking json_comments v0.2.1 [INFO] [stderr] Checking project-root v0.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling swc_atoms v0.4.18 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling pmutil v0.5.3 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling swc_macros_common v0.3.6 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling swc_visit_macros v0.5.4 [INFO] [stderr] Compiling from_variant v0.1.4 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.1 [INFO] [stderr] Compiling string_enum v0.3.1 [INFO] [stderr] Compiling is-macro v0.2.1 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling enum_kind v0.2.1 [INFO] [stderr] Compiling swc_ecma_transforms_macros v0.5.0 [INFO] [stderr] Compiling swc_config_macro v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling static-map-macro v0.2.3 [INFO] [stderr] Compiling swc_trace_macro v0.1.2 [INFO] [stderr] Compiling miette-derive v4.7.1 [INFO] [stderr] Compiling swc_ecma_codegen_macros v0.7.1 [INFO] [stderr] Compiling auto_impl v0.5.0 [INFO] [stderr] Checking st-map v0.1.6 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking thiserror v1.0.37 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking swc_timer v0.16.10 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling ast_node v0.8.6 [INFO] [stderr] Checking swc_visit v0.5.3 [INFO] [stderr] Checking string_cache v0.8.4 [INFO] [stderr] Checking triomphe v0.1.8 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking dashmap v5.4.0 [INFO] [stderr] Checking lru v0.7.8 [INFO] [stderr] Checking sourcemap v6.1.0 [INFO] [stderr] Checking swc_cached v0.3.14 [INFO] [stderr] Checking swc_config v0.1.2 [INFO] [stderr] Checking petgraph v0.6.2 [INFO] [stderr] Checking swc_common v0.28.10 [INFO] [stderr] Compiling unicode-linebreak v0.1.4 [INFO] [stderr] Compiling browserslist-rs v0.11.0 [INFO] [stderr] Checking swc_ecma_loader v0.40.10 [INFO] [stderr] Checking swc_node_comments v0.15.10 [INFO] [stderr] Checking swc_fast_graph v0.16.10 [INFO] [stderr] Checking textwrap v0.15.1 [INFO] [stderr] Checking miette v4.7.1 [INFO] [stderr] Checking swc_error_reporters v0.12.10 [INFO] [stderr] Checking preset_env_base v0.3.2 [INFO] [stderr] Checking swc_ecma_visit v0.77.8 [INFO] [stderr] Checking swc_ecma_parser v0.119.12 [INFO] [stderr] Checking swc_ecma_codegen v0.124.14 [INFO] [stderr] Checking swc_ecma_utils v0.102.14 [INFO] [stderr] Checking swc_ecma_transforms_base v0.108.17 [INFO] [stderr] Checking swc_ecma_lints v0.63.17 [INFO] [stderr] Checking swc_ecma_ext_transforms v0.88.14 [INFO] [stderr] Checking swc_ecma_transforms_classes v0.97.17 [INFO] [stderr] Checking swc_ecma_transforms_react v0.150.20 [INFO] [stderr] Checking swc_ecma_transforms_optimization v0.162.23 [INFO] [stderr] Checking swc_ecma_transforms_module v0.148.20 [INFO] [stderr] Checking swc_ecma_transforms_proposal v0.139.19 [INFO] [stderr] Checking swc_ecma_transforms_compat v0.131.19 [INFO] [stderr] Checking swc_ecma_transforms_typescript v0.154.20 [INFO] [stderr] Checking swc_ecma_minifier v0.154.30 [INFO] [stderr] Checking swc_ecma_transforms v0.193.23 [INFO] [stderr] Checking swc_ecma_preset_env v0.169.24 [INFO] [stderr] Checking swc v0.226.34 [INFO] [stderr] Checking fy_parse v0.1.0 (/opt/rustwide/workdir/fy_parse) [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> fy_parse/src/read_file.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn load(entry: &str, target: &str) -> (Option>>, ScriptAst, ()) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> fy_parse/src/read_file.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn load(entry: &str, target: &str) -> (Option>>, ScriptAst, ()) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> fy_parse/src/ast_tree/template/parse_template.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | ... let mut start_ast = HtmlAst::normal_node(tag); [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] --> fy_parse/src/ast_tree/template/parse_template.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | ... let mut start_ast = HtmlAst::normal_node(tag); [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] --> fy_parse/src/ast_tree/template/parse_template.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let mut current = Rc::new(RefCell::new(current_ast)); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> fy_parse/src/ast_tree/template/parse_template.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let mut current = Rc::new(RefCell::new(current_ast)); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast_root` [INFO] [stdout] --> fy_parse/src/ast_tree/template/parse_template.rs:220:88 [INFO] [stdout] | [INFO] [stdout] 220 | fn put_into_ast(current_node: HtmlAst, node_stack: &mut Vec>>, ast_root: &mut Option>>) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast_root` [INFO] [stdout] --> fy_parse/src/ast_tree/template/parse_template.rs:220:88 [INFO] [stdout] | [INFO] [stdout] 220 | fn put_into_ast(current_node: HtmlAst, node_stack: &mut Vec>>, ast_root: &mut Option>>) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handler` [INFO] [stdout] --> fy_parse/src/ast_tree/script/parse_script.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let handler = Handler::with_emitter_writer(Box::new(stderr()), Some(compiler.cm.clone())); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handler` [INFO] [stdout] --> fy_parse/src/ast_tree/script/parse_script.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let handler = Handler::with_emitter_writer(Box::new(stderr()), Some(compiler.cm.clone())); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TAG_NAME` is never used [INFO] [stdout] --> fy_parse/src/ast_tree/template/parse_template.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | static TAG_NAME: &str = r#"[a-zA-Z_][-.0-9_a-zA-Z]*"#; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `NAMESPACE_TAG_NAME` is never used [INFO] [stdout] --> fy_parse/src/ast_tree/template/parse_template.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | static NAMESPACE_TAG_NAME: &str = r#"((?:[a-zA-Z_][-.0-9_a-zA-Z]*:)?[a-zA-Z_][-.0-9_a-zA-Z]*)"#; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TAG_NAME` is never used [INFO] [stdout] --> fy_parse/src/ast_tree/template/parse_template.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | static TAG_NAME: &str = r#"[a-zA-Z_][-.0-9_a-zA-Z]*"#; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `NAMESPACE_TAG_NAME` is never used [INFO] [stdout] --> fy_parse/src/ast_tree/template/parse_template.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | static NAMESPACE_TAG_NAME: &str = r#"((?:[a-zA-Z_][-.0-9_a-zA-Z]*:)?[a-zA-Z_][-.0-9_a-zA-Z]*)"#; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> fy_parse/src/ast_tree/template/parse_template.rs:79:44 [INFO] [stdout] | [INFO] [stdout] 79 | let mut html_content = html_content.clone().to_string(); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> fy_parse/src/ast_tree/template/parse_template.rs:79:44 [INFO] [stdout] | [INFO] [stdout] 79 | let mut html_content = html_content.clone().to_string(); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> fy_parse/src/ast_tree/template/parse_template.rs:158:44 [INFO] [stdout] | [INFO] [stdout] 158 | let mut html_content = html_content.clone().to_string(); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> fy_parse/src/ast_tree/template/parse_template.rs:158:44 [INFO] [stdout] | [INFO] [stdout] 158 | let mut html_content = html_content.clone().to_string(); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fy_parse` (lib test) due to 3 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `fy_parse` (lib) due to 3 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e426819967516cd18c8ded5e891a9e9280cf1c5c5050b1a20c7c7414e74e4743", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e426819967516cd18c8ded5e891a9e9280cf1c5c5050b1a20c7c7414e74e4743", kill_on_drop: false }` [INFO] [stdout] e426819967516cd18c8ded5e891a9e9280cf1c5c5050b1a20c7c7414e74e4743