{"action":"created","issue":{"url":"https://api.github.com/repos/apple/swift-source-compat-suite/issues/131","repository_url":"https://api.github.com/repos/apple/swift-source-compat-suite","labels_url":"https://api.github.com/repos/apple/swift-source-compat-suite/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/apple/swift-source-compat-suite/issues/131/comments","events_url":"https://api.github.com/repos/apple/swift-source-compat-suite/issues/131/events","html_url":"https://github.com/apple/swift-source-compat-suite/pull/131","id":293769302,"number":131,"title":"XFAIL GRDB until extension for constrainted typealiases is possible","user":{"login":"airspeedswift","id":8058277,"avatar_url":"https://avatars1.githubusercontent.com/u/8058277?v=4","gravatar_id":"","url":"https://api.github.com/users/airspeedswift","html_url":"https://github.com/airspeedswift","followers_url":"https://api.github.com/users/airspeedswift/followers","following_url":"https://api.github.com/users/airspeedswift/following{/other_user}","gists_url":"https://api.github.com/users/airspeedswift/gists{/gist_id}","starred_url":"https://api.github.com/users/airspeedswift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airspeedswift/subscriptions","organizations_url":"https://api.github.com/users/airspeedswift/orgs","repos_url":"https://api.github.com/users/airspeedswift/repos","events_url":"https://api.github.com/users/airspeedswift/events{/privacy}","received_events_url":"https://api.github.com/users/airspeedswift/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-02T04:22:50Z","updated_at":"2018-02-02T08:19:29Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/apple/swift-source-compat-suite/pulls/131","html_url":"https://github.com/apple/swift-source-compat-suite/pull/131","diff_url":"https://github.com/apple/swift-source-compat-suite/pull/131.diff","patch_url":"https://github.com/apple/swift-source-compat-suite/pull/131.patch"},"body":"apple/swift#13342 uses conditional conformance to make `Range` a `Collection` when its `Bound` is `Strideable`. For compatibility, `CountableRange` is still available as a type alias.\r\n\r\nThere is one source compatibility issue with this: currently if you extend a `CountableRange` with an identical method/property as `Range`, you will get a compilation error of a duplicate. This shouldn't really happen – specifying `CountableRange` should be similar to `Range where Bound: Strideable` but generic type aliases need an enhancement to make this work.\r\n\r\nGRDB is the one project that does this (Foundation also did similar things but has been changed to use `RangeExpression` instead, avoiding the issue). XFAILing this in the compatibility test suite until the type alias change has been made.\r\n"},"comment":{"url":"https://api.github.com/repos/apple/swift-source-compat-suite/issues/comments/362517095","html_url":"https://github.com/apple/swift-source-compat-suite/pull/131#issuecomment-362517095","issue_url":"https://api.github.com/repos/apple/swift-source-compat-suite/issues/131","id":362517095,"user":{"login":"rudkx","id":162784,"avatar_url":"https://avatars1.githubusercontent.com/u/162784?v=4","gravatar_id":"","url":"https://api.github.com/users/rudkx","html_url":"https://github.com/rudkx","followers_url":"https://api.github.com/users/rudkx/followers","following_url":"https://api.github.com/users/rudkx/following{/other_user}","gists_url":"https://api.github.com/users/rudkx/gists{/gist_id}","starred_url":"https://api.github.com/users/rudkx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudkx/subscriptions","organizations_url":"https://api.github.com/users/rudkx/orgs","repos_url":"https://api.github.com/users/rudkx/repos","events_url":"https://api.github.com/users/rudkx/events{/privacy}","received_events_url":"https://api.github.com/users/rudkx/received_events","type":"User","site_admin":false},"created_at":"2018-02-02T08:19:29Z","updated_at":"2018-02-02T08:19:29Z","author_association":"MEMBER","body":"Failed with the following. It looks like a problem with the expectations of the form of the JSON:\r\n\r\n```\r\nPASS: Dollar, 3.0, c0dd3c, Dollar, generic/platform=macOS\r\nPASS: Dwifft, 3.0, e3e8bf, Dwifft, generic/platform=iOS\r\nPASS: Dwifft, 3.1, e3e8bf, Dwifft, generic/platform=iOS\r\nTraceback (most recent call last):\r\n  File \"./runner.py\", line 67, in <module>\r\n    sys.exit(main())\r\n  File \"./runner.py\", line 60, in main\r\n    index\r\n  File \"/Users/buildnode/jenkins/workspace/swift-PR-source-compat-suite-test-macOS/swift-source-compat-suite/project_future.py\", line 765, in build\r\n    stdout=output_fd\r\n  File \"/Users/buildnode/jenkins/workspace/swift-PR-source-compat-suite-test-macOS/swift-source-compat-suite/project_future.py\", line 759, in build\r\n    for subtarget in self.subtargets():\r\n  File \"/Users/buildnode/jenkins/workspace/swift-PR-source-compat-suite-test-macOS/swift-source-compat-suite/project_future.py\", line 805, in subtargets\r\n    return self.target['compatibility']\r\nKeyError: 'compatibility'\r\nTraceback (most recent call last):\r\n  File \"./swift-source-compat-suite/run\", line 244, in <module>\r\n    sys.exit(main())\r\n  File \"./swift-source-compat-suite/run\", line 44, in main\r\n    execute_runner(workspace, args)\r\n  File \"./swift-source-compat-suite/run\", line 154, in execute_runner\r\n    common.check_execute(runner_command, timeout=9999999)\r\n  File \"/Users/buildnode/jenkins/workspace/swift-PR-source-compat-suite-test-macOS/swift-source-compat-suite/common.py\", line 334, in check_execute\r\n    raise ExecuteCommandFailure(command, returncode)\r\ncommon.ExecuteCommandFailure: ExecuteCommandFailure(command=\"./runner.py --swiftc /Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/build/compat_macos/install/toolchain/usr/bin/swiftc --projects projects.json --include-actions 'action.startswith(\"Build\")' --swift-branch master --sandbox-profile-xcodebuild ../../../workspace-private/swift-source-compat-suite-sandbox/sandbox_xcodebuild.sb --sandbox-profile-package ../../../workspace-private/swift-source-compat-suite-sandbox/sandbox_package.sb\", returncode=1)\r\n```"}}
{"actor":{"display_login":"rudkx"}}