[INFO] fetching crate fast_paths 0.1.1... [INFO] checking fast_paths-0.1.1 against try#7b3565da729099dbe807466fcd118fb2815986e0 for pr-81789 [INFO] extracting crate fast_paths 0.1.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate fast_paths 0.1.1 on toolchain 7b3565da729099dbe807466fcd118fb2815986e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "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" "+7b3565da729099dbe807466fcd118fb2815986e0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded priority-queue v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee3961f7d4ab5e1d60924dc7f6e491a605650ee610aee380997e99e229e44a4b [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" "ee3961f7d4ab5e1d60924dc7f6e491a605650ee610aee380997e99e229e44a4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee3961f7d4ab5e1d60924dc7f6e491a605650ee610aee380997e99e229e44a4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee3961f7d4ab5e1d60924dc7f6e491a605650ee610aee380997e99e229e44a4b", kill_on_drop: false }` [INFO] [stdout] ee3961f7d4ab5e1d60924dc7f6e491a605650ee610aee380997e99e229e44a4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+7b3565da729099dbe807466fcd118fb2815986e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06ae6de7a195c6ccd755e3c5459d4657ca65aff1e9c72c5af751fb94be423742 [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" "06ae6de7a195c6ccd755e3c5459d4657ca65aff1e9c72c5af751fb94be423742", kill_on_drop: false }` [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Checking indexmap v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking priority-queue v0.6.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-iter v0.1.42 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking stopwatch v0.0.7 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking bincode v1.3.3 [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.67s [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "06ae6de7a195c6ccd755e3c5459d4657ca65aff1e9c72c5af751fb94be423742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06ae6de7a195c6ccd755e3c5459d4657ca65aff1e9c72c5af751fb94be423742", kill_on_drop: false }` [INFO] [stdout] 06ae6de7a195c6ccd755e3c5459d4657ca65aff1e9c72c5af751fb94be423742