Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panic while building [surfer project]( bindings #2431

Open
1 of 2 tasks
robtaylor opened this issue Jan 10, 2025 · 0 comments
Open
1 of 2 tasks

Panic while building [surfer project]( bindings #2431

robtaylor opened this issue Jan 10, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@robtaylor
Copy link

Bug Description

While attempting to build the bindings for libsurfer, I get the following.
This also seems to happen on linux x86_64.

       Dirty libsurfer v0.4.0-dev (/Users/roberttaylor/Code/ChipFlow/AI/surfer/libsurfer): the list of features changed
   Compiling libsurfer v0.4.0-dev (/Users/roberttaylor/Code/ChipFlow/AI/surfer/libsurfer)
     Running `CARGO=/opt/homebrew/Cellar/rust/1.82.0/bin/cargo CARGO_CRATE_NAME=libsurfer CARGO_MANIFEST_DIR=/Users/roberttaylor/Code/ChipFlow/AI/surfer/libsurfer CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='Waveform viewer for VCD, FST, and GHW' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=EUPL-1.2 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=libsurfer CARGO_PKG_README='' CARGO_PKG_REPOSITORY='https://gitlab.com/surfer-project/surfer/' CARGO_PKG_RUST_VERSION=1.82 CARGO_PKG_VERSION=0.4.0-dev CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=4 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE=dev CARGO_PRIMARY_PACKAGE=1 DYLD_FALLBACK_LIBRARY_PATH='/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps:/Users/roberttaylor/lib:/usr/local/lib:/usr/lib' OUT_DIR=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/build/libsurfer-aea102acb1366fef/out VERGEN_BUILD_DATE=2025-01-10 VERGEN_BUILD_TIMESTAMP='2025-01-10T11:46:52.932101000Z' VERGEN_GIT_BRANCH=main VERGEN_GIT_COMMIT_AUTHOR_EMAIL='[email protected]' VERGEN_GIT_COMMIT_AUTHOR_NAME='Rob Taylor' VERGEN_GIT_COMMIT_COUNT=803 VERGEN_GIT_COMMIT_DATE=2025-01-10 VERGEN_GIT_COMMIT_MESSAGE='Add python bindings for WCP protocol' VERGEN_GIT_COMMIT_TIMESTAMP='2025-01-10T10:37:14.000000000Z' VERGEN_GIT_DESCRIBE=v0.3.0-26-g22c6048 VERGEN_GIT_DIRTY=false VERGEN_GIT_SHA=22c60487c01c7b55f9ace29c6c10f7c358b1032b rustc --crate-name libsurfer --edition=2021 libsurfer/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=97 --crate-type cdylib --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked --cfg 'feature="default"' --cfg 'feature="performance_plot"' --cfg 'feature="spade"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("accesskit", "default", "f128", "performance_plot", "pyo3", "python", "spade"))' -C metadata=4e0eeaf689b3a97d --out-dir /Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps -C incremental=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/incremental -L dependency=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps --extern base64=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libbase64-fd6b585ad831f45c.rlib --extern bincode=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libbincode-8318a434a6db3ec0.rlib --extern bytes=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libbytes-f487da8283b970b0.rlib --extern bytesize=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libbytesize-08d0eb253f507a6e.rlib --extern camino=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libcamino-6fe9e641ca44d3b5.rlib --extern chrono=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libchrono-1eb01cc1a31991dc.rlib --extern color_eyre=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libcolor_eyre-532f5fa0de2fe7d3.rlib --extern config=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libconfig-7eeb24cb3aa51567.rlib --extern derive_more=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libderive_more-00c4fc08bab3e6d8.rlib --extern directories=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libdirectories-b595fd486aa2e7e1.rlib --extern ecolor=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libecolor-50388c4594fd1db5.rlib --extern eframe=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libeframe-2e1475fc3187dc5c.rlib --extern egui=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libegui-7740305867e1b798.rlib --extern egui_remixicon=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libegui_remixicon-b1c715e9d6812fbb.rlib --extern egui_extras=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libegui_extras-93394995c2ad7807.rlib --extern egui_plot=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libegui_plot-341f0627713d5e76.rlib --extern emath=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libemath-f71d90a22fe72219.rlib --extern enum_iterator=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libenum_iterator-c0a90ac55ef16b47.rlib --extern epaint=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libepaint-126ca29ea9d60d27.rlib --extern fern=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libfern-db0e79c58dc8a315.rlib --extern ftr_parser=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libftr_parser-914bb651cfd8a767.rlib --extern futures=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libfutures-4977ed652916b3cd.rlib --extern futures_core=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libfutures_core-9e40422b0c6b162b.rlib --extern futures_util=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libfutures_util-828439b23969ecfc.rlib --extern fuzzy_matcher=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libfuzzy_matcher-20bedfeef3190bef.rlib --extern fzcmd=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libfzcmd-8cb77501518cdcc6.rlib --extern half=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libhalf-b53c43c9b3543186.rlib --extern instruction_decoder=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libinstruction_decoder-b86170730c723ac9.rlib --extern itertools=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libitertools-3de42d5f5eede9ea.rlib --extern lazy_static=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/liblazy_static-c5b3e147982f7a01.rlib --extern local_impl=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/liblocal_impl-670436102685eb35.dylib --extern log=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/liblog-199c98d1358e377b.rlib --extern lz4_flex=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/liblz4_flex-4adf736c5891fa47.rlib --extern notify=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libnotify-9ddd721cce050a28.rlib --extern num=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libnum-0af3702ceae41d38.rlib --extern numeric_sort=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libnumeric_sort-8ca31ead256c68d7.rlib --extern pure_rust_locales=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libpure_rust_locales-e5a1d770689ff52a.rlib --extern rayon=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/librayon-a10eb743cf0f0ed4.rlib --extern regex=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libregex-d9452fda92d56477.rlib --extern reqwest=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libreqwest-3d5276efa520f82f.rlib --extern rfd=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/librfd-d6e9838f24b363ec.rlib --extern ron=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libron-124ea3cda442a934.rlib --extern serde=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libserde-76bb721b97be213a.rlib --extern serde_json=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libserde_json-dd8428340e02c542.rlib --extern serde_stacker=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libserde_stacker-0114d1d2c1254f15.rlib --extern softposit=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libsoftposit-82539a6821fb9dba.rlib --extern spade=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libspade-2cae8b576d3c3a67.rlib --extern spade_common=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libspade_common-a481a7a7a94c8163.rlib --extern spade_hir_lowering=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libspade_hir_lowering-4ef585b79b4517bb.rlib --extern spade_types=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libspade_types-b3dedf9570c3e637.rlib --extern surfer_translation_types=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libsurfer_translation_types-5152e824099f5e5e.rlib --extern surver=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libsurver-a2017da0fdf684f4.rlib --extern sys_locale=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libsys_locale-a91a292bbde9d49d.rlib --extern tokio=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libtokio-c3d9800d18f7abb6.rlib --extern toml=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libtoml-bec2afd88a9597ee.rlib --extern web_time=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libweb_time-525256b91023a896.rlib --extern wellen=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/deps/libwellen-fe6b51e8a25bcae0.rlib -L native=/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/build/psm-72238ab566b3ad4e/out`
2025-01-10T15:50:22.279880Z TRACE build_wheels: maturin::compile: cargo message: CompilerArtifact(Artifact { package_id: PackageId { repr: "path+file:///Users/roberttaylor/Code/ChipFlow/AI/surfer/libsurfer#0.4.0-dev" }, manifest_path: "/Users/roberttaylor/Code/ChipFlow/AI/surfer/libsurfer/Cargo.toml", target: Target { name: "libsurfer", kind: [CDyLib], crate_types: [CDyLib], required_features: [], src_path: "/Users/roberttaylor/Code/ChipFlow/AI/surfer/libsurfer/src/lib.rs", edition: E2021, doctest: false, test: true, doc: true }, profile: ArtifactProfile { opt_level: "0", debuginfo: Full, debug_assertions: true, overflow_checks: true, test: false }, features: ["default", "performance_plot", "spade"], filenames: ["/Users/roberttaylor/Code/ChipFlow/AI/surfer/target/debug/liblibsurfer.dylib"], executable: None, fresh: false })
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.28s
2025-01-10T15:50:22.280274Z TRACE build_wheels: maturin::compile: cargo message: BuildFinished(BuildFinished { success: true })
2025-01-10T15:50:22.364473Z DEBUG build_wheels: maturin::module_writer: Adding libsurfer-0.4.0.dev0.dist-info/METADATA
2025-01-10T15:50:22.365342Z DEBUG build_wheels: maturin::module_writer: Adding libsurfer-0.4.0.dev0.dist-info/WHEEL
2025-01-10T15:50:22.619043Z DEBUG build_wheels: cbindgen::bindgen::parser: Parsing crate libsurfer    
2025-01-10T15:50:22.629079Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::StartupParams - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.629114Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::MoveDir - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.629117Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::ColorSpecifier - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.629119Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::CachedDrawData - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.629121Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::CachedWaveDrawData - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.629123Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::CachedTransactionDrawData - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.629152Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::Channels - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.629158Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::CanvasState - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.629181Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::StateWrapper - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.630123Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::NUM_PERF_SAMPLES.    
2025-01-10T15:50:22.630127Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::TimingRegion - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.630130Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::Timing - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.630510Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::SCReceiver - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.630514Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::SCSender - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.630516Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::SCHandler - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.630519Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::GlobalChannelTx - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.630522Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::GlobalChannelRx - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.630825Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::ClockHighlightType - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.635596Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::RestCommand - opaque (Unsupported type: Type::TraitObject { dyn_token: Some(Dyn), bounds: [TypeParamBound::Trait(TraitBound { paren_token: None, modifier: TraitBoundModifier::None, lifetimes: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident(Fn), arguments: PathArguments::Parenthesized { paren_token: Paren, inputs: [Type::Reference { and_token: And, lifetime: None, mutability: None, elem: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident(str), arguments: PathArguments::None }] } } }], output: ReturnType::Type(RArrow, Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident(Option), arguments: PathArguments::AngleBracketed { colon2_token: None, lt_token: Lt, args: [GenericArgument::Type(Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident(Command), arguments: PathArguments::AngleBracketed { colon2_token: None, lt_token: Lt, args: [GenericArgument::Type(Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident(Message), arguments: PathArguments::None }] } })], gt_token: Gt } }] } })], gt_token: Gt } }] } }) } }] } })] }).    
2025-01-10T15:50:22.635625Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::CommandPrompt - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.635630Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::SuggestionLabel - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.637498Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::HierarchyStyle - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.637504Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::ArrowKeyBindings - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.637511Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::SurferConfig - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.637514Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::SurferLayout - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.637518Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::SurferBehavior - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.637520Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::SurferGesture - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.637521Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::SurferLineStyle - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.637541Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::SurferTicks - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.637544Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::SurferTheme - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.637553Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::ThemeColorPair - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.637555Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::ThemeColorTriple - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.637557Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::WcpConfig - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.637795Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::Diagnostic - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.637800Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::CxxrtlCommand - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.637841Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::CSMessage - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.638128Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::CxxrtlWorker - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.638822Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::ValueList.    
2025-01-10T15:50:22.638827Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::QueryContainer - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.638999Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::CxxrtlSample - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.639002Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::Features - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.639004Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::SimulationStatusType - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.639006Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::CxxrtlSimulationStatus - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.639008Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::CommandResponse - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.639013Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::PauseCause - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.639015Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::Event - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.639017Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::Error - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.639018Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::SCMessage - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.639249Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::CxxrtlTimestamp - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.641383Z  WARN build_wheels: cbindgen::bindgen::parser: Skip libsurfer::DEFAULT_REFERENCE - (not `pub`).    
2025-01-10T15:50:22.641400Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::Callback - opaque (Unsupported type: Type::TraitObject { dyn_token: Some(Dyn), bounds: [TypeParamBound::Trait(TraitBound { paren_token: None, modifier: TraitBoundModifier::None, lifetimes: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident(FnOnce), arguments: PathArguments::Parenthesized { paren_token: Paren, inputs: [Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident(CommandResponse), arguments: PathArguments::None }] } }, Comma, Type::Reference { and_token: And, lifetime: None, mutability: Some(Mut), elem: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident(CxxrtlData), arguments: PathArguments::None }] } } }], output: ReturnType::Default } }] } }), Plus, TypeParamBound::Trait(TraitBound { paren_token: None, modifier: TraitBoundModifier::None, lifetimes: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident(Sync), arguments: PathArguments::None }] } }), Plus, TypeParamBound::Trait(TraitBound { paren_token: None, modifier: TraitBoundModifier::None, lifetimes: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident(Send), arguments: PathArguments::None }] } })] }).    
2025-01-10T15:50:22.641419Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::CxxrtlScope - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.641427Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::CxxrtlItem - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.641430Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::CachedData - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.641580Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::CxxrtlData - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.641584Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::CSSender - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.641586Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::CxxrtlContainer - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.642335Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::DataContainer - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.642339Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::VariableType - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.642651Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::ReloadWaveformDialog - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.643975Z  WARN build_wheels: cbindgen::bindgen::parser: Skip libsurfer::DEFAULT_DIVIDER_NAME - (not `pub`).    
2025-01-10T15:50:22.643978Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::DisplayedItemRef - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.643981Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::DisplayedFieldRef - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.644008Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::DisplayedItemIndex - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.644012Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::DisplayedItem - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.644015Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::FieldFormat - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.644016Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::DisplayedVariable - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.644019Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::DisplayedDivider - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.644021Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::DisplayedMarker - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.644067Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::DisplayedTimeLine - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.644069Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::DisplayedPlaceholder - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.644071Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::DisplayedStream - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.649295Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::DrawnRegion - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.649309Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::DrawingCommands - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.649317Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::TxDrawingCommands - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.649319Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::VariableDrawCommands - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.650605Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::FileWatcher - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.651306Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::Direction - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.651311Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::Anchor - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.651314Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::GraphicsY - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.651317Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::GrPoint - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.651320Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::GraphicId - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.651323Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::Graphic - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.655395Z  WARN build_wheels: cbindgen::bindgen::parser: Skip libsurfer::EGUI_LOGGER - (not `no_mangle`).    
2025-01-10T15:50:22.655399Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::LogMessage - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.655401Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::EguiLogger - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.656988Z  WARN build_wheels: cbindgen::bindgen::parser: Skip libsurfer::DEFAULT_MARKER_NAME - (Unsupported literal expression. Lit::Str { token: "Marker" })    
2025-01-10T15:50:22.659782Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::ButtonBuilder - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.660561Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::CommandCount.    
2025-01-10T15:50:22.660568Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::HeaderResult - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.660570Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::BodyResult - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.660572Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::AsyncJob - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.660573Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::Message - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.662227Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::GestureKind - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.662902Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::HierarchyResponse - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.665937Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::State - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.671392Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::SystemState - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.676643Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::TimeScale - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.676878Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::TimeUnit - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.676915Z  WARN build_wheels: cbindgen::bindgen::parser: Skip libsurfer::DEFAULT_TIMELINE_NAME - (Unsupported literal expression. Lit::Str { token: "Time" })    
2025-01-10T15:50:22.676948Z  WARN build_wheels: cbindgen::bindgen::parser: Skip libsurfer::THIN_SPACE - (Unsupported literal expression. Lit::Str { token: "\u{2009}" })    
2025-01-10T15:50:22.676960Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::TimeFormat - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.676972Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::TimeStringFormatting - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.682587Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::TransactionContainer - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.682608Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::StreamScopeRef - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.682612Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::TransactionStreamRef - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.682619Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::TransactionRef - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.685719Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::DynTranslator - opaque (Unsupported type: Type::TraitObject { dyn_token: Some(Dyn), bounds: [TypeParamBound::Trait(TraitBound { paren_token: None, modifier: TraitBoundModifier::None, lifetimes: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident(Translator), arguments: PathArguments::AngleBracketed { colon2_token: None, lt_token: Lt, args: [GenericArgument::Type(Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident(VarId), arguments: PathArguments::None }] } }), Comma, GenericArgument::Type(Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident(ScopeId), arguments: PathArguments::None }] } }), Comma, GenericArgument::Type(Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident(Message), arguments: PathArguments::None }] } })], gt_token: Gt } }] } })] }).    
2025-01-10T15:50:22.685787Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::DynBasicTranslator - opaque (Unsupported type: Type::TraitObject { dyn_token: Some(Dyn), bounds: [TypeParamBound::Trait(TraitBound { paren_token: None, modifier: TraitBoundModifier::None, lifetimes: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident(BasicTranslator), arguments: PathArguments::AngleBracketed { colon2_token: None, lt_token: Lt, args: [GenericArgument::Type(Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident(VarId), arguments: PathArguments::None }] } }), Comma, GenericArgument::Type(Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident(ScopeId), arguments: PathArguments::None }] } })], gt_token: Gt } }] } })] }).    
2025-01-10T15:50:22.685799Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::AnyTranslator - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.685845Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::TranslatorList - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.685859Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::StringTranslator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.688372Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::HexTranslator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.688385Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::BitTranslator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.688388Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::OctalTranslator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.688390Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::GroupingBinaryTranslator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.688393Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::BinaryTranslator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.688544Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::ASCIITranslator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.688590Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::LebTranslator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.688600Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::NumberOfOnesTranslator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.688606Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::TrailingOnesTranslator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.688612Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::TrailingZerosTranslator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.688659Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::LeadingOnesTranslator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.688683Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::LeadingZerosTranslator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.688688Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::IdenticalMSBsTranslator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.689136Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::ClockTranslator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.689384Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::EnumTranslator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.690030Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::InstructionTranslator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.691981Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::UnsignedTranslator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.691989Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::SignedTranslator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.691992Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::SinglePrecisionTranslator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.691994Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::DoublePrecisionTranslator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.691999Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::QuadPrecisionTranslator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.692006Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::HalfPrecisionTranslator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.692008Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::BFloat16Translator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.692010Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::Posit32Translator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.692012Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::Posit16Translator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.692037Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::Posit8Translator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.692045Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::PositQuire8Translator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.692049Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::PositQuire16Translator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.692054Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::E5M2Translator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.692058Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::E4M3Translator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.693389Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::PythonTranslator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.695557Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::SpadeTestInfo - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.695567Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::SpadeTranslator - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.696925Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::VariableNameFilterType - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.697414Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::VariableNameType - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.697639Z  WARN build_wheels: cbindgen::bindgen::parser: Skip libsurfer::INTEGER_TYPES - (Unsupported type: Type::Slice { bracket_token: Bracket, elem: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident(Option), arguments: PathArguments::AngleBracketed { colon2_token: None, lt_token: Lt, args: [GenericArgument::Type(Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident(VariableType), arguments: PathArguments::None }] } })], gt_token: Gt } }] } } })    
2025-01-10T15:50:22.704346Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::DrawingContext - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.704361Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::DrawConfig - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.704365Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::VariableDrawingInfo - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.704368Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::DividerDrawingInfo - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.704370Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::MarkerDrawingInfo - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.704376Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::TimeLineDrawingInfo - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.704378Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::StreamDrawingInfo - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.704380Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::ItemDrawingInfo - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.706498Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::Relative - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.706506Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::Absolute - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.706509Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::Viewport - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.706520Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::ViewportStrategy - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.707863Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::Callback - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.707872Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::WebHandle - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.708287Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::on_surfer_error.    
2025-01-10T15:50:22.708294Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::new.    
2025-01-10T15:50:22.708297Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::stack.    
2025-01-10T15:50:22.708572Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::UrlArgs - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.710093Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::FieldRef.    
2025-01-10T15:50:22.710101Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::ScopeRef.    
2025-01-10T15:50:22.710104Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::VariableRef.    
2025-01-10T15:50:22.710107Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::VariableMeta.    
2025-01-10T15:50:22.710109Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::SimulationStatus - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.710111Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::MetaData - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.710114Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::ScopeId - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.710119Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::VarId - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.710135Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::QueryResult - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.710145Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::WaveContainer - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.713108Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::PER_SCROLL_EVENT.    
2025-01-10T15:50:22.713115Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::SCROLL_EVENTS_PER_PAGE.    
2025-01-10T15:50:22.713117Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::ScopeType - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.713120Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::WaveData - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.715984Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::CxxrtlKind - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.715990Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::WaveSource - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.715992Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::WaveFormat - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.715994Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::LoadOptions - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.715996Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::OpenMode - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.716015Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::LoadProgress - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.716019Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::LoadProgressStatus - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.716609Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::DisplayedItemRef - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.716623Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::ItemInfo - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.716626Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::WcpResponse - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.716629Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::WcpEvent - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.716631Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::WcpSCMessage - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.716633Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::WcpCommand - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.716694Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::WcpCSMessage - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.718622Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::WcpServer - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.720803Z  WARN build_wheels: cbindgen::bindgen::parser: Skip libsurfer::UNIQUE_ID_COUNT - (not `no_mangle`).    
2025-01-10T15:50:22.720808Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::WellenContainer - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.720812Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::LoadSignalsCmd - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    
2025-01-10T15:50:22.720817Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::LoadSignalPayload - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).    
2025-01-10T15:50:22.720820Z  INFO build_wheels: cbindgen::bindgen::parser: Take libsurfer::LoadSignalsResult - opaque (Struct is not marked #[repr(C)] or #[repr(transparent)].).    

===================================================================
maturin has panicked. This is a bug in maturin. Please report this
at https://github.com/PyO3/maturin/issues/new/choose.
If you can reliably reproduce this panic, include the
reproduction steps and re-run with the RUST_BACKTRACE=1 environment
variable set and include the backtrace in your report.

Platform: macos aarch64
Version: 1.8.1
Args: maturin -vvv build

thread 'main' panicked at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cbindgen-0.27.0/src/bindgen/ir/generic_path.rs:112:9:
FieldRef has 0 params but is being instantiated with 2 values
stack backtrace:
   0: _rust_begin_unwind
   1: core::panicking::panic_fmt
   2: cbindgen::bindgen::ir::generic_path::GenericParams::call
   3: <cbindgen::bindgen::ir::typedef::Typedef as cbindgen::bindgen::ir::item::Item>::instantiate_monomorph
   4: cbindgen::bindgen::ir::ty::Type::add_monomorphs
   5: cbindgen::bindgen::library::Library::generate
   6: cbindgen::bindgen::builder::Builder::generate
   7: maturin::module_writer::write_cffi_module
   8: maturin::build_context::BuildContext::build_wheels
   9: maturin::run
  10: maturin::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Your maturin version (maturin --version)

1.8.1

Your Python version (python -V)

3.11.0

Your pip version (pip -V)

24.2

What bindings you're using

pyo3

Does cargo build work?

  • Yes, it works

If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash /)?

  • Yes

Steps to Reproduce

  1. git clone https://gitlab.com/surfer-project/surfer.git
  2. cd surfer/libsurfer
  3. RUST_BACKTRACE=1 maturin -vvv build
@robtaylor robtaylor added the bug Something isn't working label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant