dart-lang / pub

The pub command line tool
https://dart.dev/tools/pub/cmd
BSD 3-Clause "New" or "Revised" License
1.04k stars 226 forks source link

upgrade --tighten fails when dependency_overrides are used #4396

Open abitofevrything opened 1 week ago

abitofevrything commented 1 week ago

Environment

Problem

Running dart pub upgrade --tighten fails when pubspec.yaml contains dependency_overrides.

name: ssh_client
description: An implementation of the SSH protocol for clients.
publish_to: none

environment:
  sdk: ^3.5.0-259.0.dev

resolution: workspace

dependencies:
  binary_serializable: ^0.2.0
  blowfish: ^1.0.1
  meta: ^1.15.0
  pointycastle: ^3.9.1

dev_dependencies:
  build_runner: ^2.4.11
  binary_serializable_generator: ^0.2.0

dependency_overrides:
  build_runner:
    git:
      url: https://github.com/dart-lang/build
      ref: master
      path: build_runner
  binary_serializable:
    git:
      url: https://github.com/abitofevrything/binary_serializable
      ref: main
      path: packages/binary_serializable
  binary_serializable_generator:
    git:
      url: https://github.com/abitofevrything/binary_serializable
      ref: main
      path: packages/binary_serializable_generator

Expected behavior

The dpendencies should be upgraded tightened. Note that dart pub upgrade alone works fine.

Actual behavior

pub_log.txt ``` Information about the latest pub run. If you believe something is not working right, you can go to https://github.com/dart-lang/pub/issues/new to post a new issue and attach this file. Before making this file public, make sure to remove any sensitive information! Pub version: 3.6.0-270.0.dev Created: 2024-09-25T20:16:53.058603 FLUTTER_ROOT: PUB_HOSTED_URL: PUB_CACHE: "" Command: dart pub upgrade --tighten Platform: linux ---- /home/abitofevrything/src/dart_ssh/packages/ssh_client/../../pubspec.yaml ---- name: dart_ssh description: A collection of packages implementing the SSH protocol in Dart publish_to: none environment: sdk: ^3.5.0-259.0.dev workspace: - packages/ssh_client - packages/ssh_services ---- End pubspec.yaml ---- ---- /home/abitofevrything/src/dart_ssh/packages/ssh_client/../../pubspec.lock ---- # Generated by pub # See https://dart.dev/tools/pub/glossary#lockfile packages: _fe_analyzer_shared: dependency: transitive description: name: _fe_analyzer_shared sha256: f6dbf021f4b214d85c79822912c5fcd142a2c4869f01222ad371bc51f9f1c356 url: "https://pub.dev" source: hosted version: "74.0.0" _macros: dependency: transitive description: dart source: sdk version: "0.3.3" analyzer: dependency: transitive description: name: analyzer sha256: f7e8caf82f2d3190881d81012606effdf8a38e6c1ab9e30947149733065f817c url: "https://pub.dev" source: hosted version: "6.9.0" args: dependency: transitive description: name: args sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" url: "https://pub.dev" source: hosted version: "2.5.0" async: dependency: transitive description: name: async sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" url: "https://pub.dev" source: hosted version: "2.11.0" binary_serializable: dependency: "direct overridden" description: path: "packages/binary_serializable" ref: main resolved-ref: "06632fb93c4cb8aa8614fc36899e29c699f785d0" url: "https://github.com/abitofevrything/binary_serializable" source: git version: "0.3.2" binary_serializable_generator: dependency: "direct overridden" description: path: "packages/binary_serializable_generator" ref: main resolved-ref: "06632fb93c4cb8aa8614fc36899e29c699f785d0" url: "https://github.com/abitofevrything/binary_serializable" source: git version: "0.3.2" blowfish: dependency: transitive description: name: blowfish sha256: b771b47ad760bf401f09e87503b1465b2730d1d51200a4f2103f208bd4d3692f url: "https://pub.dev" source: hosted version: "1.0.2" boolean_selector: dependency: transitive description: name: boolean_selector sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" url: "https://pub.dev" source: hosted version: "2.1.1" build: dependency: transitive description: name: build sha256: "80184af8b6cb3e5c1c4ec6d8544d27711700bc3e6d2efad04238c7b5290889f0" url: "https://pub.dev" source: hosted version: "2.4.1" build_config: dependency: transitive description: name: build_config s[...] sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c" url: "https://pub.dev" source: hosted version: "0.7.3" test_core: dependency: transitive description: name: test_core sha256: "12391302411737c176b0b5d6491f466b0dd56d4763e347b6714efbaa74d7953d" url: "https://pub.dev" source: hosted version: "0.6.5" timing: dependency: transitive description: name: timing sha256: "70a3b636575d4163c477e6de42f247a23b315ae20e86442bebe32d3cabf61c32" url: "https://pub.dev" source: hosted version: "1.0.1" typed_data: dependency: transitive description: name: typed_data sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c url: "https://pub.dev" source: hosted version: "1.3.2" vm_service: dependency: transitive description: name: vm_service sha256: f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b url: "https://pub.dev" source: hosted version: "14.3.0" watcher: dependency: transitive description: name: watcher sha256: "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8" url: "https://pub.dev" source: hosted version: "1.1.0" web: dependency: transitive description: name: web sha256: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb url: "https://pub.dev" source: hosted version: "1.1.0" web_socket: dependency: transitive description: name: web_socket sha256: "3c12d96c0c9a4eec095246debcea7b86c0324f22df69893d538fcc6f1b8cce83" url: "https://pub.dev" source: hosted version: "0.1.6" web_socket_channel: dependency: transitive description: name: web_socket_channel sha256: "9f187088ed104edd8662ca07af4b124465893caf063ba29758f97af57e61da8f" url: "https://pub.dev" source: hosted version: "3.0.1" webkit_inspection_protocol: dependency: transitive description: name: webkit_inspection_protocol sha256: "87d3f2333bb240704cd3f1c6b5b7acd8a10e7f0bc28c28dcf14e782014f4a572" url: "https://pub.dev" source: hosted version: "1.2.1" yaml: dependency: transitive description: name: yaml sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5" url: "https://pub.dev" source: hosted version: "3.1.2" sdks: dart: ">=3.6.0-198.0.dev <4.0.0" ---- End pubspec.lock ---- ---- Log transcript ---- SLVR: Version solving took 0:00:02.676795 seconds. | Tried 1 solutions. FINE: Resolving dependencies in `/home/abitofevrything/src/dart_ssh` finished (2.7s). FINE: Downloading packages finished (0.0s). MSG : ! binary_serializable 0.3.2 from git https://github.com/abitofevrything/binary_serializable at 06632f in packages/binary_serializable (overridden) | ! binary_serializable_generator 0.3.2 from git https://github.com/abitofevrything/binary_serializable at 06632f in packages/binary_serializable_generator (overridden) | ! build_runner 2.4.13-wip from git https://github.com/dart-lang/build at 16da6f in build_runner (overridden) | lints 4.0.0 (5.0.0 available) MSG : No dependencies changed in `/home/abitofevrything/src/dart_ssh`. MSG : 1 package has newer versions incompatible with dependency constraints. | Try `dart pub outdated` for more information. IO : Writing 16819 characters to text file ../../pubspec.lock. FINE: Contents: | # Generated by pub | # See https://dart.dev/tools/pub/glossary#lockfile | packages: | _fe_analyzer_shared: | dependency: transitive | description: | name: _fe_analyzer_shared | sha256: f6dbf021f4b214d85c79822912c5fcd142a2c4869f01222ad371bc51f9f1c356 | url: "https://pub.dev" | source: hosted | version: "74.0.0" | _macros: | dependency: transitive | description: dart | source: sdk | version: "0.3.3" | analyzer: | dependency: transitive | description: | name: analyzer | sha256: f7e8caf82f2d3190881d81012606effdf8a38e6c1ab9e30947149733065f817c | url: "https://pub.dev" | source: hosted | version: "6.9.0" | args: | dependency: transitive | description: | name: args | sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" | url: "https://pub.dev" | source: hosted | version: "2.5.0" | async: | dependency: transitive | description: | name: async | sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" | url: "https://pub.dev" | source: hosted | version: "2.11.0" | binary_serializable: | dependency: "direct overridden" | description: | path: "packages/binary_serializable" | ref: main | resolved-ref: "06632fb93c4cb8aa8614fc36899e29c699f785d0" | url: "https://github.com/abitofevrything/binary_serializable" | source: git | version: "0.3.2" | binary_serializable_generator: | dependency: "direct overridden" | description: | path: "packages/binary_serializable_generator" | ref: main | resolved-ref: "06632fb93c4cb8aa8614fc36899e29c699f785d0" | url: "https://github.com/abitofevrything/binary_serializable" | source: git | version: "0.3.2" | blowfish: | dependency: transitive | description: | name: blowfish | sha256: b771b47ad760bf401f09e87503b1465b2730d1d51200a4f2103f208bd4d3692f | url: "https://pub.dev" | source: hosted | version: "1.0.2" | boolean_selector: | dependency: transitive | description: | name: boolean_selector | sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" | url: "https://pub.dev" | source: hosted | version: "2.1.1" | build: | dependency: transitive | description: | name: build | sha256: "80184af8b6cb3e5c1c4ec6d8544d27711700bc3e6d2efad04238c7b5290889f0" | url: "https://pub.dev" | source: hosted | version: "2.4.1" | build_config: | dependency: transitive | description: | name: build_config | sha256: bf80fcfb46a29945b423bd9aad884590fb1dc69b330a4d4700cac476af1708d1 | url: "https://pub.dev" | source: hosted | version: "1.1.1" | build_daemon: | dependency: transitive | description: | name: build_daemon | sha256: "79b2aef6ac2ed00046867ed354c88778c9c0f029df8a20fe10b5436826721ef9" | url: "https://pub.dev" | source: hosted | version: "4.0.2" | build_resolvers: | dependency: transitive | description: | name: build_resolvers | sha256: "339086358431fa15d7eca8b6a36e5d783728cf025e559b834f4609a1fcfb7b0a" | url: "https://pub.dev" | source: hosted | version: "2.4.2" | build_runner: | dependency: "direct overridden" | description: | path: build_runner | ref: master | resolved-ref: "16da6fb2a9c3cb4ecf6d1155eefd17577128bb5b" | url: "https://github.com/dart-lang/build" | source: git | version: "2.4.13-wip" | build_runner_core: | dependency: transitive | description: | name: build_runner_core | sha256: f8126682b87a7282a339b871298cc12009cb67109cfa1614d6436fb0289193e0 | url: "https://pub.dev" | source: hosted | version: "7.3.2" | built_collection: | dependency: transitive | description: | name: built_collection | sha256: "376e3dd27b51ea877c28d525560790aee2e6fbb5f20e2f85d5081027d94e2100" | url: "https://pub.dev" | source: hosted | version: "5.1.1" | built_value: | dependency: transitive | description: | name: built_value | sha256: c7913a9737ee4007efedaffc968c049fd0f3d0e49109e778edc10de9426005cb | url: "https://pub.dev" | source: hosted | version: "8.9.2" | checked_yaml: | dependency: transitive | description: | name: checked_yaml | sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff | url: "https://pub.dev" | source: hosted | version: "2.0.3" | code_builder: | dependency: transitive | description: | name: code_builder | sha256: f692079e25e7869c14132d39f223f8eec9830eb76131925143b2129c4bb01b37 | url: "https://pub.dev" | source: hosted | version: "4.10.0" | collection: | dependency: transitive | description: | name: collection | sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf | url: "https://pub.dev" | source: hosted | version: "1.19.0" | convert: | dependency: transitive | description: | name: convert | sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592" | url: "https://pub.dev" | source: hosted | version: "3.1.1" | coverage: | dependency: transitive | description: | name: coverage | sha256: c1fb2dce3c0085f39dc72668e85f8e0210ec7de05345821ff58530567df345a5 | url: "https://pub.dev" | source: hosted | version: "1.9.2" | crypto: | dependency: transitive | description: | name: crypto | sha256: ec30d999af904f33454ba22ed9a86162b35e52b44ac4807d1d93c288041d7d27 | url: "https://pub.dev" | source: hosted | version: "3.0.5" | dart_style: | dependency: transitive | description: | name: dart_style | sha256: "7856d364b589d1f08986e140938578ed36ed948581fbc3bc9aef1805039ac5ab" | url: "https://pub.dev" | source: hosted | version: "2.3.7" | file: | dependency: transitive | description: | name: file | sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c" | url: "https://pub.dev" | source: hosted | version: "7.0.0" | fixnum: | dependency: transitive | description: | name: fixnum | sha256: "25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1" | url: "https://pub.dev" | source: hosted | version: "1.1.0" | frontend_server_client: | dependency: transitive | description: | name: frontend_server_client | sha256: f64a0333a82f30b0cca061bc3d143813a486dc086b574bfb233b7c1372427694 | url: "https://pub.dev" | source: hosted | version: "4.0.0" | glob: | dependency: transitive | description: | name: glob | sha256: "0e7014b3b7d4dac1ca4d6114f82bf1782ee86745b9b42a92c9289c23d8a0ab63" | url: "https://pub.dev" | source: hosted | version: "2.1.2" | graphs: | dependency: transitive | description: | name: graphs | sha256: "741bbf84165310a68ff28fe9e727332eef1407342fca52759cb21ad8177bb8d0" | url: "https://pub.dev" | source: hosted | version: "2.3.2" | http_multi_server: | dependency: transitive | description: | name: http_multi_server | sha256: "97486f20f9c2f7be8f514851703d0119c3596d14ea63227af6f7a481ef2b2f8b" | url: "https://pub.dev" | source: hosted | version: "3.2.1" | http_parser: | dependency: transitive | description: | name: http_parser | sha256: "40f592dd352890c3b60fec1b68e786cefb9603e05ff303dbc4dda49b304ecdf4" | url: "https://pub.dev" | source: hosted | version: "4.1.0" | io: | dependency: transitive | description: | name: io | sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e" | url: "https://pub.dev" | source: hosted | version: "1.0.4" | js: | dependency: transitive | description: | name: js | sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf | url: "https://pub.dev" | source: hosted | version: "0.7.1" | json_annotation: | dependency: transitive | description: | name: json_annotation | sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1" | url: "https://pub.dev" | source: hosted | version: "4.9.0" | lints: | dependency: transitive | description: | name: lints | sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235" | url: "https://pub.dev" | source: hosted | version: "4.0.0" | logging: | dependency: transitive | description: | name: logging | sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340" | url: "https://pub.dev" | source: hosted | version: "1.2.0" | macros: | dependency: transitive | description: | name: macros | sha256: "1d9e801cd66f7ea3663c45fc708450db1fa57f988142c64289142c9b7ee80656" | url: "https://pub.dev" | source: hosted | version: "0.1.3-main.0" | matcher: | dependency: transitive | description: | name: matcher | sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb | url: "https://pub.dev" | source: hosted | version: "0.12.16+1" | meta: | dependency: transitive | description: | name: meta | sha256: e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c | url: "https://pub.dev" | source: hosted | version: "1.16.0" | mime: | dependency: transitive | description: | name: mime | sha256: "801fd0b26f14a4a58ccb09d5892c3fbdeff209594300a542492cf13fba9d247a" | url: "https://pub.dev" | source: hosted | version: "1.0.6" | node_preamble: | dependency: transitive | description: | name: node_preamble | sha256: "6e7eac89047ab8a8d26cf16127b5ed26de65209847630400f9aefd7cd5c730db" | url: "https://pub.dev" | source: hosted | version: "2.0.2" | package_config: | dependency: transitive | description: | name: package_config | sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd" | url: "https://pub.dev" | source: hosted | version: "2.1.0" | path: | dependency: transitive | description: | name: path | sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" | url: "https://pub.dev" | source: hosted | version: "1.9.0" | pointycastle: | dependency: transitive | description: | name: pointycastle | sha256: "4be0097fcf3fd3e8449e53730c631200ebc7b88016acecab2b0da2f0149222fe" | url: "https://pub.dev" | source: hosted | version: "3.9.1" | pool: | dependency: transitive | description: | name: pool | sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a" | url: "https://pub.dev" | source: hosted | version: "1.5.1" | pub_semver: | dependency: transitive | description: | name: pub_semver | sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c" | url: "https://pub.dev" | source: hosted | version: "2.1.4" | pubspec_parse: | dependency: transitive | description: | name: pubspec_parse | sha256: c799b721d79eb6ee6fa56f00c04b472dcd44a30d258fac2174a6ec57302678f8 | url: "https://pub.dev" | source: hosted | version: "1.3.0" | shelf: | dependency: transitive | description: | name: shelf | sha256: e7dd780a7ffb623c57850b33f43309312fc863fb6aa3d276a754bb299839ef12 | url: "https://pub.dev" | source: hosted | version: "1.4.2" | shelf_packages_handler: | dependency: transitive | description: | name: shelf_packages_handler | sha256: "89f967eca29607c933ba9571d838be31d67f53f6e4ee15147d5dc2934fee1b1e" | url: "https://pub.dev" | source: hosted | version: "3.0.2" | shelf_static: | dependency: transitive | description: | name: shelf_static | sha256: c87c3875f91262785dade62d135760c2c69cb217ac759485334c5857ad89f6e3 | url: "https://pub.dev" | source: hosted | version: "1.1.3" | shelf_web_socket: | dependency: transitive | description: | name: shelf_web_socket | sha256: "073c147238594ecd0d193f3456a5fe91c4b0abbcc68bf5cd95b36c4e194ac611" | url: "https://pub.dev" | source: hosted | version: "2.0.0" | source_gen: | dependency: transitive | description: | name: source_gen | sha256: "14658ba5f669685cd3d63701d01b31ea748310f7ab854e471962670abcf57832" | url: "https://pub.dev" | source: hosted | version: "1.5.0" | source_map_stack_trace: | dependency: transitive | description: | name: source_map_stack_trace | sha256: c0713a43e323c3302c2abe2a1cc89aa057a387101ebd280371d6a6c9fa68516b | url: "https://pub.dev" | source: hosted | version: "2.1.2" | source_maps: | dependency: transitive | description: | name: source_maps | sha256: "708b3f6b97248e5781f493b765c3337db11c5d2c81c3094f10904bfa8004c703" | url: "https://pub.dev" | source: hosted | version: "0.10.12" | source_span: | dependency: transitive | description: | name: source_span | sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" | url: "https://pub.dev" | source: hosted | version: "1.10.0" | stack_trace: | dependency: transitive | description: | name: stack_trace | sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" | url: "https://pub.dev" | source: hosted | version: "1.11.1" | stream_channel: | dependency: transitive | description: | name: stream_channel | sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 | url: "https://pub.dev" | source: hosted | version: "2.1.2" | stream_transform: | dependency: transitive | description: | name: stream_transform | sha256: "14a00e794c7c11aa145a170587321aedce29769c08d7f58b1d141da75e3b1c6f" | url: "https://pub.dev" | source: hosted | version: "2.1.0" | string_scanner: | dependency: transitive | description: | name: string_scanner | sha256: "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3" | url: "https://pub.dev" | source: hosted | version: "1.3.0" | term_glyph: | dependency: transitive | description: | name: term_glyph | sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 | url: "https://pub.dev" | source: hosted | version: "1.2.1" | test: | dependency: transitive | description: | name: test | sha256: "713a8789d62f3233c46b4a90b174737b2c04cb6ae4500f2aa8b1be8f03f5e67f" | url: "https://pub.dev" | source: hosted | version: "1.25.8" | test_api: | dependency: transitive | description: | name: test_api | sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c" | url: "https://pub.dev" | source: hosted | version: "0.7.3" | test_core: | dependency: transitive | description: | name: test_core | sha256: "12391302411737c176b0b5d6491f466b0dd56d4763e347b6714efbaa74d7953d" | url: "https://pub.dev" | source: hosted | version: "0.6.5" | timing: | dependency: transitive | description: | name: timing | sha256: "70a3b636575d4163c477e6de42f247a23b315ae20e86442bebe32d3cabf61c32" | url: "https://pub.dev" | source: hosted | version: "1.0.1" | typed_data: | dependency: transitive | description: | name: typed_data | sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c | url: "https://pub.dev" | source: hosted | version: "1.3.2" | vm_service: | dependency: transitive | description: | name: vm_service | sha256: f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b | url: "https://pub.dev" | source: hosted | version: "14.3.0" | watcher: | dependency: transitive | description: | name: watcher | sha256: "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8" | url: "https://pub.dev" | source: hosted | version: "1.1.0" | web: | dependency: transitive | description: | name: web | sha256: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb | url: "https://pub.dev" | source: hosted | version: "1.1.0" | web_socket: | dependency: transitive | description: | name: web_socket | sha256: "3c12d96c0c9a4eec095246debcea7b86c0324f22df69893d538fcc6f1b8cce83" | url: "https://pub.dev" | source: hosted | version: "0.1.6" | web_socket_channel: | dependency: transitive | description: | name: web_socket_channel | sha256: "9f187088ed104edd8662ca07af4b124465893caf063ba29758f97af57e61da8f" | url: "https://pub.dev" | source: hosted | version: "3.0.1" | webkit_inspection_protocol: | dependency: transitive | description: | name: webkit_inspection_protocol | sha256: "87d3f2333bb240704cd3f1c6b5b7acd8a10e7f0bc28c28dcf14e782014f4a572" | url: "https://pub.dev" | source: hosted | version: "1.2.1" | yaml: | dependency: transitive | description: | name: yaml | sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5" | url: "https://pub.dev" | source: hosted | version: "3.1.2" | sdks: | dart: ">=3.6.0-198.0.dev <4.0.0" IO : Writing 14682 characters to text file ../../.dart_tool/package_config.json. FINE: Contents: | { | "configVersion": 2, | "packages": [ | { | "name": "_fe_analyzer_shared", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/_fe_analyzer_shared-74.0.0", | "packageUri": "lib/", | "languageVersion": "3.3" | }, | { | "name": "_macros", | "rootUri": "file:///opt/dart-sdk-dev/pkg/_macros", | "packageUri": "lib/", | "languageVersion": "3.4" | }, | { | "name": "analyzer", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/analyzer-6.9.0", | "packageUri": "lib/", | "languageVersion": "3.3" | }, | { | "name": "args", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/args-2.5.0", | "packageUri": "lib/", | "languageVersion": "3.0" | }, | { | "name": "async", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/async-2.11.0", | "packageUri": "lib/", | "languageVersion": "2.18" | }, | { | "name": "binary_serializable", | "rootUri": "file:///home/abitofevrything/.pub-cache/git/binary_serializable-06632fb93c4cb8aa8614fc36899e29c699f785d0/packages/binary_serializable", | "packageUri": "lib/", | "languageVersion": "3.5" | }, | { | "name": "binary_serializable_generator", | "rootUri": "file:///home/abitofevrything/.pub-cache/git/binary_serializable-06632fb93c4cb8aa8614fc36899e29c699f785d0/packages/binary_serializable_generator", | "packageUri": "lib/", | "languageVersion": "3.5" | }, | { | "name": "blowfish", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/blowfish-1.0.2", | "packageUri": "lib/", | "languageVersion": "3.3" | }, | { | "name": "boolean_selector", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1", | "packageUri": "lib/", | "languageVersion": "2.17" | }, | { | "name": "build", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/build-2.4.1", | "packageUri": "lib/", | "languageVersion": "2.19" | }, | { | "name": "build_config", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/build_config-1.1.1", | "packageUri": "lib/", | "languageVersion": "2.14" | }, | { | "name": "build_daemon", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/build_daemon-4.0.2", | "packageUri": "lib/", | "languageVersion": "3.4" | }, | { | "name": "build_resolvers", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/build_resolvers-2.4.2", | "packageUri": "lib/", | "languageVersion": "3.0" | }, | { | "name": "build_runner", | "rootUri": "file:///home/abitofevrything/.pub-cache/git/build-16da6fb2a9c3cb4ecf6d1155eefd17577128bb5b/build_runner", | "packageUri": "lib/", | "languageVersion": "3.5" | }, | { | "name": "build_runner_core", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/build_runner_core-7.3.2", | "packageUri": "lib/", | "languageVersion": "3.5" | }, | { | "name": "built_collection", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/built_collection-5.1.1", | "packageUri": "lib/", | "languageVersion": "2.12" | }, | { | "name": "built_value", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/built_value-8.9.2", | "packageUri": "lib/", | "languageVersion": "3.0" | }, | { | "name": "checked_yaml", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/checked_yaml-2.0.3", | "packageUri": "lib/", | "languageVersion": "2.19" | }, | { | "name": "code_builder", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/code_builder-4.10.0", | "packageUri": "lib/", | "languageVersion": "3.0" | }, | { | "name": "collection", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/collection-1.19.0", | "packageUri": "lib/", | "languageVersion": "3.4" | }, | { | "name": "convert", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/convert-3.1.1", | "packageUri": "lib/", | "languageVersion": "2.18" | }, | { | "name": "coverage", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/coverage-1.9.2", | "packageUri": "lib/", | "languageVersion": "3.4" | }, | { | "name": "crypto", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/crypto-3.0.5", | "packageUri": "lib/", | "languageVersion": "3.4" | }, | { | "name": "dart_style", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/dart_style-2.3.7", | "packageUri": "lib/", | "languageVersion": "3.0" | }, | { | "name": "file", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/file-7.0.0", | "packageUri": "lib/", | "languageVersion": "3.0" | }, | { | "name": "fixnum", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/fixnum-1.1.0", | "packageUri": "lib/", | "languageVersion": "2.19" | }, | { | "name": "frontend_server_client", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/frontend_server_client-4.0.0", | "packageUri": "lib/", | "languageVersion": "3.0" | }, | { | "name": "glob", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/glob-2.1.2", | "packageUri": "lib/", | "languageVersion": "2.19" | }, | { | "name": "graphs", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/graphs-2.3.2", | "packageUri": "lib/", | "languageVersion": "3.4" | }, | { | "name": "http_multi_server", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/http_multi_server-3.2.1", | "packageUri": "lib/", | "languageVersion": "2.12" | }, | { | "name": "http_parser", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/http_parser-4.1.0", | "packageUri": "lib/", | "languageVersion": "3.4" | }, | { | "name": "io", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/io-1.0.4", | "packageUri": "lib/", | "languageVersion": "2.12" | }, | { | "name": "js", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/js-0.7.1", | "packageUri": "lib/", | "languageVersion": "3.1" | }, | { | "name": "json_annotation", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/json_annotation-4.9.0", | "packageUri": "lib/", | "languageVersion": "3.0" | }, | { | "name": "lints", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/lints-4.0.0", | "packageUri": "lib/", | "languageVersion": "3.1" | }, | { | "name": "logging", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/logging-1.2.0", | "packageUri": "lib/", | "languageVersion": "2.19" | }, | { | "name": "macros", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/macros-0.1.3-main.0", | "packageUri": "lib/", | "languageVersion": "3.4" | }, | { | "name": "matcher", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/matcher-0.12.16+1", | "packageUri": "lib/", | "languageVersion": "3.0" | }, | { | "name": "meta", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/meta-1.16.0", | "packageUri": "lib/", | "languageVersion": "2.12" | }, | { | "name": "mime", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/mime-1.0.6", | "packageUri": "lib/", | "languageVersion": "3.2" | }, | { | "name": "node_preamble", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/node_preamble-2.0.2", | "packageUri": "lib/", | "languageVersion": "2.12" | }, | { | "name": "package_config", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/package_config-2.1.0", | "packageUri": "lib/", | "languageVersion": "2.12" | }, | { | "name": "path", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/path-1.9.0", | "packageUri": "lib/", | "languageVersion": "3.0" | }, | { | "name": "pointycastle", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/pointycastle-3.9.1", | "packageUri": "lib/", | "languageVersion": "3.2" | }, | { | "name": "pool", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/pool-1.5.1", | "packageUri": "lib/", | "languageVersion": "2.12" | }, | { | "name": "pub_semver", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/pub_semver-2.1.4", | "packageUri": "lib/", | "languageVersion": "2.17" | }, | { | "name": "pubspec_parse", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/pubspec_parse-1.3.0", | "packageUri": "lib/", | "languageVersion": "3.0" | }, | { | "name": "shelf", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/shelf-1.4.2", | "packageUri": "lib/", | "languageVersion": "3.4" | }, | { | "name": "shelf_packages_handler", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/shelf_packages_handler-3.0.2", | "packageUri": "lib/", | "languageVersion": "2.17" | }, | { | "name": "shelf_static", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/shelf_static-1.1.3", | "packageUri": "lib/", | "languageVersion": "3.3" | }, | { | "name": "shelf_web_socket", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/shelf_web_socket-2.0.0", | "packageUri": "lib/", | "languageVersion": "3.0" | }, | { | "name": "source_gen", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/source_gen-1.5.0", | "packageUri": "lib/", | "languageVersion": "3.0" | }, | { | "name": "source_map_stack_trace", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/source_map_stack_trace-2.1.2", | "packageUri": "lib/", | "languageVersion": "3.3" | }, | { | "name": "source_maps", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/source_maps-0.10.12", | "packageUri": "lib/", | "languageVersion": "2.18" | }, | { | "name": "source_span", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/source_span-1.10.0", | "packageUri": "lib/", | "languageVersion": "2.18" | }, | { | "name": "stack_trace", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/stack_trace-1.11.1", | "packageUri": "lib/", | "languageVersion": "2.18" | }, | { | "name": "stream_channel", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/stream_channel-2.1.2", | "packageUri": "lib/", | "languageVersion": "2.19" | }, | { | "name": "stream_transform", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/stream_transform-2.1.0", | "packageUri": "lib/", | "languageVersion": "2.14" | }, | { | "name": "string_scanner", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/string_scanner-1.3.0", | "packageUri": "lib/", | "languageVersion": "3.1" | }, | { | "name": "term_glyph", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/term_glyph-1.2.1", | "packageUri": "lib/", | "languageVersion": "2.12" | }, | { | "name": "test", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/test-1.25.8", | "packageUri": "lib/", | "languageVersion": "3.4" | }, | { | "name": "test_api", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/test_api-0.7.3", | "packageUri": "lib/", | "languageVersion": "3.4" | }, | { | "name": "test_core", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/test_core-0.6.5", | "packageUri": "lib/", | "languageVersion": "3.4" | }, | { | "name": "timing", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/timing-1.0.1", | "packageUri": "lib/", | "languageVersion": "2.14" | }, | { | "name": "typed_data", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/typed_data-1.3.2", | "packageUri": "lib/", | "languageVersion": "2.17" | }, | { | "name": "vm_service", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/vm_service-14.3.0", | "packageUri": "lib/", | "languageVersion": "3.3" | }, | { | "name": "watcher", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/watcher-1.1.0", | "packageUri": "lib/", | "languageVersion": "3.0" | }, | { | "name": "web", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/web-1.1.0", | "packageUri": "lib/", | "languageVersion": "3.4" | }, | { | "name": "web_socket", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/web_socket-0.1.6", | "packageUri": "lib/", | "languageVersion": "3.3" | }, | { | "name": "web_socket_channel", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/web_socket_channel-3.0.1", | "packageUri": "lib/", | "languageVersion": "3.3" | }, | { | "name": "webkit_inspection_protocol", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/webkit_inspection_protocol-1.2.1", | "packageUri": "lib/", | "languageVersion": "3.0" | }, | { | "name": "yaml", | "rootUri": "file:///home/abitofevrything/.pub-cache/hosted/pub.dev/yaml-3.1.2", | "packageUri": "lib/", | "languageVersion": "2.19" | }, | { | "name": "dart_ssh", | "rootUri": "../", | "packageUri": "lib/", | "languageVersion": "3.5" | }, | { | "name": "ssh_client", | "rootUri": "../packages/ssh_client", | "packageUri": "lib/", | "languageVersion": "3.5" | }, | { | "name": "ssh_services", | "rootUri": "../packages/ssh_services", | "packageUri": "lib/", | "languageVersion": "3.6" | } | ], | "generated": "2024-09-25T18:16:53.019634Z", | "generator": "pub", | "generatorVersion": "3.6.0-270.0.dev", | "pubCache": "file:///home/abitofevrything/.pub-cache" | } IO : Writing 31 characters to text file ../../.dart_tool/pub/workspace_ref.json. FINE: Contents: | { | "workspaceRoot": "../.." | } IO : Writing 37 characters to text file ../../packages/ssh_client/.dart_tool/pub/workspace_ref.json. FINE: Contents: | { | "workspaceRoot": "../../../.." | } IO : Writing 37 characters to text file ../../packages/ssh_services/.dart_tool/pub/workspace_ref.json. FINE: Contents: | { | "workspaceRoot": "../../../.." | } ERR : Invalid argument(s): Minimum version ("0.3.2") must be less than maximum ("0.3.0-0"). FINE: Exception type: ArgumentError ERR : package:pub_semver/src/version_range.dart 67:7 new VersionRange | package:pub/src/entrypoint.dart 1422:17 Entrypoint.tighten | package:pub/src/command/upgrade.dart 145:24 UpgradeCommand.runProtected | ===== asynchronous gap =========================== | package:pub/src/command.dart 196:7 PubCommand.run | ===== asynchronous gap =========================== | package:args/command_runner.dart 212:13 CommandRunner.runCommand | ===== asynchronous gap =========================== | package:dartdev/dartdev.dart 240:18 DartdevRunner.runCommand | ===== asynchronous gap =========================== | package:dartdev/dartdev.dart 47:16 runDartdev | ===== asynchronous gap =========================== | /b/s/w/ir/x/w/sdk/pkg/dartdev/bin/dartdev.dart 13:5 main ERR : This is an unexpected error. The full log and other details are collected in: | | /home/abitofevrything/.pub-cache/log/pub_log.txt | | Consider creating an issue on https://github.com/dart-lang/pub/issues/new | and attaching the relevant parts of that log file. ---- End log transcript ---- ```
sigurdm commented 1 week ago

This surely shouldn't crash - but I'm not sure what the actual behavior should be if the overridden version is outside the current range... Maybe just set it to ^overriden

abitofevrything commented 1 week ago

Well, the dependency overrides did originally point to a different version - but at the moment I ran this command, the main branch of the dependencies causing the issue (not build_runner) pointed to the exact same code released on pub.

Since the upgrade part completed successfully, the overrides were not actually applying any different version than was available on pub - I simply happened to run this command before removing the redundant overrides.