[INFO] fetching crate hyperbolic_graph_generator 0.1.3... [INFO] testing hyperbolic_graph_generator-0.1.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate hyperbolic_graph_generator 0.1.3 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate hyperbolic_graph_generator 0.1.3 [INFO] finished tweaking crates.io crate hyperbolic_graph_generator 0.1.3 [INFO] tweaked toml for crates.io crate hyperbolic_graph_generator 0.1.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hyperbolic_graph_generator 0.1.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] [stderr] Adding GSL v1.1.0 (available: v7.0.0) [INFO] [stderr] Adding c_vec v1.0.12 (available: v1.3.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 274c7d73e5cefb7203351a5e1819b0b24df85d44bfc269efd1b1f397e63bfac7 [INFO] running `Command { std: "docker" "start" "-a" "274c7d73e5cefb7203351a5e1819b0b24df85d44bfc269efd1b1f397e63bfac7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "274c7d73e5cefb7203351a5e1819b0b24df85d44bfc269efd1b1f397e63bfac7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "274c7d73e5cefb7203351a5e1819b0b24df85d44bfc269efd1b1f397e63bfac7", kill_on_drop: false }` [INFO] [stdout] 274c7d73e5cefb7203351a5e1819b0b24df85d44bfc269efd1b1f397e63bfac7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a40d3a10033c3cd749fd6c173c88c18341ff6b3826a228c61f134beb5964f8ae [INFO] running `Command { std: "docker" "start" "-a" "a40d3a10033c3cd749fd6c173c88c18341ff6b3826a228c61f134beb5964f8ae", kill_on_drop: false }` [INFO] [stderr] Compiling GSL v1.1.0 [INFO] [stderr] Compiling c_vec v1.0.12 [INFO] [stderr] Compiling hyperbolic_graph_generator v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::hg_debug::*` [INFO] [stdout] --> src/hg_math.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::hg_debug::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hg_debug::*` [INFO] [stdout] --> src/hg_gen_algorithms.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::hg_debug::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hg_utils.rs:66:60 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn hg_uniform_radial_coordinate(radius: f64, rnd: &mut FnMut() -> f64) -> f64 { [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | pub fn hg_uniform_radial_coordinate(radius: f64, rnd: &mut dyn FnMut() -> f64) -> f64 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hg_utils.rs:87:78 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn hg_quasi_uniform_radial_coordinate(radius: f64, alpha: f64, rnd: &mut FnMut() -> f64) -> f64 { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 | pub fn hg_quasi_uniform_radial_coordinate(radius: f64, alpha: f64, rnd: &mut dyn FnMut() -> f64) -> f64 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hg_utils.rs:106:48 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn hg_uniform_angular_coordinate(rnd: &mut FnMut() -> f64) -> f64 { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 | pub fn hg_uniform_angular_coordinate(rnd: &mut dyn FnMut() -> f64) -> f64 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hg_gen_algorithms.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | rnd_01: &mut FnMut() -> f64) { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | rnd_01: &mut dyn FnMut() -> f64) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hg_gen_algorithms.rs:172:22 [INFO] [stdout] | [INFO] [stdout] 172 | rnd_01: &mut FnMut() -> f64, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 172 | rnd_01: &mut dyn FnMut() -> f64, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hg_gen_algorithms.rs:246:22 [INFO] [stdout] | [INFO] [stdout] 246 | rnd_01: &mut FnMut() -> f64, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 246 | rnd_01: &mut dyn FnMut() -> f64, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hg_gen_algorithms.rs:331:22 [INFO] [stdout] | [INFO] [stdout] 331 | rnd_01: &mut FnMut() -> f64, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 331 | rnd_01: &mut dyn FnMut() -> f64, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hg_gen_algorithms.rs:405:22 [INFO] [stdout] | [INFO] [stdout] 405 | rnd_01: &mut FnMut() -> f64, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 405 | rnd_01: &mut dyn FnMut() -> f64, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hg_gen_algorithms.rs:455:22 [INFO] [stdout] | [INFO] [stdout] 455 | rnd_01: &mut FnMut() -> f64, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 455 | rnd_01: &mut dyn FnMut() -> f64, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hg_gen_algorithms.rs:520:22 [INFO] [stdout] | [INFO] [stdout] 520 | rnd_01: &mut FnMut() -> f64, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 520 | rnd_01: &mut dyn FnMut() -> f64, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expected_gamma` and `starting_id` are never read [INFO] [stdout] --> src/hg_formats.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct HgParametersType { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | pub expected_gamma: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub starting_id: usize [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hg_uniform_radial_coordinate` is never used [INFO] [stdout] --> src/hg_utils.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn hg_uniform_radial_coordinate(radius: f64, rnd: &mut FnMut() -> f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hg_gen_algorithms.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe { mem::transmute(f) } [INFO] [stdout] | --------------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hg_debug::*` [INFO] [stdout] --> src/hg_math.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::hg_debug::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hg_debug::*` [INFO] [stdout] --> src/hg_gen_algorithms.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::hg_debug::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hg_utils.rs:66:60 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn hg_uniform_radial_coordinate(radius: f64, rnd: &mut FnMut() -> f64) -> f64 { [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | pub fn hg_uniform_radial_coordinate(radius: f64, rnd: &mut dyn FnMut() -> f64) -> f64 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hg_utils.rs:87:78 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn hg_quasi_uniform_radial_coordinate(radius: f64, alpha: f64, rnd: &mut FnMut() -> f64) -> f64 { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 | pub fn hg_quasi_uniform_radial_coordinate(radius: f64, alpha: f64, rnd: &mut dyn FnMut() -> f64) -> f64 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hg_utils.rs:106:48 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn hg_uniform_angular_coordinate(rnd: &mut FnMut() -> f64) -> f64 { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 | pub fn hg_uniform_angular_coordinate(rnd: &mut dyn FnMut() -> f64) -> f64 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hg_gen_algorithms.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | rnd_01: &mut FnMut() -> f64) { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | rnd_01: &mut dyn FnMut() -> f64) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hg_gen_algorithms.rs:172:22 [INFO] [stdout] | [INFO] [stdout] 172 | rnd_01: &mut FnMut() -> f64, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 172 | rnd_01: &mut dyn FnMut() -> f64, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hg_gen_algorithms.rs:246:22 [INFO] [stdout] | [INFO] [stdout] 246 | rnd_01: &mut FnMut() -> f64, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 246 | rnd_01: &mut dyn FnMut() -> f64, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hg_gen_algorithms.rs:331:22 [INFO] [stdout] | [INFO] [stdout] 331 | rnd_01: &mut FnMut() -> f64, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 331 | rnd_01: &mut dyn FnMut() -> f64, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hg_gen_algorithms.rs:405:22 [INFO] [stdout] | [INFO] [stdout] 405 | rnd_01: &mut FnMut() -> f64, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 405 | rnd_01: &mut dyn FnMut() -> f64, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hg_gen_algorithms.rs:455:22 [INFO] [stdout] | [INFO] [stdout] 455 | rnd_01: &mut FnMut() -> f64, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 455 | rnd_01: &mut dyn FnMut() -> f64, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hg_gen_algorithms.rs:520:22 [INFO] [stdout] | [INFO] [stdout] 520 | rnd_01: &mut FnMut() -> f64, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 520 | rnd_01: &mut dyn FnMut() -> f64, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expected_gamma` and `starting_id` are never read [INFO] [stdout] --> src/hg_formats.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct HgParametersType { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | pub expected_gamma: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub starting_id: usize [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hg_uniform_radial_coordinate` is never used [INFO] [stdout] --> src/hg_utils.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn hg_uniform_radial_coordinate(radius: f64, rnd: &mut FnMut() -> f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hg_hyperbolic_distance_hyperbolic_rgg_standard` is never used [INFO] [stdout] --> src/hg_gen_algorithms.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn hg_hyperbolic_distance_hyperbolic_rgg_standard( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hg_hyperbolic_distance_er` is never used [INFO] [stdout] --> src/hg_gen_algorithms.rs:498:8 [INFO] [stdout] | [INFO] [stdout] 498 | pub fn hg_hyperbolic_distance_er( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hg_hyperbolic_distance` is never used [INFO] [stdout] --> src/hg_graphs_lib.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn hg_hyperbolic_distance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hg_gen_algorithms.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe { mem::transmute(f) } [INFO] [stdout] | --------------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcFAjd02/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librgsl-fa47eb066191d769,libc_vec-2bdb67cf9162038e,liblibc-a58beeab2e1413cc}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcFAjd02/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/hyperbolic_graph_generator-27f58762cd3e66c8" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: gsl_monte_miser_integrate [INFO] [stdout] >>> referenced by monte_carlo.rs:262 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/GSL-1.1.0/src/types/monte_carlo.rs:262) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/hyperbolic_graph_generator-27f58762cd3e66c8.hyperbolic_graph_generator.f2175cbdcc6cc0c5-cgu.0.rcgu.o:(rgsl::types::monte_carlo::MiserMonteCarlo::integrate::h42589b7fe2bce9d7) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: gsl_rng_mt19937 [INFO] [stdout] >>> referenced by macros.rs:26 (src/macros.rs:26) [INFO] [stdout] >>> rgsl-fa47eb066191d769.rgsl.e4b3c7b4046aa444-cgu.3.rcgu.o:(rgsl::types::rng::algorithms::mt19937::h6ab53386f46e5477) in archive /opt/rustwide/target/debug/deps/librgsl-fa47eb066191d769.rlib [INFO] [stdout] >>> referenced by macros.rs:26 (src/macros.rs:26) [INFO] [stdout] >>> rgsl-fa47eb066191d769.rgsl.e4b3c7b4046aa444-cgu.3.rcgu.o:(rgsl::types::rng::algorithms::mt19937::h6ab53386f46e5477) in archive /opt/rustwide/target/debug/deps/librgsl-fa47eb066191d769.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: gsl_rng_alloc [INFO] [stdout] >>> referenced by rng.rs:93 (src/types/rng.rs:93) [INFO] [stdout] >>> rgsl-fa47eb066191d769.rgsl.e4b3c7b4046aa444-cgu.3.rcgu.o:(rgsl::types::rng::Rng::new::h4582761922950e3b) in archive /opt/rustwide/target/debug/deps/librgsl-fa47eb066191d769.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: gsl_rng_set [INFO] [stdout] >>> referenced by rng.rs:112 (src/types/rng.rs:112) [INFO] [stdout] >>> rgsl-fa47eb066191d769.rgsl.e4b3c7b4046aa444-cgu.3.rcgu.o:(rgsl::types::rng::Rng::set::hbf1ad8730a151aa8) in archive /opt/rustwide/target/debug/deps/librgsl-fa47eb066191d769.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: gsl_rng_uniform [INFO] [stdout] >>> referenced by rng.rs:125 (src/types/rng.rs:125) [INFO] [stdout] >>> rgsl-fa47eb066191d769.rgsl.e4b3c7b4046aa444-cgu.3.rcgu.o:(rgsl::types::rng::Rng::uniform::hb87ca69d6b2b087f) in archive /opt/rustwide/target/debug/deps/librgsl-fa47eb066191d769.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: gsl_rng_env_setup [INFO] [stdout] >>> referenced by rng.rs:327 (src/types/rng.rs:327) [INFO] [stdout] >>> rgsl-fa47eb066191d769.rgsl.e4b3c7b4046aa444-cgu.3.rcgu.o:(rgsl::types::rng::RngType::env_setup::h0999c5aab279bce3) in archive /opt/rustwide/target/debug/deps/librgsl-fa47eb066191d769.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: gsl_rng_default [INFO] [stdout] >>> referenced by macros.rs:26 (src/macros.rs:26) [INFO] [stdout] >>> rgsl-fa47eb066191d769.rgsl.e4b3c7b4046aa444-cgu.3.rcgu.o:(rgsl::types::rng::default::h6429fab702ba2f98) in archive /opt/rustwide/target/debug/deps/librgsl-fa47eb066191d769.rlib [INFO] [stdout] >>> referenced by macros.rs:26 (src/macros.rs:26) [INFO] [stdout] >>> rgsl-fa47eb066191d769.rgsl.e4b3c7b4046aa444-cgu.3.rcgu.o:(rgsl::types::rng::default::h6429fab702ba2f98) in archive /opt/rustwide/target/debug/deps/librgsl-fa47eb066191d769.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: gsl_rng_free [INFO] [stdout] >>> referenced by rng.rs:215 (src/types/rng.rs:215) [INFO] [stdout] >>> rgsl-fa47eb066191d769.rgsl.e4b3c7b4046aa444-cgu.3.rcgu.o:(_$LT$rgsl..types..rng..Rng$u20$as$u20$core..ops..drop..Drop$GT$::drop::he375da1c1aac9ae0) in archive /opt/rustwide/target/debug/deps/librgsl-fa47eb066191d769.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: gsl_sf_hyperg_2F1 [INFO] [stdout] >>> referenced by hypergeometric.rs:100 (src/hypergeometric.rs:100) [INFO] [stdout] >>> rgsl-fa47eb066191d769.rgsl.e4b3c7b4046aa444-cgu.5.rcgu.o:(rgsl::hypergeometric::hyperg_2F1::h24e0412496443d8b) in archive /opt/rustwide/target/debug/deps/librgsl-fa47eb066191d769.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: gsl_monte_miser_alloc [INFO] [stdout] >>> referenced by monte_carlo.rs:219 (src/types/monte_carlo.rs:219) [INFO] [stdout] >>> rgsl-fa47eb066191d769.rgsl.e4b3c7b4046aa444-cgu.4.rcgu.o:(rgsl::types::monte_carlo::MiserMonteCarlo::new::h62c139a6f1628a01) in archive /opt/rustwide/target/debug/deps/librgsl-fa47eb066191d769.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: gsl_monte_miser_free [INFO] [stdout] >>> referenced by monte_carlo.rs:306 (src/types/monte_carlo.rs:306) [INFO] [stdout] >>> rgsl-fa47eb066191d769.rgsl.e4b3c7b4046aa444-cgu.4.rcgu.o:(_$LT$rgsl..types..monte_carlo..MiserMonteCarlo$u20$as$u20$core..ops..drop..Drop$GT$::drop::had4a6549bc23a627) in archive /opt/rustwide/target/debug/deps/librgsl-fa47eb066191d769.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hyperbolic_graph_generator` (bin "hyperbolic_graph_generator") due to 1 previous error; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a40d3a10033c3cd749fd6c173c88c18341ff6b3826a228c61f134beb5964f8ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a40d3a10033c3cd749fd6c173c88c18341ff6b3826a228c61f134beb5964f8ae", kill_on_drop: false }` [INFO] [stdout] a40d3a10033c3cd749fd6c173c88c18341ff6b3826a228c61f134beb5964f8ae