Error running query: Resolving database upgrade scripts failed: [2022-03-19 10:10:37] [DETAILS] resolve upgrades> Searching for upgrades that apply to bb0f279f2acd793105a347d589b5afc8715d94c4. [2022-03-19 10:10:37] [DETAILS] resolve upgrades> Scanning for [codeql-pack.yml, qlpack.yml] from /xxxx/vscode-codeql-starter/codeql-custom-queries-cpp/ [2022-03-19 10:10:37] [DETAILS] resolve upgrades> Scanning for [codeql-pack.yml, qlpack.yml] from /xxxx/vscode-codeql-starter/ql/cpp/ql/lib/ [2022-03-19 10:10:38] [DETAILS] resolve upgrades> Scanning for [codeql-pack.yml, qlpack.yml] from /xxxx/vscode-codeql-starter/ql/cpp/upgrades/ [2022-03-19 10:10:38] [DETAILS] resolve upgrades> Scanning for [codeql-pack.yml, qlpack.yml] from /Users/xxxx/Library/Application Support/Code/User/globalStorage/github.vscode-codeql/distribution1/codeql/.codeqlmanifest.json [2022-03-19 10:10:38] [DETAILS] resolve upgrades> Scanning for [codeql-pack.yml, qlpack.yml] from /Users/XXXX/Library/Application Support/Code/User/globalStorage/github.vscode-codeql/distribution1/ [2022-03-19 10:10:38] [DETAILS] resolve upgrades> Not scanning from /Users/xxxx/Library/Application Support/Code/User/globalStorage/github.vscode-codeql/distribution1/codeql which is already done. [2022-03-19 10:10:38] [DETAILS] resolve upgrades> Will look for upgrades in /xxxx/vscode-codeql-starter/ql/cpp/upgrades [2022-03-19 10:10:38] [DETAILS] resolve upgrades> Will look for upgrades in /Users/XXXX/Library/Application Support/Code/User/globalStorage/github.vscode-codeql/distribution1/codeql/legacy-upgrades/upgrades [2022-03-19 10:10:38] [DETAILS] resolve upgrades> Found upgrade run ending at bb0f279f2acd793105a347d589b5afc8715d94c4. [2022-03-19 10:10:38] [DETAILS] resolve upgrades> Searching for downgrades that apply to bb0f279f2acd793105a347d589b5afc8715d94c4. [2022-03-19 10:10:38] [DETAILS] resolve upgrades> Found downgrade run ending at bb0f279f2acd793105a347d589b5afc8715d94c4. [2022-03-19 10:10:38] Exception caught at top level: Cannot downgrade to 018f430097e80bcf4b2786c989dae94b7d82b819: there are no downgrades beyond bb0f279f2acd793105a347d589b5afc8715d94c4 com.semmle.cli2.resolve.ResolveUpgradesCommand$AdaptationSequenceBuilder.checkPartialAdaptations(ResolveUpgradesCommand.java:347) com.semmle.cli2.resolve.ResolveUpgradesCommand$AdaptationSequenceBuilder.build(ResolveUpgradesCommand.java:331) com.semmle.cli2.resolve.ResolveUpgradesCommand.executeJSON(ResolveUpgradesCommand.java:79) com.semmle.cli2.resolve.ResolveUpgradesCommand.executeJSON(ResolveUpgradesCommand.java:38) com.semmle.cli2.picocli.SimpleJsonSubcommand.executeInsistingOnJSON(SimpleJsonSubcommand.java:117) com.semmle.cli2.picocli.SimpleJsonSubcommand.executeSubcommand(SimpleJsonSubcommand.java:80) com.semmle.cli2.picocli.SubcommandCommon.executeWithParent(SubcommandCommon.java:484) com.semmle.cli2.execute.CliServerCommand.lambda$executeSubcommand$0(CliServerCommand.java:67) com.semmle.cli2.picocli.SubcommandMaker.runMain(SubcommandMaker.java:205) com.semmle.cli2.execute.CliServerCommand.executeSubcommand(CliServerCommand.java:67) com.semmle.cli2.picocli.SubcommandCommon.call(SubcommandCommon.java:500) com.semmle.cli2.picocli.SubcommandMaker.runMain(SubcommandMaker.java:205) com.semmle.cli2.picocli.SubcommandMaker.runMain(SubcommandMaker.java:214) com.semmle.cli2.CodeQL.main(CodeQL.java:98) A fatal error occurred: Cannot downgrade to 018f430097e80bcf4b2786c989dae94b7d82b819: there are no downgrades beyond bb0f279f2acd793105a347d589b5afc8715d94c4 (codeQL.runQuery) Error: Resolving database upgrade scripts failed: [2022-03-19 10:10:37] [DETAILS] resolve upgrades> Searching for upgrades that apply to bb0f279f2acd793105a347d589b5afc8715d94c4. [2022-03-19 10:10:37] [DETAILS] resolve upgrades> Scanning for [codeql-pack.yml, qlpack.yml] from /xxxx/vscode-codeql-starter/codeql-custom-queries-cpp/ [2022-03-19 10:10:37] [DETAILS] resolve upgrades> Scanning for [codeql-pack.yml, qlpack.yml] from /xxxx/vscode-codeql-starter/ql/cpp/ql/lib/ [2022-03-19 10:10:38] [DETAILS] resolve upgrades> Scanning for [codeql-pack.yml, qlpack.yml] from /xxxx/vscode-codeql-starter/ql/cpp/upgrades/ [2022-03-19 10:10:38] [DETAILS] resolve upgrades> Scanning for [codeql-pack.yml, qlpack.yml] from /Users/xxxx/Library/Application Support/Code/User/globalStorage/github.vscode-codeql/distribution1/codeql/.codeqlmanifest.json [2022-03-19 10:10:38] [DETAILS] resolve upgrades> Scanning for [codeql-pack.yml, qlpack.yml] from /Users/xxxx/Library/Application Support/Code/User/globalStorage/github.vscode-codeql/distribution1/ [2022-03-19 10:10:38] [DETAILS] resolve upgrades> Not scanning from /Users/xxxx/Library/Application Support/Code/User/globalStorage/github.vscode-codeql/distribution1/codeql which is already done. [2022-03-19 10:10:38] [DETAILS] resolve upgrades> Will look for upgrades in /xxxx/vscode-codeql-starter/ql/cpp/upgrades [2022-03-19 10:10:38] [DETAILS] resolve upgrades> Will look for upgrades in /Users/xxxx/Library/Application Support/Code/User/globalStorage/github.vscode-codeql/distribution1/codeql/legacy-upgrades/upgrades [2022-03-19 10:10:38] [DETAILS] resolve upgrades> Found upgrade run ending at bb0f279f2acd793105a347d589b5afc8715d94c4. [2022-03-19 10:10:38] [DETAILS] resolve upgrades> Searching for downgrades that apply to bb0f279f2acd793105a347d589b5afc8715d94c4. [2022-03-19 10:10:38] [DETAILS] resolve upgrades> Found downgrade run ending at bb0f279f2acd793105a347d589b5afc8715d94c4. [2022-03-19 10:10:38] Exception caught at top level: Cannot downgrade to 018f430097e80bcf4b2786c989dae94b7d82b819: there are no downgrades beyond bb0f279f2acd793105a347d589b5afc8715d94c4 com.semmle.cli2.resolve.ResolveUpgradesCommand$AdaptationSequenceBuilder.checkPartialAdaptations(ResolveUpgradesCommand.java:347) com.semmle.cli2.resolve.ResolveUpgradesCommand$AdaptationSequenceBuilder.build(ResolveUpgradesCommand.java:331) com.semmle.cli2.resolve.ResolveUpgradesCommand.executeJSON(ResolveUpgradesCommand.java:79) com.semmle.cli2.resolve.ResolveUpgradesCommand.executeJSON(ResolveUpgradesCommand.java:38) com.semmle.cli2.picocli.SimpleJsonSubcommand.executeInsistingOnJSON(SimpleJsonSubcommand.java:117) com.semmle.cli2.picocli.SimpleJsonSubcommand.executeSubcommand(SimpleJsonSubcommand.java:80) com.semmle.cli2.picocli.SubcommandCommon.executeWithParent(SubcommandCommon.java:484) com.semmle.cli2.execute.CliServerCommand.lambda$executeSubcommand$0(CliServerCommand.java:67) com.semmle.cli2.picocli.SubcommandMaker.runMain(SubcommandMaker.java:205) com.semmle.cli2.execute.CliServerCommand.executeSubcommand(CliServerCommand.java:67) com.semmle.cli2.picocli.SubcommandCommon.call(SubcommandCommon.java:500) com.semmle.cli2.picocli.SubcommandMaker.runMain(SubcommandMaker.java:205) com.semmle.cli2.picocli.SubcommandMaker.runMain(SubcommandMaker.java:214) com.semmle.cli2.CodeQL.main(CodeQL.java:98) A fatal error occurred: Cannot downgrade to 018f430097e80bcf4b2786c989dae94b7d82b819: there are no downgrades beyond bb0f279f2acd793105a347d589b5afc8715d94c4 at CodeQLCliServer.runCodeQlCliInternal (/Users/xxxx/.vscode/extensions/github.vscode-codeql-1.6.1/out/cli.js:204:23) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:93:5) at async CodeQLCliServer.runJsonCodeQlCliCommand (/Users/xxxx/.vscode/extensions/github.vscode-codeql-1.6.1/out/cli.js:367:24) at async CodeQLCliServer.resolveUpgrades (/Users/xxxx/.vscode/extensions/github.vscode-codeql-1.6.1/out/cli.js:632:16) at async compileNonDestructiveUpgrade (/Users/xxxx/.vscode/extensions/github.vscode-codeql-1.6.1/out/run-queries.js:370:40) at async Object.compileAndRunQueryAgainstDatabase (/Users/xxxx/.vscode/extensions/github.vscode-codeql-1.6.1/out/run-queries.js:547:26) at async compileAndRunQuery (/Users/xxxx/.vscode/extensions/github.vscode-codeql-1.6.1/out/extension.js:347:44) at async ctx.subscriptions.push.commandRunner_1.commandRunnerWithProgress.title (/Users/xxxx/.vscode/extensions/github.vscode-codeql-1.6.1/out/extension.js:425:121)