[INFO] fetching crate rgmsh 0.1.2... [INFO] testing rgmsh-0.1.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rgmsh 0.1.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate rgmsh 0.1.2 [INFO] finished tweaking crates.io crate rgmsh 0.1.2 [INFO] tweaked toml for crates.io crate rgmsh 0.1.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rgmsh 0.1.2 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rgmsh 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded tinytemplate v1.0.2 [INFO] [stderr] Downloaded ryu v1.0.0 [INFO] [stderr] Downloaded criterion-plot v0.3.1 [INFO] [stderr] Downloaded memoffset v0.5.1 [INFO] [stderr] Downloaded either v1.5.2 [INFO] [stderr] Downloaded rayon v1.2.0 [INFO] [stderr] Downloaded regex-automata v0.1.8 [INFO] [stderr] Downloaded nodrop v0.1.13 [INFO] [stderr] Downloaded rayon-core v1.6.0 [INFO] [stderr] Downloaded criterion v0.2.11 [INFO] [stderr] Downloaded proc-macro2 v1.0.3 [INFO] [stderr] Downloaded cfg-if v0.1.9 [INFO] [stderr] Downloaded cast v0.2.2 [INFO] [stderr] Downloaded gmsh-sys v0.1.2 [INFO] [stderr] Downloaded serde v1.0.100 [INFO] [stderr] Downloaded arrayvec v0.4.11 [INFO] [stderr] Downloaded serde_derive v1.0.100 [INFO] [stderr] Downloaded pkg-config v0.3.16 [INFO] [stderr] Downloaded bitflags v1.1.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.7.2 [INFO] [stderr] Downloaded crossbeam-queue v0.1.2 [INFO] [stderr] Downloaded csv v1.1.1 [INFO] [stderr] Downloaded bstr v0.2.8 [INFO] [stderr] Downloaded csv-core v0.1.6 [INFO] [stderr] Downloaded crossbeam-deque v0.7.1 [INFO] [stderr] Downloaded serde_json v1.0.40 [INFO] [stderr] Downloaded rand_xoshiro v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f4776c8bd3fa1f3bf13a9bf641e78a6d832333726e51ff92d9b05437e4cfef8 [INFO] running `Command { std: "docker" "start" "-a" "7f4776c8bd3fa1f3bf13a9bf641e78a6d832333726e51ff92d9b05437e4cfef8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f4776c8bd3fa1f3bf13a9bf641e78a6d832333726e51ff92d9b05437e4cfef8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f4776c8bd3fa1f3bf13a9bf641e78a6d832333726e51ff92d9b05437e4cfef8", kill_on_drop: false }` [INFO] [stdout] 7f4776c8bd3fa1f3bf13a9bf641e78a6d832333726e51ff92d9b05437e4cfef8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0833fdb7dac8f02064ef661b444b91aedc423c42faf97c0861bbaf5529d13d35 [INFO] running `Command { std: "docker" "start" "-a" "0833fdb7dac8f02064ef661b444b91aedc423c42faf97c0861bbaf5529d13d35", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling gmsh-sys v0.1.2 [INFO] [stderr] Compiling rgmsh v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> src/model/mod.rs:224:16 [INFO] [stdout] | [INFO] [stdout] 224 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/model/mod.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | pub use crate::interface::{geo::*, occ::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | | [INFO] [stdout] | | but the name `add_curve_loop` in the value namespace is also re-exported here [INFO] [stdout] | the name `add_curve_loop` in the value namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/model/mod.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | pub use crate::interface::{geo::*, occ::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | | [INFO] [stdout] | | but the name `add_line` in the value namespace is also re-exported here [INFO] [stdout] | the name `add_line` in the value namespace is first re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/model/mod.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | pub use crate::interface::{geo::*, occ::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | | [INFO] [stdout] | | but the name `add_plane_surface` in the value namespace is also re-exported here [INFO] [stdout] | the name `add_plane_surface` in the value namespace is first re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/model/mod.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | pub use crate::interface::{geo::*, occ::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | | [INFO] [stdout] | | but the name `add_point` in the value namespace is also re-exported here [INFO] [stdout] | the name `add_point` in the value namespace is first re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/model/mod.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | pub use crate::interface::{geo::*, occ::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | | [INFO] [stdout] | | but the name `remove_point` in the value namespace is also re-exported here [INFO] [stdout] | the name `remove_point` in the value namespace is first re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/model/mod.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | pub use crate::interface::{geo::*, occ::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | | [INFO] [stdout] | | but the name `synchronize` in the value namespace is also re-exported here [INFO] [stdout] | the name `synchronize` in the value namespace is first re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geo::*` [INFO] [stdout] --> src/model/mod.rs:231:28 [INFO] [stdout] | [INFO] [stdout] 231 | pub use crate::interface::{geo::*, occ::*}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/model/occ.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | /// All angle values are in radians, commonly given as fractions of π. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `check_main_error` [INFO] [stdout] --> src/model/occ.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{GmshError, GmshResult, check_main_error, check_model_error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `c_or_s` should have an upper camel case name [INFO] [stdout] --> src/model/mod.rs:727:6 [INFO] [stdout] | [INFO] [stdout] 727 | type c_or_s = CurveOrSurface; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `COrS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FieldTag` is never constructed [INFO] [stdout] --> src/lib.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct FieldTag(i64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ViewTag` is never constructed [INFO] [stdout] --> src/lib.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct ViewTag(i64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PhysicalGroupTag` is never constructed [INFO] [stdout] --> src/model/mod.rs:743:8 [INFO] [stdout] | [INFO] [stdout] 743 | struct PhysicalGroupTag(i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PhysicalGroupTag` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model/mod.rs:699:15 [INFO] [stdout] | [INFO] [stdout] 699 | Point(PointTag), [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BasicShape` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 699 - Point(PointTag), [INFO] [stdout] 699 + Point(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model/mod.rs:700:15 [INFO] [stdout] | [INFO] [stdout] 700 | Curve(CurveTag), [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BasicShape` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 700 - Curve(CurveTag), [INFO] [stdout] 700 + Curve(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Surface` and `Volume` are never constructed [INFO] [stdout] --> src/model/mod.rs:701:9 [INFO] [stdout] | [INFO] [stdout] 698 | pub enum BasicShape { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 701 | Surface(SurfaceTag), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 702 | Volume(VolumeTag), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BasicShape` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GeneralShape` is never used [INFO] [stdout] --> src/model/mod.rs:707:14 [INFO] [stdout] | [INFO] [stdout] 707 | pub enum GeneralShape { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeneralShape` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:122:32 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn create_native_model(&self, name: &'static str) -> GmshResult { [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] 122 | pub fn create_native_model(&self, name: &'static str) -> GmshResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn create_occ_model(&self, name: &'static str) -> GmshResult { [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 128 | pub fn create_occ_model(&self, name: &'static str) -> GmshResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fltk.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn initialize_gui(&self) -> GmshResult { [INFO] [stdout] | ^^^^^ --- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn initialize_gui(&self) -> GmshResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fltk.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn run_gui(&self) -> GmshResult { [INFO] [stdout] | ^^^^^ --- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn run_gui(&self) -> GmshResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ApiCategory` is never used [INFO] [stdout] --> src/bin/api_gen.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum ApiCategory { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Func` is never constructed [INFO] [stdout] --> src/bin/api_gen.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Func { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.90s [INFO] running `Command { std: "docker" "inspect" "0833fdb7dac8f02064ef661b444b91aedc423c42faf97c0861bbaf5529d13d35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0833fdb7dac8f02064ef661b444b91aedc423c42faf97c0861bbaf5529d13d35", kill_on_drop: false }` [INFO] [stdout] 0833fdb7dac8f02064ef661b444b91aedc423c42faf97c0861bbaf5529d13d35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 524c9fa6b6b3042a7db7f3d524d9bb29a984c7cd0d6800b36e515099e0b42bc0 [INFO] running `Command { std: "docker" "start" "-a" "524c9fa6b6b3042a7db7f3d524d9bb29a984c7cd0d6800b36e515099e0b42bc0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling serde v1.0.100 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.3 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_xoshiro v0.1.0 [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> src/model/mod.rs:224:16 [INFO] [stdout] | [INFO] [stdout] 224 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/model/mod.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | pub use crate::interface::{geo::*, occ::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | | [INFO] [stdout] | | but the name `add_curve_loop` in the value namespace is also re-exported here [INFO] [stdout] | the name `add_curve_loop` in the value namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/model/mod.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | pub use crate::interface::{geo::*, occ::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | | [INFO] [stdout] | | but the name `add_line` in the value namespace is also re-exported here [INFO] [stdout] | the name `add_line` in the value namespace is first re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/model/mod.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | pub use crate::interface::{geo::*, occ::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | | [INFO] [stdout] | | but the name `add_plane_surface` in the value namespace is also re-exported here [INFO] [stdout] | the name `add_plane_surface` in the value namespace is first re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/model/mod.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | pub use crate::interface::{geo::*, occ::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | | [INFO] [stdout] | | but the name `add_point` in the value namespace is also re-exported here [INFO] [stdout] | the name `add_point` in the value namespace is first re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/model/mod.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | pub use crate::interface::{geo::*, occ::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | | [INFO] [stdout] | | but the name `remove_point` in the value namespace is also re-exported here [INFO] [stdout] | the name `remove_point` in the value namespace is first re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/model/mod.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | pub use crate::interface::{geo::*, occ::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | | [INFO] [stdout] | | but the name `synchronize` in the value namespace is also re-exported here [INFO] [stdout] | the name `synchronize` in the value namespace is first re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geo::*` [INFO] [stdout] --> src/model/mod.rs:231:28 [INFO] [stdout] | [INFO] [stdout] 231 | pub use crate::interface::{geo::*, occ::*}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/model/occ.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | /// All angle values are in radians, commonly given as fractions of π. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `check_main_error` [INFO] [stdout] --> src/model/occ.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{GmshError, GmshResult, check_main_error, check_model_error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `c_or_s` should have an upper camel case name [INFO] [stdout] --> src/model/mod.rs:727:6 [INFO] [stdout] | [INFO] [stdout] 727 | type c_or_s = CurveOrSurface; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `COrS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FieldTag` is never constructed [INFO] [stdout] --> src/lib.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct FieldTag(i64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ViewTag` is never constructed [INFO] [stdout] --> src/lib.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct ViewTag(i64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PhysicalGroupTag` is never constructed [INFO] [stdout] --> src/model/mod.rs:743:8 [INFO] [stdout] | [INFO] [stdout] 743 | struct PhysicalGroupTag(i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PhysicalGroupTag` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model/mod.rs:699:15 [INFO] [stdout] | [INFO] [stdout] 699 | Point(PointTag), [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BasicShape` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 699 - Point(PointTag), [INFO] [stdout] 699 + Point(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model/mod.rs:700:15 [INFO] [stdout] | [INFO] [stdout] 700 | Curve(CurveTag), [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BasicShape` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 700 - Curve(CurveTag), [INFO] [stdout] 700 + Curve(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Surface` and `Volume` are never constructed [INFO] [stdout] --> src/model/mod.rs:701:9 [INFO] [stdout] | [INFO] [stdout] 698 | pub enum BasicShape { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 701 | Surface(SurfaceTag), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 702 | Volume(VolumeTag), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BasicShape` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GeneralShape` is never used [INFO] [stdout] --> src/model/mod.rs:707:14 [INFO] [stdout] | [INFO] [stdout] 707 | pub enum GeneralShape { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeneralShape` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:122:32 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn create_native_model(&self, name: &'static str) -> GmshResult { [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] 122 | pub fn create_native_model(&self, name: &'static str) -> GmshResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn create_occ_model(&self, name: &'static str) -> GmshResult { [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 128 | pub fn create_occ_model(&self, name: &'static str) -> GmshResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fltk.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn initialize_gui(&self) -> GmshResult { [INFO] [stdout] | ^^^^^ --- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn initialize_gui(&self) -> GmshResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fltk.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn run_gui(&self) -> GmshResult { [INFO] [stdout] | ^^^^^ --- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn run_gui(&self) -> GmshResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling criterion-plot v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling csv-core v0.1.6 [INFO] [stderr] Compiling rayon v1.2.0 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling serde_derive v1.0.100 [INFO] [stderr] Compiling csv v1.1.1 [INFO] [stderr] Compiling tinytemplate v1.0.2 [INFO] [stderr] Compiling criterion v0.2.11 [INFO] [stderr] Compiling rgmsh v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `pl` [INFO] [stdout] --> examples/t1.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let pl = model.add_plane_surface(cl)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pl` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gui` [INFO] [stdout] --> examples/t1.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let gui = gmsh.run_gui()?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/t1.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut gmsh = Gmsh::initialize()?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ApiCategory` is never used [INFO] [stdout] --> src/bin/api_gen.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum ApiCategory { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Func` is never constructed [INFO] [stdout] --> src/bin/api_gen.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Func { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l1` [INFO] [stdout] --> examples/tour.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let l1 = geom.add_line(p1, p2)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_l1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l2` [INFO] [stdout] --> examples/tour.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let l2 = geom.add_line(p1, p2)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_l2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l3` [INFO] [stdout] --> examples/tour.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let l3 = geom.add_line(p1, p2)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_l3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l4` [INFO] [stdout] --> examples/tour.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let l4 = geom.add_line(p1, p2)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_l4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_a` [INFO] [stdout] --> examples/tour.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let p_a = geom_a.add_point(0., 0., 0.)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_b` [INFO] [stdout] --> examples/tour.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let p_b = geom_b.add_point(0., 1., 1.)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_c` [INFO] [stdout] --> examples/tour.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let p_c = geom_b.add_point(0., 1., 1.)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/tour.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut gmsh = Gmsh::initialize()?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/tour.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | geom.remove_point(p); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 36 | let _ = geom.remove_point(p); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/tour.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | geom.generate_mesh(2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 128 | let _ = geom.generate_mesh(2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcnuhV5j/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librgmsh-1b0798484ad3646f.rlib,libgmsh_sys-f7f66e78ca54f28c.rlib}.rlib" "-lgmsh" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcnuhV5j/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/t1-51058fa937264c5e" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: cannot find -lgmsh: No such file or directory [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> src/model/mod.rs:224:16 [INFO] [stdout] | [INFO] [stdout] 224 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/model/mod.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | pub use crate::interface::{geo::*, occ::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | | [INFO] [stdout] | | but the name `add_curve_loop` in the value namespace is also re-exported here [INFO] [stdout] | the name `add_curve_loop` in the value namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/model/mod.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | pub use crate::interface::{geo::*, occ::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | | [INFO] [stdout] | | but the name `add_line` in the value namespace is also re-exported here [INFO] [stdout] | the name `add_line` in the value namespace is first re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/model/mod.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | pub use crate::interface::{geo::*, occ::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | | [INFO] [stdout] | | but the name `add_plane_surface` in the value namespace is also re-exported here [INFO] [stdout] | the name `add_plane_surface` in the value namespace is first re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/model/mod.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | pub use crate::interface::{geo::*, occ::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | | [INFO] [stdout] | | but the name `add_point` in the value namespace is also re-exported here [INFO] [stdout] | the name `add_point` in the value namespace is first re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/model/mod.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | pub use crate::interface::{geo::*, occ::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | | [INFO] [stdout] | | but the name `remove_point` in the value namespace is also re-exported here [INFO] [stdout] | the name `remove_point` in the value namespace is first re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/model/mod.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | pub use crate::interface::{geo::*, occ::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | | [INFO] [stdout] | | but the name `synchronize` in the value namespace is also re-exported here [INFO] [stdout] | the name `synchronize` in the value namespace is first re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geo::*` [INFO] [stdout] --> src/model/mod.rs:231:28 [INFO] [stdout] | [INFO] [stdout] 231 | pub use crate::interface::{geo::*, occ::*}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/model/occ.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | /// All angle values are in radians, commonly given as fractions of π. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `check_main_error` [INFO] [stdout] --> src/model/occ.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{GmshError, GmshResult, check_main_error, check_model_error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `c_or_s` should have an upper camel case name [INFO] [stdout] --> src/model/mod.rs:727:6 [INFO] [stdout] | [INFO] [stdout] 727 | type c_or_s = CurveOrSurface; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `COrS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::*` [INFO] [stdout] --> src/lib.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | use crate::model::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rgmsh` (example "t1") due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `geom` [INFO] [stdout] --> src/lib.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let geom = gmsh.create_occ_model("model")?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_geom` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `geom` [INFO] [stdout] --> src/lib.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | let geom = gmsh.create_occ_model("model")?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_geom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FieldTag` is never constructed [INFO] [stdout] --> src/lib.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct FieldTag(i64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ViewTag` is never constructed [INFO] [stdout] --> src/lib.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct ViewTag(i64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PhysicalGroupTag` is never constructed [INFO] [stdout] --> src/model/mod.rs:743:8 [INFO] [stdout] | [INFO] [stdout] 743 | struct PhysicalGroupTag(i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PhysicalGroupTag` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model/mod.rs:699:15 [INFO] [stdout] | [INFO] [stdout] 699 | Point(PointTag), [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BasicShape` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 699 - Point(PointTag), [INFO] [stdout] 699 + Point(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model/mod.rs:700:15 [INFO] [stdout] | [INFO] [stdout] 700 | Curve(CurveTag), [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BasicShape` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 700 - Curve(CurveTag), [INFO] [stdout] 700 + Curve(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Surface` and `Volume` are never constructed [INFO] [stdout] --> src/model/mod.rs:701:9 [INFO] [stdout] | [INFO] [stdout] 698 | pub enum BasicShape { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 701 | Surface(SurfaceTag), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 702 | Volume(VolumeTag), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BasicShape` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GeneralShape` is never used [INFO] [stdout] --> src/model/mod.rs:707:14 [INFO] [stdout] | [INFO] [stdout] 707 | pub enum GeneralShape { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeneralShape` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:122:32 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn create_native_model(&self, name: &'static str) -> GmshResult { [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] 122 | pub fn create_native_model(&self, name: &'static str) -> GmshResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn create_occ_model(&self, name: &'static str) -> GmshResult { [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 128 | pub fn create_occ_model(&self, name: &'static str) -> GmshResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fltk.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn initialize_gui(&self) -> GmshResult { [INFO] [stdout] | ^^^^^ --- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn initialize_gui(&self) -> GmshResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fltk.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn run_gui(&self) -> GmshResult { [INFO] [stdout] | ^^^^^ --- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn run_gui(&self) -> GmshResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcCfmEMx/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librgmsh-1b0798484ad3646f.rlib,libgmsh_sys-f7f66e78ca54f28c.rlib}.rlib" "-lgmsh" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcCfmEMx/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/tour-eb18bd308d87f01f" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: cannot find -lgmsh: No such file or directory [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rgmsh` (example "tour") due to 1 previous error; 10 warnings emitted [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcPv9bMx/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libgmsh_sys-f7f66e78ca54f28c.rlib}.rlib" "-lgmsh" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcPv9bMx/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rgmsh-17b1f4953d87102a" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: cannot find -lgmsh: No such file or directory [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rgmsh` (lib test) due to 1 previous error; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "524c9fa6b6b3042a7db7f3d524d9bb29a984c7cd0d6800b36e515099e0b42bc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "524c9fa6b6b3042a7db7f3d524d9bb29a984c7cd0d6800b36e515099e0b42bc0", kill_on_drop: false }` [INFO] [stdout] 524c9fa6b6b3042a7db7f3d524d9bb29a984c7cd0d6800b36e515099e0b42bc0