[INFO] fetching crate libpijul-compat 0.10.2... [INFO] testing libpijul-compat-0.10.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate libpijul-compat 0.10.2 into /workspace/builds/worker-6-tc2/source [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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libpijul-compat 0.10.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 156 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.9.3 (available: v0.22.1) [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.4) [INFO] [stderr] Adding bs58 v0.2.5 (available: v0.5.1) [INFO] [stderr] Adding error-chain v0.11.0 (available: v0.12.4) [INFO] [stderr] Adding hex v0.3.2 (available: v0.4.3) [INFO] [stderr] Adding rand v0.5.6 (available: v0.9.2) [INFO] [stderr] Adding sanakirja v0.8.22 (available: v1.4.3) [INFO] [stderr] Adding thrussh-keys v0.9.5 (available: v0.23.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 242fc6ef43cb93dc1d58f50070b941bffc00a5232c0655a6e3579b6597ab6386 [INFO] running `Command { std: "docker" "start" "-a" "242fc6ef43cb93dc1d58f50070b941bffc00a5232c0655a6e3579b6597ab6386", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "242fc6ef43cb93dc1d58f50070b941bffc00a5232c0655a6e3579b6597ab6386", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "242fc6ef43cb93dc1d58f50070b941bffc00a5232c0655a6e3579b6597ab6386", kill_on_drop: false }` [INFO] [stdout] 242fc6ef43cb93dc1d58f50070b941bffc00a5232c0655a6e3579b6597ab6386 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a21a67d706bd3aeb81e2bb645acd31a2f73dcd07b25c5a3b864fe11fe7d761a3 [INFO] running `Command { std: "docker" "start" "-a" "a21a67d706bd3aeb81e2bb645acd31a2f73dcd07b25c5a3b864fe11fe7d761a3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling futures v0.1.31 [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] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling thrussh-libsodium v0.1.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling base64 v0.8.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling cryptovec v0.4.6 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling sanakirja v0.8.22 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling bs58 v0.2.5 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling num v0.1.43 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling yasna v0.1.3 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling thrussh-keys v0.9.5 [INFO] [stderr] Compiling 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: 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] 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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] 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_right_matches('0')) [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_right_matches('0')) [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/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 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 value 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] 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 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 value 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] 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 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 value 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] 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 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 value 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] 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/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/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/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] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libpijul-compat` (lib) due to 4 previous errors; 27 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a21a67d706bd3aeb81e2bb645acd31a2f73dcd07b25c5a3b864fe11fe7d761a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a21a67d706bd3aeb81e2bb645acd31a2f73dcd07b25c5a3b864fe11fe7d761a3", kill_on_drop: false }` [INFO] [stdout] a21a67d706bd3aeb81e2bb645acd31a2f73dcd07b25c5a3b864fe11fe7d761a3