[INFO] fetching crate elba 0.3.0... [INFO] testing elba-0.3.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate elba 0.3.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate elba 0.3.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate elba 0.3.0 [INFO] finished tweaking crates.io crate elba 0.3.0 [INFO] tweaked toml for crates.io crate elba 0.3.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b65f60f91ae9d8b4a7c43603627762657159d8944bef96d0e32bf6a2a7fbf07 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7b65f60f91ae9d8b4a7c43603627762657159d8944bef96d0e32bf6a2a7fbf07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b65f60f91ae9d8b4a7c43603627762657159d8944bef96d0e32bf6a2a7fbf07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b65f60f91ae9d8b4a7c43603627762657159d8944bef96d0e32bf6a2a7fbf07", kill_on_drop: false }` [INFO] [stdout] 7b65f60f91ae9d8b4a7c43603627762657159d8944bef96d0e32bf6a2a7fbf07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b62586dbdd3c53aba0bdaa506d8f35b4db27d3171ef6d007f511d9547230cd8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2b62586dbdd3c53aba0bdaa506d8f35b4db27d3171ef6d007f511d9547230cd8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling shell-escape v0.1.5 [INFO] [stderr] Compiling symlink v0.1.0 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling simsearch v0.1.4 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling directories v1.0.2 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling generic-array v0.9.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling tar v0.4.38 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling git2 v0.7.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling url_serde v0.2.0 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling slog-async v2.7.0 [INFO] [stderr] Compiling slog-term v2.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.5.2 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling semver_constraints v0.1.0 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling console v0.6.2 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling serde-hjson v0.8.2 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling crossbeam-channel v0.2.6 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling config v0.9.3 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling crossbeam v0.4.1 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling toml_edit v0.1.5 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling elba v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib/retrieve/cache.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/util/git.rs:372:14 [INFO] [stdout] | [INFO] [stdout] 372 | cb: &mut FnMut(git2::FetchOptions) -> Res, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 372 - cb: &mut FnMut(git2::FetchOptions) -> Res, [INFO] [stdout] 372 + cb: &mut dyn FnMut(git2::FetchOptions) -> Res, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib/retrieve/mod.rs:205:28 [INFO] [stdout] | [INFO] [stdout] 176 | let locked = self.lockfile.find_by(|sum| sum.id.lowkey_eq(pkg)); [INFO] [stdout] | -------------------------------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 205 | return self [INFO] [stdout] | ____________________________^ [INFO] [stdout] 206 | | .select(&Summary::new(pkg.clone(), v.clone())) [INFO] [stdout] | |____________________________________________________________---------_^ mutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lock` [INFO] [stdout] --> src/lib/retrieve/cache.rs:613:5 [INFO] [stdout] | [INFO] [stdout] 613 | lock: DirLock, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 25s [INFO] running `Command { std: "docker" "inspect" "2b62586dbdd3c53aba0bdaa506d8f35b4db27d3171ef6d007f511d9547230cd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b62586dbdd3c53aba0bdaa506d8f35b4db27d3171ef6d007f511d9547230cd8", kill_on_drop: false }` [INFO] [stdout] 2b62586dbdd3c53aba0bdaa506d8f35b4db27d3171ef6d007f511d9547230cd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 758f91fcfaee165bccf2fd3817f3cd51289486f4cdb9bc4040372cfff7460154 [INFO] running `Command { std: "docker" "start" "-a" "758f91fcfaee165bccf2fd3817f3cd51289486f4cdb9bc4040372cfff7460154", kill_on_drop: false }` [INFO] [stderr] Compiling elba v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib/retrieve/cache.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/util/git.rs:372:14 [INFO] [stdout] | [INFO] [stdout] 372 | cb: &mut FnMut(git2::FetchOptions) -> Res, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 372 - cb: &mut FnMut(git2::FetchOptions) -> Res, [INFO] [stdout] 372 + cb: &mut dyn FnMut(git2::FetchOptions) -> Res, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib/retrieve/mod.rs:205:28 [INFO] [stdout] | [INFO] [stdout] 176 | let locked = self.lockfile.find_by(|sum| sum.id.lowkey_eq(pkg)); [INFO] [stdout] | -------------------------------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 205 | return self [INFO] [stdout] | ____________________________^ [INFO] [stdout] 206 | | .select(&Summary::new(pkg.clone(), v.clone())) [INFO] [stdout] | |____________________________________________________________---------_^ mutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lock` [INFO] [stdout] --> src/lib/retrieve/cache.rs:613:5 [INFO] [stdout] | [INFO] [stdout] 613 | lock: DirLock, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib/retrieve/cache.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/util/git.rs:372:14 [INFO] [stdout] | [INFO] [stdout] 372 | cb: &mut FnMut(git2::FetchOptions) -> Res, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 372 - cb: &mut FnMut(git2::FetchOptions) -> Res, [INFO] [stdout] 372 + cb: &mut dyn FnMut(git2::FetchOptions) -> Res, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib/retrieve/mod.rs:205:28 [INFO] [stdout] | [INFO] [stdout] 176 | let locked = self.lockfile.find_by(|sum| sum.id.lowkey_eq(pkg)); [INFO] [stdout] | -------------------------------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 205 | return self [INFO] [stdout] | ____________________________^ [INFO] [stdout] 206 | | .select(&Summary::new(pkg.clone(), v.clone())) [INFO] [stdout] | |____________________________________________________________---------_^ mutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lock` [INFO] [stdout] --> src/lib/retrieve/cache.rs:613:5 [INFO] [stdout] | [INFO] [stdout] 613 | lock: DirLock, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 23.97s [INFO] running `Command { std: "docker" "inspect" "758f91fcfaee165bccf2fd3817f3cd51289486f4cdb9bc4040372cfff7460154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "758f91fcfaee165bccf2fd3817f3cd51289486f4cdb9bc4040372cfff7460154", kill_on_drop: false }` [INFO] [stdout] 758f91fcfaee165bccf2fd3817f3cd51289486f4cdb9bc4040372cfff7460154 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ee77d2d643c5440012128b1aa94b63ef93a53af3035db0cf989a0b99b99ad400 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ee77d2d643c5440012128b1aa94b63ef93a53af3035db0cf989a0b99b99ad400", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/lib/retrieve/cache.rs:370:10 [INFO] [stderr] | [INFO] [stderr] 370 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib/util/git.rs:372:14 [INFO] [stderr] | [INFO] [stderr] 372 | cb: &mut FnMut(git2::FetchOptions) -> Res, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 372 - cb: &mut FnMut(git2::FetchOptions) -> Res, [INFO] [stderr] 372 + cb: &mut dyn FnMut(git2::FetchOptions) -> Res, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/lib/retrieve/mod.rs:205:28 [INFO] [stderr] | [INFO] [stderr] 176 | let locked = self.lockfile.find_by(|sum| sum.id.lowkey_eq(pkg)); [INFO] [stderr] | -------------------------------------------------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 205 | return self [INFO] [stderr] | ____________________________^ [INFO] [stderr] 206 | | .select(&Summary::new(pkg.clone(), v.clone())) [INFO] [stderr] | |____________________________________________________________---------_^ mutable borrow occurs here [INFO] [stderr] | | [INFO] [stderr] | immutable borrow later used here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: field is never read: `lock` [INFO] [stderr] --> src/lib/retrieve/cache.rs:613:5 [INFO] [stderr] | [INFO] [stderr] 613 | lock: DirLock, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `elba` (lib) generated 4 warnings [INFO] [stderr] warning: `elba` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/elba-e19c947824cd2184) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test package::manifest::tests::manifest_valid_no_targets ... ok [INFO] [stdout] test package::lockfile::tests::valid_lockfile ... ok [INFO] [stdout] test package::manifest::tests::manifest_valid ... ok [INFO] [stdout] test util::lock::test::dirlock_wrong_order ... ok [INFO] [stdout] test util::lock::test::dirlock_simple ... ok [INFO] [stdout] test util::lock::test::dirlock_existing_err ... ok [INFO] [stdout] test package::manifest::tests::manifest_invalid_target_path ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/elba-6a54392c2cf8a916) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/testsuite/main.rs (/opt/rustwide/target/debug/deps/testsuite-bae3e5165efd7d7a) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test index::index_success ... ok [INFO] [stdout] test resolver::resolve_no_conflict ... ok [INFO] [stdout] test resolver::resolve_conflict_res_simple ... ok [INFO] [stdout] test resolver::resolve_avoid_conflict ... ok [INFO] [stdout] test resolver::resolve_conflict_simple_report ... ok [INFO] [stdout] test resolver::resolve_conflict_complex_report ... ok [INFO] [stdout] test resolver::resolve_conflict_res_partial ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- resolver::resolve_conflict_res_partial stdout ---- [INFO] [stdout] [warn] Couldn't add package conflict_res_partial/target@index+dir+/tmp/elba.cDE1KeCkarpP >=2.0.0 <3.0.0: package doesn't exist in index [INFO] [stdout] thread 'resolver::resolve_conflict_res_partial' panicked at 'assertion failed: resolver.solve().is_ok()', tests/testsuite/resolver.rs:89:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55cfa6443a8c - std::backtrace_rs::backtrace::libunwind::trace::h91c465e73bf6c785 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55cfa6443a8c - std::backtrace_rs::backtrace::trace_unsynchronized::hae9da36f5d58b5f3 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55cfa6443a8c - std::sys_common::backtrace::_print_fmt::h7f499fa126a7effb [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55cfa6443a8c - ::fmt::h3e2b509ce2ce6007 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55cfa646d96c - core::fmt::write::h753c7571fa063ecb [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/fmt/mod.rs:1168:17 [INFO] [stdout] 5: 0x55cfa643b753 - std::io::Write::write_fmt::hb649ab67f71b6655 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/io/mod.rs:1660:15 [INFO] [stdout] 6: 0x55cfa6446542 - std::sys_common::backtrace::_print::h64941a6fc8b0ed9b [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55cfa6446542 - std::sys_common::backtrace::print::hcf25e43e1a9b0766 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55cfa6446542 - std::panicking::default_hook::{{closure}}::h78d3e6cf97fc623d [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x55cfa6446191 - std::panicking::default_hook::hda898f8d3ad1a5ae [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55cfa6446b93 - std::panicking::rust_panic_with_hook::h1a5ea2d6c23051aa [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x55cfa6446882 - std::panicking::begin_panic_handler::{{closure}}::h07f549390938b73f [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:500:13 [INFO] [stdout] 12: 0x55cfa6443f34 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ec3758a92cfb00d [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x55cfa64465e9 - rust_begin_unwind [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x55cfa58fbd11 - core::panicking::panic_fmt::h3a79a6a99affe1d5 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panicking.rs:116:14 [INFO] [stdout] 15: 0x55cfa58fbc5d - core::panicking::panic::h97167cd315d19cd4 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panicking.rs:48:5 [INFO] [stdout] 16: 0x55cfa58fdce0 - testsuite::resolver::resolve_conflict_res_partial::he89d15abd0f86c5a [INFO] [stdout] at /opt/rustwide/workdir/tests/testsuite/resolver.rs:89:5 [INFO] [stdout] 17: 0x55cfa58fd93a - testsuite::resolver::resolve_conflict_res_partial::{{closure}}::h509d4fcdb8a477e5 [INFO] [stdout] at /opt/rustwide/workdir/tests/testsuite/resolver.rs:86:1 [INFO] [stdout] 18: 0x55cfa590359e - core::ops::function::FnOnce::call_once::h64caaf76b6080716 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x55cfa592f993 - core::ops::function::FnOnce::call_once::h1845a80638abc06e [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55cfa592f993 - test::__rust_begin_short_backtrace::h4f56ccea01b9889f [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:574:5 [INFO] [stdout] 21: 0x55cfa592e67f - as core::ops::function::FnOnce>::call_once::h5afedf14a39ffa74 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 22: 0x55cfa592e67f - as core::ops::function::FnOnce<()>>::call_once::hd5aaa1b551e9ce71 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 23: 0x55cfa592e67f - std::panicking::try::do_call::h316eebee63f96d32 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:406:40 [INFO] [stdout] 24: 0x55cfa592e67f - std::panicking::try::h662e31e84dd7ce52 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:370:19 [INFO] [stdout] 25: 0x55cfa592e67f - std::panic::catch_unwind::h129c1b23f076663f [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panic.rs:133:14 [INFO] [stdout] 26: 0x55cfa592e67f - test::run_test_in_process::h51d800d572f878ef [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:597:18 [INFO] [stdout] 27: 0x55cfa592e67f - test::run_test::run_test_inner::{{closure}}::h71a47db430260854 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:491:39 [INFO] [stdout] 28: 0x55cfa5937a41 - test::run_test::run_test_inner::{{closure}}::h02edd5b3e2dab52a [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:518:37 [INFO] [stdout] 29: 0x55cfa5937a41 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0838cfc8b0e995ec [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 30: 0x55cfa59044cf - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h4c2725d7078043cd [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/thread/mod.rs:477:17 [INFO] [stdout] 31: 0x55cfa59044cf - as core::ops::function::FnOnce<()>>::call_once::hdf1aa612eed87270 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 32: 0x55cfa59044cf - std::panicking::try::do_call::hc72f8de3706d18d6 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:406:40 [INFO] [stdout] 33: 0x55cfa59044cf - std::panicking::try::h63f01f54dbd0fb87 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:370:19 [INFO] [stdout] 34: 0x55cfa59044cf - std::panic::catch_unwind::h58bc464ae9b26453 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panic.rs:133:14 [INFO] [stdout] 35: 0x55cfa59044cf - std::thread::Builder::spawn_unchecked::{{closure}}::h6c065e19513e33e3 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/thread/mod.rs:476:30 [INFO] [stdout] 36: 0x55cfa59044cf - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd143450c74f35c32 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 37: 0x55cfa644e5a3 - as core::ops::function::FnOnce>::call_once::h49b6c7c5155a2296 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 38: 0x55cfa644e5a3 - as core::ops::function::FnOnce>::call_once::ha8b5234bfeb15105 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 39: 0x55cfa644e5a3 - std::sys::unix::thread::Thread::new::thread_start::h6f207dd842d64859 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 40: 0x7f7d4818f609 - start_thread [INFO] [stdout] 41: 0x7f7d482e8293 - clone [INFO] [stdout] 42: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] resolver::resolve_conflict_res_partial [INFO] [stdout] [INFO] [stdout] test result: FAILED. 6 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test testsuite' [INFO] running `Command { std: "docker" "inspect" "ee77d2d643c5440012128b1aa94b63ef93a53af3035db0cf989a0b99b99ad400", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee77d2d643c5440012128b1aa94b63ef93a53af3035db0cf989a0b99b99ad400", kill_on_drop: false }` [INFO] [stdout] ee77d2d643c5440012128b1aa94b63ef93a53af3035db0cf989a0b99b99ad400