[INFO] fetching crate floyd-warshall-alg 0.1.3... [INFO] checking floyd-warshall-alg-0.1.3 against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] extracting crate floyd-warshall-alg 0.1.3 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate floyd-warshall-alg 0.1.3 on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be78027d563db6c9d09db148f37d12c50396d587db99229c894aaf7bbc53101d [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" "be78027d563db6c9d09db148f37d12c50396d587db99229c894aaf7bbc53101d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be78027d563db6c9d09db148f37d12c50396d587db99229c894aaf7bbc53101d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be78027d563db6c9d09db148f37d12c50396d587db99229c894aaf7bbc53101d", kill_on_drop: false }` [INFO] [stdout] be78027d563db6c9d09db148f37d12c50396d587db99229c894aaf7bbc53101d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb260daea5303c18e2779c1f6b95f89e074ecbfb518af6b497a02d19584b2cd0 [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" "fb260daea5303c18e2779c1f6b95f89e074ecbfb518af6b497a02d19584b2cd0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking safe-graph v0.1.6 [INFO] [stderr] Checking 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] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(F, F) -> F` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(F, F) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(F, F) -> F` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(F, F) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(F, F) -> F` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(F, F) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(F, F) -> F` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(F, F) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(F, F) -> F` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(F, F) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(F, F) -> F` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(F, F) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^ ---------- immutable borrow later used here [INFO] [stdout] | | [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] | ^^^^ ---------- immutable borrow later used here [INFO] [stdout] | | [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: 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] | ^^^^ ---------- immutable borrow later used here [INFO] [stdout] | | [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] | ^^^^ ---------- immutable borrow later used here [INFO] [stdout] | | [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 5.52s [INFO] running `Command { std: "docker" "inspect" "fb260daea5303c18e2779c1f6b95f89e074ecbfb518af6b497a02d19584b2cd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb260daea5303c18e2779c1f6b95f89e074ecbfb518af6b497a02d19584b2cd0", kill_on_drop: false }` [INFO] [stdout] fb260daea5303c18e2779c1f6b95f89e074ecbfb518af6b497a02d19584b2cd0