[INFO] fetching crate floyd-warshall-alg 0.1.3... [INFO] testing floyd-warshall-alg-0.1.3 against 1.59.0 for beta-1.60-1 [INFO] extracting crate floyd-warshall-alg 0.1.3 into /workspace/builds/worker-71/source [INFO] validating manifest of crates.io crate floyd-warshall-alg 0.1.3 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 floyd-warshall-alg 0.1.3 [INFO] finished tweaking crates.io crate floyd-warshall-alg 0.1.3 [INFO] tweaked toml for crates.io crate floyd-warshall-alg 0.1.3 written to /workspace/builds/worker-71/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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded safe-graph v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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] 4b7d63a7c43644eb19920332fbcfccfc75235e86cb7c35f50d41139168923611 [INFO] running `Command { std: "docker" "start" "-a" "4b7d63a7c43644eb19920332fbcfccfc75235e86cb7c35f50d41139168923611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b7d63a7c43644eb19920332fbcfccfc75235e86cb7c35f50d41139168923611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b7d63a7c43644eb19920332fbcfccfc75235e86cb7c35f50d41139168923611", kill_on_drop: false }` [INFO] [stdout] 4b7d63a7c43644eb19920332fbcfccfc75235e86cb7c35f50d41139168923611 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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] 3714d86aa4f7619b67214988997ce52b3f87727aaa2d3beb0d77d034ff3cd7fb [INFO] running `Command { std: "docker" "start" "-a" "3714d86aa4f7619b67214988997ce52b3f87727aaa2d3beb0d77d034ff3cd7fb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling safe-graph v0.1.6 [INFO] [stderr] Compiling floyd-warshall-alg v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/floyd_warshall.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | op: Box F>, [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] 24 - op: Box F>, [INFO] [stdout] 24 + op: Box F>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/floyd_warshall.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | cmp: Box bool>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] 44 - cmp: Box bool>, [INFO] [stdout] 44 + cmp: Box bool>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/floyd_warshall.rs:88:35 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn new_customized(op: Box F>, cmp: Box bool>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [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] 88 - pub fn new_customized(op: Box F>, cmp: Box bool>) -> Self { [INFO] [stdout] 88 + pub fn new_customized(op: Box F>, cmp: Box bool>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/floyd_warshall.rs:88:60 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn new_customized(op: Box F>, cmp: Box bool>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] 88 - pub fn new_customized(op: Box F>, cmp: Box bool>) -> Self { [INFO] [stdout] 88 + pub fn new_customized(op: Box F>, cmp: Box bool>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/floyd_warshall.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | op: Box F>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [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] 112 - op: Box F>, [INFO] [stdout] 112 + op: Box F>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/floyd_warshall.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | cmp: Box bool>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] 113 - cmp: Box bool>, [INFO] [stdout] 113 + cmp: Box bool>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `next` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/floyd_warshall.rs:180:29 [INFO] [stdout] | [INFO] [stdout] 179 | ... let direction = next.edge_weight(i, k).unwrap(); [INFO] [stdout] | ---------------------- immutable borrow occurs here [INFO] [stdout] 180 | ... next.add_edge(i, j, *direction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs 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: cannot borrow `next` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/floyd_warshall.rs:188:25 [INFO] [stdout] | [INFO] [stdout] 187 | let direction = next.edge_weight(i, k).unwrap(); [INFO] [stdout] | ---------------------- immutable borrow occurs here [INFO] [stdout] 188 | next.add_edge(i, j, *direction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.03s [INFO] running `Command { std: "docker" "inspect" "3714d86aa4f7619b67214988997ce52b3f87727aaa2d3beb0d77d034ff3cd7fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3714d86aa4f7619b67214988997ce52b3f87727aaa2d3beb0d77d034ff3cd7fb", kill_on_drop: false }` [INFO] [stdout] 3714d86aa4f7619b67214988997ce52b3f87727aaa2d3beb0d77d034ff3cd7fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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] [stdout] 16c6a243af63689795b2dcd2ab9f542c5156a35ca9850e016b457d4ecffb9b49 [INFO] running `Command { std: "docker" "start" "-a" "16c6a243af63689795b2dcd2ab9f542c5156a35ca9850e016b457d4ecffb9b49", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/floyd_warshall.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | op: Box F>, [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] 24 - op: Box F>, [INFO] [stdout] 24 + op: Box F>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/floyd_warshall.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | cmp: Box bool>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] 44 - cmp: Box bool>, [INFO] [stdout] 44 + cmp: Box bool>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/floyd_warshall.rs:88:35 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn new_customized(op: Box F>, cmp: Box bool>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [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] 88 - pub fn new_customized(op: Box F>, cmp: Box bool>) -> Self { [INFO] [stdout] 88 + pub fn new_customized(op: Box F>, cmp: Box bool>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/floyd_warshall.rs:88:60 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn new_customized(op: Box F>, cmp: Box bool>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] 88 - pub fn new_customized(op: Box F>, cmp: Box bool>) -> Self { [INFO] [stdout] 88 + pub fn new_customized(op: Box F>, cmp: Box bool>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/floyd_warshall.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | op: Box F>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [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] 112 - op: Box F>, [INFO] [stdout] 112 + op: Box F>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/floyd_warshall.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | cmp: Box bool>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] 113 - cmp: Box bool>, [INFO] [stdout] 113 + cmp: Box bool>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `next` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/floyd_warshall.rs:180:29 [INFO] [stdout] | [INFO] [stdout] 179 | ... let direction = next.edge_weight(i, k).unwrap(); [INFO] [stdout] | ---------------------- immutable borrow occurs here [INFO] [stdout] 180 | ... next.add_edge(i, j, *direction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs 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] [stderr] Compiling floyd-warshall-alg v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: cannot borrow `next` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/floyd_warshall.rs:188:25 [INFO] [stdout] | [INFO] [stdout] 187 | let direction = next.edge_weight(i, k).unwrap(); [INFO] [stdout] | ---------------------- immutable borrow occurs here [INFO] [stdout] 188 | next.add_edge(i, j, *direction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/floyd_warshall.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | op: Box F>, [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] 24 - op: Box F>, [INFO] [stdout] 24 + op: Box F>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/floyd_warshall.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | cmp: Box bool>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] 44 - cmp: Box bool>, [INFO] [stdout] 44 + cmp: Box bool>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/floyd_warshall.rs:88:35 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn new_customized(op: Box F>, cmp: Box bool>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [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] 88 - pub fn new_customized(op: Box F>, cmp: Box bool>) -> Self { [INFO] [stdout] 88 + pub fn new_customized(op: Box F>, cmp: Box bool>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/floyd_warshall.rs:88:60 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn new_customized(op: Box F>, cmp: Box bool>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] 88 - pub fn new_customized(op: Box F>, cmp: Box bool>) -> Self { [INFO] [stdout] 88 + pub fn new_customized(op: Box F>, cmp: Box bool>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/floyd_warshall.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | op: Box F>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [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] 112 - op: Box F>, [INFO] [stdout] 112 + op: Box F>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/floyd_warshall.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | cmp: Box bool>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] 113 - cmp: Box bool>, [INFO] [stdout] 113 + cmp: Box bool>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `next` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/floyd_warshall.rs:180:29 [INFO] [stdout] | [INFO] [stdout] 179 | ... let direction = next.edge_weight(i, k).unwrap(); [INFO] [stdout] | ---------------------- immutable borrow occurs here [INFO] [stdout] 180 | ... next.add_edge(i, j, *direction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs 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: cannot borrow `next` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/floyd_warshall.rs:188:25 [INFO] [stdout] | [INFO] [stdout] 187 | let direction = next.edge_weight(i, k).unwrap(); [INFO] [stdout] | ---------------------- immutable borrow occurs here [INFO] [stdout] 188 | next.add_edge(i, j, *direction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.12s [INFO] running `Command { std: "docker" "inspect" "16c6a243af63689795b2dcd2ab9f542c5156a35ca9850e016b457d4ecffb9b49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16c6a243af63689795b2dcd2ab9f542c5156a35ca9850e016b457d4ecffb9b49", kill_on_drop: false }` [INFO] [stdout] 16c6a243af63689795b2dcd2ab9f542c5156a35ca9850e016b457d4ecffb9b49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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] 43c5dc98bbc5e955b9c697f4a7f37a3f364e17ece100a7eba3d1507afc7d5f4d [INFO] running `Command { std: "docker" "start" "-a" "43c5dc98bbc5e955b9c697f4a7f37a3f364e17ece100a7eba3d1507afc7d5f4d", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/floyd_warshall.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | op: Box F>, [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] 24 - op: Box F>, [INFO] [stderr] 24 + op: Box F>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/floyd_warshall.rs:44:14 [INFO] [stderr] | [INFO] [stderr] 44 | cmp: Box bool>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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] 44 - cmp: Box bool>, [INFO] [stderr] 44 + cmp: Box bool>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/floyd_warshall.rs:88:35 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn new_customized(op: Box F>, cmp: Box bool>) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [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] 88 - pub fn new_customized(op: Box F>, cmp: Box bool>) -> Self { [INFO] [stderr] 88 + pub fn new_customized(op: Box F>, cmp: Box bool>) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/floyd_warshall.rs:88:60 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn new_customized(op: Box F>, cmp: Box bool>) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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] 88 - pub fn new_customized(op: Box F>, cmp: Box bool>) -> Self { [INFO] [stderr] 88 + pub fn new_customized(op: Box F>, cmp: Box bool>) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/floyd_warshall.rs:112:17 [INFO] [stderr] | [INFO] [stderr] 112 | op: Box F>, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [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] 112 - op: Box F>, [INFO] [stderr] 112 + op: Box F>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/floyd_warshall.rs:113:18 [INFO] [stderr] | [INFO] [stderr] 113 | cmp: Box bool>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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] 113 - cmp: Box bool>, [INFO] [stderr] 113 + cmp: Box bool>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `next` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/floyd_warshall.rs:180:29 [INFO] [stderr] | [INFO] [stderr] 179 | ... let direction = next.edge_weight(i, k).unwrap(); [INFO] [stderr] | ---------------------- immutable borrow occurs here [INFO] [stderr] 180 | ... next.add_edge(i, j, *direction); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^----------^ [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow later used here [INFO] [stderr] | mutable borrow occurs 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: cannot borrow `next` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/floyd_warshall.rs:188:25 [INFO] [stderr] | [INFO] [stderr] 187 | let direction = next.edge_weight(i, k).unwrap(); [INFO] [stderr] | ---------------------- immutable borrow occurs here [INFO] [stderr] 188 | next.add_edge(i, j, *direction); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^----------^ [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow later used here [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [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: `floyd-warshall-alg` (lib) generated 8 warnings [INFO] [stderr] warning: `floyd-warshall-alg` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/floyd_warshall_alg-1a436eca21a96cd0) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test floyd_warshall::tests::new ... ok [INFO] [stdout] test floyd_warshall::tests::new_customized ... ok [INFO] [stdout] test floyd_warshall::tests::new_fully_customized ... ok [INFO] [stdout] test floyd_warshall::tests::find_paths ... ok [INFO] [stdout] test result::tests::collect_path_nodes ... ok [INFO] [stdout] test result::tests::new ... ok [INFO] [stdout] test result::tests::get_path_rate ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests floyd-warshall-alg [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/floyd_warshall.rs - floyd_warshall::FloydWarshall::cmp (line 30) ... ok [INFO] [stdout] test src/floyd_warshall.rs - floyd_warshall::FloydWarshall::new_customized (line 79) ... ok [INFO] [stdout] test src/floyd_warshall.rs - floyd_warshall::FloydWarshall::new (line 54) ... ok [INFO] [stdout] test src/floyd_warshall.rs - floyd_warshall::FloydWarshall::new_fully_customized (line 102) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "43c5dc98bbc5e955b9c697f4a7f37a3f364e17ece100a7eba3d1507afc7d5f4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43c5dc98bbc5e955b9c697f4a7f37a3f364e17ece100a7eba3d1507afc7d5f4d", kill_on_drop: false }` [INFO] [stdout] 43c5dc98bbc5e955b9c697f4a7f37a3f364e17ece100a7eba3d1507afc7d5f4d