[INFO] cloning repository https://github.com/wesleykim2002/rust_package_manager [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wesleykim2002/rust_package_manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwesleykim2002%2Frust_package_manager", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwesleykim2002%2Frust_package_manager'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2043ddc666001722e3f90b9d168d4b594856b72c [INFO] checking wesleykim2002/rust_package_manager against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwesleykim2002%2Frust_package_manager" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wesleykim2002/rust_package_manager [INFO] finished tweaking git repo https://github.com/wesleykim2002/rust_package_manager [INFO] tweaked toml for git repo https://github.com/wesleykim2002/rust_package_manager written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wesleykim2002/rust_package_manager on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wesleykim2002/rust_package_manager 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6f108140f5f2e40a37345d056d7a973764c18e381e26f487f746ad01f229576 [INFO] running `Command { std: "docker" "start" "-a" "a6f108140f5f2e40a37345d056d7a973764c18e381e26f487f746ad01f229576", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6f108140f5f2e40a37345d056d7a973764c18e381e26f487f746ad01f229576", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6f108140f5f2e40a37345d056d7a973764c18e381e26f487f746ad01f229576", kill_on_drop: false }` [INFO] [stdout] a6f108140f5f2e40a37345d056d7a973764c18e381e26f487f746ad01f229576 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc34335146836c9d157727e313aa07b6ddacd2855faf076c95363244e0879e23 [INFO] running `Command { std: "docker" "start" "-a" "bc34335146836c9d157727e313aa07b6ddacd2855faf076c95363244e0879e23", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Compiling curl v0.4.42 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking urlencoding v2.1.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling curl-sys v0.4.52+curl-7.81.0 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking fd-lock v3.0.2 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking rustyline v9.1.2 [INFO] [stderr] Checking rpkg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rpkg::debversion::DebianVersionNum` [INFO] [stdout] --> src/packages/solvers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rpkg::debversion::DebianVersionNum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Dependency` [INFO] [stdout] --> src/packages/parsers.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::packages::{RelVersionedPackageNum, Dependency}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/packages/solvers.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let deps : &Vec = &*self.dependencies.get(self.get_package_num(package_name)).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `satisfied` [INFO] [stdout] --> src/packages/solvers.rs:70:37 [INFO] [stdout] | [INFO] [stdout] 70 | if let Some(satisfied) = self.dep_is_satisfied(&alt) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_satisfied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rpkg::debversion::DebianVersionNum` [INFO] [stdout] --> src/packages/solvers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rpkg::debversion::DebianVersionNum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Dependency` [INFO] [stdout] --> src/packages/parsers.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::packages::{RelVersionedPackageNum, Dependency}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/packages/async_fns.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 72 | multi.add2(easy).map_err(|e| curl::Error::new(0)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Collector` is more private than the item `async_fns::::init_request` [INFO] [stdout] --> src/packages/async_fns.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn init_request(multi: &Multi, url: &str) -> Result, curl::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `async_fns::::init_request` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Collector` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/packages/async_fns.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct Collector(Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/packages/solvers.rs:90:67 [INFO] [stdout] | [INFO] [stdout] 90 | ... let parsed_version = avail_ver.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `DebianVersionNum` does not implement `Clone`, so calling `clone` on `&DebianVersionNum` 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] 90 - let parsed_version = avail_ver.clone(); [INFO] [stdout] 90 + let parsed_version = avail_ver; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `DebianVersionNum`, implement `Clone` for it [INFO] [stdout] --> src/debversion.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 + #[derive(Clone)] [INFO] [stdout] 44 | pub struct DebianVersionNum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/packages/solvers.rs:92:78 [INFO] [stdout] | [INFO] [stdout] 92 | ... highest_version = Some(parsed_version.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `DebianVersionNum` does not implement `Clone`, so calling `clone` on `&DebianVersionNum` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 92 - highest_version = Some(parsed_version.clone()); [INFO] [stdout] 92 + highest_version = Some(parsed_version); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `DebianVersionNum`, implement `Clone` for it [INFO] [stdout] --> src/debversion.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 + #[derive(Clone)] [INFO] [stdout] 44 | pub struct DebianVersionNum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/packages/solvers.rs:96:82 [INFO] [stdout] | [INFO] [stdout] 96 | ... highest_version = Some(parsed_version.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `DebianVersionNum` does not implement `Clone`, so calling `clone` on `&DebianVersionNum` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 96 - highest_version = Some(parsed_version.clone()); [INFO] [stdout] 96 + highest_version = Some(parsed_version); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `DebianVersionNum`, implement `Clone` for it [INFO] [stdout] --> src/debversion.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 + #[derive(Clone)] [INFO] [stdout] 44 | pub struct DebianVersionNum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/packages/solvers.rs:108:65 [INFO] [stdout] | [INFO] [stdout] 108 | ... let parsed_version = deb_ver.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `DebianVersionNum` does not implement `Clone`, so calling `clone` on `&DebianVersionNum` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 108 - let parsed_version = deb_ver.clone(); [INFO] [stdout] 108 + let parsed_version = deb_ver; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `DebianVersionNum`, implement `Clone` for it [INFO] [stdout] --> src/debversion.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 + #[derive(Clone)] [INFO] [stdout] 44 | pub struct DebianVersionNum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/packages/solvers.rs:110:78 [INFO] [stdout] | [INFO] [stdout] 110 | ... highest_version = Some(parsed_version.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `DebianVersionNum` does not implement `Clone`, so calling `clone` on `&DebianVersionNum` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 110 - highest_version = Some(parsed_version.clone()); [INFO] [stdout] 110 + highest_version = Some(parsed_version); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `DebianVersionNum`, implement `Clone` for it [INFO] [stdout] --> src/debversion.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 + #[derive(Clone)] [INFO] [stdout] 44 | pub struct DebianVersionNum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/packages/solvers.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let deps : &Vec = &*self.dependencies.get(self.get_package_num(package_name)).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `satisfied` [INFO] [stdout] --> src/packages/solvers.rs:70:37 [INFO] [stdout] | [INFO] [stdout] 70 | if let Some(satisfied) = self.dep_is_satisfied(&alt) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_satisfied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/packages/async_fns.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 72 | multi.add2(easy).map_err(|e| curl::Error::new(0)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Collector` is more private than the item `async_fns::::init_request` [INFO] [stdout] --> src/packages/async_fns.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn init_request(multi: &Multi, url: &str) -> Result, curl::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `async_fns::::init_request` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Collector` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/packages/async_fns.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct Collector(Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/packages/solvers.rs:90:67 [INFO] [stdout] | [INFO] [stdout] 90 | ... let parsed_version = avail_ver.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `DebianVersionNum` does not implement `Clone`, so calling `clone` on `&DebianVersionNum` 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] 90 - let parsed_version = avail_ver.clone(); [INFO] [stdout] 90 + let parsed_version = avail_ver; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `DebianVersionNum`, implement `Clone` for it [INFO] [stdout] --> src/debversion.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 + #[derive(Clone)] [INFO] [stdout] 44 | pub struct DebianVersionNum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/packages/solvers.rs:92:78 [INFO] [stdout] | [INFO] [stdout] 92 | ... highest_version = Some(parsed_version.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `DebianVersionNum` does not implement `Clone`, so calling `clone` on `&DebianVersionNum` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 92 - highest_version = Some(parsed_version.clone()); [INFO] [stdout] 92 + highest_version = Some(parsed_version); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `DebianVersionNum`, implement `Clone` for it [INFO] [stdout] --> src/debversion.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 + #[derive(Clone)] [INFO] [stdout] 44 | pub struct DebianVersionNum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/packages/solvers.rs:96:82 [INFO] [stdout] | [INFO] [stdout] 96 | ... highest_version = Some(parsed_version.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `DebianVersionNum` does not implement `Clone`, so calling `clone` on `&DebianVersionNum` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 96 - highest_version = Some(parsed_version.clone()); [INFO] [stdout] 96 + highest_version = Some(parsed_version); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `DebianVersionNum`, implement `Clone` for it [INFO] [stdout] --> src/debversion.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 + #[derive(Clone)] [INFO] [stdout] 44 | pub struct DebianVersionNum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/packages/solvers.rs:108:65 [INFO] [stdout] | [INFO] [stdout] 108 | ... let parsed_version = deb_ver.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `DebianVersionNum` does not implement `Clone`, so calling `clone` on `&DebianVersionNum` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 108 - let parsed_version = deb_ver.clone(); [INFO] [stdout] 108 + let parsed_version = deb_ver; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `DebianVersionNum`, implement `Clone` for it [INFO] [stdout] --> src/debversion.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 + #[derive(Clone)] [INFO] [stdout] 44 | pub struct DebianVersionNum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/packages/solvers.rs:110:78 [INFO] [stdout] | [INFO] [stdout] 110 | ... highest_version = Some(parsed_version.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `DebianVersionNum` does not implement `Clone`, so calling `clone` on `&DebianVersionNum` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 110 - highest_version = Some(parsed_version.clone()); [INFO] [stdout] 110 + highest_version = Some(parsed_version); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `DebianVersionNum`, implement `Clone` for it [INFO] [stdout] --> src/debversion.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 + #[derive(Clone)] [INFO] [stdout] 44 | pub struct DebianVersionNum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.29s [INFO] running `Command { std: "docker" "inspect" "bc34335146836c9d157727e313aa07b6ddacd2855faf076c95363244e0879e23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc34335146836c9d157727e313aa07b6ddacd2855faf076c95363244e0879e23", kill_on_drop: false }` [INFO] [stdout] bc34335146836c9d157727e313aa07b6ddacd2855faf076c95363244e0879e23