New Error  flutter_rust_bridge_codegen generate

Skip parsing enum_or_struct NamespacedName { namespace: Namespace { joined_path: "crate::system::entitys::alct_api_driver_new" }, name: "Entity" }because of error (e=struct with unit fields are not supported yet, what about usingstruct Entity {}or#[frb(opaque)] struct Entity; instead

D:\work\rust\alctnew> flutter run                                                                                2024/10/28 17:12:00Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Connected devices:
Windows (desktop) • windows • windows-x64    • Microsoft Windows [10.0.19044.5011]
Edge (web)        • edge    • web-javascript • Microsoft Edge 130.0.2849.56
[1]: Windows (windows)
[2]: Edge (edge)
Please choose one (or "q" to quit): 1
Launching lib\main.dart on Windows in debug mode...
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `Res`
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `Res`
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `Res`
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `Res`
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `Res`
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `Res`
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `Res`
  SEVERE: error[E0277]: the trait bound `Res<bool>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `Res<std::string::String>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `Res<std::string::String>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `ListData<AlctApiListDto>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `Res<std::string::String>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `Res<std::string::String>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<(ResPage<query_dk_list::Result>, bool), anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<std::option::Option<std::string::String>, anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<i32, anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<bool, anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<(bool, ResPageArr<SearchResult>), anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<bool, anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<(ResPage<list::Result>, bool), anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<bool, anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<Vec<AlctApiDriverList>, anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<ListData<AlctApiListDto>, anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<Vec<alct_api_driver_new::Model>, anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<(bool, ResPage<std::string::String>, bool), anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<(ResPage<std::string::String>, bool), anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<i32, anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<bool, anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<bool, anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<bool, MyError>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<bool, anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `RustAutoOpaqueInner<_>: MoiArcValue` is not satisfied
  SEVERE: error[E0277]: the trait bound `RustAutoOpaqueInner<_>: MoiArcValue` is not satisfied
  SEVERE: error[E0277]: the trait bound `RustAutoOpaqueInner<_>: MoiArcValue` is not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<Decimal>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<Decimal>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<Decimal>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0277]: the trait bound `RustAutoOpaqueInner<_>: MoiArcValue` is not satisfied
  SEVERE: error[E0277]: the trait bound `RustAutoOpaqueInner<_>: MoiArcValue` is not satisfied
  SEVERE: error[E0277]: the trait bound `RustAutoOpaqueInner<_>: MoiArcValue` is not satisfied
SEVERE : error : could not compile `rust_lib_alctnew` (lib) due to 223 previous errors [D:\work\rust\alctnew\build\windows\x64\plugins\rust_lib_alctnew\rust_lib_alctnew_cargokit.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: “D:\work\rust\alctnew\build\windows\x64\CMakeFiles\8e0a7a78a3960e769a88360145745685\rust_lib_alctnew.dll.rule;D:\work\rust\alctnew\build\windows\x64\CMakeFiles\b441a1bafbeca461fe5f46e939f45d28\rust_lib_alctnew_cargokit.rule”[D:\work\rust\alctnew\build\windows\x64\plugins\rust_lib_alctnew\rust_lib_alctnew_cargokit.vcxproj]
Building Windows application...                                    10.5s
Error: Build process failed.

Why did you convert seaorm's rs to dart?

Didn't I specify an api.rs to convert to dart before? Now all are converted to dart. Can I specify an rs to convert to dart like in 1.x? The orm entity does not need to be converted to dart, and the front end will not use it.

Sorry but I am confused about your question. Do you mean having rust_input: crate::your_whatever::subpackage_name in flutter_rust_bridge.yaml?

Can't use Decimal with T and rust, go to dart error

Well I am not sure what is your question...

Launching lib\main.dart on Windows in debug mode...
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
SEVERE : warning : unused import: `rust_decimal::prelude::*` [D:\work\rust\alctnew\build\windows\x64\plugins\rust_lib_alctnew\rust_lib_alctnew_cargokit.vcxproj]
  SEVERE: error[E0308]: mismatched types
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0277]: the trait bound `ListData<AlctApiListDto>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `RustAutoOpaqueInner<_>: MoiArcValue` is not satisfied
  SEVERE: error[E0277]: the trait bound `RustAutoOpaqueInner<_>: MoiArcValue` is not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<Decimal>`, but its trait bounds were not satisfied
  SEVERE: error[E0277]: the trait bound `RustAutoOpaqueInner<_>: MoiArcValue` is not satisfied
  SEVERE: error[E0277]: the trait bound `RustAutoOpaqueInner<_>: MoiArcValue` is not satisfied
SEVERE : warning : `rust_lib_alctnew` (lib) generated 1 warning [D:\work\rust\alctnew\build\windows\x64\plugins\rust_lib_alctnew\rust_lib_alctnew_cargokit.vcxproj]
SEVERE : error : could not compile `rust_lib_alctnew` (lib) due to 54 previous errors; 1 warning emitted [D:\work\rust\alctnew\build\windows\x64\plugins\rust_lib_alctnew\rust_lib_alctnew_cargokit.vcxproj]

Again I am not sure about your question... Usually you need to have a reproducible sample or some descriptions...


Can not launch the target in new powershell terminal

Brief Issue Summary
I can't  launch the target in new powershell. The instruction to be executed is wrapped in quotation marks, I think PowerShell treats it as a string, are there something wrong about my configuration?
The powershell version is  7.2.5.
The generator I use is "Msys Makefiles".
CMake Tools Diagnostics
{
  "os": "win32",
  "vscodeVersion": "1.68.1",
  "cmtVersion": "1.12.4",
  "configurations": [
    {
      "folder": "c:\\msys64\\home\\11206\\dev\\project-xin\\xflag",
      "cmakeVersion": "3.23.2",
      "configured": false,
      "generator": "MinGW Makefiles",
      "usesPresets": false,
      "compilers": {}
    }
  ],
  "cpptoolsIntegration": {
    "isReady": false,
    "hasCodeModel": false,
    "activeBuildType": "",
    "buildTypesSeen": [],
    "requests": [],
    "responses": [],
    "partialMatches": [],
    "targetCount": 0,
    "executablesCount": 0,
    "librariesCount": 0,
    "targets": []
  },
  "settings": [
    {
      "communicationMode": "automatic",
      "useCMakePresets": "auto",
      "configureOnOpen": true
    }
  ]
}

Debug Log
[extension] [7684] cmake.launchTarget started
[main] Building folder: xflag xflag
[main] Saving open files before configure/build
[build] Starting build
[driver] Start build xflag
[proc] Executing command: C:/msys64/clang64/bin/cmake.exe --build c:/msys64/home/11206/dev/project-xin/xflag/build --config Debug --target xflag -j 48 --
[build] [100%] Built target xflag
[cmakefileapi-parser] Read reply folder: c:\msys64\home\11206\dev\project-xin\xflag\build\.cmake\api\v1\reply
[cmakefileapi-parser] Found index files: ["cache-v2-644ab7cd653c72bef0e1.json","codemodel-v2-fe937cd02859a68f41cf.json","directory-.-Debug-d0094a50bb2071803777.json","index-2022-06-25T14-31-23-0331.json","target-xflag-Debug-9353abb2c919af2973ac.json","toolchains-v1-74873b4e6f6ae83b0148.json"]
[build] Build finished with exit code 0
[extension] [7684] cmake.launchTarget finished (returned {"name":"CMake/Launch","processId":{},"creationOptions":{"name":"CMake/Launch","env":{"!;":";\\","ACLOCAL_PATH":"C:\\msys64\\ucrt64\\share\\aclocal;C:\\msys64\\usr\\share\\aclocal","ALLUSERSPROFILE":"C:\\ProgramData","APPDATA":"C:\\Users\\11206\\AppData\\Roaming","APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL":"true","CABAL_DIR":"C:\\Haskell\\cabal","CHROME_CRASHPAD_PIPE_NAME":"\\\\.\\pipe\\crashpad_22012_WNZRWIHLVVORYKZJ","COMMONPROGRAMFILES":"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files","CommonProgramW6432":"C:\\Program Files\\Common Files","COMPUTERNAME":"LAPTOP-A5NQ8BQH","COMSPEC":"C:\\WINDOWS\\system32\\cmd.exe","CONFIG_SITE":"C:/msys64/etc/config.site","CONICON":"ucrt64.ico","CONTITLE":"MinGW UCRT x64","cp":"D:/Mycode/JJar","DriverData":"C:\\Windows\\System32\\Drivers\\DriverData","ELECTRON_NO_ATTACH_CONSOLE":"1","ELECTRON_RUN_AS_NODE":"1","FPS_BROWSER_APP_PROFILE_STRING":"Internet Explorer","FPS_BROWSER_USER_PROFILE_STRING":"Default","GHCUP_INSTALL_BASE_PREFIX":"C:\\Haskell\\","GHCUP_MSYS2":"C:\\msys64","GOBIN":"C:\\gotools\\bin","GOPATH":"C:\\Users\\11206\\go","GOROOT":"C:\\Program Files\\Go\\","GRADLE_USER_HOME":"C:\\users\\11206\\.gradle","HOME":"C:\\msys64\\home\\11206","HOMEDRIVE":"C:","HOMEPATH":"\\Users\\11206","HOSTNAME":"LAPTOP-A5NQ8BQH","INFOPATH":"C:\\msys64\\usr\\local\\info;C:\\msys64\\usr\\share\\info;C:\\msys64\\usr\\info;C:\\msys64\\share\\info","INTEL_DEV_REDIST":"C:\\Program Files (x86)\\Common Files\\Intel\\Shared Libraries\\","JAVA_HOME":"D:\\JDK\\JDK11","JDK11":"D:\\JDK\\JDK11","JDK17":"D:\\JDK\\JDK17","LANG":"en_US.UTF-8","LOCALAPPDATA":"C:\\Users\\11206\\AppData\\Local","LOGINSHELL":"bash","LOGONSERVER":"\\\\LAPTOP-A5NQ8BQH","MANPATH":"C:\\msys64\\ucrt64\\local\\man;C:\\msys64\\ucrt64\\share\\man;C:\\msys64\\usr\\local\\man;C:\\msys64\\usr\\share\\man;C:\\msys64\\usr\\man;C:\\msys64\\share\\man","MIC_LD_LIBRARY_PATH":"C:\\Program Files (x86)\\Common Files\\Intel\\Shared Libraries\\compiler\\lib\\mic","MINGW_CHOST":"x86_64-w64-mingw32","MINGW_PACKAGE_PREFIX":"mingw-w64-ucrt-x86_64","MINGW_PREFIX":"C:/msys64/ucrt64","Msys2_Home":"C:\\msys64\\home\\11206","MSYS2_NOSTART":"yes","MSYS2_PATH_TYPE":"inherit","MSYSTEM":"UCRT64","MSYSTEM_CARCH":"x86_64","MSYSTEM_CHOST":"x86_64-w64-mingw32","MSYSTEM_PREFIX":"C:/msys64/ucrt64","NUMBER_OF_PROCESSORS":"8","NVIDIAWHITELISTED":"0x01","OLDPWD":"C:/msys64/home/11206/dev/project-xin/xflag/build","OneDrive":"C:\\Users\\11206\\OneDrive","ORIGINAL_PATH":"C:\\Program Files (x86)\\Common Files\\Intel\\Shared Libraries\\redist\\intel64\\compiler;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\iCLS;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\iCLS;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\WINDOWS\\System32\\OpenSSH;D:\\COMMAND;C:\\msys64\\usr\\bin;C:\\msys64\\ucrt64\\bin;C:\\msys64\\mingw64\\bin;C:\\msys64\\clang64\\bin;C:\\Program Files\\dotnet;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn;D:\\maven\\bin;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Program Files\\Microsoft SQL Server\\140\\Tools\\Binn;C:\\Program Files\\Microsoft SQL Server\\150\\Tools\\Binn;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\170\\Tools\\Binn;C:\\Julia\\bin;C:\\Program Files\\MariaDB 10.7\\bin;C:\\gotools\\bin;D:\\Git\\cmd;C:\\Program Files\\nodejs;C:\\Program Files (x86)\\dotnet;C:\\Program Files\\Go\\bin;C:\\Users\\11206\\AppData\\Local\\Programs\\Python\\Python310\\Scripts;C:\\Users\\11206\\AppData\\Local\\Programs\\Python\\Python310;C:\\Users\\11206\\AppData\\Local\\Microsoft\\WindowsApps;D:\\Microsoft VS Code\\bin;C:\\Users\\11206\\.dotnet\\tools;C:\\Users\\11206\\AppData\\Local\\Microsoft\\WindowsApps;D:\\MPVPlayer;C:\\Users\\11206\\.dotnet\\tools;C:\\tools\\ghc-9.2.1\\bin;C:\\Haskell\\ghcup\\bin;C:\\Users\\11206\\.dotnet\\tools;C:\\Users\\11206\\AppData\\Roaming\\npm;C:\\Users\\11206\\go\\bin","ORIGINAL_TEMP":"C:/Users/11206/AppData/Local/Temp","ORIGINAL_TMP":"C:/Users/11206/AppData/Local/Temp","ORIGINAL_XDG_CURRENT_DESKTOP":"undefined","OS":"Windows_NT","PATH":"C:\\msys64\\ucrt64\\bin;C:\\msys64\\usr\\local\\bin;C:\\msys64\\usr\\bin;C:\\msys64\\usr\\bin;C:\\Program Files (x86)\\Common Files\\Intel\\Shared Libraries\\redist\\intel64\\compiler;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\iCLS;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\iCLS;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\WINDOWS\\System32\\OpenSSH;D:\\COMMAND;C:\\msys64\\usr\\bin;C:\\msys64\\ucrt64\\bin;C:\\msys64\\mingw64\\bin;C:\\msys64\\clang64\\bin;C:\\Program Files\\dotnet;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn;D:\\maven\\bin;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Program Files\\Microsoft SQL Server\\140\\Tools\\Binn;C:\\Program Files\\Microsoft SQL Server\\150\\Tools\\Binn;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\170\\Tools\\Binn;C:\\Julia\\bin;C:\\Program Files\\MariaDB 10.7\\bin;C:\\gotools\\bin;D:\\Git\\cmd;C:\\Program Files\\nodejs;C:\\Program Files (x86)\\dotnet;C:\\Program Files\\Go\\bin;C:\\Users\\11206\\AppData\\Local\\Programs\\Python\\Python310\\Scripts;C:\\Users\\11206\\AppData\\Local\\Programs\\Python\\Python310;C:\\Users\\11206\\AppData\\Local\\Microsoft\\WindowsApps;D:\\Microsoft VS Code\\bin;C:\\Users\\11206\\.dotnet\\tools;C:\\Users\\11206\\AppData\\Local\\Microsoft\\WindowsApps;D:\\MPVPlayer;C:\\Users\\11206\\.dotnet\\tools;C:\\tools\\ghc-9.2.1\\bin;C:\\Haskell\\ghcup\\bin;C:\\Users\\11206\\.dotnet\\tools;C:\\Users\\11206\\AppData\\Roaming\\npm;C:\\Users\\11206\\go\\bin;C:\\msys64\\usr\\bin\\site_perl;C:\\msys64\\usr\\bin\\vendor_perl;C:\\msys64\\usr\\bin\\core_perl;C:\\msys64\\clang64\\bin","PATHEXT":".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC","PKG_CONFIG_PATH":"C:\\msys64\\ucrt64\\lib\\pkgconfig;C:\\msys64\\ucrt64\\share\\pkgconfig","PRINTER":"Microsoft Print to PDF","PROCESSOR_ARCHITECTURE":"AMD64","PROCESSOR_IDENTIFIER":"Intel64 Family 6 Model 158 Stepping 10, GenuineIntel","PROCESSOR_LEVEL":"6","PROCESSOR_REVISION":"9e0a","ProgramData":"C:\\ProgramData","PROGRAMFILES":"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)","ProgramW6432":"C:\\Program Files","PROMPT":"$P$G","PSModulePath":"C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules","PUBLIC":"C:\\Users\\Public","PWD":"C:/msys64/home/11206/dev/project-xin/xflag","SESSIONNAME":"Console","SHELL":"C:\\msys64\\usr\\bin\\bash.exe","SHIM_MCCOMPAT":"0x810000001","SHLVL":"2","SYSTEMDRIVE":"C:","SYSTEMROOT":"C:\\WINDOWS","TEMP":"C:\\msys64\\tmp","TERM":"xterm-256color","TMP":"C:\\msys64\\tmp","USER":"11206","USERDOMAIN":"LAPTOP-A5NQ8BQH","USERDOMAIN_ROAMINGPROFILE":"LAPTOP-A5NQ8BQH","USERNAME":"11206","USERPROFILE":"C:\\Users\\11206","VSCODE_AMD_ENTRYPOINT":"vs/workbench/api/node/extensionHostProcess","VSCODE_CLI":"1","VSCODE_CODE_CACHE_PATH":"C:\\Users\\11206\\AppData\\Roaming\\Code\\CachedData\\30d9c6cd9483b2cc586687151bcbcd635f373630","VSCODE_CWD":"C:\\msys64\\home\\11206\\dev\\project-xin\\xflag","VSCODE_HANDLES_UNCAUGHT_ERRORS":"true","VSCODE_IPC_HOOK":"\\\\.\\pipe\\5166f80ebf50375b3f45b3bb2b2afb28-1.68.1-main-sock","VSCODE_IPC_HOOK_EXTHOST":"\\\\.\\pipe\\vscode-ipc-3370af07-ce8d-4486-be5a-a6b28cad798e-sock","VSCODE_LOG_NATIVE":"false","VSCODE_LOG_STACK":"false","VSCODE_NLS_CONFIG":"{\"locale\":\"en\",\"availableLanguages\":{},\"_languagePackSupport\":true}","VSCODE_PID":"22012","VSCODE_PIPE_LOGGING":"true","VSCODE_VERBOSE_LOGGING":"true","VSP":"C:\\Users\\11206\\source\\repos","WD":"C:\\msys64\\usr\\bin\\","WINDIR":"C:\\WINDOWS","WSLENV":"WT_SESSION::WT_PROFILE_ID","WT_PROFILE_ID":"{75b66e97-bd40-4ff3-95b1-d02f2d6cd869}","WT_SESSION":"82c02df8-7288-4d09-a240-695ad97eb779","XDG_DATA_DIRS":"C:\\msys64\\ucrt64\\share\\;C:\\msys64\\usr\\local\\share\\;C:\\msys64\\usr\\share\\","ZES_ENABLE_SYSMAN":"1","_":"D:/Microsoft VS Code/Code.exe","_CMAKE_TOOLS_LAUNCH_TERMINAL_TARGET_NAME":"xflag","_CMAKE_TOOLS_LAUNCH_TERMINAL_PATH":"C:\\Users\\11206\\.dotnet\\tools\\pwsh.exe"},"cwd":"${workspaceFolder}"},"state":{"isInteractedWith":true},"dimensions":{"columns":114,"rows":14}})

Additional Information

This looks like a duplicate of #535 which appears to have been around for a long time. I thought this had been addressed with #2311, but maybe more works needs to be done for it.  We'll track any remaining Powershell issues with #535 though.

Duplicate of #535. There's a dot missing before the path because of which the path gets printed instead of executed.


[Android] Ensure main thread when doing getInstanceManager

On brownfield apps, it could happen that the first Activity you launch (e.g. MainActivity) is not a React Native one, so the ReactInstanceManager has not been initialised yet.
In that case, React Native will instantiate it, creating instances for all its dependencies as well. Unfortunately, at least one of such dependencies (ReactChoreographer) requires main thread ( https://github.com/facebook/react-native/blob/v0.55.3/ReactAndroid/src/main/java/com/facebook/react/modules/core/ReactChoreographer.java#L68 ) and because Detox runs in instrumentation, which is a different thread, this will crash.
This PR checks wether we are on main thread before attempting to reflect and changes to it if not.

good catch, but this code needs rewrite ASAP :(


fix(cmp): Disable on_confirm_done for haskell

As Haskell does not use round brackets for function parameters on_confirm_done should be disabled for this filetype.
Thanks for the cool plugin :D

Thanks


Two minor issues beyond the novice's knowledge

We've released version v1.0.0!
It has brought about some major changes that would require a manual cleanup.

Visit https://github.com/ayamir/nvimdots/releases to see the release notes.

To silence this message, remove it from `init.lua` at root directory!

and
[mason-lspconfig.nvim] installing efm
[mason-lspconfig.nvim] installing clangd
[mason-lspconfig.nvim] installing gopls
Spawning language server with cmd: `efm-langserver` failed. The language server is either not installed, missing from PATH, or not executable.

1. How to remove the version v1.0.0 error, in "init.lua"
2. Mason always reports an error, reinstall the same

Comment these lines: https://github.com/ayamir/nvimdots/blob/09b2c745d3414fdf89f6b008889e3775efa079b2/init.lua#L5-L17
efm is required for formatters so it should can be found in your PATH. Otherwise formatter won't work. clangd and gopls are lsp server of c/cpp and go. You can execute MasonInstall efm manually and show we the error log.

Comment these lines: https://github.com/ayamir/nvimdots/blob/09b2c745d3414fdf89f6b008889e3775efa079b2/init.lua#L5-L17
efm is required for formatters so it should can be found in your PATH. Otherwise formatter won't work. clangd and gopls are lsp server of c/cpp and go. You can execute MasonInstall efm manually and show we the error log.

  efm                                                        │
┆  11 │ │      ▼ Displaying full log                                       │
┆  12 │ │        can't load package: package github.com/mattn/efm-langserve│
┆  13 │ │        spawn: go failed with exit code 1 and signal 0.

See https://github.com/ayamir/nvimdots/issues/306#issuecomment-1293673748. Use your favorite package manager to install go, currently it is either not installed, missing from PATH, or not executable.

See https://github.com/ayamir/nvimdots/issues/306#issuecomment-1293673748. Use your favorite package manager to install go, currently it is either not installed, missing from PATH, or not executable.

second with this, since efm is written in golang, so u need go pkg manager to install it.

You may also have a look at the latter part of https://github.com/ayamir/nvimdots/issues/370#issuecomment-1356827997. It briefly introduces LSP and its features.

You can install them manually and add them to PATH. Then comment these lines:
https://github.com/ayamir/nvimdots/blob/09b2c745d3414fdf89f6b008889e3775efa079b2/lua/modules/completion/lsp.lua#L37
https://github.com/ayamir/nvimdots/blob/09b2c745d3414fdf89f6b008889e3775efa079b2/lua/modules/completion/lsp.lua#L39-L40

See #306 (comment). Use your favorite package manager to install go, currently it is either not installed, missing from PATH, or not executable.

go version go1.13.8 linux/amd64

Then I/O probably timed out. Did you set GOPATH to an invalid path?
Also, can you yank the complete error message and paste that here? Now it has been cut off.

also
Installing (1)
┆   │ │      clangd                                                     │
┆   │ │      ▼ Displaying full log

No log！

That would be expected. As mason is fetching this from GitHub:
    install = function(ctx)
        local source = github.unzip_release_file {
            repo = "clangd/clangd",
            asset_file = function(release)
                local target = coalesce(
                    when(platform.is.mac, "clangd-mac-%s.zip"),
                    when(platform.is.linux_x64, "clangd-linux-%s.zip"),
                    when(platform.is.win_x64, "clangd-windows-%s.zip")
                )
                return target and target:format(release)
            end,
        }
        source.with_receipt()
        ctx.fs:rename(("clangd_%s"):format(source.release), "clangd")
        ctx:link_bin(
            "clangd",
            path.concat {
                "clangd",
                "bin",
                platform.is.win and "clangd.exe" or "clangd",
            }
        )
    end,

The latest GO solves the download error


Month of May is mispelled

Hope this is an easy fix! Thanks for making this awesome plugin!

thanks, fixed in 1.1.2


Bot doesn't detect message to itself.

I am working on a bot that you message to control. But I also gave it a nice interface with a command/chat input. So I made a script where if you prefix the input with '^' the bot will message itself the command (^say "Hello World") but the bot doesn't seem to detect chat messages from itself.


Add node lifecycle documentation

As far as I can tell, we don't have a comprehensive doc which covers the expected lifecycle of nodes in Kubernetes.
Specifically, we have lots of intersecting, async things which involve nodes.  For example:

Many environments have VMs "behind" Nodes.  Those VMs can be deleted without telling k8s.  Then someone comes along and deletes the node "in response", but this is racy and causes confusion.
Many environments have subsystems which cross-reference things which need to coordinate with node lifecycle.  E.g. the service controller puts VMs into LBs, but does so by enumerating Nodes (ignorant of the VM lifecycle).
Some components manage nodes directl (e.g. Cluster Autoscaler, Karpenter).

For an example of things that I think are "weird" for lack of docs, look at https://github.com/kubernetes/autoscaler/issues/5201#issuecomment-1385949774 .  ClusterAutoscaler defines a taint which it uses to prevent work from landing on "draining" nodes (even though we have the unschedulable field already).  The service LB controller currently uses that taint to manage LBs.  Cluster autoscaler removes the VM from the cloud, and leaves the Node object around for someone else to clean up.
The discussion is about the MEANING of the taint, when it happens, and how to be more graceful.  What we want is a clear signal that "this node is going away" and a way for 3rd parties to indicate they have work to do when that happens.  It strikes me that we HAVE such a mechanism - delete and finalizers.  But CA doesn't do that.  I don't know why, but I suspect there are reasons.  Should it evolve?
I'd like to see a sig-node (or sig-arch?) owned statement of the node lifecycle.  E.g. if the "right" way to signal "this node is going away" is to delete the node, this would say that.  Then we can at least say that we think CA should adopt that pattern.  If we think it needs to be more sophistacted (aka complicated) then we should express that.

/remove-lifecycle stale
/lifecycle frozen
/triage accepted

/priority important-longterm

cc/ @wangzhen127 Can you work with @sftim and others on this?

Sure. I am still ramping up in this space. Will follow up.

work with @sftim and others on this?

The SIG to work with is SIG Docs (#sig-docs in Kubernetes' Slack workspace).

#45197 has helped with this

@wangzhen127 what help would you like here?


Upstream dynamic DNS resolve

Upstreams resolved when server starts, but i need to resolve upstream domain names asynchronously, it is possible for now?

RTFM =)))

The reference above is by mistake. So, please, never mind.


Add nbvcxz to the list of alternatives

I created a zxcvbn-like library for my company, and recently open sourced it.  I began working on this prior to there being any Java ports of zxcvbn available.

Thanks for porting!


add grpc service for hpr packets

allows us to keep signatures intact from gateways while routing

Made a new grpc client config as to not touch things that are already working. This client is a little different in that the fact that it uses the proto records rather than maps. Otherwise, basically the same.

I have this loaded up on dev right now, and have had a successful test run with a virtual-device and gateway-rs.


$HOME-less containers

On F31 silverblue, the HOME env variable is unset in toolbox containers.
I suspect the issue is somewhere down the stack - toolbox' init-container seems to work, at least the home directory appears correctly in the container's /etc/passwd - but I don't know how podman/libpod/crun play together, so filing against the entry point.

Yeah, @returntrip noticed this same problem yesterday.
Could you check a few things? eg., podman run.
$ podman run --env TERM=$TERM --rm -it registry.fedoraproject.org/f31/fedora-toolbox:31 /bin/bash

Then podman exec:
$ podman create --name foo registry.fedoraproject.org/f31/fedora-toolbox:31 sleep +Inf
$ podman start foo
$ podman exec --env TERM=$TERM -it foo /bin/bash

Is $HOME set inside the shell in both those cases?

It's probably crun related, because I tried the newer Podman builds on Fedora 30 and 29, which use runc, and they were fine.

@debarshiray
$ podman run --env TERM=$TERM --rm -it registry.fedoraproject.org/f31/fedora-toolbox:31 /bin/bash
[root@5e5b539cc057 /]# echo $HOME
<blank>

and
podman exec --env TERM=$TERM -it foo /bin/bash
[root@2fdca7bc6092 /]# echo $HOME
<blank>

I'm getting this when I try to start a container on Fedora Silverblue 31

[bilelmussaoui@localhost ~]$ podman start foo
Error: unable to start container "foo": time="2019-09-21T02:34:04+02:00" level=warning msg="signal: killed"
time="2019-09-21T02:34:04+02:00" level=error msg="container_linux.go:346: starting container process caused \"process_linux.go:297: applying cgroup configuration for process caused \\\"mountpoint for cgroup not found\\\"\"\n"
container_linux.go:346: starting container process caused "process_linux.go:297: applying cgroup configuration for process caused \"mountpoint for cgroup not found\"": OCI runtime error

@bilelmoussaoui that's a different issue. It sounds like you are using runc with Cgroups v2. If that's not the case, then it would be better to open a separate issue.

Does https://github.com/containers/libpod/pull/4068 fix this?

It works for me:
$ rpm -q podman
podman-1.6.0-0.12.dev.git819b63c.fc32.x86_64
$ podman run --rm fedora printenv HOME
/root

I have tested podman-1.6.0-0.18.dev.git6ce8d05.fc32.x86_64 on Silverblue 31 and HOME is now set correctly:
⬢[returntrip@toolbox returntrip]$ uname -a
Linux toolbox 5.3.0-1.fc31.x86_64 #1 SMP Mon Sep 16 12:34:42 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
⬢[returntrip@toolbox returntrip]$ echo $HOME
/home/returntrip

Guessing this commit fixed the issue.

Yes, see containers/libpod#4074

Ok, let's consider this fixed then.


Local development support for HTTPS + ORCID

ORCID authentication requires HTTPS redirects. Out of the box, the application does not respond to HTTPS addresses on localhost. How to configure this?

ORCID claim they require HTTPS redirects

Fixed that for you, in reality you can still register http://localhost and http://localhost:19006, it will work locally (it was working a few months ago at least)

Ignore the red lines, those are just warnings
We really can't believe anything we read on the internet


Improvized signup page , added scroll-reveal animation , added a back to top button

hey @ANSHIKA-26 , i have done the changes
in accordance to issue no : #539
1) Added Scroll reveal :
Before :
There was no scroll reveal feature
After Adding scroll reveal it looks like this :
https://github.com/user-attachments/assets/3d1f0891-b04e-4244-b0e4-5cbab3e5ae74

Added Back to top button :
before there was no back to top feature

after adding
https://github.com/user-attachments/assets/faea415e-cc89-46cb-8182-8028b07cb1ec
3) Signup:
##before :

##After :
https://github.com/user-attachments/assets/2800f9ba-5615-4dad-abca-a7d8a1b3c94c

Hope you are satisfied with my work
kindly add the labels level 3 , gssoc extd and hacktoberfest

fixes #539

Hey @ANSHIKA-26 what's the issue

make the back to top button something simpler , just an arrow facing up is okay ,this looks weird

Okay I'll change

its nice , kindly make a new PR with the said changes , resync your fork


About evaluation results

I have downloaded the source code as well as dataset from the given links and tried to train for many times( I didn't modify any hyperparameters except for the dataset path and log path ). However, there's a large gap between my evaluation results and those in the paper.
So I would like to ask what is the problem and what should I try to get the results in the paper?
Thank you!

Hi, Thank you for your interest in our work!
Could you specify for which dataset you're encountering problems?

Thank you for your reply.
Actually, I tried both NYUv2 and DIML datasets. For training details, I refer to the parameters in the supplementary materials. The hyper-parameters of NYUv2 training are listed below:

key
value

config

save_dir
./out

logstep_train
10

save_model
both

val_every_n_epochs
1

resume

seed
12345

wandb
FALSE

wandb_project
graph-sr

dataset
NYUv2

data_dir
./dataset

num_workers
8

batch_size
8

crop_size
256

scaling
8

max_rotation
15

no_flip
FALSE

in_memory
FALSE

loss
mse

num_epochs
250

optimizer
adam

lr
0.0001

momentum
0.9

w_decay
1.00E-05

lr_scheduler
step

lr_step
10

lr_gamma
0.9

skip_first
FALSE

gradient_clip
0

feature_extractor
UResNet

pretrained
FALSE

lambda_init
1

mu_init
0.1

Thank you for your reply, I will try it out.

Just to clarify, please use the new parameters in the edited comment, I was checking the wrong run before. We will also be adding config files for all datasets to the repository soon so you will be able to directly use those to reproduce the results.


.golangci.yml: add intrange linter

It checks that go 1.22's range-over-numbers feature is not skipped. Also, fix some warnings it found.

BTW, there's a tiny typo in the second commit: mtp vs mpt.


Problem with downloading

Hello
I am trying to run your PANDA code on my data; however, I have problem to download poslet detection code as well as data set provided on GitHub page for this source code. I was wondering if you have any suggestion for me to deal with this problem.
Thanks.

Please import the project from GitHub to Programing tool. It will not work directly.


Added possibility to close the connection on other http response codes

I have a use case where I need to close the connection in case of 401 Unauthorized. However, I couldn't find a good way to solve that with the current solution.
Maybe this could be a good way to add that functionality?

Current coverage is 84.40% (diff: 80.00%)

Merging #66 into master will decrease coverage by 0.26%

@@             master        #66   diff @@
==========================================
  Files             8          8
  Lines           587        609    +22
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            497        514    +17
- Misses           90         95     +5
  Partials          0          0

Powered by Codecov. Last update 4a4f76d...160e3e0

fixed in last PR. All http codes > 400 avoids retrying and closes connection


Are there any references/docs on the insert function?

I can't find anything, anywhere. The tests don't help and the docs are almost empty. I just need to know the syntax. An example would be good.

Given this table definition:
var user = sql.define({
  name: 'user',
  columns: ['id', 'name', 'email', 'lastLogin']
});

an insert of one row (with just the name and email columns) would be constructed like:
var fields={
  name:"joe",
<EMAIL_ADDRESS>}
var query=user.insert(fields)

query.toQuery().text equals:
INSERT INTO "user" ("name", "email") VALUES ($1, $2)

where the $1 and $2 parameters equal "joe" and<EMAIL_ADDRESS>respectively.
You can also insert multiple rows by passing an array to the insert function instead of an object:
var rows=[
<EMAIL_ADDRESS><EMAIL_ADDRESS>]
var query=user.insert(rows)

this will generate
INSERT INTO "user" ("name", "email") VALUES ($1, $2), ($3, $4)

with the parameters being equal to 'joe'<EMAIL_ADDRESS>'sally'<EMAIL_ADDRESS>

Given this table definition:
var user = sql.define({
  name: 'user',
  columns: ['id', 'name', 'email', 'lastLogin']
});

an insert of one row (with just the name and email columns) would be constructed like:
var fields={
  name:"joe",
<EMAIL_ADDRESS>}
var query=user.insert(fields)

query.toQuery().text equals:
INSERT INTO "user" ("name", "email") VALUES ($1, $2)

where the $1 and $2 parameters equal "joe" and<EMAIL_ADDRESS>respectively.
You can also insert multiple rows by passing an array to the insert function instead of an object:
var rows=[
<EMAIL_ADDRESS><EMAIL_ADDRESS>]
var query=user.insert(rows)

this will generate
INSERT INTO "user" ("name", "email") VALUES ($1, $2), ($3, $4)

with the parameters being equal to 'joe'<EMAIL_ADDRESS>'sally'<EMAIL_ADDRESS>

Ah, thanks. I changed to a module that would let me write the queries myself, however I'll keep this in mind for next time.

Ah, thanks. I changed to a module that would let me write the queries myself, however I'll keep this in mind for next time.


How to add an "about" to nav bar

How do I add an about page to this theme?
Existing config.yaml for hugo-tania
menu:
  header:
    - name: Posts
      url: "/posts/"
  footer:
    - name: RSS
      url: "/index.xml"

The below config.yaml works for me on other themes
menu:
  main:
  - identifier: about
    name: about hugo
    url: /about/
    weight: -110

I have also tried to add /content/about/_index.md which works on other themes, but can't figure out how to make it work on this theme.
Any help or direction where to look next would be appreciated. Thank you!

You should create /content/about.md or /content/about/index.md
_index.md is a speical file to hugo, not a page.
Then add it to header nav by this:
menu:
  header:
    - name: About
      url: "/about/"

This issue has been hanging around for a while; however, for anyone in the future, here are concrete examples from @WingLim's description:

Create a /content/about.md
Add an entry to the menu header in the config file

With that being said, this issue can probably be resolved.


Binary Linux releases

tar czvf infer-v<IP_ADDRESS>-linux.tar.gz /infer/infer/bin /infer/infer/lib

^ appears to work fine for me. Why are there no linux binaries?

Duplicate of #470, please see discussion there.


Add documentation to --gdnative-generate-json-api output

Godot version: 3.1
I am experimenting with Haxe/HashLink bindings for Godot again and I'm really pleased how simple it seems to be with GDNative. It is also great that the engine provides a nice JSON API specification with --gdnative-generate-json-api, good job!
Now onto the actual request, I would love that JSON output to also have documentation for classes/methods/etc. included, because then I can generate doc-comments for the Haxe type definitions that will later show up nicely in IDEs and API reference.

PS I see there's already godot_nativescript_set_class_documentation and friends for the types registered via GDNative. I assume that means that it'll show up when using the class in gdscript/visualscript? That's awesome!

CC @karroffel @neikeq

I'm glad you like it! :)
Right now the "recommended" way to get documentation is to generate the XML file that Godot uses for the online documentation. That should contain all documentation.
This could be added to the JSON file as well, the only thing that speaks against that is that there is already an "official" way to generate the documentation, so this might be duplicated code that's error prone and needs more maintenance.
I would be in favor of adding it to the JSON file personally, that way binding authors have it easier to get that information.

The godot_nativescript_set_class_documentation etc don't do anything too fancy right now, they were mostly added for forward-compatibility.
You can already set docs and query them again, but GDScript/VisualScript etc do not make use of that yet unfortunately.
Maybe in future that will be added to the internal ScriptingLanguage/Script/ScriptInstance classes and the code editor can make use of it, but I don't think there has been work on that yet. :/

Right now the "recommended" way to get documentation is to generate the XML file that Godot uses for the online documentation. That should contain all documentation.

Well that works for me if it's machine-readable and I can query docs for all the things in the JSON output. Could you point me to some documentation (or code example) about this XML?

So, I merged the two sources to generate some glue code and I like how it looks:

Although it would be nice not to parse XML and have everything in the JSON, but I can live with the current solution, so feel free to close this issue!

Closing the issue per @nadako's request.


Unrecognized parameters when creating cluster

Following the steps, I get the following error message trying to create the AKS cluster:
az: error: unrecognized arguments: --windows-admin-password mypassword1! --windows-admin-username azureuser
Omitting these parameters creates a cluster, but I cant add windows nodepools to it.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 6de70aec-9ebe-5655-6657-5c171de374b1
Version Independent ID: c9eb35c8-8703-511b-987b-e2a441be2e47
Content: Preview - Create a Windows Server container on an Azure Kubernetes Service (AKS) cluster
Content Source: articles/aks/windows-container-cli.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: mlearned

Thanks for the question! We are currently investigating and will update you shortly.

@drewwilliams1982 Please make sure you follow all the prerequisites as described here: https://docs.microsoft.com/en-us/azure/aks/windows-container-cli#before-you-begin

Updated Azure CLI
Registering for the windows preview feature
Your cluster also need to use a network policy that uses Azure CNI (advanced) network plugin.

Is there any update?

I've run through the steps again and it works. Not sure where I went wrong last time. Thanks.

Thanks for the update.
We will now close this issue. If there are further questions regarding this matter, please tag me in a comment and we will gladly continue the discussion.


Navigator titles overlap when width is small

Investigate options for truncating titles or other fixes to make them smaller...

navigator config will be released in v1.0.0

Fixed with 1.0.0 release


Can2mqtt service stopping when hot plugging can devices

The canbus physical layer we are using is the 5 wire NMEA 2000 standard with the M12 5Pin A-Coded connectors.  We have devices we have to hot plug into the bus.  According to the error below, it appears the can network is going down temporarily.  I will have to verify causation by the hot plugging.  However, the network going down does cause the service to stop with no recovery.  The watchdog is enabled for the service but does not restart the service.  Could an error check be put in to handle the network error and keep retrying?
s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started ++ can2mqtt -i socketcan -s mqtt://something:something@core-mosquitto -c can0 -b 250000 -t homeassistant --sdo-response-timeout 2.0 --firmware-dir /config 2024-11-21 07:14:20 can2mqtt.entities  INFO server: core-mosquitto, extra_auth: {'username': 'something', 'password': 'something', 'port': 1883} 2024-11-21 07:14:21 can.interfaces.socketcan.socketcan INFO Created a socket 2024-11-21 07:14:21 canopen.network    INFO Connected to 'socketcan channel 'can0'' 2024-11-21 07:15:06 asyncio            ERROR Exception in callback Notifier._on_message_available(<can.interfac... 0x7f83c09250>) handle: <Handle Notifier._on_message_available(<can.interfac... 0x7f83c09250>)> Traceback (most recent call last):   File "/root/.local/lib/python3.11/site-packages/can/interfaces/socketcan/socketcan.py", line 538, in capture_message     cf, ancillary_data, msg_flags, addr = sock.recvmsg(                                           ^^^^^^^^^^^^^ OSError: [Errno 100] Network is down The above exception was the direct cause of the following exception: Traceback (most recent call last):   File "/usr/lib/python3.11/asyncio/events.py", line 84, in _run     self._context.run(self._callback, *self._args)   File "/root/.local/lib/python3.11/site-packages/can/notifier.py", line 143, in _on_message_available     if msg := bus.recv(0):               ^^^^^^^^^^^   File "/root/.local/lib/python3.11/site-packages/can/bus.py", line 127, in recv     msg, already_filtered = self._recv_internal(timeout=time_left)                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/root/.local/lib/python3.11/site-packages/can/interfaces/socketcan/socketcan.py", line 751, in _recv_internal     msg = capture_message(self.socket, get_channel)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/root/.local/lib/python3.11/site-packages/can/interfaces/socketcan/socketcan.py", line 546, in capture_message     raise can.CanOperationError( can.exceptions.CanOperationError: Error receiving: Network is down [Error Code 100] 2024-11-21 07:15:14 asyncio            ERROR Exception in callback Notifier._on_message_available(<can.interfac... 0x7f83c09250>) handle: <Handle Notifier._on_message_available(<can.interfac... 0x7f83c09250>)> Traceback (most recent call last):   File "/root/.local/lib/python3.11/site-packages/can/interfaces/socketcan/socketcan.py", line 538, in capture_message     cf, ancillary_data, msg_flags, addr = sock.recvmsg(                                           ^^^^^^^^^^^^^ OSError: [Errno 100] Network is down The above exception was the direct cause of the following exception: Traceback (most recent call last):   File "/usr/lib/python3.11/asyncio/events.py", line 84, in _run     self._context.run(self._callback, *self._args)   File "/root/.local/lib/python3.11/site-packages/can/notifier.py", line 143, in _on_message_available     if msg := bus.recv(0):               ^^^^^^^^^^^   File "/root/.local/lib/python3.11/site-packages/can/bus.py", line 127, in recv     msg, already_filtered = self._recv_internal(timeout=time_left)                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/root/.local/lib/python3.11/site-packages/can/interfaces/socketcan/socketcan.py", line 751, in _recv_internal     msg = capture_message(self.socket, get_channel)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/root/.local/lib/python3.11/site-packages/can/interfaces/socketcan/socketcan.py", line 546, in capture_message     raise can.CanOperationError( can.exceptions.CanOperationError: Error receiving: Network is down [Error Code 100] 2024-11-21 07:15:21 can2mqtt.entities  INFO quitting: watchdog timeout, exit_code: 42 2024-11-21 07:15:21 can2mqtt.entities  INFO publishing offline status s6-rc: info: service legacy-services: stopping s6-rc: info: service legacy-services successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped

Thanks for the bug report, I'll think what to do with that.
Are you using can2mqtt as addon in HA suprevised? If so, do you have the 'Watchdog' enabled here:

I think it should restart can2mqtt for you automatically.

I do have the watchdog service enabled which was what was so odd.

Hmm, so it is strange that HA supervisor's watchdog didn't start the addon again.
In your logs i see the can2mqtt stopped because of:
INFO quitting: watchdog timeout, exit_code: 42

can2mqtt has its own internal watchdog - it is reseted when any heartbeat is received from the bus. But when heartbeat messages are not visible for defined timeout (by default 60 seconds) the addon stops (and can be reinitialized again by HA supervisor).
You can try to increase this timeout by providing --watchdog-timeout (or -w) parameter via extra_args on addon's config page - maybe the network will be available again and can2mqtt will not stop this way.


Read-only field

Hello 👋
First of all, thanks for this great plugin!
I am trying to disable the iconPicker field for certain user roles, but not being able to do that.
Tried to use readOnly property on iconPicker field schema, like on other primitive fields, but apparently is not working.
Just to be sure I've tested adding it to other primitive fields like string and it worked.
{
   name: 'icon',
   title: 'Icon',
   type: 'iconPicker',
   readOnly: ({currentUser}) => {
      return !(currentUser.roles.find(({name}) => name === 'administrator'))
   }
}

The HTML output I was expecting is something like this:
<button data-ui="MenuButton" id="menu-button-example" aria-haspopup="true" aria-expanded="false" disabled aria-disabled="true" data-disabled="true" type="button" class="sc-brSaZW gFytae">...</button>

And the expected behaviour is the button to select the icon to be grey out and not clickable:

Is there another way to achieve that, or this is something not supported currently?
Thank you!

Hi @luizhop I'm glad you like it. This is currently not supported but is something we should definitely add support for. Will create a issue for it and implement in upcoming 2 weeks. Feel free to create a PR for this feature :)

That's great @christopherafbjur.
Sure I would be happy to work on this, let me try find some time over the next weeks.
Thanks!

Hi @christopherafbjur finally I found some time to work on this.
I am just starting with Sanity, React, Typescript and all this stuff, also this is my first contribution to a repository, so apologies for any bad or misplaced changes, specially the ones below I could notice.
Skipped verification for committing and pushing to repo
I was having issues on SearchResults (type check on the component and props import on the tests) and couldn't figure what was the best way to sort them. As I didn't do any changes on these files, I thought it could be something with my node version (20.9.0) and probably won't give you any issues when reviewing and building.
Formatting changes on src/components/IconPicker.tsx
When trying to sort those issues, I thought running yarn format would help with that, in the end it didn't help and I missed reverting it before committing.
Please feel free to make or suggest any changes, I would happy to work on them or to take any advice.
Thanks again!

Thank you for your contribution @luizhop and the well described challenges you faced. I will have a look at this and come back with an answer in the upcoming days. Merry X-Mas 🎅🏻

@christopherafbjur merry Xmas (a bit delayed 🐢) and happy new year 🌟
That's perfect, will be great to have your feedback, whenever suits you best. Thank you!

Merged this https://github.com/christopherafbjur/sanity-plugin-icon-picker/pull/63 just now. Thank you for your contribution @luizhop very nice feature 👍

Many thanks for that @christopherafbjur, my pleasure being able to help 🙂


Deprecate departmentless cop names

Ever since departments (namespaces) were introduced, or almost since then, it's been possible to give cop names on the command line, in configuration and in rubocop:disable comments without a preceding department name. RuboCop deduces what the department should be and errors out only if it doesn't find exactly one matching department.
The optional department functionality was added as a way to stay backwards compatible with configuration that was created before departments existed. But the grace period is coming to an end. We start now by issuing warnings whenever cop names without departments are encountered. Later on, in a future version, we will remove the department deduction functionality and require that departments always be given for cop names.
Note: Warnings about rubocop:disable comments are not printed when inspection results are taken from the cache, so there's a chance this warning goes unnoticed in some cases.

Great work!


add alias for null handler - fixes #133

Fixes #133

In YAML I think you can escape the 'null' to fix solve this

True, but it still probably bites many developers the first time that they try to set it up. They might find it easier to use null_handler than 'null'

I wonder if it worth adding a new specific handler while people can also use the noop handle to achieve almost the same thing..

I am not sure I get what you mean here... It seems to me that noop handler and null handler behave differently, as the latter is a blackhole sink, while the former is not
I'll take a look at tests - but I might need some support with those


Congruence lemmas are not used for partially applied functions

The two examples below fail, but work if you replace Nat → Nat by Nat.
opaque partiallyApplied (p : Prop) [Decidable p] : Nat → Nat

example : partiallyApplied (True ∧ True) = partiallyApplied True := by
  simp

example : partiallyApplied (True ∧ True) = partiallyApplied True := by
  congr
  decide

As reported on Zulip: https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/mkCongrSimp.3F.20error.20for.20Set/near/338881269
This is causing issues in mathlib because Set α is defined as α → Prop, so a lot of terms are actually partially-applied functions, like for example Set.image f s.

A suggested fix is to modify this function to take the number of arguments in the application and change getFunInfo f to getFunInfoNArgs f nArgs. Then this line changes to use mkCongrSimp? f f.getAppNumArgs.
This at least works for the mathlib4 version of congr that I've been working on.


TimeKeeper

Time management functionality from NetworkOPs is refactored and put in its own class. NetClock::time_point is offered in interfaces. This doesn't propagate the time_point change to all sites yet.

Clang gives these warnings:
src/ripple/core/impl/SNTPClock.cpp:252:13: warning: add explicit braces to avoid dangling else [-Wdangling-else]
            else
            ^
src/ripple/core/impl/SNTPClock.cpp:249:13: warning: add explicit braces to avoid dangling else [-Wdangling-else]
            else if (query->second.replied)
            ^
src/ripple/core/impl/TimeKeeper.cpp:98:13: warning: add explicit braces to avoid dangling else [-Wdangling-else]
            else
            ^
1 warning generated.

unittest ends ingloriously:
ripple.tx.Taker IOU to IOU
Longest suite times:
    1.3s ripple.app.Path
    1.0s ripple.shamap.sync
9.0s, 87 suites, 365 cases, 287233 tests total, 0 failures
libc++abi.dylib: terminating with uncaught exception of type std::__1::system_error: thread::join failed: No such process
Abort trap: 6

err..these were fixed already - looking into it

abstract_clock::elapsed should be marked deprecated.  We currently only use it in ripple/resource/impl/Logic.h.  It is a dangerous break in the unit's type-safety.

Agree, removed

We need to forbid copying abstract_clock so that we don't accidentally slice it in production code.  However we do copy the concrete test clock in tests, so allow for that: https://github.com/HowardHinnant/rippled/commit/52d79a6b7b157dbd782ed1d9d56d43d673c73f32

Nice, this helps shore up an area where I've been having anxiety - how to mark special members in abstract bases.

:+1:  This looks like a solid stepping stone on the road to chrono!

I'm reluctant to refactor or make improvements to the SNTPClock implementation.  There's no unit test coverage for it, and adding coverage would be difficult (since it contacts external servers). There's a chance of breakage, with no way to know if it broke, and its critical code because the clock values are used for consensus.

Some of the code could use some refactoring but I am not holding the PR back.  :+1:


Re-impl explosion/implosion/sparks, etc as ParticleEmitter

complete, but the issue gave rise to #60


stable/prometheus

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I see we have prometheus externalUrl and alertmanager externalUrl. When i am trying .GeneratorURL in alertmanger it is picking prometheus externalUrl. If we want to use both of them in alert notifications how can i parse them.
      slack_configs:
        - api_url: XXXXXX
          send_resolved: true
          channel: '#team'

          title: '[{{ .Status | toUpper }}{{ if eq .Status "firing" }}:{{ .Alerts.Firing | len }}{{ end }}] Monitoring Event Notification'
          text: |-
            {{ range .Alerts }}
              *Alert:* `{{ .Labels.cluster }}`-`{{ .Labels.severity }}`: {{if .Annotations.message }}{{ .Annotations.message }}{{ else }}{{ .Labels.alertname }}{{ end }}
              *Graph:* <{{ .GeneratorURL }}|:chart_with_upwards_trend:> *Runbook:* <{{ .Annotations.runbook_url }}|:spiral_note_pad:> *Silence:* <{{ .ExternalURL }}|:no_bell:>

Describe the solution you'd like
I tried with the above option but no luck.

Hi @mouliveera   the stable/prometheus chart has been deprecated effectively as per this PR https://github.com/helm/charts/pull/23692 on Sep 5, 2020 and moved to https://github.com/prometheus-community/helm-charts.
Please close this Issue and re-open against the prometheus-community/helm-charts repo. Here's a friendly link for new issue
We hope to see you there. 👋


[<IP_ADDRESS>5] Bug:

help me
Bug found testing Stacks Wallet for Web.
Error
Loadable: api.correct-nonce
Message: SyntaxError: Unexpected token F in JSON at position 0
Environment
Version: <IP_ADDRESS>5
Branch: feat/launch-misc
Commit: 6190d5f

my wallet not show bug help me

my wallet not show bug help me


error thrown when files do not require ava

When running AVA against empty files or files that do not require ava, this error is thrown on v.0.4.2.
I tried with master, and it just hangs up.
getting the same error as in #198 (I opened a new issue because I'm not sure it's the same cause.):
TypeError: Cannot read property 'stats' of undefined
    at C:\Users\Frontend\AppData\Roaming\nvm\v0.12.5\node_modules\ava\cli.js:139:16
    at Array.map (native)
    at exit (C:\Users\Frontend\AppData\Roaming\nvm\v0.12.5\node_modules\ava\cli.js:138:22)
From previous event:
    at Object.<anonymous> (C:\Users\Frontend\AppData\Roaming\nvm\v0.12.5\node_modules\ava\cli.js:216:18)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)
    at startup (node.js:129:16)
    at node.js:814:3

In master, I saw that if the file transpiled by babel does is not processed by AVA and thus emits the needed events to end, the process will just hang up.

When running AVA against empty files or files that do not require ava

We're going to fix it, but I have to ask, why are you doing that?

It wasn't intentional :)
On my first attempt to use AVA I ran it on a folder with another empty file and got into this issue. I thought that debugging and trying to fix it will be a nice way to understand how AVA works.

Fix landed in @97409864e, you should be good to go on next release


docs: update coc.nvim setup guide

Closing since the website is revamped and a lot of docs are moved around. If you want to do it for the new website, feel free to do so.


cabal repl fails

% cabal repl cardano-crypto-class
Build profile: -w ghc-8.6.5 -O1
In order, the following will be built (use -v for more details):
 - cardano-crypto-class-2.0.0 (lib) (ephemeral targets)
Preprocessing library for cardano-crypto-class-2.0.0..
GHCi, version 8.6.5: http://www.haskell.org/ghc/  :? for help

<interactive>:1:1: error: [-Wmissing-local-signatures, -Werror=missing-local-signatures]
    Polymorphic local binding with no type signature:
      _compileParsedExpr :: forall a.
                            ghc-prim-0.5.3:GHC.Types.IO a -> ghc-prim-0.5.3:GHC.Types.IO a

This is a cabal or ghci problem - the function named is part of the cabal build, rather than the codebase. You can pass -f development to let this work.

https://gitlab.haskell.org/ghc/ghc/-/issues/16078


Use new envtest-setup tool

Use the envtest-setup tool now that I have discovered that it wasn't working due to the k8s version (envtest from controller-runtime 0.8.3 does not support k8s v1.20+).
/kind feature
/priority important-longterm
/assign

/ok-to-test

/approve


Move 'use' to Rewrite

Implements Rewrite for ViewPath
Behavior change: always use max_width instead of ideal_width for use
list rewrite. I think it looks better, was also suggested by @nrc in
https://github.com/nrc/rustfmt/issues/82#issuecomment-105314265

LGTM, just a few nits to fix

I will fix it ASAP, but I don't have access to a rustc until Saturday.

Nits fixed and rebased.
Based on #160

Thanks for fixing up!


alt+enter key conflict

in all the keymaps for this plugin you have this
{ "keys": ["alt+enter"], "command": "jump_to_keyword" }

this is already a core sublime shortcut used by many devs.  Find all from the search box.
please consider changing this setting

I have not used Find all from search box functionality, would you have an example how it's used?
Also Sublime is flexible and one can always overwrite the default settings with user specific settings: https://www.sublimetext.com/docs/3/settings.html


fix: good rendering of the username and add url link as npm describes

closes #9

Coverage remained the same at 97.143% when pulling 538852620c547b190d5ad939db847eddc550b34a on defaultName into f8d4066bb343e9230712df4d23ca33e5e47339e7 on master.


Escape * to prevent linux globbing from dumping random files into argument

While attempting to "Reopen in Container" in VSCode (Running Ubuntu through WSL with Docker CLI, no Docker Desktop) on a devcontainer.json targeting a docker-compose.yml, similar to the following:
{
	"name": "xyzdef",
        "service": "xyzdef",
        "workspaceFolder": "/xyzdef",
        "dockerComposeFile": [ "../../docker-compose.yml" ] //docker-compose has a service named xyzdef
}

I got the error:

further up:

The * being placed in the docker compose cli call was getting globbed as a file wildcard, resulting in a random file from the workspace folder root being passed to the --profile parameter
Editing ~/.vscode-remote-containers/dist/dev-containers-cli-0.321.0/dist/spec-node/devContainersSpecCLI.js with the following change fixed the problem.

This command is run without a shell, so no glob expansion should be applied. Is docker-compose a shell script?

Thanks, that's right

This may still be of interest to you since adding the \\ doesn't affect compatibility with the v1 docker-compose syntax and only adds support for cases where v2 docker compose syntax was shimmed in using a script


Strange behaviour

>>> print(parse("(\d{2})+") & parse("(\d{3})+") == parse("(\d{6})+"))
False

I don't see how \d(\d{6})*\d{5} differs from \d{6} (neither I see why it's computed to be a minimal regex).

Yeah, the two are equivalent:
>>> (lego.parse("(\\d{2})+") & lego.parse("(\\d{3})+")).equivalent(lego.parse("(\\d{6})+"))
True

but obviously that's not the minimal regex. In fact computing a minimal regex is insanely hard computationally, I believe. I don't know if there's an effective procedure for doing that.
I'll consider an extra reduction rule which can do that simplification.

@ferno The computationally hard (worst-case exponential) but easy to implement in greenery is Brzozowski's algorithm, where edges of DFA are reversed, resulting NFA is compiled into DFA, and then its edges are reversed once again. But nevertheless there're better alternatives. Hopcroft's algorithm is no harder than sorting, and (luckily) well covered in the "dragon book".
I didn't really expect == to behave differently from equivalent. Thank you!

Finding a minimal DFA using Brzozowski's algorithm is already part of greenery... but sadly a minimal DFA is not the same thing as a minimal regular expression! I don't know of any algorithm to find the latter.

@ferno I forgot that you have to convert DFA back to regex somehow. I see it was totally my misunderstanding.

Yes, I will. Sorry, I got involved in a long series of breaking changes and new features (and bumped the version number) but then I never really finished them, so I never published the new stuff to pip.

Version 3.0 of greenery is now available on PyPI, this is the version which pip install greenery should retrieve for you next time.


Idea: Only treat objects without prototypes as StrMaps

I had this thought the other day, and I'll just note it down here lest I forget. It's just an idea. What do you think?

Sanctuary has always conceptually differentiated between Objects and StrMaps, where an Object is like a struct, can have methods, additional properties on its prototype, etc. and a StrMap is a mapping of keys to values of the same type.
For StrMaps, the prototype of an object is ignored, and only values on the surface of the object are acknowledged. For example:
> S.value ('foo') ({foo: 42})
Just (42)

> S.value ('foo') (Object.create ({foo: 42}))
Nothing

> S.value ('toString') ({foo: 42})
Nothing

For Objects, properties on the prototype are also acknowledged, for example:
> S.prop ('foo') ({foo: 42})
42

> S.prop ('foo') (Object.create ({foo: 42}))
42

> S.prop ('toString') ({foo: 42})
[Function: toString]

This is often one of the toughest concepts to explain to newcomers, I find.

My proposal is that Sanctuary (or sanctuary-def, really) would no longer determine whether an Object is a StrMap based on the types of its values, but instead, very simply, based on whether the object has a prototype. In other words:
const type = Object.getPrototypeOf(x) === null ? 'StrMap' : 'Object'

Users can create Objects without prototypes with Object.assign (Object.create (null), {...props}). Sanctuary could provide a StrMap constructor to make this easier: StrMap ({...props}).
I see the following benefits:

The created objects are safer even when accessed by functions that don't ignore object prototypes.
Sanctuary's built-in StrMap functions no longer have to go out of their way to ignore object prototypes. They now only operate on objects that don't have them.
The distinguishing features between Object and StrMap are no longer purely conceptual, making it easier to teach.
TypeErrors can be more precise about their input types, because the Object and the StrMap types no longer have overlap.
There's a detectable difference now between a "mixed type StrMap" and an "Object", or an "Object whose values happen to be of the same type" and a "StrMap a".

This definitely need a StrMap ({...props}) constructor. It is already cumbersome to work with other libraries and being even stricter will not make it less cumbersome. However, if this makes the code base leaner and improve error messages, I am all for it.
But please make it simple to convert a foreign object to a StrMap.

I like this idea!
How would we describe the type of the data constructor?
StrMap :: ??? -> StrMap a

Would S.StrMap ({x: 'abc', y: 123}) throw an exception when evaluated?

@dotnetCarpenter, are you suggesting that the data constructor's return type should be Either String (StrMap a) or Either Error (StrMap a) rather than StrMap a?

Would S.StrMap ({x: 'abc', y: 123}) throw an exception when evaluated?

It might be fine just to have a return a mixed-type StrMap. It's possible to work with mixed-type StrMaps outside of Sanctuary, or using S.unchecked.

It's just like the Array constructor; We allow users to do ['abc', 123], but then it's checked for consistency when this value is passed into a Sanctuary function.


Message: The process cannot access the file because it is being used by another process.

Hi,
When I try to create more than one connection to the server and try to upload multiple files at once at some point I get this exception but I have no clue why it happens:
Message: An error occurred uploading file(s).  See inner exception for more info.
StackTrace:    at FluentFTP.FtpClient.UploadFilesAsync(IEnumerable`1 localPaths, String remoteDir, FtpRemoteExists existsMode, Boolean createRemoteDir, FtpVerify verifyOptions, FtpError errorHa
ndling, CancellationToken token, IProgress`1 progress)
   at Deploy.DeployUtils.UploadFilesAsync(String server, String username, String password, String serverLocation, IReadOnlyCollection`1 filePaths, CancellationToken token) in C:\Users\Rey\Proje
cts\Deploy\Deploy\DeployUtils.cs:line 64
   at Deploy.DeployUtils.UploadDirectoryAsync(String server, String username, String password, String serverLocation, CancellationToken token) in C:\Users\Rey\Projects\Deploy\Deploy\DeployUtils
.cs:line 41
   at Deploy.Interceptors.SimpleFtpDeployInterceptor.DeployAsync(IDictionary`2 payload, CancellationToken cancellationToken) in C:\Users\Rey\Projects\Deploy\Deploy\Interceptors\SimpleFtpDeployI
nterceptor.cs:line 13
   at Program.<Main>$(String[] args) in C:\Users\Rey\Projects\Deploy\Deploy\Program.cs:line 25
Data: System.Collections.ListDictionaryInternal
-------------------------------------------------------------------
Message: Error while uploading the file to the server. See InnerException for more info.
StackTrace:    at FluentFTP.FtpClient.UploadFileInternalAsync(Stream fileData, String localPath, String remotePath, Boolean createRemoteDir, FtpRemoteExists existsMode, Boolean fileExists, Bool
ean fileExistsKnown, IProgress`1 progress, CancellationToken token, FtpProgress metaProgress)
   at FluentFTP.FtpClient.UploadFileFromFileAsync(String localPath, String remotePath, Boolean createRemoteDir, FtpRemoteExists existsMode, Boolean fileExists, Boolean fileExistsKnown, FtpVerif
y verifyOptions, CancellationToken token, IProgress`1 progress, FtpProgress metaProgress)
   at FluentFTP.FtpClient.UploadFilesAsync(IEnumerable`1 localPaths, String remoteDir, FtpRemoteExists existsMode, Boolean createRemoteDir, FtpVerify verifyOptions, FtpError errorHandling, Canc
ellationToken token, IProgress`1 progress)
Data: System.Collections.ListDictionaryInternal
-------------------------------------------------------------------
Message: The process cannot access the file because it is being used by another process.
StackTrace:    at FluentFTP.FtpClient.OpenPassiveDataStreamAsync(FtpDataConnectionType type, String command, Int64 restart, CancellationToken token)
   at FluentFTP.FtpClient.OpenDataStreamAsync(String command, Int64 restart, CancellationToken token)
   at FluentFTP.FtpClient.OpenWriteAsync(String path, FtpDataType type, Int64 fileLen, CancellationToken token)
   at FluentFTP.FtpClient.UploadFileInternalAsync(Stream fileData, String localPath, String remotePath, Boolean createRemoteDir, FtpRemoteExists existsMode, Boolean fileExists, Boolean fileExis
tsKnown, IProgress`1 progress, CancellationToken token, FtpProgress metaProgress)
Data: System.Collections.ListDictionaryInternal
-------------------------------------------------------------------

Below is my code:
    public static async Task UploadDirectoryAsync(
        string server,
        string username,
        string password,
        string serverLocation,
        CancellationToken token)
    {
        using var ftp = new FtpClient(server, username, password);

        ftp.OnLogEvent += (level, s) =>
        {
            if (level is FtpTraceLevel.Warn or FtpTraceLevel.Error or FtpTraceLevel.Info)
                Console.WriteLine($"Log level: {level}, Message: {s}");
        };

        await ftp.ConnectAsync(token);

        await ftp.DeleteDirectoryAsync(serverLocation, token);

        await ftp.CreateDirectoryAsync(serverLocation, token);

        await ftp.DisconnectAsync(token);

        var tasks = new List<Task>();

        foreach (var fileChunk in Directory.GetFiles(@"C:\test", "*.*", SearchOption.AllDirectories)
                     .OrderBy(x => x)
                     .Chunk(100))
        {
            tasks.Add(UploadFilesAsync(server, username, password, serverLocation, fileChunk, token));
        }

        await Task.WhenAll(tasks);

        Console.WriteLine("All files uploaded successfully!");
    }

    private static async Task UploadFilesAsync(
        string server,
        string username,
        string password,
        string serverLocation,
        IReadOnlyCollection<string> filePaths,
        CancellationToken token)
    {
        using var ftp = new FtpClient(server, username, password);

        ftp.OnLogEvent += (level, s) =>
        {
            if (level is FtpTraceLevel.Warn or FtpTraceLevel.Error or FtpTraceLevel.Info)
                Console.WriteLine($"Log level: {level}, Message: {s}");
        };

        await ftp.ConnectAsync(token);

        await ftp.UploadFilesAsync(
            filePaths,
            serverLocation,
            FtpRemoteExists.NoCheck,
            false,
            FtpVerify.Retry | FtpVerify.Delete,
            FtpError.Throw,
            token);

        await ftp.DisconnectAsync(token);

        Console.WriteLine($"List of files uploaded successfully! {string.Join(", ", filePaths)}");
    }

2 FluentFTP clients cannot access the same file, or you will get this error.

Hi @robinrodricks , how are two clients using the same file ? as you can see I split an array in half, and then process both halfes in two parallel tasks. Maybe I am missing something from your comment!

Message: The process cannot access the file because it is being used by another process.
This is not a FluentFTP error, its a windows / OS level error. So you are trying to access the same file from 2 places is my guess.


Ceph build broken in unstable

Describe the bug
Ceph build fails since staging-next was merged to master in #102739
To Reproduce
Steps to reproduce the behavior:

git checkout nixos-unstable (or 3e7fae8eae5)
nix-build -A ceph .
Alternately, nix-build nixos/tests/ceph-single-node.nix , or nix-shell -p ceph, or anything else that requires the ceph derivation.

Expected behavior
Build should work and tests should pass. :grin:
Screenshots
ivan@tobati:~/nixops/aij/unstable$ git checkout 3e7fae8eae5
HEAD is now at 3e7fae8eae5 Merge pull request #102739 from NixOS/staging-next
ivan@tobati:~/nixops/aij/unstable$ nix-build -A ceph .
these derivations will be built:
  /nix/store/xlw2nd9gj2wn2lli6vlg7j1qhrzqyd67-python3-3.8.6-env.drv
  /nix/store/zgis4kg0hsv0dw0yh1h41srm8qahs5f6-ceph-15.2.5.drv
building '/nix/store/xlw2nd9gj2wn2lli6vlg7j1qhrzqyd67-python3-3.8.6-env.drv'...
collision between `/nix/store/s2hbnqf6ha2ynpkjxhp26m0ds3bimf06-python3.8-jaraco.functools-3.0.1/lib/python3.8/site-packages/jaraco/__pycache__/__init__.cpython-38.pyc' and `/nix/store/vpgacm1mhm9dwmdl9ixbcmhfj6g7dmgi-python3.8-jaraco.collections-3.0.0/lib/python3.8/site-packages/jaraco/__pycache__/__init__.cpython-38.pyc'
builder for '/nix/store/xlw2nd9gj2wn2lli6vlg7j1qhrzqyd67-python3-3.8.6-env.drv' failed with exit code 25
cannot build derivation '/nix/store/zgis4kg0hsv0dw0yh1h41srm8qahs5f6-ceph-15.2.5.drv': 1 dependencies couldn't be built
error: build of '/nix/store/zgis4kg0hsv0dw0yh1h41srm8qahs5f6-ceph-15.2.5.drv' failed

Additional context
I'm not sure why the python package has collisions on jaraco, but I'm guessing it's via transitive python dependencies which I'm not sure how to track.
I've tracked it down to the merge from staging-next in #102739 . Ceph still builds in 3fcfdb9bcc576c3bf8bd8390dcebe4710a086ec2 but not 3e7fae8eae52f9260d2e251d3346f4d36c0b3116 . I have not had much luck in my attempts to use git bisect to find the relevant commit from the staging-next branch.
Notify maintainers
@adevress  @ak @johanot @krav
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.73, NixOS, 21.03.git.a25913605b4 (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.8`
 - channels(root): `"nixos-20.03pre208171.2e8fc97dbfa"`
 - nixpkgs: `/etc/nixos/aij/unstable`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
[ ceph ]
# a list of nixos modules affected by the problem
module:
[ ceph ]

cc @srhb

Thanks for the ping! I'll look into this, probably tomorrow.

Oh, wow, I had forgotten how hacky the py integration is.. Let's say within the week instead :sweat_smile:

bisect appears to indicate 61a04f735af6a3cdbbb6d2d234fd2dfea934fd18 as the cause, probably revealing some bad packaging issues in our tree. Specifically it's reproducible with the expression:
> nix-build -E 'with import ./. { config = {}; overlays = []; }; python3.withPackages (ps: with ps; [ jaraco_functools jaraco_collections])'
this derivation will be built:
  /nix/store/7s07p89snm3r9y9ryiwj2x3vqhjyjwcd-python3-3.8.6-env.drv
building '/nix/store/7s07p89snm3r9y9ryiwj2x3vqhjyjwcd-python3-3.8.6-env.drv'...
collision between `/nix/store/vpgacm1mhm9dwmdl9ixbcmhfj6g7dmgi-python3.8-jaraco.collections-3.0.0/lib/python3.8/site-packages/jaraco/__pycache__/__init__.cpython-38.pyc' and `/nix/store/s2hbnqf6ha2ynpkjxhp26m0ds3bimf06-python3.8-jaraco.functools-3.0.1/lib/python3.8/site-packages/jaraco/__pycache__/__init__.cpython-38.pyc'

I feel like that __pycache__ shouldn't even exist, and that the change in 61a04f735af6a3cdbbb6d2d234fd2dfea934fd18 has just highlighted that issue.

FWIW, I just tried I bisect with
nix-build -E 'with import ./. { config = {}; overlays = []; };
 python3.withPackages(ps: [
    ps.sphinx
    ps.flask
    ps.cython
    ps.setuptools
    ps.virtualenv
    # Libraries needed by the python tools
    ps.Mako
    # TODO ceph-common
    ps.cherrypy
    ps.dateutil
    ps.jsonpatch
    ps.pecan
    ps.prettytable
    ps.pyjwt
    ps.webob
    ps.bcrypt
    # scipy > 1.3 breaks diskprediction_local, leading to mgr hang on startup
    # Bump (and get rid of scipy_1_3) once these issues are resolved:
    # https://tracker.ceph.com/issues/42764 https://tracker.ceph.com/issues/45147
    ps.scipy_1_3
    ps.six
    ps.pyyaml
  ])'

and it also led me to 61a04f735af6a3cdbbb6d2d234fd2dfea934fd18.

bisect appears to indicate 61a04f7 as the cause, probably revealing some bad packaging issues in our tree. Specifically it's reproducible with the expression:
> nix-build -E 'with import ./. { config = {}; overlays = []; }; python3.withPackages (ps: with ps; [ jaraco_functools jaraco_collections])'
this derivation will be built:
  /nix/store/7s07p89snm3r9y9ryiwj2x3vqhjyjwcd-python3-3.8.6-env.drv
building '/nix/store/7s07p89snm3r9y9ryiwj2x3vqhjyjwcd-python3-3.8.6-env.drv'...
collision between `/nix/store/vpgacm1mhm9dwmdl9ixbcmhfj6g7dmgi-python3.8-jaraco.collections-3.0.0/lib/python3.8/site-packages/jaraco/__pycache__/__init__.cpython-38.pyc' and `/nix/store/s2hbnqf6ha2ynpkjxhp26m0ds3bimf06-python3.8-jaraco.functools-3.0.1/lib/python3.8/site-packages/jaraco/__pycache__/__init__.cpython-38.pyc'

I feel like that __pycache__ shouldn't even exist, and that the change in 61a04f7 has just highlighted that issue.

@jonringer shouldn't the pythonNamespacesHook resolve this issue?

I actually ran into this on the python-unstable branch. Unfortunately pythonNamespacesHook is somewhat broken, in that will not expand:
path is set with pycachePath=${constructedPath}/__pycache__/__init__* but, it will never expand to anything when called if [ -f "$pycachePath" ]. So currently, it's only going to remove the __init__.py, but not the related __pycache__ files.
really, I should be doing:
  for pycacheFile in ${constructedPath}/__pycache__/__init__*; do
    echo "removing $pycacheFile"
    rm "$pycacheFille"
  done

instead of
      if [ -f $pycachePath ]; then
             echo "Removing $pycachePath"
             rm "$pycachePath"
      fi

This probably wasn't caught with the azure packages, because almost all of them don't have tests, so they are generating __pycache__

I could do a PR to fix it, but it would have to target staging, as it affects buildPythonPackage

Do we need to worry about spaces in path names?
I'm trying a ceph build with
        for pycachePath in "${constructedPath}"/__pycache__/__init__*; do
            echo "Removing $pycachePath"
            rm "$pycachePath"
        done

to see if that's the only remaining problem. Even only building ceph, it still has a lot of dependencies to rebuild, so I have no idea how long to expect it to take. My earlier attempts to git bisect were somewhat confounded by other build errors, which may or may not have been resolved already.
Actually, upon closer inspection, I suspect that's not going to make a difference:
ivan@tobati:~$ ls /nix/store/{s2hbnqf6ha2ynpkjxhp26m0ds3bimf06-python3.8-jaraco.functools-3.0.1,vpgacm1mhm9dwmdl9ixbcmhfj6g7dmgi-python3.8-jaraco.collections-3.0.0}/lib/python3.8/site-packages/jaraco/__pycache__/__init__*
/nix/store/s2hbnqf6ha2ynpkjxhp26m0ds3bimf06-python3.8-jaraco.functools-3.0.1/lib/python3.8/site-packages/jaraco/__pycache__/__init__.cpython-38.pyc
/nix/store/vpgacm1mhm9dwmdl9ixbcmhfj6g7dmgi-python3.8-jaraco.collections-3.0.0/lib/python3.8/site-packages/jaraco/__pycache__/__init__.cpython-38.pyc

The for loop in pythonNamespacesHook should only make a difference if that glob expands to more than one file, right?
FWIW, there are other python packages that do seem affected by that bug. This finds quite a few paths for me:
find /nix/store/ -name __pycache__ | while read d; do echo $d/__init__* | grep -q ' ' && echo $d/__init__*; done

Yea, that's what I ended up doing for https://github.com/NixOS/nixpkgs/pull/104225 , is just using find

staging is fixed:
[10:35:01] jon@nixos ~/projects/nixpkgs (fix-jaraco-pkgs)
$ nix-build -A ceph
/nix/store/8r5a0i155mjzsdhk6wgzxhps40kvncqy-ceph-15.2.5
[10:35:03] jon@nixos ~/projects/nixpkgs (fix-jaraco-pkgs)

should we close?

Looks good to me! Thanks! I'll bump the ceph version once staging lands in master.