[INFO] fetching crate tb_normalization 1.0.0... [INFO] building tb_normalization-1.0.0 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate tb_normalization 1.0.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate tb_normalization 1.0.0 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 tb_normalization 1.0.0 [INFO] finished tweaking crates.io crate tb_normalization 1.0.0 [INFO] tweaked toml for crates.io crate tb_normalization 1.0.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate tb_normalization 1.0.0 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] c3df7b5f149ab36e462e0f2e4b12167b3b3d4c7e6ad159b73ed96b25edc283ec [INFO] running `Command { std: "docker" "start" "-a" "c3df7b5f149ab36e462e0f2e4b12167b3b3d4c7e6ad159b73ed96b25edc283ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3df7b5f149ab36e462e0f2e4b12167b3b3d4c7e6ad159b73ed96b25edc283ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3df7b5f149ab36e462e0f2e4b12167b3b3d4c7e6ad159b73ed96b25edc283ec", kill_on_drop: false }` [INFO] [stdout] c3df7b5f149ab36e462e0f2e4b12167b3b3d4c7e6ad159b73ed96b25edc283ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 2a367a28e54911d7e8ce4002f55c36999a0f396677410515a6b4a5c9b1b6f380 [INFO] running `Command { std: "docker" "start" "-a" "2a367a28e54911d7e8ce4002f55c36999a0f396677410515a6b4a5c9b1b6f380", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling thread_local v1.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling tb_normalization v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/unicode.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | let c = string_to_static_str(s).clone().nfd().collect::(); [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: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/unicode.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | tb_normalization(self.clone().to_string()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/unicode.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | remove_special_characters(self.clone().to_string()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.54s [INFO] running `Command { std: "docker" "inspect" "2a367a28e54911d7e8ce4002f55c36999a0f396677410515a6b4a5c9b1b6f380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a367a28e54911d7e8ce4002f55c36999a0f396677410515a6b4a5c9b1b6f380", kill_on_drop: false }` [INFO] [stdout] 2a367a28e54911d7e8ce4002f55c36999a0f396677410515a6b4a5c9b1b6f380 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 445a50763da1154ff0ea83e83d16357b2c18dc316dfcec5f0dc6e9476ebf76d2 [INFO] running `Command { std: "docker" "start" "-a" "445a50763da1154ff0ea83e83d16357b2c18dc316dfcec5f0dc6e9476ebf76d2", kill_on_drop: false }` [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/unicode.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | let c = string_to_static_str(s).clone().nfd().collect::(); [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: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/unicode.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | tb_normalization(self.clone().to_string()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tb_normalization v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/unicode.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | remove_special_characters(self.clone().to_string()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/unicode.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | let c = string_to_static_str(s).clone().nfd().collect::(); [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: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/unicode.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | tb_normalization(self.clone().to_string()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/unicode.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | remove_special_characters(self.clone().to_string()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "445a50763da1154ff0ea83e83d16357b2c18dc316dfcec5f0dc6e9476ebf76d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "445a50763da1154ff0ea83e83d16357b2c18dc316dfcec5f0dc6e9476ebf76d2", kill_on_drop: false }` [INFO] [stdout] 445a50763da1154ff0ea83e83d16357b2c18dc316dfcec5f0dc6e9476ebf76d2