dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.31k stars 1.59k forks source link

pub get: Minimum version ("2.0.0-dev.15.0") must be less than maximum ("2.0.0-dev.6.0") #31844

Closed srawlins closed 6 years ago

srawlins commented 6 years ago

This comes from running pub --trace get inside a clean checkout of discoveryapis_commons. Here's the pubspec, for reference:

name: _discoveryapis_commons
version: 0.1.4
author: Dart Team <misc@dartlang.org>
description: Library for use by client APIs generated from Discovery Documents.
homepage: https://github.com/dart-lang/discoveryapis_commons
environment:
  sdk: '>=1.21.0 <2.0.0'
dependencies:
  http: '>=0.11.1 <0.12.0'
dev_dependencies:
  test: '^0.12.0'

(The error does not go away if you delete the environment: section.)

Dart and pub versions:

$ dart --version
Dart VM version: 2.0.0-dev.6.0 (Thu Nov  2 08:58:36 2017) on "macos_x64"
$ pub --version
Pub 2.0.0-dev.6.0

Output of pub --trace get:

Resolving dependencies...
Invalid argument(s): Minimum version ("2.0.0-dev.15.0") must be less than maximum ("2.0.0-dev.6.0").
package:pub_semver/src/version_range.dart 59         new VersionRange
package:pub/src/pubspec.dart 380                     Pubspec._ensureEnvironment
package:pub/src/pubspec.dart 345                     Pubspec.dartSdkConstraint
package:pub/src/solver/backtracking_solver.dart 511  BacktrackingSolver._checkPubspecMatchesSdkConstraint
package:pub/src/solver/backtracking_solver.dart 474  BacktrackingSolver._checkVersion
package:pub/src/solver/backtracking_solver.dart 432  BacktrackingSolver._findValidVersion.<fn>
dart:async                                           Future.doWhile
package:pub/src/solver/backtracking_solver.dart 430  BacktrackingSolver._findValidVersion
package:pub/src/solver/backtracking_solver.dart 337  BacktrackingSolver._versionQueueFor
package:pub/src/solver/backtracking_solver.dart 290  BacktrackingSolver._solve.<fn>
dart:async                                           _completeOnAsyncReturn
package:pub/src/solver/backtracking_solver.dart 315  BacktrackingSolver._solve.<fn>
dart:async                                           _completeOnAsyncReturn
package:pub/src/solver/version_selection.dart 64     VersionSelection.select
dart:async                                           _completeOnAsyncReturn
package:pub/src/solver/version_selection.dart 91     VersionSelection._addDependencies
===== asynchronous gap ===========================
dart:async                                           _Completer.completeError
package:pub/src/solver/backtracking_solver.dart      BacktrackingSolver._checkVersion
===== asynchronous gap ===========================
dart:async                                           _asyncThenWrapperHelper
package:pub/src/solver/backtracking_solver.dart 458  BacktrackingSolver._checkVersion
package:pub/src/solver/backtracking_solver.dart 432  BacktrackingSolver._findValidVersion.<fn>
===== asynchronous gap ===========================
dart:async                                           new Future.microtask
package:pub/src/solver/backtracking_solver.dart 430  BacktrackingSolver._findValidVersion.<fn>
dart:async                                           Future.doWhile
package:pub/src/solver/backtracking_solver.dart 430  BacktrackingSolver._findValidVersion
package:pub/src/solver/backtracking_solver.dart 337  BacktrackingSolver._versionQueueFor
===== asynchronous gap ===========================
dart:async                                           Future.doWhile
package:pub/src/solver/backtracking_solver.dart 430  BacktrackingSolver._findValidVersion
package:pub/src/solver/backtracking_solver.dart 337  BacktrackingSolver._versionQueueFor
===== asynchronous gap ===========================
dart:async                                           _asyncThenWrapperHelper
package:pub/src/solver/backtracking_solver.dart 327  BacktrackingSolver._versionQueueFor
package:pub/src/solver/backtracking_solver.dart 290  BacktrackingSolver._solve.<fn>
===== asynchronous gap ===========================
dart:async                                           _asyncThenWrapperHelper
package:pub/src/solver/backtracking_solver.dart 279  BacktrackingSolver._solve.<fn>
dart:async                                           _completeOnAsyncReturn
package:pub/src/solver/backtracking_solver.dart 315  BacktrackingSolver._solve.<fn>
dart:async                                           _completeOnAsyncReturn
package:pub/src/solver/version_selection.dart 64     VersionSelection.select
dart:async                                           _completeOnAsyncReturn
package:pub/src/solver/version_selection.dart 91     VersionSelection._addDependencies
===== asynchronous gap ===========================
dart:async                                           Future.doWhile
package:pub/src/solver/backtracking_solver.dart 279  BacktrackingSolver._solve
===== asynchronous gap ===========================
dart:async                                           new Future.microtask
package:pub/src/solver/backtracking_solver.dart 277  BacktrackingSolver._solve
package:pub/src/solver/backtracking_solver.dart 179  BacktrackingSolver.solve
===== asynchronous gap ===========================
dart:async                                           _asyncThenWrapperHelper
package:pub/src/solver/backtracking_solver.dart 160  BacktrackingSolver.solve
package:pub/src/solver/version_solver.dart 42        resolveVersions.<fn>
package:pub/src/log.dart 409                         progress
package:pub/src/solver/version_solver.dart 40        resolveVersions
package:pub/src/entrypoint.dart 195                  Entrypoint.acquireDependencies
===== asynchronous gap ===========================
dart:async                                           new Future.microtask
package:pub/src/entrypoint.dart 194                  Entrypoint.acquireDependencies
package:pub/src/command/get.dart 38                  GetCommand.run
package:args/command_runner.dart 194                 CommandRunner.runCommand
===== asynchronous gap ===========================
dart:async                                           new Future.microtask
package:args/command_runner.dart 142                 CommandRunner.runCommand
package:pub/src/command_runner.dart 168              PubCommandRunner.runCommand.<fn>
dart:async                                           new Future.sync
package:pub/src/utils.dart 102                       captureErrors.<fn>
package:stack_trace                                  Chain.capture
package:pub/src/utils.dart 117                       captureErrors
package:pub/src/command_runner.dart 168              PubCommandRunner.runCommand
---- Log transcript ----
FINE: Pub 2.0.0-dev.6.0
MSG : Resolving dependencies...
SLVR: Solving dependencies:
    | - http >=0.11.1 <0.12.0 from hosted (http)
IO  : Get versions from https://pub.dartlang.org/api/packages/http.
IO  : HTTP GET https://pub.dartlang.org/api/packages/http
    | Accept: application/vnd.pub.v2+json
    | X-Pub-OS: macos
    | X-Pub-Command: get
    | X-Pub-Session-ID: 5C84E77E-1158-4FC1-A34E-A6C89B5B836B
    | X-Pub-Reason: direct
    | user-agent: Dart pub 2.0.0-dev.6.0
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/http
    | took 0:00:00.211656
    | x-google-appengine-version: 20180107t111041
    | transfer-encoding: chunked
    | x-google-gfe-appengine-info: project_id=475963186251,terminating_service_type=4,region=us-central1
    | date: Wed, 10 Jan 2018 16:58:52 GMT
    | vary: Accept-Encoding
    | content-encoding: gzip
    | x-google-backends: [fda3:e722:ac3:10:0:fa1b:af0:2]:8443,pcei19:9817,/bns/pc/borg/pc/bns/cloud-gfe-prod-dedicated/cloud-layer2-gfe/3,phdx2:9830
    | x-google-gfe-response-code-details-trace: response_code_set_by_backend,response_code_set_by_backend
    | content-type: application/json
    | x-xss-protection: 1; mode=block
    | x-google-gfe-response-body-transformations: dechunked,chunked
    | x-google-service: cloud_475963186251_4173135444164202490_https,apphosting-dasher
    | server: nginx
    | x-google-gfe-request-trace: phdx2:9830,pcei19:9817,[fda3:e722:ac3:10:0:fa1b:af0:2]:8443,pcei19:9817,phdx2:9830
    | x-google-gfe-service-trace: apphosting-frontend-l2,cloud_475963186251_4173135444164202490_https,shared-layer2-gfe-dasher,apphosting-dasher
    | x-google-appengine-appid: s~dartlang-pub
    | x-google-gslb-service: cloud_475963186251_4173135444164202490_https
    | x-google-cookie-filter-tenant-name: 475963186251
    | x-frame-options: SAMEORIGIN
    | via: 1.1 google
    | x-content-type-options: nosniff
    | x-google-appengine-module: default
    | x-google-dos-service-trace: cloud-l7:cloud_475963186251_4173135444164202490_https,main:apphosting
IO  : Get versions from https://pub.dartlang.org/api/packages/test.
IO  : HTTP GET https://pub.dartlang.org/api/packages/test
    | Accept: application/vnd.pub.v2+json
    | X-Pub-OS: macos
    | X-Pub-Command: get
    | X-Pub-Session-ID: 5C84E77E-1158-4FC1-A34E-A6C89B5B836B
    | X-Pub-Reason: dev
    | user-agent: Dart pub 2.0.0-dev.6.0
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/test
    | took 0:00:00.081251
    | x-google-appengine-version: 20180107t111041
    | transfer-encoding: chunked
    | x-google-gfe-appengine-info: project_id=475963186251,terminating_service_type=4,region=us-central1
    | date: Wed, 10 Jan 2018 16:58:52 GMT
    | vary: Accept-Encoding
    | content-encoding: gzip
    | x-google-backends: [fda3:e722:ac3:10:0:fa1b:af0:2]:8443,pha65:9865,/bns/ph/borg/ph/bns/cloud-gfe-prod-dedicated/cloud-layer2-gfe/13,phdx2:9830
    | x-google-gfe-response-code-details-trace: response_code_set_by_backend,response_code_set_by_backend
    | content-type: application/json
    | x-xss-protection: 1; mode=block
    | x-google-gfe-response-body-transformations: dechunked,chunked
    | x-google-service: cloud_475963186251_4173135444164202490_https,apphosting-dasher
    | server: nginx
    | x-google-gfe-request-trace: phdx2:9830,pha65:9865,[fda3:e722:ac3:10:0:fa1b:af0:2]:8443,pha65:9865,phdx2:9830
    | x-google-gfe-service-trace: apphosting-frontend-l2,cloud_475963186251_4173135444164202490_https,shared-layer2-gfe-dasher,apphosting-dasher
    | x-google-appengine-appid: s~dartlang-pub
    | x-google-gslb-service: cloud_475963186251_4173135444164202490_https
    | x-google-cookie-filter-tenant-name: 475963186251
    | x-frame-options: SAMEORIGIN
    | via: 1.1 google
    | x-content-type-options: nosniff
    | x-google-appengine-module: default
    | x-google-dos-service-trace: cloud-l7:cloud_475963186251_4173135444164202490_https,main:apphosting
SLVR: * start at root
IO  : Get versions from https://pub.dartlang.org/api/packages/http_parser.
IO  : HTTP GET https://pub.dartlang.org/api/packages/http_parser
    | Accept: application/vnd.pub.v2+json
    | X-Pub-OS: macos
    | X-Pub-Command: get
    | X-Pub-Session-ID: 5C84E77E-1158-4FC1-A34E-A6C89B5B836B
    | user-agent: Dart pub 2.0.0-dev.6.0
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/http_parser
    | took 0:00:00.069628
    | x-google-appengine-version: 20180107t111041
    | transfer-encoding: chunked
    | x-google-gfe-appengine-info: project_id=475963186251,terminating_service_type=4,region=us-central1
    | date: Wed, 10 Jan 2018 16:58:53 GMT
    | vary: Accept-Encoding
    | content-encoding: gzip
    | x-google-backends: [fda3:e722:ac3:10:0:fa1b:af0:4]:8443,phk59:9884,/bns/ph/borg/ph/bns/cloud-gfe-prod-dedicated/cloud-layer2-gfe/8,phdx2:9830
    | x-google-gfe-response-code-details-trace: response_code_set_by_backend,response_code_set_by_backend
    | content-type: application/json
    | x-xss-protection: 1; mode=block
    | x-google-gfe-response-body-transformations: dechunked,chunked
    | x-google-service: cloud_475963186251_4173135444164202490_https,apphosting-dasher
    | server: nginx
    | x-google-gfe-request-trace: phdx2:9830,phk59:9884,[fda3:e722:ac3:10:0:fa1b:af0:4]:8443,phk59:9884,phdx2:9830
    | x-google-gfe-service-trace: apphosting-frontend-l2,cloud_475963186251_4173135444164202490_https,shared-layer2-gfe-dasher,apphosting-dasher
    | x-google-appengine-appid: s~dartlang-pub
    | x-google-gslb-service: cloud_475963186251_4173135444164202490_https
    | x-google-cookie-filter-tenant-name: 475963186251
    | x-frame-options: SAMEORIGIN
    | via: 1.1 google
    | x-content-type-options: nosniff
    | x-google-appengine-module: default
    | x-google-dos-service-trace: cloud-l7:cloud_475963186251_4173135444164202490_https,main:apphosting
IO  : Get versions from https://pub.dartlang.org/api/packages/async.
IO  : HTTP GET https://pub.dartlang.org/api/packages/async
    | Accept: application/vnd.pub.v2+json
    | X-Pub-OS: macos
    | X-Pub-Command: get
    | X-Pub-Session-ID: 5C84E77E-1158-4FC1-A34E-A6C89B5B836B
    | user-agent: Dart pub 2.0.0-dev.6.0
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/async
    | took 0:00:00.065827
    | x-google-appengine-version: 20180107t111041
    | transfer-encoding: chunked
    | x-google-gfe-appengine-info: project_id=475963186251,terminating_service_type=4,region=us-central1
    | date: Wed, 10 Jan 2018 16:58:53 GMT
    | vary: Accept-Encoding
    | content-encoding: gzip
    | x-google-backends: [fda3:e722:ac3:10:0:fa1b:af0:4]:8443,pcar140:9813,/bns/pc/borg/pc/bns/cloud-gfe-prod-dedicated/cloud-layer2-gfe/8,phdx2:9830
    | x-google-gfe-response-code-details-trace: response_code_set_by_backend,response_code_set_by_backend
    | content-type: application/json
    | x-xss-protection: 1; mode=block
    | x-google-gfe-response-body-transformations: dechunked,chunked
    | x-google-service: cloud_475963186251_4173135444164202490_https,apphosting-dasher
    | server: nginx
    | x-google-gfe-request-trace: phdx2:9830,pcar140:9813,[fda3:e722:ac3:10:0:fa1b:af0:4]:8443,pcar140:9813,phdx2:9830
    | x-google-gfe-service-trace: apphosting-frontend-l2,cloud_475963186251_4173135444164202490_https,shared-layer2-gfe-dasher,apphosting-dasher
    | x-google-appengine-appid: s~dartlang-pub
    | x-google-gslb-service: cloud_475963186251_4173135444164202490_https
    | x-google-cookie-filter-tenant-name: 475963186251
    | x-frame-options: SAMEORIGIN
    | via: 1.1 google
    | x-content-type-options: nosniff
    | x-google-appengine-module: default
    | x-google-dos-service-trace: cloud-l7:cloud_475963186251_4173135444164202490_https,main:apphosting
IO  : Get versions from https://pub.dartlang.org/api/packages/collection.
IO  : HTTP GET https://pub.dartlang.org/api/packages/collection
    | Accept: application/vnd.pub.v2+json
    | X-Pub-OS: macos
    | X-Pub-Command: get
    | X-Pub-Session-ID: 5C84E77E-1158-4FC1-A34E-A6C89B5B836B
    | user-agent: Dart pub 2.0.0-dev.6.0
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/collection
    | took 0:00:00.065855
    | x-google-appengine-version: 20180107t111041
    | transfer-encoding: chunked
    | x-google-gfe-appengine-info: project_id=475963186251,terminating_service_type=4,region=us-central1
    | date: Wed, 10 Jan 2018 16:58:53 GMT
    | vary: Accept-Encoding
    | content-encoding: gzip
    | x-google-backends: [fda3:e722:ac3:10:0:fa1b:af0:4]:8443,phff91:9877,/bns/ph/borg/ph/bns/cloud-gfe-prod-dedicated/cloud-layer2-gfe/7,phdx2:9830
    | x-google-gfe-response-code-details-trace: response_code_set_by_backend,response_code_set_by_backend
    | content-type: application/json
    | x-xss-protection: 1; mode=block
    | x-google-gfe-response-body-transformations: dechunked,chunked
    | x-google-service: cloud_475963186251_4173135444164202490_https,apphosting-dasher
    | server: nginx
    | x-google-gfe-request-trace: phdx2:9830,phff91:9877,[fda3:e722:ac3:10:0:fa1b:af0:4]:8443,phff91:9877,phdx2:9830
    | x-google-gfe-service-trace: apphosting-frontend-l2,cloud_475963186251_4173135444164202490_https,shared-layer2-gfe-dasher,apphosting-dasher
    | x-google-appengine-appid: s~dartlang-pub
    | x-google-gslb-service: cloud_475963186251_4173135444164202490_https
    | x-google-cookie-filter-tenant-name: 475963186251
    | x-frame-options: SAMEORIGIN
    | via: 1.1 google
    | x-content-type-options: nosniff
    | x-google-appengine-module: default
    | x-google-dos-service-trace: cloud-l7:cloud_475963186251_4173135444164202490_https,main:apphosting
IO  : Get versions from https://pub.dartlang.org/api/packages/path.
IO  : HTTP GET https://pub.dartlang.org/api/packages/path
    | Accept: application/vnd.pub.v2+json
    | X-Pub-OS: macos
    | X-Pub-Command: get
    | X-Pub-Session-ID: 5C84E77E-1158-4FC1-A34E-A6C89B5B836B
    | user-agent: Dart pub 2.0.0-dev.6.0
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/path
    | took 0:00:00.066905
    | x-google-appengine-version: 20180107t111041
    | transfer-encoding: chunked
    | x-google-gfe-appengine-info: project_id=475963186251,terminating_service_type=4,region=us-central1
    | date: Wed, 10 Jan 2018 16:58:53 GMT
    | vary: Accept-Encoding
    | content-encoding: gzip
    | x-google-backends: [fda3:e722:ac3:10:0:fa1b:af0:2]:8443,pjke63:9837,/bns/pj/borg/pj/bns/cloud-gfe-prod-dedicated/cloud-layer2-gfe/1,phdx2:9830
    | x-google-gfe-response-code-details-trace: response_code_set_by_backend,response_code_set_by_backend
    | content-type: application/json
    | x-xss-protection: 1; mode=block
    | x-google-gfe-response-body-transformations: dechunked,chunked
    | x-google-service: cloud_475963186251_4173135444164202490_https,apphosting-dasher
    | server: nginx
    | x-google-gfe-request-trace: phdx2:9830,pjke63:9837,[fda3:e722:ac3:10:0:fa1b:af0:2]:8443,pjke63:9837,phdx2:9830
    | x-google-gfe-service-trace: apphosting-frontend-l2,cloud_475963186251_4173135444164202490_https,shared-layer2-gfe-dasher,apphosting-dasher
    | x-google-appengine-appid: s~dartlang-pub
    | x-google-gslb-service: cloud_475963186251_4173135444164202490_https
    | x-google-cookie-filter-tenant-name: 475963186251
    | x-frame-options: SAMEORIGIN
    | via: 1.1 google
    | x-content-type-options: nosniff
    | x-google-appengine-module: default
    | x-google-dos-service-trace: cloud-l7:cloud_475963186251_4173135444164202490_https,main:apphosting
SLVR: | * select http 0.11.3+16 from hosted
IO  : Get versions from https://pub.dartlang.org/api/packages/charcode.
IO  : HTTP GET https://pub.dartlang.org/api/packages/charcode
    | Accept: application/vnd.pub.v2+json
    | X-Pub-OS: macos
    | X-Pub-Command: get
    | X-Pub-Session-ID: 5C84E77E-1158-4FC1-A34E-A6C89B5B836B
    | user-agent: Dart pub 2.0.0-dev.6.0
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/charcode
    | took 0:00:00.063587
    | x-google-appengine-version: 20180107t111041
    | transfer-encoding: chunked
    | x-google-gfe-appengine-info: project_id=475963186251,terminating_service_type=4,region=us-central1
    | date: Wed, 10 Jan 2018 16:58:53 GMT
    | vary: Accept-Encoding
    | content-encoding: gzip
    | x-google-backends: [fda3:e722:ac3:10:0:fa1b:af0:4]:8443,pjak88:9831,/bns/pj/borg/pj/bns/cloud-gfe-prod-dedicated/cloud-layer2-gfe/2,phdx2:9830
    | x-google-gfe-response-code-details-trace: response_code_set_by_backend,response_code_set_by_backend
    | content-type: application/json
    | x-xss-protection: 1; mode=block
    | x-google-gfe-response-body-transformations: dechunked,chunked
    | x-google-service: cloud_475963186251_4173135444164202490_https,apphosting-dasher
    | server: nginx
    | x-google-gfe-request-trace: phdx2:9830,pjak88:9831,[fda3:e722:ac3:10:0:fa1b:af0:4]:8443,pjak88:9831,phdx2:9830
    | x-google-gfe-service-trace: apphosting-frontend-l2,cloud_475963186251_4173135444164202490_https,shared-layer2-gfe-dasher,apphosting-dasher
    | x-google-appengine-appid: s~dartlang-pub
    | x-google-gslb-service: cloud_475963186251_4173135444164202490_https
    | x-google-cookie-filter-tenant-name: 475963186251
    | x-frame-options: SAMEORIGIN
    | via: 1.1 google
    | x-content-type-options: nosniff
    | x-google-appengine-module: default
    | x-google-dos-service-trace: cloud-l7:cloud_475963186251_4173135444164202490_https,main:apphosting
IO  : Get versions from https://pub.dartlang.org/api/packages/source_span.
IO  : HTTP GET https://pub.dartlang.org/api/packages/source_span
    | Accept: application/vnd.pub.v2+json
    | X-Pub-OS: macos
    | X-Pub-Command: get
    | X-Pub-Session-ID: 5C84E77E-1158-4FC1-A34E-A6C89B5B836B
    | user-agent: Dart pub 2.0.0-dev.6.0
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/source_span
    | took 0:00:00.076230
    | x-google-appengine-version: 20180107t111041
    | transfer-encoding: chunked
    | x-google-gfe-appengine-info: project_id=475963186251,terminating_service_type=4,region=us-central1
    | date: Wed, 10 Jan 2018 16:58:53 GMT
    | vary: Accept-Encoding
    | content-encoding: gzip
    | x-google-backends: [fda3:e722:ac3:10:0:fa1b:af0:2]:8443,phb63:9843,/bns/ph/borg/ph/bns/cloud-gfe-prod-dedicated/cloud-layer2-gfe/9,phdx2:9830
    | x-google-gfe-response-code-details-trace: response_code_set_by_backend,response_code_set_by_backend
    | content-type: application/json
    | x-xss-protection: 1; mode=block
    | x-google-gfe-response-body-transformations: dechunked,chunked
    | x-google-service: cloud_475963186251_4173135444164202490_https,apphosting-dasher
    | server: nginx
    | x-google-gfe-request-trace: phdx2:9830,phb63:9843,[fda3:e722:ac3:10:0:fa1b:af0:2]:8443,phb63:9843,phdx2:9830
    | x-google-gfe-service-trace: apphosting-frontend-l2,cloud_475963186251_4173135444164202490_https,shared-layer2-gfe-dasher,apphosting-dasher
    | x-google-appengine-appid: s~dartlang-pub
    | x-google-gslb-service: cloud_475963186251_4173135444164202490_https
    | x-google-cookie-filter-tenant-name: 475963186251
    | x-frame-options: SAMEORIGIN
    | via: 1.1 google
    | x-content-type-options: nosniff
    | x-google-appengine-module: default
    | x-google-dos-service-trace: cloud-l7:cloud_475963186251_4173135444164202490_https,main:apphosting
IO  : Get versions from https://pub.dartlang.org/api/packages/string_scanner.
IO  : HTTP GET https://pub.dartlang.org/api/packages/string_scanner
    | Accept: application/vnd.pub.v2+json
    | X-Pub-OS: macos
    | X-Pub-Command: get
    | X-Pub-Session-ID: 5C84E77E-1158-4FC1-A34E-A6C89B5B836B
    | user-agent: Dart pub 2.0.0-dev.6.0
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/string_scanner
    | took 0:00:00.077995
    | x-google-appengine-version: 20180107t111041
    | transfer-encoding: chunked
    | x-google-gfe-appengine-info: project_id=475963186251,terminating_service_type=4,region=us-central1
    | date: Wed, 10 Jan 2018 16:58:53 GMT
    | vary: Accept-Encoding
    | content-encoding: gzip
    | x-google-backends: [fda3:e722:ac3:10:0:fa1b:af0:2]:8443,pcei18:9830,/bns/pc/borg/pc/bns/cloud-gfe-prod-dedicated/cloud-layer2-gfe/10,phdx2:9830
    | x-google-gfe-response-code-details-trace: response_code_set_by_backend,response_code_set_by_backend
    | content-type: application/json
    | x-xss-protection: 1; mode=block
    | x-google-gfe-response-body-transformations: dechunked,chunked
    | x-google-service: cloud_475963186251_4173135444164202490_https,apphosting-dasher
    | server: nginx
    | x-google-gfe-request-trace: phdx2:9830,pcei18:9830,[fda3:e722:ac3:10:0:fa1b:af0:2]:8443,pcei18:9830,phdx2:9830
    | x-google-gfe-service-trace: apphosting-frontend-l2,cloud_475963186251_4173135444164202490_https,shared-layer2-gfe-dasher,apphosting-dasher
    | x-google-appengine-appid: s~dartlang-pub
    | x-google-gslb-service: cloud_475963186251_4173135444164202490_https
    | x-google-cookie-filter-tenant-name: 475963186251
    | x-frame-options: SAMEORIGIN
    | via: 1.1 google
    | x-content-type-options: nosniff
    | x-google-appengine-module: default
    | x-google-dos-service-trace: cloud-l7:cloud_475963186251_4173135444164202490_https,main:apphosting
IO  : Get versions from https://pub.dartlang.org/api/packages/typed_data.
IO  : HTTP GET https://pub.dartlang.org/api/packages/typed_data
    | Accept: application/vnd.pub.v2+json
    | X-Pub-OS: macos
    | X-Pub-Command: get
    | X-Pub-Session-ID: 5C84E77E-1158-4FC1-A34E-A6C89B5B836B
    | user-agent: Dart pub 2.0.0-dev.6.0
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/typed_data
    | took 0:00:00.066510
    | x-google-appengine-version: 20180107t111041
    | transfer-encoding: chunked
    | x-google-gfe-appengine-info: project_id=475963186251,terminating_service_type=4,region=us-central1
    | date: Wed, 10 Jan 2018 16:58:53 GMT
    | vary: Accept-Encoding
    | content-encoding: gzip
    | x-google-backends: [fda3:e722:ac3:10:0:fa1b:af0:2]:8443,pjvv88:9881,/bns/pj/borg/pj/bns/cloud-gfe-prod-dedicated/cloud-layer2-gfe/10,phdx2:9830
    | x-google-gfe-response-code-details-trace: response_code_set_by_backend,response_code_set_by_backend
    | content-type: application/json
    | x-xss-protection: 1; mode=block
    | x-google-gfe-response-body-transformations: dechunked,chunked
    | x-google-service: cloud_475963186251_4173135444164202490_https,apphosting-dasher
    | server: nginx
    | x-google-gfe-request-trace: phdx2:9830,pjvv88:9881,[fda3:e722:ac3:10:0:fa1b:af0:2]:8443,pjvv88:9881,phdx2:9830
    | x-google-gfe-service-trace: apphosting-frontend-l2,cloud_475963186251_4173135444164202490_https,shared-layer2-gfe-dasher,apphosting-dasher
    | x-google-appengine-appid: s~dartlang-pub
    | x-google-gslb-service: cloud_475963186251_4173135444164202490_https
    | x-google-cookie-filter-tenant-name: 475963186251
    | x-frame-options: SAMEORIGIN
    | via: 1.1 google
    | x-content-type-options: nosniff
    | x-google-appengine-module: default
    | x-google-dos-service-trace: cloud-l7:cloud_475963186251_4173135444164202490_https,main:apphosting
SLVR: | | * select http_parser 3.1.1 from hosted
SLVR: | | | * select charcode 1.1.1 from hosted
SLVR: | | | | * select typed_data 1.1.5 from hosted
SLVR: | | | | | * select string_scanner 1.0.2 from hosted
SLVR: | | | | | | * select source_span 1.4.0 from hosted
SLVR: | | | | | | | * select collection 1.14.5 from hosted
SLVR: BacktrackingSolver took 0:00:01.082050 seconds.
    | - Tried 1 solutions
    | - Requested 10 version lists
    | - Looked up 8 cached version lists
    | 
FINE: Resolving dependencies finished (1.1s).
ERR : Invalid argument(s): Minimum version ("2.0.0-dev.15.0") must be less than maximum ("2.0.0-dev.6.0").
FINE: Exception type: ArgumentError
ERR : package:pub_semver/src/version_range.dart 59         new VersionRange
    | package:pub/src/pubspec.dart 380                     Pubspec._ensureEnvironment
    | package:pub/src/pubspec.dart 345                     Pubspec.dartSdkConstraint
    | package:pub/src/solver/backtracking_solver.dart 511  BacktrackingSolver._checkPubspecMatchesSdkConstraint
    | package:pub/src/solver/backtracking_solver.dart 474  BacktrackingSolver._checkVersion
    | package:pub/src/solver/backtracking_solver.dart 432  BacktrackingSolver._findValidVersion.<fn>
    | dart:async                                           Future.doWhile
    | package:pub/src/solver/backtracking_solver.dart 430  BacktrackingSolver._findValidVersion
    | package:pub/src/solver/backtracking_solver.dart 337  BacktrackingSolver._versionQueueFor
    | package:pub/src/solver/backtracking_solver.dart 290  BacktrackingSolver._solve.<fn>
    | dart:async                                           _completeOnAsyncReturn
    | package:pub/src/solver/backtracking_solver.dart 315  BacktrackingSolver._solve.<fn>
    | dart:async                                           _completeOnAsyncReturn
    | package:pub/src/solver/version_selection.dart 64     VersionSelection.select
    | dart:async                                           _completeOnAsyncReturn
    | package:pub/src/solver/version_selection.dart 91     VersionSelection._addDependencies
    | ===== asynchronous gap ===========================
    | dart:async                                           _Completer.completeError
    | package:pub/src/solver/backtracking_solver.dart      BacktrackingSolver._checkVersion
    | ===== asynchronous gap ===========================
    | dart:async                                           _asyncThenWrapperHelper
    | package:pub/src/solver/backtracking_solver.dart 458  BacktrackingSolver._checkVersion
    | package:pub/src/solver/backtracking_solver.dart 432  BacktrackingSolver._findValidVersion.<fn>
    | ===== asynchronous gap ===========================
    | dart:async                                           new Future.microtask
    | package:pub/src/solver/backtracking_solver.dart 430  BacktrackingSolver._findValidVersion.<fn>
    | dart:async                                           Future.doWhile
    | package:pub/src/solver/backtracking_solver.dart 430  BacktrackingSolver._findValidVersion
    | package:pub/src/solver/backtracking_solver.dart 337  BacktrackingSolver._versionQueueFor
    | ===== asynchronous gap ===========================
    | dart:async                                           Future.doWhile
    | package:pub/src/solver/backtracking_solver.dart 430  BacktrackingSolver._findValidVersion
    | package:pub/src/solver/backtracking_solver.dart 337  BacktrackingSolver._versionQueueFor
    | ===== asynchronous gap ===========================
    | dart:async                                           _asyncThenWrapperHelper
    | package:pub/src/solver/backtracking_solver.dart 327  BacktrackingSolver._versionQueueFor
    | package:pub/src/solver/backtracking_solver.dart 290  BacktrackingSolver._solve.<fn>
    | ===== asynchronous gap ===========================
    | dart:async                                           _asyncThenWrapperHelper
    | package:pub/src/solver/backtracking_solver.dart 279  BacktrackingSolver._solve.<fn>
    | dart:async                                           _completeOnAsyncReturn
    | package:pub/src/solver/backtracking_solver.dart 315  BacktrackingSolver._solve.<fn>
    | dart:async                                           _completeOnAsyncReturn
    | package:pub/src/solver/version_selection.dart 64     VersionSelection.select
    | dart:async                                           _completeOnAsyncReturn
    | package:pub/src/solver/version_selection.dart 91     VersionSelection._addDependencies
    | ===== asynchronous gap ===========================
    | dart:async                                           Future.doWhile
    | package:pub/src/solver/backtracking_solver.dart 279  BacktrackingSolver._solve
    | ===== asynchronous gap ===========================
    | dart:async                                           new Future.microtask
    | package:pub/src/solver/backtracking_solver.dart 277  BacktrackingSolver._solve
    | package:pub/src/solver/backtracking_solver.dart 179  BacktrackingSolver.solve
    | ===== asynchronous gap ===========================
    | dart:async                                           _asyncThenWrapperHelper
    | package:pub/src/solver/backtracking_solver.dart 160  BacktrackingSolver.solve
    | package:pub/src/solver/version_solver.dart 42        resolveVersions.<fn>
    | package:pub/src/log.dart 409                         progress
    | package:pub/src/solver/version_solver.dart 40        resolveVersions
    | package:pub/src/entrypoint.dart 195                  Entrypoint.acquireDependencies
    | ===== asynchronous gap ===========================
    | dart:async                                           new Future.microtask
    | package:pub/src/entrypoint.dart 194                  Entrypoint.acquireDependencies
    | package:pub/src/command/get.dart 38                  GetCommand.run
    | package:args/command_runner.dart 194                 CommandRunner.runCommand
    | ===== asynchronous gap ===========================
    | dart:async                                           new Future.microtask
    | package:args/command_runner.dart 142                 CommandRunner.runCommand
    | package:pub/src/command_runner.dart 168              PubCommandRunner.runCommand.<fn>
    | dart:async                                           new Future.sync
    | package:pub/src/utils.dart 102                       captureErrors.<fn>
    | package:stack_trace                                  Chain.capture
    | package:pub/src/utils.dart 117                       captureErrors
    | package:pub/src/command_runner.dart 168              PubCommandRunner.runCommand
---- End log transcript ----
srawlins commented 6 years ago

Shot in the dark: It is not too often that we have dev versions > 9. Does pub's version matching use String comparison ("1" !>= "6") rather than Natural sort ordering ("15" > "6")? I'd be the first to catch this... which seems unlikely.

kevmoo commented 6 years ago

I think this is a duplicate of https://github.com/dart-lang/pub/issues/1770

srawlins commented 6 years ago

Sounds good, thanks!