[INFO] fetching crate fast_paths 0.1.1... [INFO] checking fast_paths-0.1.1 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate fast_paths 0.1.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate fast_paths 0.1.1 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fast_paths 0.1.1 [INFO] finished tweaking crates.io crate fast_paths 0.1.1 [INFO] tweaked toml for crates.io crate fast_paths 0.1.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", 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] 363a2144aabb0a9395d3d38ddd0e3ece6d80234f125b67d51eb6a5abe3fdc567 [INFO] running `Command { std: "docker" "start" "-a" "363a2144aabb0a9395d3d38ddd0e3ece6d80234f125b67d51eb6a5abe3fdc567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "363a2144aabb0a9395d3d38ddd0e3ece6d80234f125b67d51eb6a5abe3fdc567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "363a2144aabb0a9395d3d38ddd0e3ece6d80234f125b67d51eb6a5abe3fdc567", kill_on_drop: false }` [INFO] [stdout] 363a2144aabb0a9395d3d38ddd0e3ece6d80234f125b67d51eb6a5abe3fdc567 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6468fb791acdd9585b329e64a32d34dbeca9ca818ad5a6878b35038fca02e0f4 [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" "6468fb791acdd9585b329e64a32d34dbeca9ca818ad5a6878b35038fca02e0f4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking indexmap v0.4.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking priority-queue v0.6.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking stopwatch v0.0.7 [INFO] [stderr] Checking bincode v1.3.2 [INFO] [stderr] Checking fast_paths v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:89:80 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn save_to_disk(fast_graph: &FastGraph, file_name: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:95:65 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn load_from_disk(file_name: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:89:80 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn save_to_disk(fast_graph: &FastGraph, file_name: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:95:65 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn load_from_disk(file_name: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FloydWarshall` [INFO] [stdout] --> src/floyd_warshall.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct FloydWarshall { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/floyd_warshall.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(num_nodes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prepare` [INFO] [stdout] --> src/floyd_warshall.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn prepare(&mut self, input_graph: &InputGraph) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc_weight` [INFO] [stdout] --> src/floyd_warshall.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn calc_weight(&self, source: NodeId, target: NodeId) -> Weight { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/preparation_graph.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | / format!( [INFO] [stdout] 151 | | "invalid node id {}, must be in [0, {}[", [INFO] [stdout] 152 | | node, self.num_nodes [INFO] [stdout] 153 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 150 | [INFO] [stdout] 151 | "invalid node id {}, must be in [0, {}[", [INFO] [stdout] 152 | node, self.num_nodes [INFO] [stdout] 153 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/preparation_graph.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | node >= 0 && node < self.num_nodes, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/preparation_graph.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | / format!( [INFO] [stdout] 151 | | "invalid node id {}, must be in [0, {}[", [INFO] [stdout] 152 | | node, self.num_nodes [INFO] [stdout] 153 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 150 | [INFO] [stdout] 151 | "invalid node id {}, must be in [0, {}[", [INFO] [stdout] 152 | node, self.num_nodes [INFO] [stdout] 153 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | / format!("too many different paths: {}, out of {}, a few different \ [INFO] [stdout] 176 | | paths can be expected because of unambiguous shortest paths, but if there are too \ [INFO] [stdout] 177 | | many something is wrong", num_different_paths, NUM_QUERIES) [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 175 | "too many different paths: {}, out of {}, a few different \ [INFO] [stdout] 176 | paths can be expected because of unambiguous shortest paths, but if there are too \ [INFO] [stdout] 177 | many something is wrong", num_different_paths, NUM_QUERIES [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/preparation_graph.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | node >= 0 && node < self.num_nodes, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.25s [INFO] running `Command { std: "docker" "inspect" "6468fb791acdd9585b329e64a32d34dbeca9ca818ad5a6878b35038fca02e0f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6468fb791acdd9585b329e64a32d34dbeca9ca818ad5a6878b35038fca02e0f4", kill_on_drop: false }` [INFO] [stdout] 6468fb791acdd9585b329e64a32d34dbeca9ca818ad5a6878b35038fca02e0f4