[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 try#c2e32f1c9652b13ed99608599c1e855462f421f3 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xgebi/fli on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32203761d9818a188e7f0628cbc8398a9530cef1e235b2a853f7e70b2aa8a7d8 [INFO] running `Command { std: "docker" "start" "-a" "32203761d9818a188e7f0628cbc8398a9530cef1e235b2a853f7e70b2aa8a7d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32203761d9818a188e7f0628cbc8398a9530cef1e235b2a853f7e70b2aa8a7d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32203761d9818a188e7f0628cbc8398a9530cef1e235b2a853f7e70b2aa8a7d8", kill_on_drop: false }` [INFO] [stdout] 32203761d9818a188e7f0628cbc8398a9530cef1e235b2a853f7e70b2aa8a7d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6402cdc0ea4308e4d7f5ae3e067222e8cfc5d947a717adad42ac9165cdbfddc [INFO] running `Command { std: "docker" "start" "-a" "c6402cdc0ea4308e4d7f5ae3e067222e8cfc5d947a717adad42ac9165cdbfddc", 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] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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] [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.28s [INFO] running `Command { std: "docker" "inspect" "c6402cdc0ea4308e4d7f5ae3e067222e8cfc5d947a717adad42ac9165cdbfddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6402cdc0ea4308e4d7f5ae3e067222e8cfc5d947a717adad42ac9165cdbfddc", kill_on_drop: false }` [INFO] [stdout] c6402cdc0ea4308e4d7f5ae3e067222e8cfc5d947a717adad42ac9165cdbfddc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 015ccb27794882902b04b3f5f65585c1bce3ff8d2994ef3afcf26dbdc59661fb [INFO] running `Command { std: "docker" "start" "-a" "015ccb27794882902b04b3f5f65585c1bce3ff8d2994ef3afcf26dbdc59661fb", kill_on_drop: false }` [INFO] [stderr] Compiling fli v1.2.0 (/opt/rustwide/workdir) [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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] [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.33s [INFO] running `Command { std: "docker" "inspect" "015ccb27794882902b04b3f5f65585c1bce3ff8d2994ef3afcf26dbdc59661fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "015ccb27794882902b04b3f5f65585c1bce3ff8d2994ef3afcf26dbdc59661fb", kill_on_drop: false }` [INFO] [stdout] 015ccb27794882902b04b3f5f65585c1bce3ff8d2994ef3afcf26dbdc59661fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b4ff7522c968e185963cbfd7523b54130dbd042ce56732984bf3364f08028e0a [INFO] running `Command { std: "docker" "start" "-a" "b4ff7522c968e185963cbfd7523b54130dbd042ce56732984bf3364f08028e0a", kill_on_drop: false }` [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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.08s [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" "b4ff7522c968e185963cbfd7523b54130dbd042ce56732984bf3364f08028e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4ff7522c968e185963cbfd7523b54130dbd042ce56732984bf3364f08028e0a", kill_on_drop: false }` [INFO] [stdout] b4ff7522c968e185963cbfd7523b54130dbd042ce56732984bf3364f08028e0a