[INFO] cloning repository https://github.com/xgebi/fli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xgebi/fli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxgebi%2Ffli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxgebi%2Ffli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 40295e8a408d01edb9407f2012fbfdc3db757f8f [INFO] testing xgebi/fli against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxgebi%2Ffli" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xgebi/fli [INFO] finished tweaking git repo https://github.com/xgebi/fli [INFO] tweaked toml for git repo https://github.com/xgebi/fli written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xgebi/fli on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xgebi/fli 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded textwrap v0.14.2 [INFO] [stderr] Downloaded clap v3.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9efe0bdddfbd54a32e32e4fbcb4cf7548f48735106fb63a3c16330caa4dd999b [INFO] running `Command { std: "docker" "start" "-a" "9efe0bdddfbd54a32e32e4fbcb4cf7548f48735106fb63a3c16330caa4dd999b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9efe0bdddfbd54a32e32e4fbcb4cf7548f48735106fb63a3c16330caa4dd999b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9efe0bdddfbd54a32e32e4fbcb4cf7548f48735106fb63a3c16330caa4dd999b", kill_on_drop: false }` [INFO] [stdout] 9efe0bdddfbd54a32e32e4fbcb4cf7548f48735106fb63a3c16330caa4dd999b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af494b4f62a33a0723df09f774d4e32bdfd672ead3d428e26df30835f137093b [INFO] running `Command { std: "docker" "start" "-a" "af494b4f62a33a0723df09f774d4e32bdfd672ead3d428e26df30835f137093b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v3.1.3 [INFO] [stderr] Compiling fli v1.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:54:45 [INFO] [stdout] | [INFO] [stdout] 54 | let init_path = dir_path.clone().join("__init__.py"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 54 - let init_path = dir_path.clone().join("__init__.py"); [INFO] [stdout] 54 + let init_path = dir_path.join("__init__.py"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs" }) } [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | let transformed = path.clone().replace(".", "/"); [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] WARN rustc_errors::emitter Invalid span /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs" }) } [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:67:45 [INFO] [stdout] | [INFO] [stdout] 67 | let init_path = dir_path.clone().join("__init__.py"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 67 - let init_path = dir_path.clone().join("__init__.py"); [INFO] [stdout] 67 + let init_path = dir_path.join("__init__.py"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs" }) } [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:72:47 [INFO] [stdout] | [INFO] [stdout] 72 | let routes_path = dir_path.clone().join("routes.py"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 72 - let routes_path = dir_path.clone().join("routes.py"); [INFO] [stdout] 72 + let routes_path = dir_path.join("routes.py"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs" }) } [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | let path_string = path.clone().replace(".", "/"); [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/main.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | let file_path = dir_path.clone().join(format!("{}.py", name)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 92 - let file_path = dir_path.clone().join(format!("{}.py", name)); [INFO] [stdout] 92 + let file_path = dir_path.join(format!("{}.py", name)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.84s [INFO] running `Command { std: "docker" "inspect" "af494b4f62a33a0723df09f774d4e32bdfd672ead3d428e26df30835f137093b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af494b4f62a33a0723df09f774d4e32bdfd672ead3d428e26df30835f137093b", kill_on_drop: false }` [INFO] [stdout] af494b4f62a33a0723df09f774d4e32bdfd672ead3d428e26df30835f137093b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 073e44f895bcca993d861a84cf2311988e7fed5c14125728fb69825b2a574815 [INFO] running `Command { std: "docker" "start" "-a" "073e44f895bcca993d861a84cf2311988e7fed5c14125728fb69825b2a574815", kill_on_drop: false }` [INFO] [stderr] Compiling fli v1.2.0 (/opt/rustwide/workdir) [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs" }) } [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs" }) } [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs" }) } [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs" }) } [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:54:45 [INFO] [stdout] | [INFO] [stdout] 54 | let init_path = dir_path.clone().join("__init__.py"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 54 - let init_path = dir_path.clone().join("__init__.py"); [INFO] [stdout] 54 + let init_path = dir_path.join("__init__.py"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | let transformed = path.clone().replace(".", "/"); [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/main.rs:67:45 [INFO] [stdout] | [INFO] [stdout] 67 | let init_path = dir_path.clone().join("__init__.py"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 67 - let init_path = dir_path.clone().join("__init__.py"); [INFO] [stdout] 67 + let init_path = dir_path.join("__init__.py"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:72:47 [INFO] [stdout] | [INFO] [stdout] 72 | let routes_path = dir_path.clone().join("routes.py"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 72 - let routes_path = dir_path.clone().join("routes.py"); [INFO] [stdout] 72 + let routes_path = dir_path.join("routes.py"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | let path_string = path.clone().replace(".", "/"); [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/main.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | let file_path = dir_path.clone().join(format!("{}.py", name)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 92 - let file_path = dir_path.clone().join(format!("{}.py", name)); [INFO] [stdout] 92 + let file_path = dir_path.join(format!("{}.py", name)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "073e44f895bcca993d861a84cf2311988e7fed5c14125728fb69825b2a574815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "073e44f895bcca993d861a84cf2311988e7fed5c14125728fb69825b2a574815", kill_on_drop: false }` [INFO] [stdout] 073e44f895bcca993d861a84cf2311988e7fed5c14125728fb69825b2a574815 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d5b3694b02d65e0f0c2ad7f083c976ac6381a3fe598a32937a5591cbf304fcab [INFO] running `Command { std: "docker" "start" "-a" "d5b3694b02d65e0f0c2ad7f083c976ac6381a3fe598a32937a5591cbf304fcab", kill_on_drop: false }` [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs" }) } [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/main.rs:54:45 [INFO] [stderr] | [INFO] [stderr] 54 | let init_path = dir_path.clone().join("__init__.py"); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 54 - let init_path = dir_path.clone().join("__init__.py"); [INFO] [stderr] 54 + let init_path = dir_path.join("__init__.py"); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/main.rs:63:39 [INFO] [stderr] | [INFO] [stderr] 63 | let transformed = path.clone().replace(".", "/"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs" }) } [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/main.rs:67:45 [INFO] [stderr] | [INFO] [stderr] 67 | let init_path = dir_path.clone().join("__init__.py"); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 67 - let init_path = dir_path.clone().join("__init__.py"); [INFO] [stderr] 67 + let init_path = dir_path.join("__init__.py"); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs" }) } [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/main.rs:72:47 [INFO] [stderr] | [INFO] [stderr] 72 | let routes_path = dir_path.clone().join("routes.py"); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 72 - let routes_path = dir_path.clone().join("routes.py"); [INFO] [stderr] 72 + let routes_path = dir_path.join("routes.py"); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/main.rs:87:35 [INFO] [stderr] | [INFO] [stderr] 87 | let path_string = path.clone().replace(".", "/"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs" }) } [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/main.rs:92:37 [INFO] [stderr] | [INFO] [stderr] 92 | let file_path = dir_path.clone().join(format!("{}.py", name)); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 92 - let file_path = dir_path.clone().join(format!("{}.py", name)); [INFO] [stderr] 92 + let file_path = dir_path.join(format!("{}.py", name)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `fli` (bin "fli" test) generated 6 warnings (run `cargo fix --bin "fli" -p fli --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/fli-240e45cd7f66385c) [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" "d5b3694b02d65e0f0c2ad7f083c976ac6381a3fe598a32937a5591cbf304fcab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5b3694b02d65e0f0c2ad7f083c976ac6381a3fe598a32937a5591cbf304fcab", kill_on_drop: false }` [INFO] [stdout] d5b3694b02d65e0f0c2ad7f083c976ac6381a3fe598a32937a5591cbf304fcab