[INFO] fetching crate hyperbolic_graph_generator 0.1.3... [INFO] building hyperbolic_graph_generator-0.1.3 against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] extracting crate hyperbolic_graph_generator 0.1.3 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hyperbolic_graph_generator 0.1.3 on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81f6da5aa8f43c0d9a067802c8038ee2b936ccaa2cc79ce1a45161eb4733815e [INFO] running `Command { std: "docker" "start" "-a" "81f6da5aa8f43c0d9a067802c8038ee2b936ccaa2cc79ce1a45161eb4733815e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81f6da5aa8f43c0d9a067802c8038ee2b936ccaa2cc79ce1a45161eb4733815e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81f6da5aa8f43c0d9a067802c8038ee2b936ccaa2cc79ce1a45161eb4733815e", kill_on_drop: false }` [INFO] [stdout] 81f6da5aa8f43c0d9a067802c8038ee2b936ccaa2cc79ce1a45161eb4733815e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 1bb5d9a1aa4af23b0a4e5eb3125865e8d78f3efb1e305d85007b785e117180ba [INFO] running `Command { std: "docker" "start" "-a" "1bb5d9a1aa4af23b0a4e5eb3125865e8d78f3efb1e305d85007b785e117180ba", kill_on_drop: false }` [INFO] [stderr] Compiling c_vec v1.0.12 [INFO] [stderr] Compiling GSL v1.1.0 [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 `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<4 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{librgsl-232ae1b6c0ff692b,libc_vec-31d006304416fe0f,liblibc-17683462cc868e72}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/hyperbolic_graph_generator-a6b7b8fbcbdeeecd.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/hyperbolic_graph_generator-a6b7b8fbcbdeeecd.hyperbolic_graph_generator.1ca0cd853292c031-cgu.2.rcgu.o: undefined symbol: gsl_monte_miser_integrate [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librgsl-232ae1b6c0ff692b.rlib(rgsl-232ae1b6c0ff692b.rgsl.777d63bb60915103-cgu.3.rcgu.o): undefined symbol: gsl_rng_alloc [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librgsl-232ae1b6c0ff692b.rlib(rgsl-232ae1b6c0ff692b.rgsl.777d63bb60915103-cgu.3.rcgu.o): undefined symbol: gsl_rng_set [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librgsl-232ae1b6c0ff692b.rlib(rgsl-232ae1b6c0ff692b.rgsl.777d63bb60915103-cgu.3.rcgu.o): undefined symbol: gsl_rng_uniform [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librgsl-232ae1b6c0ff692b.rlib(rgsl-232ae1b6c0ff692b.rgsl.777d63bb60915103-cgu.3.rcgu.o): undefined symbol: gsl_monte_miser_alloc [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librgsl-232ae1b6c0ff692b.rlib(rgsl-232ae1b6c0ff692b.rgsl.777d63bb60915103-cgu.3.rcgu.o): undefined symbol: gsl_rng_env_setup [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librgsl-232ae1b6c0ff692b.rlib(rgsl-232ae1b6c0ff692b.rgsl.777d63bb60915103-cgu.3.rcgu.o): undefined symbol: gsl_rng_default [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librgsl-232ae1b6c0ff692b.rlib(rgsl-232ae1b6c0ff692b.rgsl.777d63bb60915103-cgu.3.rcgu.o): undefined symbol: gsl_rng_default [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librgsl-232ae1b6c0ff692b.rlib(rgsl-232ae1b6c0ff692b.rgsl.777d63bb60915103-cgu.3.rcgu.o): undefined symbol: gsl_rng_free [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librgsl-232ae1b6c0ff692b.rlib(rgsl-232ae1b6c0ff692b.rgsl.777d63bb60915103-cgu.3.rcgu.o): undefined symbol: gsl_monte_miser_free [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librgsl-232ae1b6c0ff692b.rlib(rgsl-232ae1b6c0ff692b.rgsl.777d63bb60915103-cgu.5.rcgu.o): undefined symbol: gsl_sf_hyperg_2F1 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librgsl-232ae1b6c0ff692b.rlib(rgsl-232ae1b6c0ff692b.rgsl.777d63bb60915103-cgu.5.rcgu.o): undefined symbol: gsl_rng_mt19937 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librgsl-232ae1b6c0ff692b.rlib(rgsl-232ae1b6c0ff692b.rgsl.777d63bb60915103-cgu.5.rcgu.o): undefined symbol: gsl_rng_mt19937 [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" "1bb5d9a1aa4af23b0a4e5eb3125865e8d78f3efb1e305d85007b785e117180ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bb5d9a1aa4af23b0a4e5eb3125865e8d78f3efb1e305d85007b785e117180ba", kill_on_drop: false }` [INFO] [stdout] 1bb5d9a1aa4af23b0a4e5eb3125865e8d78f3efb1e305d85007b785e117180ba