Skip to content

chore: release v0.20.0 #2181

New issue

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

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

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

hugrbot
Copy link
Collaborator

@hugrbot hugrbot commented May 9, 2025

🤖 New release

  • hugr-model: 0.19.1 -> 0.20.0 (⚠ API breaking changes)
  • hugr-core: 0.15.4 -> 0.20.0 (⚠ API breaking changes)
  • hugr-llvm: 0.15.4 -> 0.20.0 (⚠ API breaking changes)
  • hugr-passes: 0.15.4 -> 0.20.0 (⚠ API breaking changes)
  • hugr: 0.15.4 -> 0.20.0 (⚠ API breaking changes)
  • hugr-cli: 0.15.4 -> 0.20.0 (⚠ API breaking changes)

hugr-model breaking changes

--- failure enum_marked_non_exhaustive: enum marked #[non_exhaustive] ---

Description:
A public enum has been marked #[non_exhaustive]. Pattern-matching on it outside of its crate must now include a wildcard pattern like `_`, or it will fail to compile.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#attr-adding-non-exhaustive
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/enum_marked_non_exhaustive.ron

Failed in:
  enum ResolveError in /tmp/.tmprfYK4Q/hugr/hugr-model/src/v0/ast/resolve.rs:366
  enum ModelError in /tmp/.tmprfYK4Q/hugr/hugr-model/src/v0/table/mod.rs:460

hugr-core breaking changes

--- failure constructible_struct_adds_field: externally-constructible struct adds field ---

Description:
A pub struct constructible with a struct literal has a new pub field. Existing struct literals must be updated to include the new field.
        ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/constructible_struct_adds_field.ron

Failed in:
  field InsertionResult.inserted_entrypoint in /tmp/.tmprfYK4Q/hugr/hugr-core/src/hugr/hugrmut.rs:259

--- failure enum_marked_non_exhaustive: enum marked #[non_exhaustive] ---

Description:
A public enum has been marked #[non_exhaustive]. Pattern-matching on it outside of its crate must now include a wildcard pattern like `_`, or it will fail to compile.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#attr-adding-non-exhaustive
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/enum_marked_non_exhaustive.ron

Failed in:
  enum SignatureError in /tmp/.tmprfYK4Q/hugr/hugr-core/src/extension.rs:381
  enum ImportError in /tmp/.tmprfYK4Q/hugr/hugr-core/src/import.rs:39
  enum OrderHintError in /tmp/.tmprfYK4Q/hugr/hugr-core/src/import.rs:80

--- failure enum_missing: pub enum removed or renamed ---

Description:
A publicly-visible enum cannot be imported by its prior path. A `pub use` may have been removed, or the enum itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/enum_missing.ron

Failed in:
  enum hugr_core::hugr::rewrite::consts::RemoveError, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/consts.rs:18
  enum hugr_core::hugr::rewrite::outline_cfg::OutlineCfgError, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/outline_cfg.rs:221
  enum hugr_core::hugr::rewrite::replace::WhichHugr, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/replace.rs:433
  enum hugr_core::hugr::rewrite::BoundaryPort, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/port_types.rs:14
  enum hugr_core::hugr::LoadHugrError, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr.rs:388
  enum hugr_core::hugr::rewrite::inline_call::InlineCallError, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/inline_call.rs:17
  enum hugr_core::hugr::rewrite::replace::NewEdgeKind, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/replace.rs:31
  enum hugr_core::hugr::rewrite::replace::ReplaceError, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/replace.rs:397
  enum hugr_core::package::PackageError, previously in file /tmp/.tmp8AcxAC/hugr-core/src/package.rs:386
  enum hugr_core::package::PackageEncodingError, previously in file /tmp/.tmp8AcxAC/hugr-core/src/package.rs:406
  enum hugr_core::hugr::rewrite::simple_replace::SimpleReplacementError, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/simple_replace.rs:351
  enum hugr_core::hugr::rewrite::SimpleReplacementError, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/simple_replace.rs:351
  enum hugr_core::hugr::rewrite::insert_identity::IdentityInsertionError, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/insert_identity.rs:38
  enum hugr_core::std_extensions::collections::array::ArrayOpDef, previously in file /tmp/.tmp8AcxAC/hugr-core/src/std_extensions/collections/array/array_op.rs:27
  enum hugr_core::hugr::rewrite::inline_dfg::InlineDFGError, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/inline_dfg.rs:15

--- failure enum_no_repr_variant_discriminant_changed: enum variant had its discriminant change value ---

Description:
The enum's variant had its discriminant value change. This breaks downstream code that used its value via a numeric cast like `as isize`.
        ref: https://doc.rust-lang.org/reference/items/enumerations.html#assigning-discriminant-values
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/enum_no_repr_variant_discriminant_changed.ron

Failed in:
  variant EnvelopeError::PackageEncoding 9 -> 8 in /tmp/.tmprfYK4Q/hugr/hugr-core/src/envelope.rs:203
  variant EnvelopeError::ModelImport 10 -> 9 in /tmp/.tmprfYK4Q/hugr/hugr-core/src/envelope.rs:208
  variant EnvelopeError::ModelRead 11 -> 10 in /tmp/.tmprfYK4Q/hugr/hugr-core/src/envelope.rs:213
  variant EnvelopeError::ModelWrite 12 -> 11 in /tmp/.tmprfYK4Q/hugr/hugr-core/src/envelope.rs:218
  variant TypeArg::Variable 5 -> 4 in /tmp/.tmprfYK4Q/hugr/hugr-core/src/types/type_param.rs:185
  variant TypeArg::Variable 5 -> 4 in /tmp/.tmprfYK4Q/hugr/hugr-core/src/types/type_param.rs:185

--- failure enum_variant_missing: pub enum variant removed or renamed ---

Description:
A publicly-visible enum has at least one variant that is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/enum_variant_missing.ron

Failed in:
  variant EnvelopeError::MultipleHugrs, previously in file /tmp/.tmp8AcxAC/hugr-core/src/envelope.rs:175
  variant EnvelopeError::Package, previously in file /tmp/.tmp8AcxAC/hugr-core/src/envelope.rs:190
  variant TypeParam::Extensions, previously in file /tmp/.tmp8AcxAC/hugr-core/src/types/type_param.rs:98
  variant TypeArg::Extensions, previously in file /tmp/.tmp8AcxAC/hugr-core/src/types/type_param.rs:192
  variant TypeArg::Extensions, previously in file /tmp/.tmp8AcxAC/hugr-core/src/types/type_param.rs:192
  variant ExtensionBuildError::ValueExists, previously in file /tmp/.tmp8AcxAC/hugr-core/src/extension.rs:788
  variant ValidationError::RootWithEdges, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/validate.rs:652
  variant ValidationError::RootWithEdges, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/validate.rs:652

--- failure feature_missing: package feature removed or renamed ---

Description:
A feature has been removed from this package's Cargo.toml. This will break downstream crates which enable that feature.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#cargo-feature-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/feature_missing.ron

Failed in:
  feature hugr-model in the package's Cargo.toml
  feature model_unstable in the package's Cargo.toml
  feature extension_inference in the package's Cargo.toml

--- failure function_parameter_count_changed: pub fn parameter count changed ---

Description:
A publicly-visible function now takes a different number of parameters.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#fn-change-arity
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/function_parameter_count_changed.ron

Failed in:
  hugr_core::export::export_package now takes 3 parameters instead of 2, in /tmp/.tmprfYK4Q/hugr/hugr-core/src/export.rs:33

--- failure inherent_method_missing: pub method removed or renamed ---

Description:
A publicly-visible method or associated fn is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/inherent_method_missing.ron

Failed in:
  RegisteredOp::name, previously in file /tmp/.tmp8AcxAC/hugr-core/src/extension/simple_op.rs:255
  FuncTypeBase::with_extension_delta, previously in file /tmp/.tmp8AcxAC/hugr-core/src/types/signature.rs:59
  FuncTypeBase::with_prelude, previously in file /tmp/.tmp8AcxAC/hugr-core/src/types/signature.rs:65
  CFGBuilder::block_builder_exts, previously in file /tmp/.tmp8AcxAC/hugr-core/src/builder/cfg.rs:216
  CFGBuilder::entry_builder_exts, previously in file /tmp/.tmp8AcxAC/hugr-core/src/builder/cfg.rs:303
  CFGBuilder::simple_entry_builder_exts, previously in file /tmp/.tmp8AcxAC/hugr-core/src/builder/cfg.rs:343
  OpaqueValue::extension_reqs, previously in file /tmp/.tmp8AcxAC/hugr-core/src/ops/constant.rs:301
  Hugr::validate_no_extensions, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/validate.rs:52
  Hugr::validate_extensions, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/validate.rs:58
  Hugr::load_json, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr.rs:99
  Hugr::infer_extensions, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr.rs:135
  Hugr::validate_no_extensions, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/validate.rs:52
  Hugr::validate_extensions, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/validate.rs:58
  Hugr::load_json, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr.rs:99
  Hugr::infer_extensions, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr.rs:135
  Package::from_hugrs, previously in file /tmp/.tmp8AcxAC/hugr-core/src/package.rs:68
  Package::from_json_reader, previously in file /tmp/.tmp8AcxAC/hugr-core/src/package.rs:183
  Package::from_json, previously in file /tmp/.tmp8AcxAC/hugr-core/src/package.rs:245
  Package::from_json_file, previously in file /tmp/.tmp8AcxAC/hugr-core/src/package.rs:261
  Package::to_json_writer, previously in file /tmp/.tmp8AcxAC/hugr-core/src/package.rs:277
  Package::to_json, previously in file /tmp/.tmp8AcxAC/hugr-core/src/package.rs:290
  Package::to_json_file, previously in file /tmp/.tmp8AcxAC/hugr-core/src/package.rs:301
  OpaqueOp::op_name, previously in file /tmp/.tmp8AcxAC/hugr-core/src/ops/custom.rs:260
  OpaqueOp::op_name, previously in file /tmp/.tmp8AcxAC/hugr-core/src/ops/custom.rs:260
  Extension::add_requirements, previously in file /tmp/.tmp8AcxAC/hugr-core/src/extension.rs:667
  Extension::get_value, previously in file /tmp/.tmp8AcxAC/hugr-core/src/extension.rs:683
  Extension::add_value, previously in file /tmp/.tmp8AcxAC/hugr-core/src/extension.rs:708
  Extension::add_requirements, previously in file /tmp/.tmp8AcxAC/hugr-core/src/extension.rs:667
  Extension::get_value, previously in file /tmp/.tmp8AcxAC/hugr-core/src/extension.rs:683
  Extension::add_value, previously in file /tmp/.tmp8AcxAC/hugr-core/src/extension.rs:708
  ExtensionSet::insert_type_var, previously in file /tmp/.tmp8AcxAC/hugr-core/src/extension.rs:818
  ExtensionSet::type_var, previously in file /tmp/.tmp8AcxAC/hugr-core/src/extension.rs:849
  DFGWrapper::new_exts, previously in file /tmp/.tmp8AcxAC/hugr-core/src/builder/cfg.rs:427
  DFGWrapper::new_exts, previously in file /tmp/.tmp8AcxAC/hugr-core/src/builder/tail_loop.rs:87
  ConditionalBuilder::new_exts, previously in file /tmp/.tmp8AcxAC/hugr-core/src/builder/conditional.rs:167
  Value::extension_reqs, previously in file /tmp/.tmp8AcxAC/hugr-core/src/ops/constant.rs:527
  Value::extension_reqs, previously in file /tmp/.tmp8AcxAC/hugr-core/src/ops/constant.rs:527

--- failure method_parameter_count_changed: pub method parameter count changed ---

Description:
A publicly-visible method now takes a different number of parameters.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#fn-change-arity
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/method_parameter_count_changed.ron

Failed in:
  hugr_core::ops::constant::CustomSerialized::new now takes 2 parameters instead of 3, in /tmp/.tmprfYK4Q/hugr/hugr-core/src/ops/constant/custom.rs:199
  hugr_core::hugr::Hugr::new now takes 0 parameters instead of 1, in /tmp/.tmprfYK4Q/hugr/hugr-core/src/hugr.rs:96
  hugr_core::Hugr::new now takes 0 parameters instead of 1, in /tmp/.tmprfYK4Q/hugr/hugr-core/src/hugr.rs:96
  hugr_core::hugr::views::sibling_subgraph::TopoConvexChecker::new now takes 2 parameters instead of 1, in /tmp/.tmprfYK4Q/hugr/hugr-core/src/hugr/views/sibling_subgraph.rs:582

--- failure method_requires_different_generic_type_params: method now requires a different number of generic type parameters ---

Description:
A method now requires a different number of generic type parameters than it used to. Uses of this method that supplied the previous number of generic types will be broken.
        ref: https://doc.rust-lang.org/reference/items/generics.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/method_requires_different_generic_type_params.ron

Failed in:
  hugr_core::hugr::SimpleReplacement::map_host_output takes 1 generic types instead of 0, in /tmp/.tmprfYK4Q/hugr/hugr-core/src/hugr/patch/simple_replace.rs:341
  hugr_core::SimpleReplacement::map_host_output takes 1 generic types instead of 0, in /tmp/.tmprfYK4Q/hugr/hugr-core/src/hugr/patch/simple_replace.rs:341
  hugr_core::hugr::views::sibling_subgraph::SiblingSubgraph::try_new_with_checker takes 1 generic types instead of 0, in /tmp/.tmprfYK4Q/hugr/hugr-core/src/hugr/views/sibling_subgraph.rs:177
  hugr_core::hugr::views::SiblingSubgraph::try_new_with_checker takes 1 generic types instead of 0, in /tmp/.tmprfYK4Q/hugr/hugr-core/src/hugr/views/sibling_subgraph.rs:177

--- failure module_missing: pub module removed or renamed ---

Description:
A publicly-visible module cannot be imported by its prior path. A `pub use` may have been removed, or the module may have been renamed, removed, or made non-public.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/module_missing.ron

Failed in:
  mod hugr_core::hugr::rewrite::insert_identity, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/insert_identity.rs:1
  mod hugr_core::hugr::rewrite, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite.rs:1
  mod hugr_core::hugr::rewrite::replace, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/replace.rs:1
  mod hugr_core::hugr::rewrite::inline_dfg, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/inline_dfg.rs:1
  mod hugr_core::hugr::rewrite::outline_cfg, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/outline_cfg.rs:1
  mod hugr_core::hugr::rewrite::consts, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/consts.rs:1
  mod hugr_core::hugr::views::sibling, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views/sibling.rs:1
  mod hugr_core::hugr::rewrite::inline_call, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/inline_call.rs:1
  mod hugr_core::hugr::rewrite::simple_replace, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/simple_replace.rs:1
  mod hugr_core::hugr::views::descendants, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views/descendants.rs:1

--- failure pub_module_level_const_missing: pub module-level const is missing ---

Description:
A public const is missing or renamed
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/pub_module_level_const_missing.ron

Failed in:
  TO_BE_INFERRED in file /tmp/.tmp8AcxAC/hugr-core/src/extension.rs:804

--- failure struct_missing: pub struct removed or renamed ---

Description:
A publicly-visible struct cannot be imported by its prior path. A `pub use` may have been removed, or the struct itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/struct_missing.ron

Failed in:
  struct hugr_core::std_extensions::collections::array::ArrayOpDefIter, previously in file /tmp/.tmp8AcxAC/hugr-core/src/std_extensions/collections/array/array_op.rs:24
  struct hugr_core::hugr::rewrite::outline_cfg::OutlineCfg, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/outline_cfg.rs:23
  struct hugr_core::hugr::rewrite::replace::NewEdgeSpec, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/replace.rs:18
  struct hugr_core::hugr::rewrite::inline_call::InlineCall, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/inline_call.rs:12
  struct hugr_core::std_extensions::collections::array::ArrayRepeat, previously in file /tmp/.tmp8AcxAC/hugr-core/src/std_extensions/collections/array/array_repeat.rs:107
  struct hugr_core::hugr::rewrite::replace::Replacement, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/replace.rs:57
  struct hugr_core::hugr::rewrite::inline_dfg::InlineDFG, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/inline_dfg.rs:10
  struct hugr_core::std_extensions::collections::array::ArrayRepeatDef, previously in file /tmp/.tmp8AcxAC/hugr-core/src/std_extensions/collections/array/array_repeat.rs:22
  struct hugr_core::hugr::rewrite::insert_identity::IdentityInsertion, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/insert_identity.rs:18
  struct hugr_core::hugr::rewrite::consts::RemoveConst, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/consts.rs:73
  struct hugr_core::extension::ExtensionValue, previously in file /tmp/.tmp8AcxAC/hugr-core/src/extension.rs:502
  struct hugr_core::std_extensions::collections::array::ArrayOp, previously in file /tmp/.tmp8AcxAC/hugr-core/src/std_extensions/collections/array/array_op.rs:236
  struct hugr_core::hugr::rewrite::simple_replace::SimpleReplacement, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/simple_replace.rs:26
  struct hugr_core::hugr::rewrite::SimpleReplacement, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/simple_replace.rs:26
  struct hugr_core::std_extensions::collections::array::ArrayScanDef, previously in file /tmp/.tmp8AcxAC/hugr-core/src/std_extensions/collections/array/array_scan.rs:24
  struct hugr_core::std_extensions::collections::array::ArrayValue, previously in file /tmp/.tmp8AcxAC/hugr-core/src/std_extensions/collections/array.rs:41
  struct hugr_core::hugr::views::sibling::SiblingMut, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views/sibling.rs:236
  struct hugr_core::hugr::views::sibling::SiblingGraph, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views/sibling.rs:32
  struct hugr_core::hugr::views::SiblingGraph, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views/sibling.rs:32
  struct hugr_core::hugr::rewrite::Transactional, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite.rs:53
  struct hugr_core::hugr::rewrite::consts::RemoveLoadConstant, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/consts.rs:13
  struct hugr_core::std_extensions::collections::array::ArrayScan, previously in file /tmp/.tmp8AcxAC/hugr-core/src/std_extensions/collections/array/array_scan.rs:139
  struct hugr_core::hugr::views::descendants::DescendantsGraph, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views/descendants.rs:28
  struct hugr_core::hugr::views::DescendantsGraph, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views/descendants.rs:28
  struct hugr_core::hugr::rewrite::HostPort, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/port_types.rs:23
  struct hugr_core::hugr::rewrite::ReplacementPort, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite/port_types.rs:27

--- failure struct_pub_field_missing: pub struct's pub field removed or renamed ---

Description:
A publicly-visible struct has at least one public field that is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/struct_pub_field_missing.ron

Failed in:
  field extension_delta of struct DataflowBlock, previously in file /tmp/.tmp8AcxAC/hugr-core/src/ops/controlflow.rs:177
  field extension_delta of struct DataflowBlock, previously in file /tmp/.tmp8AcxAC/hugr-core/src/ops/controlflow.rs:177
  field runtime_reqs of struct FuncTypeBase, previously in file /tmp/.tmp8AcxAC/hugr-core/src/types/signature.rs:41
  field new_root of struct InsertionResult, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/hugrmut.rs:314
  field extension_delta of struct TailLoop, previously in file /tmp/.tmp8AcxAC/hugr-core/src/ops/controlflow.rs:24
  field extension_delta of struct TailLoop, previously in file /tmp/.tmp8AcxAC/hugr-core/src/ops/controlflow.rs:24
  field runtime_reqs of struct Extension, previously in file /tmp/.tmp8AcxAC/hugr-core/src/extension.rs:582
  field runtime_reqs of struct Extension, previously in file /tmp/.tmp8AcxAC/hugr-core/src/extension.rs:582
  field extension_delta of struct Conditional, previously in file /tmp/.tmp8AcxAC/hugr-core/src/ops/controlflow.rs:101
  field extension_delta of struct Conditional, previously in file /tmp/.tmp8AcxAC/hugr-core/src/ops/controlflow.rs:101

--- failure trait_added_supertrait: non-sealed trait added new supertraits ---

Description:
A non-sealed trait added one or more supertraits, which breaks downstream implementations of the trait
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#generic-bounds-tighten
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/trait_added_supertrait.ron

Failed in:
  trait hugr_core::std_extensions::collections::array::ArrayOpBuilder gained GenericArrayOpBuilder in file /tmp/.tmprfYK4Q/hugr/hugr-core/src/std_extensions/collections/array.rs:174

--- failure trait_associated_type_added: non-sealed public trait added associated type without default value ---

Description:
A non-sealed trait has gained an associated type without a default value, which breaks downstream implementations of the trait
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-new-item-no-default
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/trait_associated_type_added.ron

Failed in:
  trait associated type hugr_core::hugr::internal::HugrInternals::RegionPortgraph in file /tmp/.tmprfYK4Q/hugr/hugr-core/src/hugr/internal.rs:23
  trait associated type hugr_core::hugr::internal::HugrInternals::RegionPortgraphNodes in file /tmp/.tmprfYK4Q/hugr/hugr-core/src/hugr/internal.rs:32

--- failure trait_method_added: pub trait method added ---

Description:
A non-sealed public trait added a new method without a default implementation, which breaks downstream implementations of the trait
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-new-item-no-default
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/trait_method_added.ron

Failed in:
  trait method hugr_core::extension::simple_op::MakeExtensionOp::op_id in file /tmp/.tmprfYK4Q/hugr/hugr-core/src/extension/simple_op.rs:157
  trait method hugr_core::hugr::internal::HugrInternals::region_portgraph in file /tmp/.tmprfYK4Q/hugr/hugr-core/src/hugr/internal.rs:43
  trait method hugr_core::hugr::internal::HugrInternals::node_metadata_map in file /tmp/.tmprfYK4Q/hugr/hugr-core/src/hugr/internal.rs:56

--- failure trait_method_missing: pub trait method removed or renamed ---

Description:
A trait method is no longer callable, and may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#major-any-change-to-trait-item-signatures
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/trait_method_missing.ron

Failed in:
  method extension_reqs of trait CustomConst, previously in file /tmp/.tmp8AcxAC/hugr-core/src/ops/constant/custom.rs:69
  method hugr_mut of trait HugrMutInternals, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/internal.rs:211
  method root of trait HugrView, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:45
  method root_type of trait HugrView, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:51
  method valid_node of trait HugrView, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:63
  method valid_non_root of trait HugrView, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:71
  method get_node_metadata of trait HugrView, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:106
  method node_count of trait HugrView, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:117
  method edge_count of trait HugrView, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:120
  method validate_no_extensions of trait HugrView, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:477
  method root of trait HugrView, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:45
  method root_type of trait HugrView, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:51
  method valid_node of trait HugrView, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:63
  method valid_non_root of trait HugrView, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:71
  method get_node_metadata of trait HugrView, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:106
  method node_count of trait HugrView, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:117
  method edge_count of trait HugrView, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:120
  method validate_no_extensions of trait HugrView, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:477
  method root of trait HugrView, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:45
  method root_type of trait HugrView, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:51
  method valid_node of trait HugrView, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:63
  method valid_non_root of trait HugrView, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:71
  method get_node_metadata of trait HugrView, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:106
  method node_count of trait HugrView, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:117
  method edge_count of trait HugrView, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:120
  method validate_no_extensions of trait HugrView, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:477
  method take_node_metadata of trait HugrMut, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/hugrmut.rs:69
  method overwrite_node_metadata of trait HugrMut, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/hugrmut.rs:81
  method apply_rewrite of trait HugrMut, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/hugrmut.rs:269
  method extensions_mut of trait HugrMut, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/hugrmut.rs:303
  method extension_delta of trait OpTrait, previously in file /tmp/.tmp8AcxAC/hugr-core/src/ops.rs:389
  method portgraph of trait HugrInternals, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/internal.rs:33
  method hierarchy of trait HugrInternals, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/internal.rs:38
  method base_hugr of trait HugrInternals, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/internal.rs:43
  method root_node of trait HugrInternals, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/internal.rs:46
  method get_pg_index of trait HugrInternals, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/internal.rs:49
  method get_node of trait HugrInternals, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/internal.rs:52
  method cfg_builder_exts of trait Dataflow, previously in file /tmp/.tmp8AcxAC/hugr-core/src/builder/build_traits.rs:359
  method tail_loop_builder_exts of trait Dataflow, previously in file /tmp/.tmp8AcxAC/hugr-core/src/builder/build_traits.rs:479
  method conditional_builder_exts of trait Dataflow, previously in file /tmp/.tmp8AcxAC/hugr-core/src/builder/build_traits.rs:539

--- failure trait_method_requires_different_generic_type_params: trait method now requires a different number of generic type parameters ---

Description:
A trait method now requires a different number of generic type parameters than it used to. Calls or implementations of this trait method using the previous number of generic types will be broken.
        ref: https://doc.rust-lang.org/reference/items/generics.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/trait_method_requires_different_generic_type_params.ron

Failed in:
  Container::add_hugr_view (0 -> 1 generic types) in /tmp/.tmprfYK4Q/hugr/hugr-core/src/builder/build_traits.rs:122
  HugrMut::insert_from_view (0 -> 1 generic types) in /tmp/.tmprfYK4Q/hugr/hugr-core/src/hugr/hugrmut.rs:193
  HugrMut::insert_subgraph (0 -> 1 generic types) in /tmp/.tmprfYK4Q/hugr/hugr-core/src/hugr/hugrmut.rs:213
  ValidateOp::validity_flags (0 -> 1 generic types) in /tmp/.tmprfYK4Q/hugr/hugr-core/src/ops.rs:493
  ValidateOp::validate_op_children (0 -> 1 generic types) in /tmp/.tmprfYK4Q/hugr/hugr-core/src/ops.rs:499

--- failure trait_missing: pub trait removed or renamed ---

Description:
A publicly-visible trait cannot be imported by its prior path. A `pub use` may have been removed, or the trait itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/trait_missing.ron

Failed in:
  trait hugr_core::hugr::rewrite::Rewrite, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite.rs:19
  trait hugr_core::hugr::Rewrite, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/rewrite.rs:19
  trait hugr_core::hugr::rewrite::simple_replace::HugrMutInternals, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/internal.rs:209
  trait hugr_core::hugr::views::HierarchyView, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:492
  trait hugr_core::std_extensions::collections::array::op_builder::ArrayOpBuilder, previously in file /tmp/.tmp8AcxAC/hugr-core/src/std_extensions/collections/array/op_builder.rs:13
  trait hugr_core::hugr::views::ExtractHugr, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:505
  trait hugr_core::ops::NamedOp, previously in file /tmp/.tmp8AcxAC/hugr-core/src/ops.rs:357
  trait hugr_core::hugr::views::RootTagged, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:483
  trait hugr_core::hugr::RootTagged, previously in file /tmp/.tmp8AcxAC/hugr-core/src/hugr/views.rs:483

--- failure trait_newly_sealed: pub trait became sealed ---

Description:
A publicly-visible trait became sealed, so downstream crates are no longer able to implement it
        ref: https://rust-lang.github.io/api-guidelines/future-proofing.html#sealed-traits-protect-against-downstream-implementations-c-sealed
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/trait_newly_sealed.ron

Failed in:
  trait hugr_core::extension::simple_op::MakeExtensionOp in file /tmp/.tmprfYK4Q/hugr/hugr-core/src/extension/simple_op.rs:151
  trait hugr_core::extension::simple_op::HasDef in file /tmp/.tmprfYK4Q/hugr/hugr-core/src/extension/simple_op.rs:136

--- failure trait_removed_associated_type: trait's associated type was removed ---

Description:
A public trait's associated type was removed or renamed.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/trait_removed_associated_type.ron

Failed in:
  associated type HugrInternals::Portgraph, previously at /tmp/.tmp8AcxAC/hugr-core/src/hugr/internal.rs:25

--- failure trait_removed_supertrait: supertrait removed or renamed ---

Description:
A supertrait was removed from a trait. Users of the trait can no longer assume it can also be used like its supertrait.
        ref: https://doc.rust-lang.org/reference/items/traits.html#supertraits
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/trait_removed_supertrait.ron

Failed in:
  supertrait hugr_core::hugr::views::RootTagged of trait HugrMutInternals in file /tmp/.tmprfYK4Q/hugr/hugr-core/src/hugr/internal.rs:131
  supertrait hugr_core::hugr::RootTagged of trait HugrMutInternals in file /tmp/.tmprfYK4Q/hugr/hugr-core/src/hugr/internal.rs:131
  supertrait hugr_core::builder::Dataflow of trait ArrayOpBuilder in file /tmp/.tmprfYK4Q/hugr/hugr-core/src/std_extensions/collections/array.rs:174
  supertrait hugr_core::hugr::rewrite::simple_replace::HugrMutInternals of trait HugrMut in file /tmp/.tmprfYK4Q/hugr/hugr-core/src/hugr/hugrmut.rs:23
  supertrait hugr_core::ops::NamedOp of trait MakeExtensionOp in file /tmp/.tmprfYK4Q/hugr/hugr-core/src/extension/simple_op.rs:151
  supertrait hugr_core::ops::NamedOp of trait MakeOpDef in file /tmp/.tmprfYK4Q/hugr/hugr-core/src/extension/simple_op.rs:35

--- failure trait_requires_more_generic_type_params: trait now requires more generic type parameters ---

Description:
A trait now requires more generic type parameters than it used to. Uses of this trait that supplied the previously-required number of generic types will be broken. To fix this, consider supplying default values for newly-added generic types.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-new-parameter-no-default
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/trait_requires_more_generic_type_params.ron

Failed in:
  trait OpaqueOpError (0 -> 1 required generic types) in /tmp/.tmprfYK4Q/hugr/hugr-core/src/ops/custom.rs:319
  trait ChildrenValidationError (0 -> 1 required generic types) in /tmp/.tmprfYK4Q/hugr/hugr-core/src/ops/validate.rs:172
  trait InterGraphEdgeError (0 -> 1 required generic types) in /tmp/.tmprfYK4Q/hugr/hugr-core/src/hugr/validate.rs:723
  trait EdgeValidationError (0 -> 1 required generic types) in /tmp/.tmprfYK4Q/hugr/hugr-core/src/ops/validate.rs:222
  trait ChildrenEdgeData (0 -> 1 required generic types) in /tmp/.tmprfYK4Q/hugr/hugr-core/src/ops/validate.rs:245
  trait ValidationError (0 -> 1 required generic types) in /tmp/.tmprfYK4Q/hugr/hugr-core/src/hugr/validate.rs:592
  trait ValidationError (0 -> 1 required generic types) in /tmp/.tmprfYK4Q/hugr/hugr-core/src/hugr/validate.rs:592

--- failure type_requires_more_generic_type_params: type now requires more generic type parameters ---

Description:
A type now requires more generic type parameters than it used to. Uses of this type that supplied the previously-required number of generic types will be broken. To fix this, consider supplying default values for newly-added generic types.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-new-parameter-no-default
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/type_requires_more_generic_type_params.ron

Failed in:
  Enum OpaqueOpError (0 -> 1 required generic types) in /tmp/.tmprfYK4Q/hugr/hugr-core/src/ops/custom.rs:319
  Enum ChildrenValidationError (0 -> 1 required generic types) in /tmp/.tmprfYK4Q/hugr/hugr-core/src/ops/validate.rs:172
  Enum InterGraphEdgeError (0 -> 1 required generic types) in /tmp/.tmprfYK4Q/hugr/hugr-core/src/hugr/validate.rs:723
  Enum EdgeValidationError (0 -> 1 required generic types) in /tmp/.tmprfYK4Q/hugr/hugr-core/src/ops/validate.rs:222
  Struct ChildrenEdgeData (0 -> 1 required generic types) in /tmp/.tmprfYK4Q/hugr/hugr-core/src/ops/validate.rs:245
  Enum ValidationError (0 -> 1 required generic types) in /tmp/.tmprfYK4Q/hugr/hugr-core/src/hugr/validate.rs:592
  Enum ValidationError (0 -> 1 required generic types) in /tmp/.tmprfYK4Q/hugr/hugr-core/src/hugr/validate.rs:592

hugr-llvm breaking changes

--- failure function_missing: pub fn removed or renamed ---

Description:
A publicly-visible function cannot be imported by its prior path. A `pub use` may have been removed, or the function itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/function_missing.ron

Failed in:
  function hugr_llvm::extension::int::add_int_extensions, previously in file /tmp/.tmp8AcxAC/hugr-llvm/src/extension/int.rs:1116

--- failure function_parameter_count_changed: pub fn parameter count changed ---

Description:
A publicly-visible function now takes a different number of parameters.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#fn-change-arity
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/function_parameter_count_changed.ron

Failed in:
  hugr_llvm::extension::collections::array::emit_repeat_op now takes 4 parameters instead of 3, in /tmp/.tmprfYK4Q/hugr/hugr-llvm/src/extension/collections/array.rs:803
  hugr_llvm::extension::collections::array::emit_scan_op now takes 6 parameters instead of 5, in /tmp/.tmprfYK4Q/hugr/hugr-llvm/src/extension/collections/array.rs:831

--- failure inherent_method_missing: pub method removed or renamed ---

Description:
A publicly-visible method or associated fn is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/inherent_method_missing.ron

Failed in:
  CodegenExtsBuilder::add_int_extensions, previously in file /tmp/.tmp8AcxAC/hugr-llvm/src/extension/int.rs:1132
  CodegenExtsBuilder::add_int_extensions, previously in file /tmp/.tmp8AcxAC/hugr-llvm/src/extension/int.rs:1132
  FatNode::try_new_hierarchy_view, previously in file /tmp/.tmp8AcxAC/hugr-llvm/src/utils/fat.rs:192

--- failure module_missing: pub module removed or renamed ---

Description:
A publicly-visible module cannot be imported by its prior path. A `pub use` may have been removed, or the module may have been renamed, removed, or made non-public.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/module_missing.ron

Failed in:
  mod hugr_llvm::utils::array_op_builder, previously in file /tmp/.tmp8AcxAC/hugr-llvm/src/utils/array_op_builder.rs:1

hugr-passes breaking changes

--- failure auto_trait_impl_removed: auto trait no longer implemented ---

Description:
A public type has stopped implementing one or more auto traits. This can break downstream code that depends on the traits being implemented.
        ref: https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/auto_trait_impl_removed.ron

Failed in:
  type PartialSum is no longer UnwindSafe, in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/dataflow/partial_value.rs:67
  type PartialSum is no longer RefUnwindSafe, in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/dataflow/partial_value.rs:67
  type Machine is no longer UnwindSafe, in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/dataflow/datalog.rs:31
  type Machine is no longer RefUnwindSafe, in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/dataflow/datalog.rs:31
  type PartialValue is no longer UnwindSafe, in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/dataflow/partial_value.rs:314
  type PartialValue is no longer RefUnwindSafe, in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/dataflow/partial_value.rs:314
  type AnalysisResults is no longer UnwindSafe, in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/dataflow/results.rs:11
  type AnalysisResults is no longer RefUnwindSafe, in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/dataflow/results.rs:11

--- failure derive_trait_impl_removed: built-in derived trait no longer implemented ---

Description:
A public type has stopped deriving one or more traits. This can break downstream code that depends on those types implementing those traits.
        ref: https://doc.rust-lang.org/reference/attributes/derive.html#derive
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/derive_trait_impl_removed.ron

Failed in:
  type LinearizeError no longer derives Eq, in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/replace_types/linearize.rs:141

--- failure enum_marked_non_exhaustive: enum marked #[non_exhaustive] ---

Description:
A public enum has been marked #[non_exhaustive]. Pattern-matching on it outside of its crate must now include a wildcard pattern like `_`, or it will fail to compile.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#attr-adding-non-exhaustive
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/enum_marked_non_exhaustive.ron

Failed in:
  enum NonLocalEdgesError in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/non_local.rs:27
  enum LowerError in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/lower.rs:39
  enum LinearizeError in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/replace_types/linearize.rs:141

--- failure enum_missing: pub enum removed or renamed ---

Description:
A publicly-visible enum cannot be imported by its prior path. A `pub use` may have been removed, or the enum itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/enum_missing.ron

Failed in:
  enum hugr_passes::validation::ValidationLevel, previously in file /tmp/.tmp8AcxAC/hugr-passes/src/validation.rs:16
  enum hugr_passes::validation::ValidatePassError, previously in file /tmp/.tmp8AcxAC/hugr-passes/src/validation.rs:28
  enum hugr_passes::MonomorphizeError, previously in file /tmp/.tmp8AcxAC/hugr-passes/src/monomorphize.rs:282

--- failure enum_tuple_variant_changed_kind: An enum tuple variant changed kind ---

Description:
A public enum's exhaustive tuple variant has changed to a different kind of enum variant, breaking possible instantiations and patterns.
        ref: https://doc.rust-lang.org/reference/items/enumerations.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/enum_tuple_variant_changed_kind.ron

Failed in:
  variant ConstFoldError::InvalidEntryPoint in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/const_fold.rs:44

--- failure enum_variant_added: enum variant added on exhaustive enum ---

Description:
A publicly-visible enum without #[non_exhaustive] has a new variant.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#enum-variant-new
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/enum_variant_added.ron

Failed in:
  variant NodeTemplate:Call in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/replace_types.rs:52
  variant PartialValue:LoadedFunction in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/dataflow/partial_value.rs:318

--- failure enum_variant_missing: pub enum variant removed or renamed ---

Description:
A publicly-visible enum has at least one variant that is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/enum_variant_missing.ron

Failed in:
  variant RemoveDeadFuncsError::ValidationError, previously in file /tmp/.tmp8AcxAC/hugr-passes/src/dead_funcs.rs:31
  variant ConstFoldError::ValidationError, previously in file /tmp/.tmp8AcxAC/hugr-passes/src/const_fold.rs:47
  variant UntupleError::ValidationError, previously in file /tmp/.tmp8AcxAC/hugr-passes/src/untuple.rs:60
  variant ReplaceTypesError::ValidationError, previously in file /tmp/.tmp8AcxAC/hugr-passes/src/replace_types.rs:187

--- failure feature_missing: package feature removed or renamed ---

Description:
A feature has been removed from this package's Cargo.toml. This will break downstream crates which enable that feature.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#cargo-feature-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/feature_missing.ron

Failed in:
  feature extension_inference in the package's Cargo.toml

--- failure function_missing: pub fn removed or renamed ---

Description:
A publicly-visible function cannot be imported by its prior path. A `pub use` may have been removed, or the function itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/function_missing.ron

Failed in:
  function hugr_passes::replace_types::handlers::linearize_array, previously in file /tmp/.tmp8AcxAC/hugr-passes/src/replace_types/handlers.rs:78
  function hugr_passes::remove_polyfuncs, previously in file /tmp/.tmp8AcxAC/hugr-passes/src/monomorphize.rs:64

--- failure function_requires_different_generic_type_params: function now requires a different number of generic type parameters ---

Description:
A function now requires a different number of generic type parameters than it used to. Uses of this function that supplied the previous number of generic types (e.g. via turbofish syntax) will be broken.
        ref: https://doc.rust-lang.org/reference/items/generics.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/function_requires_different_generic_type_params.ron

Failed in:
  function merge_basic_blocks (0 -> 1 generic types) in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/merge_bbs.rs:19
  function row_contains_bottom (1 -> 2 generic types) in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/dataflow.rs:111

--- failure inherent_method_missing: pub method removed or renamed ---

Description:
A publicly-visible method or associated fn is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/inherent_method_missing.ron

Failed in:
  ConstantFoldPass::validation_level, previously in file /tmp/.tmp8AcxAC/hugr-passes/src/const_fold.rs:57
  DeadCodeElimPass::validation_level, previously in file /tmp/.tmp8AcxAC/hugr-passes/src/dead_code.rs:91
  DeadCodeElimPass::validation_level, previously in file /tmp/.tmp8AcxAC/hugr-passes/src/dead_code.rs:91
  UntuplePass::validation_level, previously in file /tmp/.tmp8AcxAC/hugr-passes/src/untuple.rs:82
  UntuplePass::validation_level, previously in file /tmp/.tmp8AcxAC/hugr-passes/src/untuple.rs:82
  MonomorphizePass::validation_level, previously in file /tmp/.tmp8AcxAC/hugr-passes/src/monomorphize.rs:290
  ReplaceTypes::validation_level, previously in file /tmp/.tmp8AcxAC/hugr-passes/src/replace_types.rs:211
  ReplaceTypes::validation_level, previously in file /tmp/.tmp8AcxAC/hugr-passes/src/replace_types.rs:211
  RemoveDeadFuncsPass::validation_level, previously in file /tmp/.tmp8AcxAC/hugr-passes/src/dead_funcs.rs:73

--- failure method_parameter_count_changed: pub method parameter count changed ---

Description:
A publicly-visible method now takes a different number of parameters.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#fn-change-arity
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/method_parameter_count_changed.ron

Failed in:
  hugr_passes::untuple::UntuplePass::new now takes 1 parameters instead of 2, in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/untuple.rs:72
  hugr_passes::untuple::UntuplePass::run now takes 2 parameters instead of 3, in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/untuple.rs:128
  hugr_passes::UntuplePass::new now takes 1 parameters instead of 2, in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/untuple.rs:72
  hugr_passes::UntuplePass::run now takes 2 parameters instead of 3, in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/untuple.rs:128

--- failure method_requires_different_generic_type_params: method now requires a different number of generic type parameters ---

Description:
A method now requires a different number of generic type parameters than it used to. Uses of this method that supplied the previous number of generic types will be broken.
        ref: https://doc.rust-lang.org/reference/items/generics.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/method_requires_different_generic_type_params.ron

Failed in:
  hugr_passes::const_fold::ConstantFoldPass::run takes 0 generic types instead of 1, in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/const_fold.rs:102
  hugr_passes::dataflow::PartialSum::try_into_sum takes 1 generic types instead of 3, in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/dataflow/partial_value.rs:202
  hugr_passes::untuple::UntuplePass::run takes 0 generic types instead of 1, in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/untuple.rs:128
  hugr_passes::UntuplePass::run takes 0 generic types instead of 1, in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/untuple.rs:128
  hugr_passes::dataflow::PartialValue::try_into_concrete takes 1 generic types instead of 3, in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/dataflow/partial_value.rs:417
  hugr_passes::dead_code::PreserveNode::default_for takes 1 generic types instead of 0, in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/dead_code.rs:78
  hugr_passes::MonomorphizePass::run takes 0 generic types instead of 1, in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/monomorphize.rs:229
  hugr_passes::dataflow::AnalysisResults::try_read_wire_concrete takes 1 generic types instead of 3, in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/dataflow/results.rs:90
  hugr_passes::replace_types::ReplaceTypes::run takes 0 generic types instead of 1, in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/replace_types.rs:526
  hugr_passes::ReplaceTypes::run takes 0 generic types instead of 1, in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/replace_types.rs:526
  hugr_passes::RemoveDeadFuncsPass::run takes 0 generic types instead of 1, in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/dead_funcs.rs:88

--- failure module_missing: pub module removed or renamed ---

Description:
A publicly-visible module cannot be imported by its prior path. A `pub use` may have been removed, or the module may have been renamed, removed, or made non-public.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/module_missing.ron

Failed in:
  mod hugr_passes::validation, previously in file /tmp/.tmp8AcxAC/hugr-passes/src/validation.rs:1

--- failure trait_method_missing: pub trait method removed or renamed ---

Description:
A trait method is no longer callable, and may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#major-any-change-to-trait-item-signatures
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/trait_method_missing.ron

Failed in:
  method value_from_function of trait ConstLoader, previously in file /tmp/.tmp8AcxAC/hugr-passes/src/dataflow.rs:84

--- failure trait_requires_more_generic_type_params: trait now requires more generic type parameters ---

Description:
A trait now requires more generic type parameters than it used to. Uses of this trait that supplied the previously-required number of generic types will be broken. To fix this, consider supplying default values for newly-added generic types.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-new-parameter-no-default
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/trait_requires_more_generic_type_params.ron

Failed in:
  trait DeadCodeElimPass (0 -> 1 required generic types) in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/dead_code.rs:16
  trait DeadCodeElimPass (0 -> 1 required generic types) in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/dead_code.rs:16

--- failure type_requires_more_generic_type_params: type now requires more generic type parameters ---

Description:
A type now requires more generic type parameters than it used to. Uses of this type that supplied the previously-required number of generic types will be broken. To fix this, consider supplying default values for newly-added generic types.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-new-parameter-no-default
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/type_requires_more_generic_type_params.ron

Failed in:
  Struct DeadCodeElimPass (0 -> 1 required generic types) in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/dead_code.rs:16
  Struct DeadCodeElimPass (0 -> 1 required generic types) in /tmp/.tmprfYK4Q/hugr/hugr-passes/src/dead_code.rs:16

hugr breaking changes

--- failure feature_missing: package feature removed or renamed ---

Description:
A feature has been removed from this package's Cargo.toml. This will break downstream crates which enable that feature.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#cargo-feature-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/feature_missing.ron

Failed in:
  feature hugr-model in the package's Cargo.toml
  feature model_unstable in the package's Cargo.toml
  feature extension_inference in the package's Cargo.toml

hugr-cli breaking changes

--- failure enum_variant_missing: pub enum variant removed or renamed ---

Description:
A publicly-visible enum has at least one variant that is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/enum_variant_missing.ron

Failed in:
  variant CliError::PackageLoad, previously in file /tmp/.tmp8AcxAC/hugr-cli/src/lib.rs:102
  variant CliError::HugrLoad, previously in file /tmp/.tmp8AcxAC/hugr-cli/src/lib.rs:105
Changelog

hugr-model

0.20.0 - 2025-05-09

New Features

  • [breaking] Mark all Error enums as non_exhaustive (#2056)
  • [breaking] Bump MSRV to 1.85 (#2136)
  • Export and import entrypoints via metadata in hugr-model. (#2172)

hugr-core

0.20.0 - 2025-05-09

Bug Fixes

  • [breaking] Don't expose HugrMutInternals (#2071)
  • as_unary_option indexing bug (#2163)
  • Skip phantom data for array value serialisation (#2166)
  • Remove deleted nodes from node_map in SimpleReplacement (#2176)

New Features

  • [breaking] Allow generic Nodes in HugrMut insert operations (#2075)
  • [breaking] Mark all Error enums as non_exhaustive (#2056)
  • Make NodeHandle generic (#2092)
  • [breaking] remove ExtensionValue (#2093)
  • [breaking] Hugrmut on generic nodes (#2111)
  • [breaking] Removed model_unstable feature flag (#2120)
  • [breaking] Remove RootTagged from the hugr view trait hierarchy (#2122)
  • [breaking] Split Rewrite trait into VerifyPatch and ApplyPatch (#2070)
  • [breaking] Bump MSRV to 1.85 (#2136)
  • [breaking] Cleanup core trait definitions (#2126)
  • [breaking] Removed runtime extension sets. (#2145)
  • [breaking] Accept outgoing ports in SimpleReplacement nu_out (#2151)
  • [breaking] Improved array lowering (#2109)
  • [breaking] Make NamedOp private. Add MakeExtensionOp::name and MakeOpDef::opdef_name (#2138)
  • InsertCut patch for inserting HUGR across edges. (#2153)
  • [breaking] Add Hugr entrypoints (#2147)
  • [breaking] Return a node mapping in HugrInternals::region_portgraph (#2164)
  • [breaking] Validate any HugrView, make errors generic (#2155)
  • Reimplement insert_hugr using only HugrView (#2174)
  • Only allow region containers as entrypoints (#2173)
  • Export and import entrypoints via metadata in hugr-model. (#2172)
  • [breaking] Only expose envelope serialization of hugrs and packages (#2167)

Refactor

  • do not use .portgraph in mermaid/graphviz (#2177)
  • [breaking] Removed global portgraph-related methods from HugrInternals (#2180)

hugr-llvm

0.20.0 - 2025-05-09

Bug Fixes

  • Fix inline_constant_functions pass (#2135)

New Features

  • [breaking] Hugrmut on generic nodes (#2111)
  • [breaking] Remove RootTagged from the hugr view trait hierarchy (#2122)
  • [breaking] Bump MSRV to 1.85 (#2136)
  • [breaking] Cleanup core trait definitions (#2126)
  • [breaking] Removed runtime extension sets. (#2145)
  • [breaking] Improved array lowering (#2109)
  • [breaking] Make NamedOp private. Add MakeExtensionOp::name and MakeOpDef::opdef_name (#2138)
  • Make hugr_llvm::extension::collections::array::build_array_alloc public (#2165)
  • Add LLVM emission for prelude.noop (#2160)
  • [breaking] Add Hugr entrypoints (#2147)
  • [breaking] Return a node mapping in HugrInternals::region_portgraph (#2164)

hugr-passes

0.20.0 - 2025-05-09

New Features

  • [breaking] Mark all Error enums as non_exhaustive (#2056)
  • [breaking] Handle CallIndirect in Dataflow Analysis (#2059)
  • [breaking] ComposablePass trait allowing sequencing and validation (#1895)
  • [breaking] ReplaceTypes: allow lowering ops into a Call to a function already in the Hugr (#2094)
  • [breaking] Hugrmut on generic nodes (#2111)
  • [breaking] Remove RootTagged from the hugr view trait hierarchy (#2122)
  • [breaking] Split Rewrite trait into VerifyPatch and ApplyPatch (#2070)
  • [breaking] Bump MSRV to 1.85 (#2136)
  • [breaking] Cleanup core trait definitions (#2126)
  • [breaking] Removed runtime extension sets. (#2145)
  • [breaking] Improved array lowering (#2109)
  • export mangle name function (#2152)
  • [breaking] Make NamedOp private. Add MakeExtensionOp::name and MakeOpDef::opdef_name (#2138)
  • [breaking] Add Hugr entrypoints (#2147)
  • [breaking] Return a node mapping in HugrInternals::region_portgraph (#2164)
  • [breaking] Validate any HugrView, make errors generic (#2155)
  • [breaking] Explicit hugr type param to ComposablePass (#2179)

Refactor

  • [breaking] Removed global portgraph-related methods from HugrInternals (#2180)

hugr

0.20.0 - 2025-05-09

Bug Fixes

  • [breaking] Don't expose HugrMutInternals (#2071)
  • as_unary_option indexing bug (#2163)
  • Skip phantom data for array value serialisation (#2166)
  • Remove deleted nodes from node_map in SimpleReplacement (#2176)

New Features

  • [breaking] Handle CallIndirect in Dataflow Analysis (#2059)
  • [breaking] ComposablePass trait allowing sequencing and validation (#1895)
  • [breaking] ReplaceTypes: allow lowering ops into a Call to a function already in the Hugr (#2094)
  • export mangle name function (#2152)
  • [breaking] Explicit hugr type param to ComposablePass (#2179)
  • [breaking] Allow generic Nodes in HugrMut insert operations (#2075)
  • [breaking] Mark all Error enums as non_exhaustive (#2056)
  • Make NodeHandle generic (#2092)
  • [breaking] remove ExtensionValue (#2093)
  • [breaking] Hugrmut on generic nodes (#2111)
  • [breaking] Cleanup core trait definitions (#2126)
  • [breaking] Accept outgoing ports in SimpleReplacement nu_out (#2151)
  • [breaking] Improved array lowering (#2109)
  • [breaking] Make NamedOp private. Add MakeExtensionOp::name and MakeOpDef::opdef_name (#2138)
  • InsertCut patch for inserting HUGR across edges. (#2153)
  • [breaking] Add Hugr entrypoints (#2147)
  • [breaking] Return a node mapping in HugrInternals::region_portgraph (#2164)
  • [breaking] Validate any HugrView, make errors generic (#2155)
  • Reimplement insert_hugr using only HugrView (#2174)
  • Only allow region containers as entrypoints (#2173)
  • Export and import entrypoints via metadata in hugr-model. (#2172)
  • [breaking] Removed model_unstable feature flag (#2120)
  • [breaking] Remove RootTagged from the h

@hugrbot hugrbot added the release Release PR label May 9, 2025
Copy link

codecov bot commented May 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.97%. Comparing base (0f78fab) to head (95a5944).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2181   +/-   ##
=======================================
  Coverage   81.97%   81.97%           
=======================================
  Files         229      229           
  Lines       39948    39948           
  Branches    36047    36047           
=======================================
  Hits        32749    32749           
  Misses       5371     5371           
  Partials     1828     1828           
Flag Coverage Δ
python 85.64% <ø> (ø)
rust 81.58% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@hugrbot hugrbot force-pushed the release-plz-2025-05-09T10-14-15Z branch 4 times, most recently from 95a5b6e to 1408ea6 Compare May 9, 2025 13:20
@hugrbot hugrbot force-pushed the release-plz-2025-05-09T10-14-15Z branch from 1408ea6 to 95a5944 Compare May 9, 2025 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Release PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant