Skip to content

chore: release v0.20.0 #2162

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

Closed
wants to merge 1 commit into from
Closed

Conversation

hugrbot
Copy link
Collaborator

@hugrbot hugrbot commented May 7, 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 compatible 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/.tmp3G59uT/hugr/hugr-model/src/v0/ast/resolve.rs:366
  enum ModelError in /tmp/.tmp3G59uT/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/.tmp3G59uT/hugr/hugr-core/src/hugr/hugrmut.rs:257

--- 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 OrderHintError in /tmp/.tmp3G59uT/hugr/hugr-core/src/import.rs:80
  enum SignatureError in /tmp/.tmp3G59uT/hugr/hugr-core/src/extension.rs:381
  enum ImportError in /tmp/.tmp3G59uT/hugr/hugr-core/src/import.rs:39

--- 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/.tmpryuLeq/hugr-core/src/hugr/rewrite/consts.rs:18
  enum hugr_core::hugr::rewrite::outline_cfg::OutlineCfgError, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/outline_cfg.rs:221
  enum hugr_core::hugr::rewrite::replace::WhichHugr, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/replace.rs:433
  enum hugr_core::hugr::rewrite::BoundaryPort, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/port_types.rs:14
  enum hugr_core::hugr::rewrite::inline_call::InlineCallError, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/inline_call.rs:17
  enum hugr_core::hugr::rewrite::replace::NewEdgeKind, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/replace.rs:31
  enum hugr_core::hugr::rewrite::replace::ReplaceError, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/replace.rs:397
  enum hugr_core::package::PackageError, previously in file /tmp/.tmpryuLeq/hugr-core/src/package.rs:386
  enum hugr_core::hugr::rewrite::simple_replace::SimpleReplacementError, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/simple_replace.rs:351
  enum hugr_core::hugr::rewrite::SimpleReplacementError, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/simple_replace.rs:351
  enum hugr_core::hugr::rewrite::insert_identity::IdentityInsertionError, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/insert_identity.rs:38
  enum hugr_core::std_extensions::collections::array::ArrayOpDef, previously in file /tmp/.tmpryuLeq/hugr-core/src/std_extensions/collections/array/array_op.rs:27
  enum hugr_core::hugr::rewrite::inline_dfg::InlineDFGError, previously in file /tmp/.tmpryuLeq/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::SerdeError 6 -> 5 in /tmp/.tmp3G59uT/hugr/hugr-core/src/envelope.rs:168
  variant EnvelopeError::IO 7 -> 6 in /tmp/.tmp3G59uT/hugr/hugr-core/src/envelope.rs:173
  variant EnvelopeError::PackageEncoding 9 -> 7 in /tmp/.tmp3G59uT/hugr/hugr-core/src/envelope.rs:178
  variant EnvelopeError::ModelImport 10 -> 8 in /tmp/.tmp3G59uT/hugr/hugr-core/src/envelope.rs:183
  variant EnvelopeError::ModelRead 11 -> 9 in /tmp/.tmp3G59uT/hugr/hugr-core/src/envelope.rs:188
  variant EnvelopeError::ModelWrite 12 -> 10 in /tmp/.tmp3G59uT/hugr/hugr-core/src/envelope.rs:193
  variant TypeArg::Variable 5 -> 4 in /tmp/.tmp3G59uT/hugr/hugr-core/src/types/type_param.rs:185
  variant TypeArg::Variable 5 -> 4 in /tmp/.tmp3G59uT/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/.tmpryuLeq/hugr-core/src/envelope.rs:175
  variant EnvelopeError::Package, previously in file /tmp/.tmpryuLeq/hugr-core/src/envelope.rs:190
  variant TypeParam::Extensions, previously in file /tmp/.tmpryuLeq/hugr-core/src/types/type_param.rs:98
  variant PackageEncodingError::Package, previously in file /tmp/.tmpryuLeq/hugr-core/src/package.rs:412
  variant TypeArg::Extensions, previously in file /tmp/.tmpryuLeq/hugr-core/src/types/type_param.rs:192
  variant TypeArg::Extensions, previously in file /tmp/.tmpryuLeq/hugr-core/src/types/type_param.rs:192
  variant ExtensionBuildError::ValueExists, previously in file /tmp/.tmpryuLeq/hugr-core/src/extension.rs:788
  variant ValidationError::RootWithEdges, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/validate.rs:652
  variant ValidationError::RootWithEdges, previously in file /tmp/.tmpryuLeq/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 model_unstable in the package's Cargo.toml
  feature extension_inference in the package's Cargo.toml
  feature hugr-model in the package's Cargo.toml

--- 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/.tmpryuLeq/hugr-core/src/extension/simple_op.rs:255
  FuncTypeBase::with_extension_delta, previously in file /tmp/.tmpryuLeq/hugr-core/src/types/signature.rs:59
  FuncTypeBase::with_prelude, previously in file /tmp/.tmpryuLeq/hugr-core/src/types/signature.rs:65
  CFGBuilder::block_builder_exts, previously in file /tmp/.tmpryuLeq/hugr-core/src/builder/cfg.rs:216
  CFGBuilder::entry_builder_exts, previously in file /tmp/.tmpryuLeq/hugr-core/src/builder/cfg.rs:303
  CFGBuilder::simple_entry_builder_exts, previously in file /tmp/.tmpryuLeq/hugr-core/src/builder/cfg.rs:343
  OpaqueValue::extension_reqs, previously in file /tmp/.tmpryuLeq/hugr-core/src/ops/constant.rs:301
  Hugr::validate_no_extensions, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/validate.rs:52
  Hugr::validate_extensions, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/validate.rs:58
  Hugr::infer_extensions, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr.rs:135
  Hugr::validate_no_extensions, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/validate.rs:52
  Hugr::validate_extensions, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/validate.rs:58
  Hugr::infer_extensions, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr.rs:135
  Package::from_hugrs, previously in file /tmp/.tmpryuLeq/hugr-core/src/package.rs:68
  OpaqueOp::op_name, previously in file /tmp/.tmpryuLeq/hugr-core/src/ops/custom.rs:260
  OpaqueOp::op_name, previously in file /tmp/.tmpryuLeq/hugr-core/src/ops/custom.rs:260
  Extension::add_requirements, previously in file /tmp/.tmpryuLeq/hugr-core/src/extension.rs:667
  Extension::get_value, previously in file /tmp/.tmpryuLeq/hugr-core/src/extension.rs:683
  Extension::add_value, previously in file /tmp/.tmpryuLeq/hugr-core/src/extension.rs:708
  Extension::add_requirements, previously in file /tmp/.tmpryuLeq/hugr-core/src/extension.rs:667
  Extension::get_value, previously in file /tmp/.tmpryuLeq/hugr-core/src/extension.rs:683
  Extension::add_value, previously in file /tmp/.tmpryuLeq/hugr-core/src/extension.rs:708
  ExtensionSet::insert_type_var, previously in file /tmp/.tmpryuLeq/hugr-core/src/extension.rs:818
  ExtensionSet::type_var, previously in file /tmp/.tmpryuLeq/hugr-core/src/extension.rs:849
  DFGWrapper::new_exts, previously in file /tmp/.tmpryuLeq/hugr-core/src/builder/cfg.rs:427
  DFGWrapper::new_exts, previously in file /tmp/.tmpryuLeq/hugr-core/src/builder/tail_loop.rs:87
  ConditionalBuilder::new_exts, previously in file /tmp/.tmpryuLeq/hugr-core/src/builder/conditional.rs:167
  Value::extension_reqs, previously in file /tmp/.tmpryuLeq/hugr-core/src/ops/constant.rs:527
  Value::extension_reqs, previously in file /tmp/.tmpryuLeq/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/.tmp3G59uT/hugr/hugr-core/src/ops/constant/custom.rs:199
  hugr_core::hugr::Hugr::new now takes 0 parameters instead of 1, in /tmp/.tmp3G59uT/hugr/hugr-core/src/hugr.rs:93
  hugr_core::Hugr::new now takes 0 parameters instead of 1, in /tmp/.tmp3G59uT/hugr/hugr-core/src/hugr.rs:93

--- 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/.tmp3G59uT/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/.tmp3G59uT/hugr/hugr-core/src/hugr/patch/simple_replace.rs:341

--- 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/.tmpryuLeq/hugr-core/src/hugr/rewrite/insert_identity.rs:1
  mod hugr_core::hugr::rewrite, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite.rs:1
  mod hugr_core::hugr::rewrite::replace, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/replace.rs:1
  mod hugr_core::hugr::rewrite::inline_dfg, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/inline_dfg.rs:1
  mod hugr_core::hugr::rewrite::outline_cfg, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/outline_cfg.rs:1
  mod hugr_core::hugr::rewrite::consts, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/consts.rs:1
  mod hugr_core::hugr::views::sibling, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views/sibling.rs:1
  mod hugr_core::hugr::rewrite::inline_call, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/inline_call.rs:1
  mod hugr_core::hugr::rewrite::simple_replace, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/simple_replace.rs:1
  mod hugr_core::hugr::views::descendants, previously in file /tmp/.tmpryuLeq/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/.tmpryuLeq/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/.tmpryuLeq/hugr-core/src/std_extensions/collections/array/array_op.rs:24
  struct hugr_core::hugr::rewrite::outline_cfg::OutlineCfg, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/outline_cfg.rs:23
  struct hugr_core::hugr::rewrite::replace::NewEdgeSpec, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/replace.rs:18
  struct hugr_core::hugr::rewrite::inline_call::InlineCall, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/inline_call.rs:12
  struct hugr_core::std_extensions::collections::array::ArrayRepeat, previously in file /tmp/.tmpryuLeq/hugr-core/src/std_extensions/collections/array/array_repeat.rs:107
  struct hugr_core::hugr::rewrite::replace::Replacement, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/replace.rs:57
  struct hugr_core::hugr::rewrite::inline_dfg::InlineDFG, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/inline_dfg.rs:10
  struct hugr_core::std_extensions::collections::array::ArrayRepeatDef, previously in file /tmp/.tmpryuLeq/hugr-core/src/std_extensions/collections/array/array_repeat.rs:22
  struct hugr_core::hugr::rewrite::insert_identity::IdentityInsertion, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/insert_identity.rs:18
  struct hugr_core::hugr::rewrite::consts::RemoveConst, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/consts.rs:73
  struct hugr_core::extension::ExtensionValue, previously in file /tmp/.tmpryuLeq/hugr-core/src/extension.rs:502
  struct hugr_core::std_extensions::collections::array::ArrayOp, previously in file /tmp/.tmpryuLeq/hugr-core/src/std_extensions/collections/array/array_op.rs:236
  struct hugr_core::hugr::rewrite::simple_replace::SimpleReplacement, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/simple_replace.rs:26
  struct hugr_core::hugr::rewrite::SimpleReplacement, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/simple_replace.rs:26
  struct hugr_core::std_extensions::collections::array::ArrayScanDef, previously in file /tmp/.tmpryuLeq/hugr-core/src/std_extensions/collections/array/array_scan.rs:24
  struct hugr_core::std_extensions::collections::array::ArrayValue, previously in file /tmp/.tmpryuLeq/hugr-core/src/std_extensions/collections/array.rs:41
  struct hugr_core::hugr::views::sibling::SiblingMut, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views/sibling.rs:236
  struct hugr_core::hugr::views::sibling::SiblingGraph, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views/sibling.rs:32
  struct hugr_core::hugr::views::SiblingGraph, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views/sibling.rs:32
  struct hugr_core::hugr::rewrite::Transactional, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite.rs:53
  struct hugr_core::hugr::rewrite::consts::RemoveLoadConstant, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/consts.rs:13
  struct hugr_core::std_extensions::collections::array::ArrayScan, previously in file /tmp/.tmpryuLeq/hugr-core/src/std_extensions/collections/array/array_scan.rs:139
  struct hugr_core::hugr::views::descendants::DescendantsGraph, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views/descendants.rs:28
  struct hugr_core::hugr::views::DescendantsGraph, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views/descendants.rs:28
  struct hugr_core::hugr::rewrite::HostPort, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite/port_types.rs:23
  struct hugr_core::hugr::rewrite::ReplacementPort, previously in file /tmp/.tmpryuLeq/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/.tmpryuLeq/hugr-core/src/ops/controlflow.rs:177
  field extension_delta of struct DataflowBlock, previously in file /tmp/.tmpryuLeq/hugr-core/src/ops/controlflow.rs:177
  field runtime_reqs of struct FuncTypeBase, previously in file /tmp/.tmpryuLeq/hugr-core/src/types/signature.rs:41
  field new_root of struct InsertionResult, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/hugrmut.rs:314
  field extension_delta of struct TailLoop, previously in file /tmp/.tmpryuLeq/hugr-core/src/ops/controlflow.rs:24
  field extension_delta of struct TailLoop, previously in file /tmp/.tmpryuLeq/hugr-core/src/ops/controlflow.rs:24
  field runtime_reqs of struct Extension, previously in file /tmp/.tmpryuLeq/hugr-core/src/extension.rs:582
  field runtime_reqs of struct Extension, previously in file /tmp/.tmpryuLeq/hugr-core/src/extension.rs:582
  field extension_delta of struct Conditional, previously in file /tmp/.tmpryuLeq/hugr-core/src/ops/controlflow.rs:101
  field extension_delta of struct Conditional, previously in file /tmp/.tmpryuLeq/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/.tmp3G59uT/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/.tmp3G59uT/hugr/hugr-core/src/hugr/internal.rs:28
  trait associated type hugr_core::hugr::internal::HugrInternals::RegionPortgraphNodes in file /tmp/.tmp3G59uT/hugr/hugr-core/src/hugr/internal.rs:37

--- 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::hugr::internal::HugrInternals::region_portgraph in file /tmp/.tmp3G59uT/hugr/hugr-core/src/hugr/internal.rs:51
  trait method hugr_core::hugr::internal::HugrInternals::to_portgraph_node in file /tmp/.tmp3G59uT/hugr/hugr-core/src/hugr/internal.rs:64
  trait method hugr_core::hugr::internal::HugrInternals::from_portgraph_node in file /tmp/.tmp3G59uT/hugr/hugr-core/src/hugr/internal.rs:68
  trait method hugr_core::hugr::internal::HugrInternals::node_metadata_map in file /tmp/.tmp3G59uT/hugr/hugr-core/src/hugr/internal.rs:75
  trait method hugr_core::extension::simple_op::MakeExtensionOp::op_id in file /tmp/.tmp3G59uT/hugr/hugr-core/src/extension/simple_op.rs:157

--- failure trait_method_default_impl_removed: pub trait default method impl removed ---

Description:
A method's default impl in an unsealed trait has been removed, breaking trait implementations that relied on that default
        ref: https://doc.rust-lang.org/book/ch10-02-traits.html#default-implementations
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/trait_method_default_impl_removed.ron

Failed in:
  trait method hugr_core::hugr::internal::HugrInternals::hierarchy in file /tmp/.tmp3G59uT/hugr/hugr-core/src/hugr/internal.rs:61

--- failure trait_method_marked_deprecated: trait method #[deprecated] added ---

Description:
A trait method is now #[deprecated]. Downstream crates will get a compiler warning when using this method.
        ref: https://doc.rust-lang.org/reference/attributes/diagnostics.html#the-deprecated-attribute
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/trait_method_marked_deprecated.ron

Failed in:
  method base_hugr in trait hugr_core::hugr::internal::HugrInternals in /tmp/.tmp3G59uT/hugr/hugr-core/src/hugr/internal.rs:21

--- 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/.tmpryuLeq/hugr-core/src/ops/constant/custom.rs:69
  method hugr_mut of trait HugrMutInternals, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/internal.rs:211
  method root of trait HugrView, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:45
  method root_type of trait HugrView, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:51
  method valid_node of trait HugrView, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:63
  method valid_non_root of trait HugrView, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:71
  method get_node_metadata of trait HugrView, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:106
  method node_count of trait HugrView, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:117
  method edge_count of trait HugrView, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:120
  method validate_no_extensions of trait HugrView, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:477
  method root of trait HugrView, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:45
  method root_type of trait HugrView, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:51
  method valid_node of trait HugrView, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:63
  method valid_non_root of trait HugrView, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:71
  method get_node_metadata of trait HugrView, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:106
  method node_count of trait HugrView, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:117
  method edge_count of trait HugrView, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:120
  method validate_no_extensions of trait HugrView, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:477
  method root of trait HugrView, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:45
  method root_type of trait HugrView, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:51
  method valid_node of trait HugrView, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:63
  method valid_non_root of trait HugrView, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:71
  method get_node_metadata of trait HugrView, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:106
  method node_count of trait HugrView, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:117
  method edge_count of trait HugrView, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:120
  method validate_no_extensions of trait HugrView, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:477
  method take_node_metadata of trait HugrMut, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/hugrmut.rs:69
  method overwrite_node_metadata of trait HugrMut, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/hugrmut.rs:81
  method apply_rewrite of trait HugrMut, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/hugrmut.rs:269
  method extensions_mut of trait HugrMut, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/hugrmut.rs:303
  method extension_delta of trait OpTrait, previously in file /tmp/.tmpryuLeq/hugr-core/src/ops.rs:389
  method root_node of trait HugrInternals, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/internal.rs:46
  method get_pg_index of trait HugrInternals, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/internal.rs:49
  method get_node of trait HugrInternals, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/internal.rs:52
  method cfg_builder_exts of trait Dataflow, previously in file /tmp/.tmpryuLeq/hugr-core/src/builder/build_traits.rs:359
  method tail_loop_builder_exts of trait Dataflow, previously in file /tmp/.tmpryuLeq/hugr-core/src/builder/build_traits.rs:479
  method conditional_builder_exts of trait Dataflow, previously in file /tmp/.tmpryuLeq/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/.tmp3G59uT/hugr/hugr-core/src/builder/build_traits.rs:122
  HugrMut::insert_from_view (0 -> 1 generic types) in /tmp/.tmp3G59uT/hugr/hugr-core/src/hugr/hugrmut.rs:191
  HugrMut::insert_subgraph (0 -> 1 generic types) in /tmp/.tmp3G59uT/hugr/hugr-core/src/hugr/hugrmut.rs:211
  ValidateOp::validity_flags (0 -> 1 generic types) in /tmp/.tmp3G59uT/hugr/hugr-core/src/ops.rs:493
  ValidateOp::validate_op_children (0 -> 1 generic types) in /tmp/.tmp3G59uT/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/.tmpryuLeq/hugr-core/src/hugr/rewrite.rs:19
  trait hugr_core::hugr::Rewrite, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/rewrite.rs:19
  trait hugr_core::hugr::rewrite::simple_replace::HugrMutInternals, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/internal.rs:209
  trait hugr_core::hugr::views::HierarchyView, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:492
  trait hugr_core::std_extensions::collections::array::op_builder::ArrayOpBuilder, previously in file /tmp/.tmpryuLeq/hugr-core/src/std_extensions/collections/array/op_builder.rs:13
  trait hugr_core::hugr::views::ExtractHugr, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:505
  trait hugr_core::ops::NamedOp, previously in file /tmp/.tmpryuLeq/hugr-core/src/ops.rs:357
  trait hugr_core::hugr::views::RootTagged, previously in file /tmp/.tmpryuLeq/hugr-core/src/hugr/views.rs:483
  trait hugr_core::hugr::RootTagged, previously in file /tmp/.tmpryuLeq/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/.tmp3G59uT/hugr/hugr-core/src/extension/simple_op.rs:151
  trait hugr_core::extension::simple_op::HasDef in file /tmp/.tmp3G59uT/hugr/hugr-core/src/extension/simple_op.rs:136

--- 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/.tmp3G59uT/hugr/hugr-core/src/hugr/internal.rs:188
  supertrait hugr_core::hugr::RootTagged of trait HugrMutInternals in file /tmp/.tmp3G59uT/hugr/hugr-core/src/hugr/internal.rs:188
  supertrait hugr_core::builder::Dataflow of trait ArrayOpBuilder in file /tmp/.tmp3G59uT/hugr/hugr-core/src/std_extensions/collections/array.rs:174
  supertrait hugr_core::hugr::rewrite::simple_replace::HugrMutInternals of trait HugrMut in file /tmp/.tmp3G59uT/hugr/hugr-core/src/hugr/hugrmut.rs:24
  supertrait hugr_core::ops::NamedOp of trait MakeExtensionOp in file /tmp/.tmp3G59uT/hugr/hugr-core/src/extension/simple_op.rs:151
  supertrait hugr_core::ops::NamedOp of trait MakeOpDef in file /tmp/.tmp3G59uT/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/.tmp3G59uT/hugr/hugr-core/src/ops/custom.rs:320
  trait ChildrenValidationError (0 -> 1 required generic types) in /tmp/.tmp3G59uT/hugr/hugr-core/src/ops/validate.rs:172
  trait InterGraphEdgeError (0 -> 1 required generic types) in /tmp/.tmp3G59uT/hugr/hugr-core/src/hugr/validate.rs:703
  trait OpValidityFlags (0 -> 1 required generic types) in /tmp/.tmp3G59uT/hugr/hugr-core/src/ops/validate.rs:26
  trait EdgeValidationError (0 -> 1 required generic types) in /tmp/.tmp3G59uT/hugr/hugr-core/src/ops/validate.rs:222
  trait ChildrenEdgeData (0 -> 1 required generic types) in /tmp/.tmp3G59uT/hugr/hugr-core/src/ops/validate.rs:245
  trait ValidationError (0 -> 1 required generic types) in /tmp/.tmp3G59uT/hugr/hugr-core/src/hugr/validate.rs:575
  trait ValidationError (0 -> 1 required generic types) in /tmp/.tmp3G59uT/hugr/hugr-core/src/hugr/validate.rs:575

--- 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/.tmp3G59uT/hugr/hugr-core/src/ops/custom.rs:320
  Enum ChildrenValidationError (0 -> 1 required generic types) in /tmp/.tmp3G59uT/hugr/hugr-core/src/ops/validate.rs:172
  Enum InterGraphEdgeError (0 -> 1 required generic types) in /tmp/.tmp3G59uT/hugr/hugr-core/src/hugr/validate.rs:703
  Struct OpValidityFlags (0 -> 1 required generic types) in /tmp/.tmp3G59uT/hugr/hugr-core/src/ops/validate.rs:26
  Enum EdgeValidationError (0 -> 1 required generic types) in /tmp/.tmp3G59uT/hugr/hugr-core/src/ops/validate.rs:222
  Struct ChildrenEdgeData (0 -> 1 required generic types) in /tmp/.tmp3G59uT/hugr/hugr-core/src/ops/validate.rs:245
  Enum ValidationError (0 -> 1 required generic types) in /tmp/.tmp3G59uT/hugr/hugr-core/src/hugr/validate.rs:575
  Enum ValidationError (0 -> 1 required generic types) in /tmp/.tmp3G59uT/hugr/hugr-core/src/hugr/validate.rs:575

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/.tmpryuLeq/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/.tmp3G59uT/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/.tmp3G59uT/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/.tmpryuLeq/hugr-llvm/src/extension/int.rs:1132
  CodegenExtsBuilder::add_int_extensions, previously in file /tmp/.tmpryuLeq/hugr-llvm/src/extension/int.rs:1132
  FatNode::try_new_hierarchy_view, previously in file /tmp/.tmpryuLeq/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/.tmpryuLeq/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/.tmp3G59uT/hugr/hugr-passes/src/dataflow/partial_value.rs:67
  type PartialSum is no longer RefUnwindSafe, in /tmp/.tmp3G59uT/hugr/hugr-passes/src/dataflow/partial_value.rs:67
  type Machine is no longer UnwindSafe, in /tmp/.tmp3G59uT/hugr/hugr-passes/src/dataflow/datalog.rs:31
  type Machine is no longer RefUnwindSafe, in /tmp/.tmp3G59uT/hugr/hugr-passes/src/dataflow/datalog.rs:31
  type PartialValue is no longer UnwindSafe, in /tmp/.tmp3G59uT/hugr/hugr-passes/src/dataflow/partial_value.rs:314
  type PartialValue is no longer RefUnwindSafe, in /tmp/.tmp3G59uT/hugr/hugr-passes/src/dataflow/partial_value.rs:314
  type AnalysisResults is no longer UnwindSafe, in /tmp/.tmp3G59uT/hugr/hugr-passes/src/dataflow/results.rs:11
  type AnalysisResults is no longer RefUnwindSafe, in /tmp/.tmp3G59uT/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/.tmp3G59uT/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 LowerError in /tmp/.tmp3G59uT/hugr/hugr-passes/src/lower.rs:39
  enum LinearizeError in /tmp/.tmp3G59uT/hugr/hugr-passes/src/replace_types/linearize.rs:141
  enum NonLocalEdgesError in /tmp/.tmp3G59uT/hugr/hugr-passes/src/non_local.rs:27

--- 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/.tmpryuLeq/hugr-passes/src/validation.rs:16
  enum hugr_passes::validation::ValidatePassError, previously in file /tmp/.tmpryuLeq/hugr-passes/src/validation.rs:28
  enum hugr_passes::MonomorphizeError, previously in file /tmp/.tmpryuLeq/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/.tmp3G59uT/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/.tmp3G59uT/hugr/hugr-passes/src/replace_types.rs:52
  variant PartialValue:LoadedFunction in /tmp/.tmp3G59uT/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/.tmpryuLeq/hugr-passes/src/dead_funcs.rs:31
  variant ConstFoldError::ValidationError, previously in file /tmp/.tmpryuLeq/hugr-passes/src/const_fold.rs:47
  variant UntupleError::ValidationError, previously in file /tmp/.tmpryuLeq/hugr-passes/src/untuple.rs:60
  variant ReplaceTypesError::ValidationError, previously in file /tmp/.tmpryuLeq/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/.tmpryuLeq/hugr-passes/src/replace_types/handlers.rs:78
  function hugr_passes::remove_polyfuncs, previously in file /tmp/.tmpryuLeq/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/.tmp3G59uT/hugr/hugr-passes/src/merge_bbs.rs:19
  function row_contains_bottom (1 -> 2 generic types) in /tmp/.tmp3G59uT/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/.tmpryuLeq/hugr-passes/src/const_fold.rs:57
  DeadCodeElimPass::validation_level, previously in file /tmp/.tmpryuLeq/hugr-passes/src/dead_code.rs:91
  DeadCodeElimPass::validation_level, previously in file /tmp/.tmpryuLeq/hugr-passes/src/dead_code.rs:91
  UntuplePass::validation_level, previously in file /tmp/.tmpryuLeq/hugr-passes/src/untuple.rs:82
  UntuplePass::validation_level, previously in file /tmp/.tmpryuLeq/hugr-passes/src/untuple.rs:82
  MonomorphizePass::validation_level, previously in file /tmp/.tmpryuLeq/hugr-passes/src/monomorphize.rs:290
  ReplaceTypes::validation_level, previously in file /tmp/.tmpryuLeq/hugr-passes/src/replace_types.rs:211
  ReplaceTypes::validation_level, previously in file /tmp/.tmpryuLeq/hugr-passes/src/replace_types.rs:211
  RemoveDeadFuncsPass::validation_level, previously in file /tmp/.tmpryuLeq/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/.tmp3G59uT/hugr/hugr-passes/src/untuple.rs:72
  hugr_passes::untuple::UntuplePass::run now takes 2 parameters instead of 3, in /tmp/.tmp3G59uT/hugr/hugr-passes/src/untuple.rs:129
  hugr_passes::UntuplePass::new now takes 1 parameters instead of 2, in /tmp/.tmp3G59uT/hugr/hugr-passes/src/untuple.rs:72
  hugr_passes::UntuplePass::run now takes 2 parameters instead of 3, in /tmp/.tmp3G59uT/hugr/hugr-passes/src/untuple.rs:129

--- 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/.tmp3G59uT/hugr/hugr-passes/src/const_fold.rs:103
  hugr_passes::dataflow::PartialSum::try_into_sum takes 1 generic types instead of 3, in /tmp/.tmp3G59uT/hugr/hugr-passes/src/dataflow/partial_value.rs:202
  hugr_passes::untuple::UntuplePass::run takes 0 generic types instead of 1, in /tmp/.tmp3G59uT/hugr/hugr-passes/src/untuple.rs:129
  hugr_passes::UntuplePass::run takes 0 generic types instead of 1, in /tmp/.tmp3G59uT/hugr/hugr-passes/src/untuple.rs:129
  hugr_passes::dataflow::PartialValue::try_into_concrete takes 1 generic types instead of 3, in /tmp/.tmp3G59uT/hugr/hugr-passes/src/dataflow/partial_value.rs:417
  hugr_passes::MonomorphizePass::run takes 0 generic types instead of 1, in /tmp/.tmp3G59uT/hugr/hugr-passes/src/monomorphize.rs:230
  hugr_passes::dataflow::AnalysisResults::try_read_wire_concrete takes 1 generic types instead of 3, in /tmp/.tmp3G59uT/hugr/hugr-passes/src/dataflow/results.rs:90
  hugr_passes::replace_types::ReplaceTypes::run takes 0 generic types instead of 1, in /tmp/.tmp3G59uT/hugr/hugr-passes/src/replace_types.rs:527
  hugr_passes::ReplaceTypes::run takes 0 generic types instead of 1, in /tmp/.tmp3G59uT/hugr/hugr-passes/src/replace_types.rs:527
  hugr_passes::RemoveDeadFuncsPass::run takes 0 generic types instead of 1, in /tmp/.tmp3G59uT/hugr/hugr-passes/src/dead_funcs.rs:89

--- 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/.tmpryuLeq/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/.tmpryuLeq/hugr-passes/src/dataflow.rs:84

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 extension_inference in the package's Cargo.toml
  feature model_unstable in the package's Cargo.toml
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)

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)

Refactor

  • do not use .portgraph in mermaid/graphviz (#2177)

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)

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] 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)
  • [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] Removed runtime extension sets. (#2145)

Refactor

  • do not use .portgraph in mermaid/graphviz (#2177)

hugr-cli

0.20.0 - 2025-05-09

New Features

  • [breaking] Bump MSRV to 1.85 (#2136)
  • [breaking] Add Hugr entrypoints (#2147)
  • [breaking] Validate any HugrView, make errors generic (#2155)


This PR was generated with release-plz.

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

codecov bot commented May 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.12%. Comparing base (7268b1e) to head (45c896a).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2162      +/-   ##
==========================================
- Coverage   82.13%   82.12%   -0.01%     
==========================================
  Files         227      227              
  Lines       39760    39774      +14     
  Branches    35859    35873      +14     
==========================================
+ Hits        32655    32664       +9     
- Misses       5283     5288       +5     
  Partials     1822     1822              
Flag Coverage Δ
python 85.64% <ø> (ø)
rust 81.74% <ø> (-0.01%) ⬇️

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-07T11-08-28Z branch 12 times, most recently from ef77308 to 47d5d38 Compare May 8, 2025 18:01
@hugrbot hugrbot force-pushed the release-plz-2025-05-07T11-08-28Z branch from 47d5d38 to 45c896a Compare May 9, 2025 10:12
@hugrbot hugrbot closed this May 9, 2025
@hugrbot
Copy link
Collaborator Author

hugrbot commented May 9, 2025

This PR contains breaking changes to the public Rust API.
Please deprecate the old API instead (if possible), or mark the PR with a ! to indicate a breaking change.

cargo-semver-checks summary

--- 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 ValidationError::EntrypointNotContainer, previously in file /home/runner/work/hugr/hugr/BASELINE_BRANCH/hugr-core/src/hugr/validate.rs:712
variant ValidationError::EntrypointNotContainer, previously in file /home/runner/work/hugr/hugr/BASELINE_BRANCH/hugr-core/src/hugr/validate.rs:712

--- 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 OpValidityFlags (0 -> 1 required generic types) in /home/runner/work/hugr/hugr/PR_BRANCH/hugr-core/src/ops/validate.rs:26

--- 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 OpValidityFlags (0 -> 1 required generic types) in /home/runner/work/hugr/hugr/PR_BRANCH/hugr-core/src/ops/validate.rs:26

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