[INFO] fetching crate libpijul-compat 0.10.2... [INFO] testing libpijul-compat-0.10.2 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate libpijul-compat 0.10.2 into /workspace/builds/worker-58/source [INFO] validating manifest of crates.io crate libpijul-compat 0.10.2 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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-58/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yasna v0.1.3 [INFO] [stderr] Downloaded bs58 v0.2.5 [INFO] [stderr] Downloaded cryptovec v0.4.6 [INFO] [stderr] Downloaded thrussh-libsodium v0.1.4 [INFO] [stderr] Downloaded sanakirja v0.8.22 [INFO] [stderr] Downloaded thrussh-keys v0.9.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a4c541eecd3877d1d9bd4e0109fc4f2ba14da95f6b74f0d2963550552be1827 [INFO] running `Command { std: "docker" "start" "-a" "5a4c541eecd3877d1d9bd4e0109fc4f2ba14da95f6b74f0d2963550552be1827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a4c541eecd3877d1d9bd4e0109fc4f2ba14da95f6b74f0d2963550552be1827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a4c541eecd3877d1d9bd4e0109fc4f2ba14da95f6b74f0d2963550552be1827", kill_on_drop: false }` [INFO] [stdout] 5a4c541eecd3877d1d9bd4e0109fc4f2ba14da95f6b74f0d2963550552be1827 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e59dfe61f412b774c1ed706a34731626c9aac9df3498a6c1ddf9ce27954dfefa [INFO] running `Command { std: "docker" "start" "-a" "e59dfe61f412b774c1ed706a34731626c9aac9df3498a6c1ddf9ce27954dfefa", kill_on_drop: false }` [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling bs58 v0.2.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling base64 v0.8.0 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling thrussh-libsodium v0.1.4 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling cryptovec v0.4.6 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling sanakirja v0.8.22 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling yasna v0.1.3 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [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: 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] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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 associated function `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` (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 associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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] warning: use of deprecated associated function `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` (in Nightly builds, run with -Z macro-backtrace for more info) [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] warning: field is never read: `file_moves` [INFO] [stdout] --> src/unrecord/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | file_moves: HashSet>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.42s [INFO] running `Command { std: "docker" "inspect" "e59dfe61f412b774c1ed706a34731626c9aac9df3498a6c1ddf9ce27954dfefa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e59dfe61f412b774c1ed706a34731626c9aac9df3498a6c1ddf9ce27954dfefa", kill_on_drop: false }` [INFO] [stdout] e59dfe61f412b774c1ed706a34731626c9aac9df3498a6c1ddf9ce27954dfefa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b91a1e61bd523bdfcb4d9e866a4cc6e29e50bc8e0d7a5e126ec6e2cca5d54fc9 [INFO] running `Command { std: "docker" "start" "-a" "b91a1e61bd523bdfcb4d9e866a4cc6e29e50bc8e0d7a5e126ec6e2cca5d54fc9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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 associated function `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` (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 associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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] warning: use of deprecated associated function `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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libpijul-compat v0.10.2 (/opt/rustwide/workdir) [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] warning: field is never read: `file_moves` [INFO] [stdout] --> src/unrecord/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | file_moves: HashSet>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [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] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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 associated function `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` (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 associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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] warning: use of deprecated associated function `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` (in Nightly builds, run with -Z macro-backtrace for more info) [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] warning: field is never read: `file_moves` [INFO] [stdout] --> src/unrecord/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | file_moves: HashSet>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.14s [INFO] running `Command { std: "docker" "inspect" "b91a1e61bd523bdfcb4d9e866a4cc6e29e50bc8e0d7a5e126ec6e2cca5d54fc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b91a1e61bd523bdfcb4d9e866a4cc6e29e50bc8e0d7a5e126ec6e2cca5d54fc9", kill_on_drop: false }` [INFO] [stdout] b91a1e61bd523bdfcb4d9e866a4cc6e29e50bc8e0d7a5e126ec6e2cca5d54fc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [ERROR] error running command: no output for 300 seconds