[INFO] fetching crate global-supertrees 0.1.0... [INFO] checking global-supertrees-0.1.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate global-supertrees 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate global-supertrees 0.1.0 [INFO] finished tweaking crates.io crate global-supertrees 0.1.0 [INFO] tweaked toml for crates.io crate global-supertrees 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate global-supertrees 0.1.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 28 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding ndarray v0.12.1 (available: v0.16.1) [INFO] [stderr] Adding petgraph v0.4.13 (available: v0.8.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 150eaf1c681b27a286cde35e815e3f35284b561d026a2e9b90832f7bed61795c [INFO] running `Command { std: "docker" "start" "-a" "150eaf1c681b27a286cde35e815e3f35284b561d026a2e9b90832f7bed61795c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "150eaf1c681b27a286cde35e815e3f35284b561d026a2e9b90832f7bed61795c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "150eaf1c681b27a286cde35e815e3f35284b561d026a2e9b90832f7bed61795c", kill_on_drop: false }` [INFO] [stdout] 150eaf1c681b27a286cde35e815e3f35284b561d026a2e9b90832f7bed61795c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8c0c532e3ef277130054a1cb9e22e0c4cae9fa2837c938a1b55d0d80d712c56 [INFO] running `Command { std: "docker" "start" "-a" "a8c0c532e3ef277130054a1cb9e22e0c4cae9fa2837c938a1b55d0d80d712c56", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling ndarray v0.12.1 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking global-supertrees v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:54:92 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn cache_mapping(mapping : &BTreeMap<[u8; 10], u32>, path : &String) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | pub fn cache_mapping(mapping : &BTreeMap<[u8; 10], u32>, path : &String) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:61:82 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn load_cache_mapping(path : &String) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | pub fn load_cache_mapping(path : &String) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:54:92 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn cache_mapping(mapping : &BTreeMap<[u8; 10], u32>, path : &String) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | pub fn cache_mapping(mapping : &BTreeMap<[u8; 10], u32>, path : &String) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:61:82 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn load_cache_mapping(path : &String) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | pub fn load_cache_mapping(path : &String) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/tree_merging.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/tree_merging.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance_matrices` [INFO] [stdout] --> src/tree_merging.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let distance_matrices: Vec = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance_matrices` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trees` [INFO] [stdout] --> src/main.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let trees : Vec = distance_matrices.par_iter().map(| dm | dm.neighbour_joining()).collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_distance_matrices` is never used [INFO] [stdout] --> src/tree_merging.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn merge_distance_matrices(dms: Vec) -> TreeDistanceMatrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph_tree.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get_parent_edge(&self, node : NodeIndex) -> Option> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get_parent_edge(&self, node : NodeIndex) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance_matrices` [INFO] [stdout] --> src/tree_merging.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let distance_matrices: Vec = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance_matrices` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trees` [INFO] [stdout] --> src/main.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let trees : Vec = distance_matrices.par_iter().map(| dm | dm.neighbour_joining()).collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_distance_matrices` is never used [INFO] [stdout] --> src/tree_merging.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn merge_distance_matrices(dms: Vec) -> TreeDistanceMatrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph_tree.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get_parent_edge(&self, node : NodeIndex) -> Option> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get_parent_edge(&self, node : NodeIndex) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.05s [INFO] running `Command { std: "docker" "inspect" "a8c0c532e3ef277130054a1cb9e22e0c4cae9fa2837c938a1b55d0d80d712c56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8c0c532e3ef277130054a1cb9e22e0c4cae9fa2837c938a1b55d0d80d712c56", kill_on_drop: false }` [INFO] [stdout] a8c0c532e3ef277130054a1cb9e22e0c4cae9fa2837c938a1b55d0d80d712c56