[INFO] cloning repository https://github.com/llambda/nary [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/llambda/nary" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fllambda%2Fnary", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fllambda%2Fnary'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1657899ca77024ca3991518b8851cbd757354ca5 [INFO] testing llambda/nary against 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fllambda%2Fnary" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/llambda/nary on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/llambda/nary [INFO] finished tweaking git repo https://github.com/llambda/nary [INFO] tweaked toml for git repo https://github.com/llambda/nary written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/llambda/nary 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" "+1.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded indoc v2.0.4 [INFO] [stderr] Downloaded hyper-native-tls v0.3.0 [INFO] [stderr] Downloaded semver_rs v0.2.0 [INFO] [stderr] Downloaded xattr v1.0.1 [INFO] [stderr] Downloaded libgit2-sys v0.16.1+1.7.1 [INFO] [stderr] Downloaded bidir-map v1.0.0 [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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4a56853eb880882a0eb971f2f3e08def0606571ccfeafe4612ca728de329adc [INFO] running `Command { std: "docker" "start" "-a" "c4a56853eb880882a0eb971f2f3e08def0606571ccfeafe4612ca728de329adc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4a56853eb880882a0eb971f2f3e08def0606571ccfeafe4612ca728de329adc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4a56853eb880882a0eb971f2f3e08def0606571ccfeafe4612ca728de329adc", kill_on_drop: false }` [INFO] [stdout] c4a56853eb880882a0eb971f2f3e08def0606571ccfeafe4612ca728de329adc [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ae11fe7886c23258bf6bc0c6614476f91f2c4b1a57cda454a352d89aac52e5b [INFO] running `Command { std: "docker" "start" "-a" "1ae11fe7886c23258bf6bc0c6614476f91f2c4b1a57cda454a352d89aac52e5b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling static_init_macro v1.0.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling static_init v1.0.3 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling xattr v1.0.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling tar v0.4.40 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.16.1+1.7.1 [INFO] [stderr] Compiling bidir-map v1.0.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling indicatif v0.17.7 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling semver_rs v0.2.0 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling hyper-native-tls v0.3.0 [INFO] [stderr] Compiling git2 v0.18.1 [INFO] [stderr] Compiling nary_lib v0.1.0 (/opt/rustwide/workdir/nary_lib) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> nary_lib/src/lib.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | let mut path = path.clone().to_path_buf(); [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] 39 - let mut path = path.clone().to_path_buf(); [INFO] [stdout] 39 + let mut path = path.to_path_buf(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> nary_lib/src/lib.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | let mut hash = hash.clone().to_string(); [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 nary_bin v0.1.0 (/opt/rustwide/workdir/nary_bin) [INFO] [stdout] warning: field `verbose` is never read [INFO] [stdout] --> nary_bin/src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | verbose: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.70s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "1ae11fe7886c23258bf6bc0c6614476f91f2c4b1a57cda454a352d89aac52e5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ae11fe7886c23258bf6bc0c6614476f91f2c4b1a57cda454a352d89aac52e5b", kill_on_drop: false }` [INFO] [stdout] 1ae11fe7886c23258bf6bc0c6614476f91f2c4b1a57cda454a352d89aac52e5b [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c68cb96f8b65c01bb7f953a435cecf9146c9c39b1abedf8d5b6fa0e52fe1b8ff [INFO] running `Command { std: "docker" "start" "-a" "c68cb96f8b65c01bb7f953a435cecf9146c9c39b1abedf8d5b6fa0e52fe1b8ff", kill_on_drop: false }` [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> nary_lib/src/lib.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | let mut path = path.clone().to_path_buf(); [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] 39 - let mut path = path.clone().to_path_buf(); [INFO] [stdout] 39 + let mut path = path.to_path_buf(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nary_bin v0.1.0 (/opt/rustwide/workdir/nary_bin) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> nary_lib/src/lib.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | let mut hash = hash.clone().to_string(); [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: field `verbose` is never read [INFO] [stdout] --> nary_bin/src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | verbose: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nary_lib v0.1.0 (/opt/rustwide/workdir/nary_lib) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> nary_lib/src/lib.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | let mut path = path.clone().to_path_buf(); [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] 39 - let mut path = path.clone().to_path_buf(); [INFO] [stdout] 39 + let mut path = path.to_path_buf(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> nary_lib/src/lib.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | let mut hash = hash.clone().to_string(); [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 4.13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "c68cb96f8b65c01bb7f953a435cecf9146c9c39b1abedf8d5b6fa0e52fe1b8ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c68cb96f8b65c01bb7f953a435cecf9146c9c39b1abedf8d5b6fa0e52fe1b8ff", kill_on_drop: false }` [INFO] [stdout] c68cb96f8b65c01bb7f953a435cecf9146c9c39b1abedf8d5b6fa0e52fe1b8ff [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 55eba8a02cdc1607c05bb80a2e9851b34408755afb9801891bba5c2463d3f6a0 [INFO] running `Command { std: "docker" "start" "-a" "55eba8a02cdc1607c05bb80a2e9851b34408755afb9801891bba5c2463d3f6a0", kill_on_drop: false }` [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> nary_lib/src/lib.rs:39:28 [INFO] [stderr] | [INFO] [stderr] 39 | let mut path = path.clone().to_path_buf(); [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] 39 - let mut path = path.clone().to_path_buf(); [INFO] [stderr] 39 + let mut path = path.to_path_buf(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> nary_lib/src/lib.rs:45:32 [INFO] [stderr] | [INFO] [stderr] 45 | let mut hash = hash.clone().to_string(); [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] warning: `nary_lib` (lib) generated 2 warnings (run `cargo fix --lib -p nary_lib` to apply 2 suggestions) [INFO] [stderr] warning: `nary_lib` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: field `verbose` is never read [INFO] [stderr] --> nary_bin/src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 14 | struct Opt { [INFO] [stderr] | --- field in this struct [INFO] [stderr] ... [INFO] [stderr] 17 | verbose: u8, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `nary_bin` (bin "nary" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/nary-9195991862915424) [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nary_lib-c396e8702252d57f) [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-401afa9e675b73c6) [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] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test it_will_get_dependency_version ... ok [INFO] [stderr] error: test failed, to rerun pass `-p nary_lib --test integration_test` [INFO] [stdout] test it_will_gather_dependencies ... ok [INFO] [stdout] test it_will_build_dependency_map ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- it_will_build_dependency_map stdout ---- [INFO] [stdout] debug "^2.6.1" [INFO] [stdout] ejs "^2.6.1" [INFO] [stdout] mz "^2.6.0" [INFO] [stdout] mz ^2.6.0 [INFO] [stdout] Error: Couldn't GET URL: https://registry.npmjs.org/mz [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] failed to lookup address information: Temporary failure in name resolution [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] it_will_build_dependency_map [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "55eba8a02cdc1607c05bb80a2e9851b34408755afb9801891bba5c2463d3f6a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55eba8a02cdc1607c05bb80a2e9851b34408755afb9801891bba5c2463d3f6a0", kill_on_drop: false }` [INFO] [stdout] 55eba8a02cdc1607c05bb80a2e9851b34408755afb9801891bba5c2463d3f6a0