[INFO] fetching crate rgmsh 0.1.2... [INFO] testing rgmsh-0.1.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate rgmsh 0.1.2 into /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rgmsh 0.1.2 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] 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d738587edf56476926cd9617842ba36cf7ffb49a4a3ece05353ecfe352f7ab84 [INFO] running `Command { std: "docker" "start" "-a" "d738587edf56476926cd9617842ba36cf7ffb49a4a3ece05353ecfe352f7ab84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d738587edf56476926cd9617842ba36cf7ffb49a4a3ece05353ecfe352f7ab84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d738587edf56476926cd9617842ba36cf7ffb49a4a3ece05353ecfe352f7ab84", kill_on_drop: false }` [INFO] [stdout] d738587edf56476926cd9617842ba36cf7ffb49a4a3ece05353ecfe352f7ab84 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df945d6ba70b9f8db563826c1965c03adfef7e6ee9d59b9d39ebabe8580cf7da [INFO] running `Command { std: "docker" "start" "-a" "df945d6ba70b9f8db563826c1965c03adfef7e6ee9d59b9d39ebabe8580cf7da", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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)]` (part of `#[warn(unused)]`) 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] [INFO] [stdout] warning: enum `BasicShape` is never used [INFO] [stdout] --> src/model/mod.rs:698:14 [INFO] [stdout] | [INFO] [stdout] 698 | pub enum BasicShape { [INFO] [stdout] | ^^^^^^^^^^ [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] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fltk.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn initialize_gui(&self) -> GmshResult { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn initialize_gui(&self) -> GmshResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fltk.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn run_gui(&self) -> GmshResult { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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)]` (part of `#[warn(unused)]`) 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.21s [INFO] running `Command { std: "docker" "inspect" "df945d6ba70b9f8db563826c1965c03adfef7e6ee9d59b9d39ebabe8580cf7da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df945d6ba70b9f8db563826c1965c03adfef7e6ee9d59b9d39ebabe8580cf7da", kill_on_drop: false }` [INFO] [stdout] df945d6ba70b9f8db563826c1965c03adfef7e6ee9d59b9d39ebabe8580cf7da [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59363157eab6d837663f0fc5b1210bf319b9792760cfce899ec566a043a235fc [INFO] running `Command { std: "docker" "start" "-a" "59363157eab6d837663f0fc5b1210bf319b9792760cfce899ec566a043a235fc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.2 [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 proc-macro2 v1.0.3 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling cast v0.2.2 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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)]` (part of `#[warn(unused)]`) 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] [INFO] [stdout] warning: enum `BasicShape` is never used [INFO] [stdout] --> src/model/mod.rs:698:14 [INFO] [stdout] | [INFO] [stdout] 698 | pub enum BasicShape { [INFO] [stdout] | ^^^^^^^^^^ [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] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fltk.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn initialize_gui(&self) -> GmshResult { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn initialize_gui(&self) -> GmshResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fltk.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn run_gui(&self) -> GmshResult { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn run_gui(&self) -> GmshResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling rand_xoshiro v0.1.0 [INFO] [stderr] Compiling quote v1.0.2 [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 csv-core v0.1.6 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling criterion-plot v0.3.1 [INFO] [stderr] Compiling rayon v1.2.0 [INFO] [stderr] Compiling serde_derive v1.0.100 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling bstr v0.2.8 [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: 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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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] [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [INFO] [stdout] warning: enum `BasicShape` is never used [INFO] [stdout] --> src/model/mod.rs:698:14 [INFO] [stdout] | [INFO] [stdout] 698 | pub enum BasicShape { [INFO] [stdout] | ^^^^^^^^^^ [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] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fltk.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn initialize_gui(&self) -> GmshResult { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn initialize_gui(&self) -> GmshResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fltk.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn run_gui(&self) -> GmshResult { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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" "/tmp/rustc85wIbJ/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librgmsh-1c7613148b356af6,libgmsh_sys-866cdf19ac5d65ca}.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" "-lgmsh" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc85wIbJ/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/examples/t1-9fad385886d89e60" "-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: unable to find library -lgmsh [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [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)]` (part of `#[warn(unused)]`) 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] [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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcT7uWF4/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/libgmsh_sys-866cdf19ac5d65ca.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" "-lgmsh" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcT7uWF4/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/rgmsh-d6406d01e4ce81b0" "-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: unable to find library -lgmsh [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; 23 warnings emitted [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcUHvvLQ/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librgmsh-1c7613148b356af6,libgmsh_sys-866cdf19ac5d65ca}.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" "-lgmsh" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcUHvvLQ/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/examples/tour-ef2b45b36b2d7557" "-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: unable to find library -lgmsh [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] running `Command { std: "docker" "inspect" "59363157eab6d837663f0fc5b1210bf319b9792760cfce899ec566a043a235fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59363157eab6d837663f0fc5b1210bf319b9792760cfce899ec566a043a235fc", kill_on_drop: false }` [INFO] [stdout] 59363157eab6d837663f0fc5b1210bf319b9792760cfce899ec566a043a235fc