[INFO] fetching crate libpijul-compat 0.10.2... [INFO] checking libpijul-compat-0.10.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate libpijul-compat 0.10.2 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate libpijul-compat 0.10.2 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libpijul-compat 0.10.2 [INFO] finished tweaking crates.io crate libpijul-compat 0.10.2 [INFO] tweaked toml for crates.io crate libpijul-compat 0.10.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 158 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.8.0 (available: v0.22.1) [INFO] [stderr] Adding base64 v0.9.3 (available: v0.22.1) [INFO] [stderr] Adding bit-vec v0.4.4 (available: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding bs58 v0.2.5 (available: v0.5.1) [INFO] [stderr] Adding bytes v0.4.12 (available: v1.7.2) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding cloudabi v0.0.3 (available: v0.1.0) [INFO] [stderr] Adding crossbeam-deque v0.7.4 (available: v0.8.5) [INFO] [stderr] Adding crossbeam-epoch v0.8.2 (available: v0.9.18) [INFO] [stderr] Adding crossbeam-queue v0.2.3 (available: v0.3.11) [INFO] [stderr] Adding crossbeam-utils v0.7.2 (available: v0.8.20) [INFO] [stderr] Adding cryptovec v0.4.6 (available: v0.6.1) [INFO] [stderr] Adding error-chain v0.11.0 (available: v0.12.4) [INFO] [stderr] Adding foreign-types v0.3.2 (available: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.30) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding hex v0.3.2 (available: v0.4.3) [INFO] [stderr] Adding lock_api v0.3.4 (available: v0.4.12) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.22) [INFO] [stderr] Adding memmap v0.6.2 (available: v0.7.0) [INFO] [stderr] Adding memoffset v0.5.6 (available: v0.9.1) [INFO] [stderr] Adding mio v0.6.23 (available: v1.0.2) [INFO] [stderr] Adding miow v0.2.2 (available: v0.6.0) [INFO] [stderr] Adding num v0.1.42 (available: v0.4.3) [INFO] [stderr] Adding num-bigint v0.1.44 (available: v0.4.6) [INFO] [stderr] Adding num-complex v0.1.43 (available: v0.4.6) [INFO] [stderr] Adding num-rational v0.1.42 (available: v0.4.2) [INFO] [stderr] Adding parking_lot v0.9.0 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.6.3 (available: v0.9.10) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand v0.5.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding redox_syscall v0.1.57 (available: v0.5.6) [INFO] [stderr] Adding remove_dir_all v0.5.3 (available: v0.8.4) [INFO] [stderr] Adding rustc_version v0.2.3 (available: v0.4.1) [INFO] [stderr] Adding safemem v0.2.0 (available: v0.3.3) [INFO] [stderr] Adding sanakirja v0.8.22 (available: v1.4.2) [INFO] [stderr] Adding scoped-tls v0.1.2 (available: v1.0.1) [INFO] [stderr] Adding semver v0.9.0 (available: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (available: v0.10.2) [INFO] [stderr] Adding smallvec v0.6.14 (available: v1.13.2) [INFO] [stderr] Adding thrussh-keys v0.9.5 (available: v0.22.1) [INFO] [stderr] Adding thrussh-libsodium v0.1.4 (available: v0.3.0) [INFO] [stderr] Adding tokio v0.1.22 (available: v1.40.0) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding yasna v0.1.3 (available: v0.5.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thrussh-keys v0.9.5 [INFO] [stderr] Downloaded cryptovec v0.4.6 [INFO] [stderr] Downloaded thrussh-libsodium v0.1.4 [INFO] [stderr] Downloaded yasna v0.1.3 [INFO] [stderr] Downloaded base64 v0.8.0 [INFO] [stderr] Downloaded bs58 v0.2.5 [INFO] [stderr] Downloaded sanakirja v0.8.22 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87a47235b41f02cb72b53883f07818c4c303c778cb9e21ed6ae8a2e8d8592559 [INFO] running `Command { std: "docker" "start" "-a" "87a47235b41f02cb72b53883f07818c4c303c778cb9e21ed6ae8a2e8d8592559", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87a47235b41f02cb72b53883f07818c4c303c778cb9e21ed6ae8a2e8d8592559", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87a47235b41f02cb72b53883f07818c4c303c778cb9e21ed6ae8a2e8d8592559", kill_on_drop: false }` [INFO] [stdout] 87a47235b41f02cb72b53883f07818c4c303c778cb9e21ed6ae8a2e8d8592559 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bb9e7185fec20fe6b203dc153033516ecdb4a5d2c03e86a8bd11eef034006a4 [INFO] running `Command { std: "docker" "start" "-a" "3bb9e7185fec20fe6b203dc153033516ecdb4a5d2c03e86a8bd11eef034006a4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling thrussh-libsodium v0.1.4 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking bit-vec v0.4.4 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking base64 v0.8.0 [INFO] [stderr] Checking cryptovec v0.4.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking bs58 v0.2.5 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking sanakirja v0.8.22 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking yasna v0.1.3 [INFO] [stderr] Checking tokio-core v0.1.18 [INFO] [stderr] Checking globset v0.4.15 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking openssl v0.10.66 [INFO] [stderr] Checking thrussh-keys v0.9.5 [INFO] [stderr] Checking libpijul-compat v0.10.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/record.rs:573:58 [INFO] [stdout] | [INFO] [stdout] 573 | fn inode_status(&self, inode: Inode, path: &Path) -> (Option<(WorkingFileStatus, FileHeader)>) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 573 - fn inode_status(&self, inode: Inode, path: &Path) -> (Option<(WorkingFileStatus, FileHeader)>) { [INFO] [stdout] 573 + fn inode_status(&self, inode: Inode, path: &Path) -> Option<(WorkingFileStatus, FileHeader)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:380:20 [INFO] [stdout] | [INFO] [stdout] 380 | let file = try!(File::open(&patches_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:476:16 [INFO] [stdout] | [INFO] [stdout] 476 | let repo = try!(Repository::open(pristine_dir, Some(size_increase as u64))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:477:19 [INFO] [stdout] | [INFO] [stdout] 477 | let mut txn = try!(repo.mut_txn_begin(rand::thread_rng())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:520:5 [INFO] [stdout] | [INFO] [stdout] 520 | try!(txn.commit_branch(branch)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:521:5 [INFO] [stdout] | [INFO] [stdout] 521 | try!(txn.commit()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:502:16 [INFO] [stdout] | [INFO] [stdout] 502 | let repo = try!(Repository::open(repo_dir, Some(increase))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:504:19 [INFO] [stdout] | [INFO] [stdout] 504 | let mut txn = try!(repo.mut_txn_begin(rand::thread_rng())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/record.rs:573:58 [INFO] [stdout] | [INFO] [stdout] 573 | fn inode_status(&self, inode: Inode, path: &Path) -> (Option<(WorkingFileStatus, FileHeader)>) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 573 - fn inode_status(&self, inode: Inode, path: &Path) -> (Option<(WorkingFileStatus, FileHeader)>) { [INFO] [stdout] 573 + fn inode_status(&self, inode: Inode, path: &Path) -> Option<(WorkingFileStatus, FileHeader)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:380:20 [INFO] [stdout] | [INFO] [stdout] 380 | let file = try!(File::open(&patches_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:476:16 [INFO] [stdout] | [INFO] [stdout] 476 | let repo = try!(Repository::open(pristine_dir, Some(size_increase as u64))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:477:19 [INFO] [stdout] | [INFO] [stdout] 477 | let mut txn = try!(repo.mut_txn_begin(rand::thread_rng())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:520:5 [INFO] [stdout] | [INFO] [stdout] 520 | try!(txn.commit_branch(branch)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:521:5 [INFO] [stdout] | [INFO] [stdout] 521 | try!(txn.commit()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:502:16 [INFO] [stdout] | [INFO] [stdout] 502 | let repo = try!(Repository::open(repo_dir, Some(increase))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:504:19 [INFO] [stdout] | [INFO] [stdout] 504 | let mut txn = try!(repo.mut_txn_begin(rand::thread_rng())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `bs58::decode::DecodeError`: Use `bs58::decode::Error` instead [INFO] [stdout] --> src/lib.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 70 | Base58Decode(bs58::decode::DecodeError); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / error_chain! { [INFO] [stdout] 61 | | foreign_links { [INFO] [stdout] 62 | | IO(std::io::Error); [INFO] [stdout] 63 | | Sanakirja(sanakirja::Error); [INFO] [stdout] ... | [INFO] [stdout] 97 | | } [INFO] [stdout] 98 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/backend/inode.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | let mut i: Inode = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/backend/key.rs:166:31 [INFO] [stdout] | [INFO] [stdout] 166 | let mut k = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/backend/patch_id.rs:75:47 [INFO] [stdout] | [INFO] [stdout] 75 | let mut patch_id: PatchId = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `bs58::decode::DecodeError`: Use `bs58::decode::Error` instead [INFO] [stdout] --> src/lib.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 70 | Base58Decode(bs58::decode::DecodeError); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / error_chain! { [INFO] [stdout] 61 | | foreign_links { [INFO] [stdout] 62 | | IO(std::io::Error); [INFO] [stdout] 63 | | Sanakirja(sanakirja::Error); [INFO] [stdout] ... | [INFO] [stdout] 97 | | } [INFO] [stdout] 98 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/backend/inode.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | let mut i: Inode = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/backend/key.rs:166:31 [INFO] [stdout] | [INFO] [stdout] 166 | let mut k = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/backend/patch_id.rs:75:47 [INFO] [stdout] | [INFO] [stdout] 75 | let mut patch_id: PatchId = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/patch.rs:514:36 [INFO] [stdout] | [INFO] [stdout] 514 | pub fn read_signature_file(r: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 514 | pub fn read_signature_file(r: &mut dyn Read) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/patch.rs:549:29 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn read_changes(r: &mut Read) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 549 | pub fn read_changes(r: &mut dyn Read) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/patch.rs:528:48 [INFO] [stdout] | [INFO] [stdout] 528 | pub fn write_signature_file(&self, w: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 528 | pub fn write_signature_file(&self, w: &mut dyn Write) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / error_chain! { [INFO] [stdout] 61 | | foreign_links { [INFO] [stdout] 62 | | IO(std::io::Error); [INFO] [stdout] 63 | | Sanakirja(sanakirja::Error); [INFO] [stdout] ... | [INFO] [stdout] 97 | | } [INFO] [stdout] 98 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/patch.rs:514:36 [INFO] [stdout] | [INFO] [stdout] 514 | pub fn read_signature_file(r: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 514 | pub fn read_signature_file(r: &mut dyn Read) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/patch.rs:549:29 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn read_changes(r: &mut Read) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 549 | pub fn read_changes(r: &mut dyn Read) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/patch.rs:528:48 [INFO] [stdout] | [INFO] [stdout] 528 | pub fn write_signature_file(&self, w: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 528 | pub fn write_signature_file(&self, w: &mut dyn Write) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / error_chain! { [INFO] [stdout] 61 | | foreign_links { [INFO] [stdout] 62 | | IO(std::io::Error); [INFO] [stdout] 63 | | Sanakirja(sanakirja::Error); [INFO] [stdout] ... | [INFO] [stdout] 97 | | } [INFO] [stdout] 98 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bitflags::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/backend/key.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | w.write_str(h.trim_right_matches('0')) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 75 | w.write_str(h.trim_end_matches('0')) [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bitflags::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/backend/key.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | w.write_str(h.trim_right_matches('0')) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 80 | w.write_str(h.trim_end_matches('0')) [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bitflags::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/backend/key.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | w.write_str(h.trim_right_matches('0')) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 75 | w.write_str(h.trim_end_matches('0')) [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bitflags::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/backend/key.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | w.write_str(h.trim_right_matches('0')) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 80 | w.write_str(h.trim_end_matches('0')) [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_ascii_chars`: use sample_iter(&Alphanumeric) instead [INFO] [stdout] --> src/fs_representation.rs:112:18 [INFO] [stdout] | [INFO] [stdout] 112 | x.extend(rng.gen_ascii_chars().take(ID_LENGTH)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_ascii_chars`: use sample_iter(&Alphanumeric) instead [INFO] [stdout] --> src/fs_representation.rs:112:18 [INFO] [stdout] | [INFO] [stdout] 112 | x.extend(rng.gen_ascii_chars().take(ID_LENGTH)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_ascii_chars`: use sample_iter(&Alphanumeric) instead [INFO] [stdout] --> src/lib.rs:154:34 [INFO] [stdout] | [INFO] [stdout] 154 | branch_id.extend(rng.gen_ascii_chars().take(ID_LENGTH)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.basename` which is behind a shared reference [INFO] [stdout] --> src/backend/file_id.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Hash, Eq, PartialEq, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 10 | pub basename: SmallString, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.basename` has type `small_string::SmallString`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 10 | pub basename: SmallString.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.basename` which is behind a shared reference [INFO] [stdout] --> src/backend/file_id.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Hash, Eq, PartialEq, Clone)] [INFO] [stdout] | ---- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 10 | pub basename: SmallString, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.basename` has type `small_string::SmallString`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(Hash)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 10 | pub basename: SmallString.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.basename` which is behind a shared reference [INFO] [stdout] --> src/backend/file_id.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Hash, Eq, PartialEq, Clone)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 10 | pub basename: SmallString, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.basename` has type `small_string::SmallString`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(PartialEq)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 10 | pub basename: SmallString.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `other.basename` which is behind a shared reference [INFO] [stdout] --> src/backend/file_id.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Hash, Eq, PartialEq, Clone)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 10 | pub basename: SmallString, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `other.basename` has type `small_string::SmallString`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(PartialEq)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 10 | pub basename: SmallString.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.basename` which is behind a shared reference [INFO] [stdout] --> src/backend/file_id.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Hash, Eq, PartialEq, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 10 | pub basename: SmallString, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.basename` has type `small_string::SmallString`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(Clone)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 10 | pub basename: SmallString.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_ascii_chars`: use sample_iter(&Alphanumeric) instead [INFO] [stdout] --> src/lib.rs:154:34 [INFO] [stdout] | [INFO] [stdout] 154 | branch_id.extend(rng.gen_ascii_chars().take(ID_LENGTH)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.basename` which is behind a shared reference [INFO] [stdout] --> src/backend/file_id.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Hash, Eq, PartialEq, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 10 | pub basename: SmallString, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.basename` has type `small_string::SmallString`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 10 | pub basename: SmallString.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.basename` which is behind a shared reference [INFO] [stdout] --> src/backend/file_id.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Hash, Eq, PartialEq, Clone)] [INFO] [stdout] | ---- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 10 | pub basename: SmallString, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.basename` has type `small_string::SmallString`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(Hash)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 10 | pub basename: SmallString.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.basename` which is behind a shared reference [INFO] [stdout] --> src/backend/file_id.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Hash, Eq, PartialEq, Clone)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 10 | pub basename: SmallString, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.basename` has type `small_string::SmallString`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(PartialEq)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 10 | pub basename: SmallString.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `other.basename` which is behind a shared reference [INFO] [stdout] --> src/backend/file_id.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Hash, Eq, PartialEq, Clone)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 10 | pub basename: SmallString, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `other.basename` has type `small_string::SmallString`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(PartialEq)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 10 | pub basename: SmallString.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.basename` which is behind a shared reference [INFO] [stdout] --> src/backend/file_id.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Hash, Eq, PartialEq, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 10 | pub basename: SmallString, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.basename` has type `small_string::SmallString`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(Clone)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 10 | pub basename: SmallString.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/file_operations.rs:416:17 [INFO] [stdout] | [INFO] [stdout] 416 | let mut is_first = true; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/file_operations.rs:416:17 [INFO] [stdout] | [INFO] [stdout] 416 | let mut is_first = true; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/optimal_diff/add.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | let mut descendant = *diff.conflicts_descendants.get(&ancestor).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apply/apply.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | let mut is_zombie_marker = to_edge.introduced_by != patch_id [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/optimal_diff/add.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | let mut descendant = *diff.conflicts_descendants.get(&ancestor).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/output.rs:282:25 [INFO] [stdout] | [INFO] [stdout] 282 | let mut name = if b_len > 1 [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apply/apply.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | let mut is_zombie_marker = to_edge.introduced_by != patch_id [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unrecord/edges.rs:298:22 [INFO] [stdout] | [INFO] [stdout] 298 | for (mut k, mut v) in files.drain(..) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unrecord/mod.rs:182:18 [INFO] [stdout] | [INFO] [stdout] 182 | for (mut k, mut v) in files.drain(..) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/output.rs:282:25 [INFO] [stdout] | [INFO] [stdout] 282 | let mut name = if b_len > 1 [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libpijul-compat` (lib test) due to 6 previous errors; 27 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unrecord/edges.rs:298:22 [INFO] [stdout] | [INFO] [stdout] 298 | for (mut k, mut v) in files.drain(..) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unrecord/mod.rs:182:18 [INFO] [stdout] | [INFO] [stdout] 182 | for (mut k, mut v) in files.drain(..) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libpijul-compat` (lib) due to 6 previous errors; 27 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3bb9e7185fec20fe6b203dc153033516ecdb4a5d2c03e86a8bd11eef034006a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bb9e7185fec20fe6b203dc153033516ecdb4a5d2c03e86a8bd11eef034006a4", kill_on_drop: false }` [INFO] [stdout] 3bb9e7185fec20fe6b203dc153033516ecdb4a5d2c03e86a8bd11eef034006a4