[INFO] fetching crate nom_html_parser 0.1.1...
[INFO] building nom_html_parser-0.1.1 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523
[INFO] extracting crate nom_html_parser 0.1.1 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate nom_html_parser 0.1.1 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate nom_html_parser 0.1.1
[INFO] finished tweaking crates.io crate nom_html_parser 0.1.1
[INFO] tweaked toml for crates.io crate nom_html_parser 0.1.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Locking 9 packages to latest compatible versions
[INFO] [stderr] Adding nom v5.1.3 (available: v7.1.3)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 77c6787951e291ea724b1a0e01f016fc7c269ab20b61b539c86430298f2e43e1
[INFO] running `Command { std: "docker" "start" "-a" "77c6787951e291ea724b1a0e01f016fc7c269ab20b61b539c86430298f2e43e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "77c6787951e291ea724b1a0e01f016fc7c269ab20b61b539c86430298f2e43e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "77c6787951e291ea724b1a0e01f016fc7c269ab20b61b539c86430298f2e43e1", kill_on_drop: false }`
[INFO] [stdout] 77c6787951e291ea724b1a0e01f016fc7c269ab20b61b539c86430298f2e43e1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 24d8e11ce53244033933b3e97e7577178c2c816c6aafae5f7bcd975b81b55550
[INFO] running `Command { std: "docker" "start" "-a" "24d8e11ce53244033933b3e97e7577178c2c816c6aafae5f7bcd975b81b55550", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr] Compiling lexical-core v0.7.6
[INFO] [stderr] Compiling version_check v0.9.5
[INFO] [stderr] Compiling static_assertions v1.1.0
[INFO] [stderr] Compiling ryu v1.0.18
[INFO] [stderr] Compiling bitflags v1.3.2
[INFO] [stderr] Compiling arrayvec v0.5.2
[INFO] [stderr] Compiling cfg-if v1.0.0
[INFO] [stderr] Compiling memchr v2.7.4
[INFO] [stderr] Compiling nom v5.1.3
[INFO] [stderr] Compiling nom_html_parser v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout] --> src/parser/utils.rs:19:124
[INFO] [stdout] |
[INFO] [stdout] 19 | pub fn space_and_opening_tag<'a>(input: &'a str) -> IResult<&'a str, (&'a str, &'a str, TagAttributes, char), VerboseError<&str>> {
[INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `ParseError` and `newline`
[INFO] [stdout] --> src/parser/attributes.rs:5:33
[INFO] [stdout] |
[INFO] [stdout] 5 | character::complete::{char, newline, multispace0},
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] 6 | sequence::{separated_pair},
[INFO] [stdout] 7 | error::{ParseError,VerboseError,context}
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `ATTRIBUTE_SPACE_BEFORE_ERROR`
[INFO] [stdout] --> src/parser/attributes.rs:12:5
[INFO] [stdout] |
[INFO] [stdout] 12 | ATTRIBUTE_SPACE_BEFORE_ERROR,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `char` and `opt`
[INFO] [stdout] --> src/parser/css/mod.rs:5:25
[INFO] [stdout] |
[INFO] [stdout] 5 | character::complete::{char},
[INFO] [stdout] | ^^^^
[INFO] [stdout] 6 | multi::{many0},
[INFO] [stdout] 7 | combinator::{opt},
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `super::errors::NEW_LINE_ERROR`
[INFO] [stdout] --> src/parser/css/mod.rs:13:5
[INFO] [stdout] |
[INFO] [stdout] 13 | use super::errors::NEW_LINE_ERROR;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout] --> src/parser/utils.rs:27:21
[INFO] [stdout] |
[INFO] [stdout] 27 | let tag = if tag.clone().chars().next() == Some('@') {
[INFO] [stdout] | ^^^^^^^^ help: remove this redundant 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: `#[warn(noop_method_call)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout] --> src/parser/utils.rs:80:26
[INFO] [stdout] |
[INFO] [stdout] 80 | let mut lines = input.clone().lines();
[INFO] [stdout] | ^^^^^^^^ help: remove this redundant 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] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout] --> src/parser/utils.rs:94:23
[INFO] [stdout] |
[INFO] [stdout] 94 | let mut it = s.clone().trim_start().chars();
[INFO] [stdout] | ^^^^^^^^ help: remove this redundant 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] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout] --> src/parser/utils.rs:134:30
[INFO] [stdout] |
[INFO] [stdout] 134 | let mut input = input.clone();
[INFO] [stdout] | ^^^^^^^^ help: remove this redundant 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.03s
[INFO] running `Command { std: "docker" "inspect" "24d8e11ce53244033933b3e97e7577178c2c816c6aafae5f7bcd975b81b55550", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24d8e11ce53244033933b3e97e7577178c2c816c6aafae5f7bcd975b81b55550", kill_on_drop: false }`
[INFO] [stdout] 24d8e11ce53244033933b3e97e7577178c2c816c6aafae5f7bcd975b81b55550
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 63728297e7df3783c9bb61f4c214ed9d021ad96ab76bb745ea032b5a5bc23522
[INFO] running `Command { std: "docker" "start" "-a" "63728297e7df3783c9bb61f4c214ed9d021ad96ab76bb745ea032b5a5bc23522", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout] --> src/parser/utils.rs:19:124
[INFO] [stdout] |
[INFO] [stdout] 19 | pub fn space_and_opening_tag<'a>(input: &'a str) -> IResult<&'a str, (&'a str, &'a str, TagAttributes, char), VerboseError<&str>> {
[INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `ParseError` and `newline`
[INFO] [stdout] --> src/parser/attributes.rs:5:33
[INFO] [stdout] |
[INFO] [stdout] 5 | character::complete::{char, newline, multispace0},
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] 6 | sequence::{separated_pair},
[INFO] [stdout] 7 | error::{ParseError,VerboseError,context}
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `ATTRIBUTE_SPACE_BEFORE_ERROR`
[INFO] [stdout] --> src/parser/attributes.rs:12:5
[INFO] [stdout] |
[INFO] [stdout] 12 | ATTRIBUTE_SPACE_BEFORE_ERROR,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `char` and `opt`
[INFO] [stdout] --> src/parser/css/mod.rs:5:25
[INFO] [stdout] |
[INFO] [stdout] 5 | character::complete::{char},
[INFO] [stdout] | ^^^^
[INFO] [stdout] 6 | multi::{many0},
[INFO] [stdout] 7 | combinator::{opt},
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `super::errors::NEW_LINE_ERROR`
[INFO] [stdout] --> src/parser/css/mod.rs:13:5
[INFO] [stdout] |
[INFO] [stdout] 13 | use super::errors::NEW_LINE_ERROR;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout] --> src/parser/utils.rs:27:21
[INFO] [stdout] |
[INFO] [stdout] 27 | let tag = if tag.clone().chars().next() == Some('@') {
[INFO] [stdout] | ^^^^^^^^ help: remove this redundant 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: `#[warn(noop_method_call)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout] --> src/parser/utils.rs:80:26
[INFO] [stdout] |
[INFO] [stdout] 80 | let mut lines = input.clone().lines();
[INFO] [stdout] | ^^^^^^^^ help: remove this redundant 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] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout] --> src/parser/utils.rs:94:23
[INFO] [stdout] |
[INFO] [stdout] 94 | let mut it = s.clone().trim_start().chars();
[INFO] [stdout] | ^^^^^^^^ help: remove this redundant 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] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout] --> src/parser/utils.rs:134:30
[INFO] [stdout] |
[INFO] [stdout] 134 | let mut input = input.clone();
[INFO] [stdout] | ^^^^^^^^ help: remove this redundant 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] [stderr] Compiling nom_html_parser v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout] --> src/parser/utils.rs:19:124
[INFO] [stdout] |
[INFO] [stdout] 19 | pub fn space_and_opening_tag<'a>(input: &'a str) -> IResult<&'a str, (&'a str, &'a str, TagAttributes, char), VerboseError<&str>> {
[INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `ParseError` and `newline`
[INFO] [stdout] --> src/parser/attributes.rs:5:33
[INFO] [stdout] |
[INFO] [stdout] 5 | character::complete::{char, newline, multispace0},
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] 6 | sequence::{separated_pair},
[INFO] [stdout] 7 | error::{ParseError,VerboseError,context}
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `ATTRIBUTE_SPACE_BEFORE_ERROR`
[INFO] [stdout] --> src/parser/attributes.rs:12:5
[INFO] [stdout] |
[INFO] [stdout] 12 | ATTRIBUTE_SPACE_BEFORE_ERROR,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `char` and `opt`
[INFO] [stdout] --> src/parser/css/mod.rs:5:25
[INFO] [stdout] |
[INFO] [stdout] 5 | character::complete::{char},
[INFO] [stdout] | ^^^^
[INFO] [stdout] 6 | multi::{many0},
[INFO] [stdout] 7 | combinator::{opt},
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `super::errors::NEW_LINE_ERROR`
[INFO] [stdout] --> src/parser/css/mod.rs:13:5
[INFO] [stdout] |
[INFO] [stdout] 13 | use super::errors::NEW_LINE_ERROR;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `element`
[INFO] [stdout] --> src/parser/tag.rs:460:9
[INFO] [stdout] |
[INFO] [stdout] 460 | let element = html(input);
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout] --> src/parser/utils.rs:27:21
[INFO] [stdout] |
[INFO] [stdout] 27 | let tag = if tag.clone().chars().next() == Some('@') {
[INFO] [stdout] | ^^^^^^^^ help: remove this redundant 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: `#[warn(noop_method_call)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout] --> src/parser/utils.rs:80:26
[INFO] [stdout] |
[INFO] [stdout] 80 | let mut lines = input.clone().lines();
[INFO] [stdout] | ^^^^^^^^ help: remove this redundant 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] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout] --> src/parser/utils.rs:94:23
[INFO] [stdout] |
[INFO] [stdout] 94 | let mut it = s.clone().trim_start().chars();
[INFO] [stdout] | ^^^^^^^^ help: remove this redundant 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] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout] --> src/parser/utils.rs:134:30
[INFO] [stdout] |
[INFO] [stdout] 134 | let mut input = input.clone();
[INFO] [stdout] | ^^^^^^^^ help: remove this redundant 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s
[INFO] running `Command { std: "docker" "inspect" "63728297e7df3783c9bb61f4c214ed9d021ad96ab76bb745ea032b5a5bc23522", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63728297e7df3783c9bb61f4c214ed9d021ad96ab76bb745ea032b5a5bc23522", kill_on_drop: false }`
[INFO] [stdout] 63728297e7df3783c9bb61f4c214ed9d021ad96ab76bb745ea032b5a5bc23522