Package: src:eslint
Version: 6.4.0~dfsg+~6.1.9-11
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cmark-gfm README.md > README.html
cmark-gfm --to plaintext README.md > README.txt
cmark-gfm CHANGELOG.md > CHANGELOG.html
cmark-gfm --to plaintext CHANGELOG.md > CHANGELOG.txt
mkdir --parents debian-man/
cp --force bin/eslint.js debian-man/eslint
NODE_PATH=lib help2man --name AST-based --name pattern --name checker --name 
and --name linting --name utility --name for --name JavaScript --no-info 
--output  debian-man/eslint.1  debian-man/eslint || { NODE_PATH=lib  
debian-man/eslint --help; false; }
dh override_dh_auto_build

[... snipped ...]

      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'category_id' does not match the pattern '^[^_]+$'.",
      line: 1,
      column: 7,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 18
    },
    {
      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'category_id' does not match the pattern '^[^_]+$'.",
      line: 1,
      column: 7,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 18
    }
  ]
  AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [
    {
      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'category_id' does not match the pattern '^[^_]+$'.",
      line: 1,
      column: 7,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 18
    },
    {
      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'category_id' does not match the pattern '^[^_]+$'.",
      line: 1,
      column: 7,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 18
    }
  ]
      at testInvalidTemplate (lib/rule-tester/rule-tester.js:531:24)
      at Context.<anonymous> (lib/rule-tester/rule-tester.js:658:25)
      at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
      at Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
      at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
      at /usr/share/nodejs/mocha/lib/runner.js:800:12
      at next (/usr/share/nodejs/mocha/lib/runner.js:592:14)
      at /usr/share/nodejs/mocha/lib/runner.js:602:7
      at next (/usr/share/nodejs/mocha/lib/runner.js:485:14)
      at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:570:5)
      at process.processImmediate (node:internal/timers:478:21)
# TODO: not ok 999 id-match invalid var { category_id = 1 } = query;
  Should have 1 error but had 2: [
    {
      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'category_id' does not match the pattern '^[^_]+$'.",
      line: 1,
      column: 7,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 18
    },
    {
      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'category_id' does not match the pattern '^[^_]+$'.",
      line: 1,
      column: 7,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 18
    }
  ]
  AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [
    {
      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'category_id' does not match the pattern '^[^_]+$'.",
      line: 1,
      column: 7,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 18
    },
    {
      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'category_id' does not match the pattern '^[^_]+$'.",
      line: 1,
      column: 7,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 18
    }
  ]
      at testInvalidTemplate (lib/rule-tester/rule-tester.js:531:24)
      at Context.<anonymous> (lib/rule-tester/rule-tester.js:658:25)
      at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
      at Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
      at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
      at /usr/share/nodejs/mocha/lib/runner.js:800:12
      at next (/usr/share/nodejs/mocha/lib/runner.js:592:14)
      at /usr/share/nodejs/mocha/lib/runner.js:602:7
      at next (/usr/share/nodejs/mocha/lib/runner.js:485:14)
      at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:570:5)
      at process.processImmediate (node:internal/timers:478:21)
ok 1000 id-match invalid import no_camelcased from "external-module";
ok 1001 id-match invalid import * as no_camelcased from "external-module";
ok 1002 id-match invalid import { no_camelcased } from "external-module";
ok 1003 id-match invalid import { no_camelcased as no_camel_cased } from "external 
module";
ok 1004 id-match invalid import { camelCased as no_camel_cased } from "external 
module";
ok 1005 id-match invalid import { camelCased, no_camelcased } from 
"external-module";
ok 1006 id-match invalid import { no_camelcased as camelCased, another_no_camelcased } 
from "external-module";
ok 1007 id-match invalid import camelCased, { no_camelcased } from 
"external-module";
ok 1008 id-match invalid import no_camelcased, { another_no_camelcased as camelCased } 
from "external-module";
# TODO: not ok 1009 id-match invalid function foo({ no_camelcased }) {};
  Should have 1 error but had 2: [
    {
      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'no_camelcased' does not match the pattern 
'^[^_]+$'.",
      line: 1,
      column: 16,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 29
    },
    {
      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'no_camelcased' does not match the pattern 
'^[^_]+$'.",
      line: 1,
      column: 16,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 29
    }
  ]
  AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [
    {
      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'no_camelcased' does not match the pattern 
'^[^_]+$'.",
      line: 1,
      column: 16,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 29
    },
    {
      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'no_camelcased' does not match the pattern 
'^[^_]+$'.",
      line: 1,
      column: 16,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 29
    }
  ]
      at testInvalidTemplate (lib/rule-tester/rule-tester.js:531:24)
      at Context.<anonymous> (lib/rule-tester/rule-tester.js:658:25)
      at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
      at Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
      at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
      at /usr/share/nodejs/mocha/lib/runner.js:800:12
      at next (/usr/share/nodejs/mocha/lib/runner.js:592:14)
      at /usr/share/nodejs/mocha/lib/runner.js:602:7
      at next (/usr/share/nodejs/mocha/lib/runner.js:485:14)
      at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:570:5)
      at process.processImmediate (node:internal/timers:478:21)
# TODO: not ok 1010 id-match invalid function foo({ no_camelcased = 'default 
value' }) {};
  Should have 1 error but had 2: [
    {
      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'no_camelcased' does not match the pattern 
'^[^_]+$'.",
      line: 1,
      column: 16,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 29
    },
    {
      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'no_camelcased' does not match the pattern 
'^[^_]+$'.",
      line: 1,
      column: 16,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 29
    }
  ]
  AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [
    {
      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'no_camelcased' does not match the pattern 
'^[^_]+$'.",
      line: 1,
      column: 16,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 29
    },
    {
      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'no_camelcameta-schema not available
meta-schema not available
meta-schema not available
meta-schema not available
meta-schema not available
meta-schema not available
meta-schema not available
meta-schema not available
meta-schema not available
meta-schema not available
meta-schema not available
meta-schema not available
meta-schema not available
meta-schema not available
meta-schema not available
meta-schema not available
meta-schema not available
meta-schema not available
meta-schema not available
meta-schema not available
meta-schema not available
meta-schema not available
meta-schema not available
meta-schema not available
meta-schema not available
meta-schema not available
meta-schema not available
sed' does not match the pattern '^[^_]+$'.",
      line: 1,
      column: 16,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 29
    }
  ]
      at testInvalidTemplate (lib/rule-tester/rule-tester.js:531:24)
      at Context.<anonymous> (lib/rule-tester/rule-tester.js:658:25)
      at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
      at Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
      at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
      at /usr/share/nodejs/mocha/lib/runner.js:800:12
      at next (/usr/share/nodejs/mocha/lib/runner.js:592:14)
      at /usr/share/nodejs/mocha/lib/runner.js:602:7
      at next (/usr/share/nodejs/mocha/lib/runner.js:485:14)
      at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:570:5)
      at process.processImmediate (node:internal/timers:478:21)
# TODO: not ok 1011 id-match invalid const no_camelcased = 0; function foo({ 
camelcased_value = no_camelcased }) {}
  Should have 2 errors but had 3: [
    {
      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'no_camelcased' does not match the pattern 
'^[^_]+$'.",
      line: 1,
      column: 7,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 20
    },
    {
      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'camelcased_value' does not match the pattern 
'^[^_]+$'.",
      line: 1,
      column: 41,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 57
    },
    {
      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'camelcased_value' does not match the pattern 
'^[^_]+$'.",
      line: 1,
      column: 41,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 57
    }
  ]
  AssertionError [ERR_ASSERTION]: Should have 2 errors but had 3: [
    {
      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'no_camelcased' does not match the pattern 
'^[^_]+$'.",
      line: 1,
      column: 7,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 20
    },
    {
      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'camelcased_value' does not match the pattern 
'^[^_]+$'.",
      line: 1,
      column: 41,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 57
    },
    {
      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'camelcased_value' does not match the pattern 
'^[^_]+$'.",
      line: 1,
      column: 41,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 57
    }
  ]
      at testInvalidTemplate (lib/rule-tester/rule-tester.js:531:24)
      at Context.<anonymous> (lib/rule-tester/rule-tester.js:658:25)
      at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
      at Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
      at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
      at /usr/share/nodejs/mocha/lib/runner.js:800:12
      at next (/usr/share/nodejs/mocha/lib/runner.js:592:14)
      at /usr/share/nodejs/mocha/lib/runner.js:602:7
      at next (/usr/share/nodejs/mocha/lib/runner.js:485:14)
      at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:570:5)
      at process.processImmediate (node:internal/timers:478:21)
ok 1012 id-match invalid const { bar: no_camelcased } = foo;
ok 1013 id-match invalid function foo({ value_1: my_default }) {}
ok 1014 id-match invalid function foo({ isCamelcased: no_camelcased }) {};
ok 1015 id-match invalid var { foo: bar_baz = 1 } = quz;
# TODO: not ok 1016 id-match invalid const { no_camelcased = false } = bar;
  Should have 1 error but had 2: [
    {
      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'no_camelcased' does not match the pattern 
'^[^_]+$'.",
      line: 1,
      column: 9,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 22
    },
    {
      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'no_camelcased' does not match the pattern 
'^[^_]+$'.",
      line: 1,
      column: 9,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 22
    }
  ]
  AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [
    {
      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'no_camelcased' does not match the pattern 
'^[^_]+$'.",
      line: 1,
      column: 9,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 22
    },
    {
      ruleId: 'id-match',
      severity: 1,
      message: "Identifier 'no_camelcased' does not match the pattern 
'^[^_]+$'.",
      line: 1,
      column: 9,
      nodeType: 'Identifier',
      messageId: 'notMatch',
      endLine: 1,
      endColumn: 22
    }
  ]
      at testInvalidTemplate (lib/rule-tester/rule-tester.js:531:24)
      at Context.<anonymous> (lib/rule-tester/rule-tester.js:658:25)
      at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
      at Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
      at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
      at /usr/share/nodejs/mocha/lib/runner.js:800:12
      at next (/usr/share/nodejs/mocha/lib/runner.js:592:14)
      at /usr/share/nodejs/mocha/lib/runner.js:602:7
      at next (/usr/share/nodejs/mocha/lib/runner.js:485:14)
      at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:570:5)
      at process.processImmediate (node:internal/timers:478:21)
ok 1017 require-await valid async function foo() { await doSomething() }
ok 1018 require-await valid (async function() { await doSomething() })
ok 1019 require-await valid async () => { await doSomething() }
ok 1020 require-await valid async () => await doSomething()
ok 1021 require-await valid ({ async foo() { await doSomething() } })
ok 1022 require-await valid class A { async foo() { await doSomething() } }
ok 1023 require-await valid (class { async foo() { await doSomething() } })
# TODO: not ok 1024 require-await valid async function foo() { await async () 
=> { await doSomething() } }
  A fatal parsing error occurred: Parsing error: Unexpected token =>
  AssertionError [ERR_ASSERTION]: A fatal parsing error occurred: Parsing error: 
Unexpected token =>
      at runRuleForItem (lib/rule-tester/rule-tester.js:439:17)
      at testValidTemplate (lib/rule-tester/rule-tester.js:481:28)
      at Context.<anonymous> (lib/rule-tester/rule-tester.js:650:25)
      at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
      at Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
      at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
      at /usr/share/nodejs/mocha/lib/runner.js:800:12
      at next (/usr/share/nodejs/mocha/lib/runner.js:592:14)
      at /usr/share/nodejs/mocha/lib/runner.js:602:7
      at next (/usr/share/nodejs/mocha/lib/runner.js:485:14)
      at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:570:5)
      at process.processImmediate (node:internal/timers:478:21)
ok 1025 require-await valid async function foo() {}
ok 1026 require-await valid async () => {}
ok 1027 require-await valid function foo() { doSomething() }
ok 1028 require-await valid async function foo() { for await (x of xs); }
ok 1029 require-await invalid async function foo() { doSomething() }
ok 1030 require-await invalid (async function() { doSomething() })
ok 1031 require-await invalid async () => { doSomething() }
ok 1032 require-await invalid async () => doSomething()
ok 1033 require-await invalid ({ async foo() { doSomething() } })
ok 1034 require-await invalid class A { async foo() { doSomething() } }
ok 1035 require-await invalid (class { async foo() { doSomething() } })
ok 1036 require-await invalid (class { async ''() { doSomething() } })
ok 1037 require-await invalid async function foo() { async () => { await 
doSomething() } }
# TODO: not ok 1038 require-await invalid async function foo() { await async 
()ERROR: 2 non-TODO tests failed
 => { doSomething() } }
  A fatal parsing error occurred: Parsing error: Unexpected token =>
  AssertionError [ERR_ASSERTION]: A fatal parsing error occurred: Parsing error: 
Unexpected token =>
      at runRuleForItem (lib/rule-tester/rule-tester.js:439:17)
      at testInvalidTemplate (lib/rule-tester/rule-tester.js:523:28)
      at Context.<anonymous> (lib/rule-tester/rule-tester.js:658:25)
      at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
      at Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
      at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
      at /usr/share/nodejs/mocha/lib/runner.js:800:12
      at next (/usr/share/nodejs/mocha/lib/runner.js:592:14)
      at /usr/share/nodejs/mocha/lib/runner.js:602:7
      at next (/usr/share/nodejs/mocha/lib/runner.js:485:14)
      at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:570:5)
      at process.processImmediate (node:internal/timers:478:21)
# tests 1038
# pass 981
# fail 57
1..1038
# skipped 55
# skip-patterns 55
make[1]: *** [debian/rules:71: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:164: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202406/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to