Package: src:node-rrule
Version: 2.8.0-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

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

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

If you cannot 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 add an affects on src:node-rrule, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
Link ./node_modules/ts-jest -> /usr/share/nodejs/ts-jest
Link ./node_modules/@types/jest -> /usr/share/nodejs/@types/jest
   dh_auto_build --buildsystem=nodejs_no_lerna
Found debian/nodejs/./build
        cd ./. && sh -ex debian/nodejs/./build
+ tsc -p debian/tsconfig.build.json
error TS6059: File '/<<PKGBUILDDIR>>/src/index.ts' is not under 'rootDir' 
'/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain all source files.
  The file is in the program because:
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
debian/tsconfig.build.json(3,3): error TS5107: Option 'moduleResolution=node10' 
is deprecated and will stop functioning in TypeScript 7.0. Specify 
compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
  Visit https://aka.ms/ts6 for migration information.
debian/tsconfig.build.json(3,3): error TS5107: Option 'target=ES5' is 
deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption 
'"ignoreDeprecations": "6.0"' to silence this error.
debian/tsconfig.build.json(4,5): error TS5101: Option 'baseUrl' is deprecated 
and will stop functioning in TypeScript 7.0. Specify compilerOption 
'"ignoreDeprecations": "6.0"' to silence this error.
  Visit https://aka.ms/ts6 for migration information.
debian/tsconfig.build.json(5,5): error TS5011: The common source directory of 
'tsconfig.build.json' is '../src'. The 'rootDir' setting must be explicitly set 
to this or another path to adjust your output's file layout.
  Visit https://aka.ms/ts6 for migration information.
src/cache.ts(1,38): error TS6059: File '/<<PKGBUILDDIR>>/src/iterresult.ts' is 
not under 'rootDir' '/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain 
all source files.
  The file is in the program because:
    Imported via './iterresult' from file '/<<PKGBUILDDIR>>/src/cache.ts'
    Imported via './iterresult' from file 
'/<<PKGBUILDDIR>>/src/callbackiterresult.ts'
    Imported via './iterresult' from file '/<<PKGBUILDDIR>>/src/rrule.ts'
    Imported via '../iterresult' from file '/<<PKGBUILDDIR>>/src/iter/index.ts'
    Imported via './iterresult' from file '/<<PKGBUILDDIR>>/src/rruleset.ts'
    Imported via './iterresult' from file '/<<PKGBUILDDIR>>/src/iterset.ts'
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
src/cache.ts(2,35): error TS6059: File '/<<PKGBUILDDIR>>/src/dateutil.ts' is 
not under 'rootDir' '/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain 
all source files.
  The file is in the program because:
    Imported via './dateutil' from file '/<<PKGBUILDDIR>>/src/cache.ts'
    Imported via './dateutil' from file '/<<PKGBUILDDIR>>/src/datetime.ts'
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
    Imported via './dateutil' from file '/<<PKGBUILDDIR>>/src/datewithzone.ts'
    Imported via './dateutil' from file '/<<PKGBUILDDIR>>/src/rrule.ts'
    Imported via './dateutil' from file '/<<PKGBUILDDIR>>/src/parseoptions.ts'
    Imported via './dateutil' from file '/<<PKGBUILDDIR>>/src/parsestring.ts'
    Imported via './dateutil' from file 
'/<<PKGBUILDDIR>>/src/optionstostring.ts'
    Imported via '../dateutil' from file '/<<PKGBUILDDIR>>/src/iter/index.ts'
    Imported via '../dateutil' from file 
'/<<PKGBUILDDIR>>/src/iterinfo/yearinfo.ts'
    Imported via '../dateutil' from file 
'/<<PKGBUILDDIR>>/src/iterinfo/index.ts'
    Imported via '../dateutil' from file '/<<PKGBUILDDIR>>/src/iter/poslist.ts'
    Imported via './dateutil' from file '/<<PKGBUILDDIR>>/src/rruleset.ts'
    Imported via './dateutil' from file '/<<PKGBUILDDIR>>/src/iterset.ts'
    Imported via './dateutil' from file '/<<PKGBUILDDIR>>/src/rrulestr.ts'
    Imported via './dateutil' from file '/<<PKGBUILDDIR>>/src/index.ts'
src/cache.ts(47,7): error TS18048: 'args' is possibly 'undefined'.
src/cache.ts(68,24): error TS18048: 'args' is possibly 'undefined'.
src/cache.ts(92,47): error TS2345: Argument of type 'Partial<IterArgs> | 
undefined' is not assignable to parameter of type 'Partial<IterArgs>'.
  Type 'undefined' is not assignable to type 'Partial<IterArgs>'.
src/dateutil.ts(1,26): error TS6059: File '/<<PKGBUILDDIR>>/src/helpers.ts' is 
not under 'rootDir' '/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain 
all source files.
  The file is in the program because:
    Imported via './helpers' from file '/<<PKGBUILDDIR>>/src/dateutil.ts'
    Imported via './helpers' from file '/<<PKGBUILDDIR>>/src/datetime.ts'
    Imported via './helpers' from file '/<<PKGBUILDDIR>>/src/cache.ts'
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
    Imported via '../helpers' from file '/<<PKGBUILDDIR>>/src/nlp/totext.ts'
    Imported via './helpers' from file '/<<PKGBUILDDIR>>/src/parseoptions.ts'
    Imported via './helpers' from file '/<<PKGBUILDDIR>>/src/optionstostring.ts'
    Imported via '../helpers' from file '/<<PKGBUILDDIR>>/src/iterinfo/index.ts'
    Imported via '../helpers' from file 
'/<<PKGBUILDDIR>>/src/iterinfo/yearinfo.ts'
    Imported via './helpers' from file '/<<PKGBUILDDIR>>/src/masks.ts'
    Imported via '../helpers' from file 
'/<<PKGBUILDDIR>>/src/iterinfo/monthinfo.ts'
    Imported via '../helpers' from file '/<<PKGBUILDDIR>>/src/iter/index.ts'
    Imported via '../helpers' from file '/<<PKGBUILDDIR>>/src/iter/poslist.ts'
    Imported via './helpers' from file '/<<PKGBUILDDIR>>/src/rruleset.ts'
    Imported via './helpers' from file '/<<PKGBUILDDIR>>/src/rrulestr.ts'
src/dateutil.ts(2,22): error TS6059: File '/<<PKGBUILDDIR>>/src/datetime.ts' is 
not under 'rootDir' '/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain 
all source files.
  The file is in the program because:
    Imported via './datetime' from file '/<<PKGBUILDDIR>>/src/dateutil.ts'
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
    Imported via './datetime' from file '/<<PKGBUILDDIR>>/src/parseoptions.ts'
    Imported via '../datetime' from file 
'/<<PKGBUILDDIR>>/src/iterinfo/index.ts'
    Imported via '../datetime' from file '/<<PKGBUILDDIR>>/src/iter/poslist.ts'
    Imported via '../datetime' from file '/<<PKGBUILDDIR>>/src/iter/index.ts'
src/datewithzone.ts(37,38): error TS2345: Argument of type 'string | null | 
undefined' is not assignable to parameter of type 'string'.
  Type 'undefined' is not assignable to type 'string'.
src/index.ts(17,23): error TS6059: File '/<<PKGBUILDDIR>>/src/rrule.ts' is not 
under 'rootDir' '/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain all 
source files.
  The file is in the program because:
    Imported via './rrule' from file '/<<PKGBUILDDIR>>/src/index.ts'
    Imported via '../rrule' from file '/<<PKGBUILDDIR>>/src/nlp/totext.ts'
    Imported via '../rrule' from file '/<<PKGBUILDDIR>>/src/nlp/parsetext.ts'
    Imported via '../rrule' from file '/<<PKGBUILDDIR>>/src/nlp/index.ts'
    Imported via './rrule' from file '/<<PKGBUILDDIR>>/src/parseoptions.ts'
    Imported via './rrule' from file '/<<PKGBUILDDIR>>/src/parsestring.ts'
    Imported via './rrule' from file '/<<PKGBUILDDIR>>/src/optionstostring.ts'
    Imported via '../rrule' from file 
'/<<PKGBUILDDIR>>/src/iterinfo/monthinfo.ts'
    Imported via '../rrule' from file '/<<PKGBUILDDIR>>/src/iter/index.ts'
    Imported via './rrule' from file '/<<PKGBUILDDIR>>/src/rruleset.ts'
    Imported via './rrule' from file '/<<PKGBUILDDIR>>/src/iterset.ts'
    Imported via './rrule' from file '/<<PKGBUILDDIR>>/src/rrulestr.ts'
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
src/index.ts(18,26): error TS6059: File '/<<PKGBUILDDIR>>/src/rruleset.ts' is 
not under 'rootDir' '/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain 
all source files.
  The file is in the program because:
    Imported via './rruleset' from file '/<<PKGBUILDDIR>>/src/index.ts'
    Imported via './rruleset' from file '/<<PKGBUILDDIR>>/src/rrulestr.ts'
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
src/iter/index.ts(4,22): error TS6059: File 
'/<<PKGBUILDDIR>>/src/iterinfo/index.ts' is not under 'rootDir' 
'/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain all source files.
  The file is in the program because:
    Imported via '../iterinfo/index' from file 
'/<<PKGBUILDDIR>>/src/iter/index.ts'
    Imported via '../iterinfo/index' from file 
'/<<PKGBUILDDIR>>/src/iter/poslist.ts'
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
src/iter/index.ts(9,30): error TS6059: File 
'/<<PKGBUILDDIR>>/src/iter/poslist.ts' is not under 'rootDir' 
'/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain all source files.
  The file is in the program because:
    Imported via './poslist' from file '/<<PKGBUILDDIR>>/src/iter/index.ts'
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
src/iter/index.ts(40,46): error TS2345: Argument of type 'Time[] | null' is not 
assignable to parameter of type 'Time[]'.
  Type 'null' is not assignable to type 'Time[]'.
src/iter/index.ts(70,29): error TS18047: 'timeset' is possibly 'null'.
src/iter/index.ts(71,24): error TS18047: 'timeset' is possibly 'null'.
src/iter/index.ts(134,29): error TS18047: 'ii.wnomask' is possibly 'null'.
src/iter/index.ts(170,31): error TS2345: Argument of type 'number | null' is 
not assignable to parameter of type 'number'.
  Type 'null' is not assignable to type 'number'.
src/iter/index.ts(172,26): error TS2538: Type 'null' cannot be used as an index 
type.
src/iterinfo/index.ts(3,39): error TS6059: File 
'/<<PKGBUILDDIR>>/src/iterinfo/yearinfo.ts' is not under 'rootDir' 
'/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain all source files.
  The file is in the program because:
    Imported via './yearinfo' from file '/<<PKGBUILDDIR>>/src/iterinfo/index.ts'
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
src/iterinfo/index.ts(4,41): error TS6059: File 
'/<<PKGBUILDDIR>>/src/iterinfo/monthinfo.ts' is not under 'rootDir' 
'/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain all source files.
  The file is in the program because:
    Imported via './monthinfo' from file 
'/<<PKGBUILDDIR>>/src/iterinfo/index.ts'
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
src/iterinfo/index.ts(5,24): error TS6059: File 
'/<<PKGBUILDDIR>>/src/iterinfo/easter.ts' is not under 'rootDir' 
'/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain all source files.
  The file is in the program because:
    Imported via './easter' from file '/<<PKGBUILDDIR>>/src/iterinfo/index.ts'
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
src/iterinfo/index.ts(17,10): error TS2564: Property 'yearinfo' has no 
initializer and is not definitely assigned in the constructor.
src/iterinfo/index.ts(18,10): error TS2564: Property 'monthinfo' has no 
initializer and is not definitely assigned in the constructor.
src/iterinfo/index.ts(19,10): error TS2564: Property 'eastermask' has no 
initializer and is not definitely assigned in the constructor.
src/iterinfo/index.ts(156,9): error TS2322: Type '() => (number | number[])[]' 
is not assignable to type '(y: number, m: number, d: number) => DaySet'.
  Type '(number | number[])[]' is not assignable to type 'DaySet'.
    Target requires 3 element(s) but source may have fewer.
src/iterinfo/index.ts(158,9): error TS2322: Type '(_: unknown, month: number) 
=> (number | (number | (number | null)[] | null)[])[]' is not assignable to 
type '(y: number, m: number, d: number) => DaySet'.
  Type '(number | (number | (number | null)[] | null)[])[]' is not assignable 
to type 'DaySet'.
    Target requires 3 element(s) but source may have fewer.
src/iterinfo/index.ts(160,9): error TS2322: Type '(year: number, month: number, 
day: number) => (number | (number | (number | null)[] | null)[])[]' is not 
assignable to type '(y: number, m: number, d: number) => DaySet'.
  Type '(number | (number | (number | null)[] | null)[])[]' is not assignable 
to type 'DaySet'.
    Target requires 3 element(s) but source may have fewer.
src/iterinfo/index.ts(162,9): error TS2322: Type '(year: number, month: number, 
day: number) => (number | (number | null)[])[]' is not assignable to type '(y: 
number, m: number, d: number) => DaySet'.
  Type '(number | (number | null)[])[]' is not assignable to type 'DaySet'.
    Target requires 3 element(s) but source may have fewer.
src/iterinfo/index.ts(164,9): error TS2322: Type '(year: number, month: number, 
day: number) => (number | (number | null)[])[]' is not assignable to type '(y: 
number, m: number, d: number) => DaySet'.
  Type '(number | (number | null)[])[]' is not assignable to type 'DaySet'.
    Target requires 3 element(s) but source may have fewer.
src/iterinfo/monthinfo.ts(52,25): error TS18047: 'options.bynweekday' is 
possibly 'null'.
src/iterinfo/monthinfo.ts(54,25): error TS18047: 'options.bynweekday' is 
possibly 'null'.
src/iterinfo/yearinfo.ts(14,8): error TS6059: File 
'/<<PKGBUILDDIR>>/src/masks.ts' is not under 'rootDir' 
'/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain all source files.
  The file is in the program because:
    Imported via '../masks' from file 
'/<<PKGBUILDDIR>>/src/iterinfo/yearinfo.ts'
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
src/iterresult.ts(1,50): error TS6059: File '/<<PKGBUILDDIR>>/src/types.ts' is 
not under 'rootDir' '/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain 
all source files.
  The file is in the program because:
    Imported via './types' from file '/<<PKGBUILDDIR>>/src/iterresult.ts'
    Imported via './types' from file '/<<PKGBUILDDIR>>/src/datetime.ts'
    Imported via '../types' from file '/<<PKGBUILDDIR>>/src/nlp/totext.ts'
    Imported via '../types' from file '/<<PKGBUILDDIR>>/src/nlp/parsetext.ts'
    Imported via '../types' from file '/<<PKGBUILDDIR>>/src/nlp/index.ts'
    Imported via './types' from file '/<<PKGBUILDDIR>>/src/rrule.ts'
    Imported via './types' from file '/<<PKGBUILDDIR>>/src/parseoptions.ts'
    Imported via './types' from file '/<<PKGBUILDDIR>>/src/parsestring.ts'
    Imported via './types' from file '/<<PKGBUILDDIR>>/src/optionstostring.ts'
    Imported via '../types' from file '/<<PKGBUILDDIR>>/src/iter/index.ts'
    Imported via '../types' from file '/<<PKGBUILDDIR>>/src/iterinfo/index.ts'
    Imported via '../types' from file 
'/<<PKGBUILDDIR>>/src/iterinfo/yearinfo.ts'
    Imported via '../types' from file 
'/<<PKGBUILDDIR>>/src/iterinfo/monthinfo.ts'
    Imported via './types' from file '/<<PKGBUILDDIR>>/src/iterset.ts'
    Imported via './types' from file '/<<PKGBUILDDIR>>/src/rruleset.ts'
    Imported via './types' from file '/<<PKGBUILDDIR>>/src/rrulestr.ts'
    Imported via './types' from file '/<<PKGBUILDDIR>>/src/index.ts'
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
src/iterresult.ts(31,7): error TS2322: Type 'Date | undefined' is not 
assignable to type 'Date | null'.
  Type 'undefined' is not assignable to type 'Date | null'.
src/iterresult.ts(33,20): error TS18048: 'args.before' is possibly 'undefined'.
src/iterresult.ts(34,7): error TS2322: Type 'Date | undefined' is not 
assignable to type 'Date | null'.
  Type 'undefined' is not assignable to type 'Date | null'.
src/iterresult.ts(34,55): error TS18048: 'args.after' is possibly 'undefined'.
src/iterresult.ts(36,7): error TS2322: Type 'Date | undefined' is not 
assignable to type 'Date | null'.
  Type 'undefined' is not assignable to type 'Date | null'.
src/iterresult.ts(36,52): error TS18048: 'args.dt' is possibly 'undefined'.
src/iterresult.ts(38,7): error TS2322: Type 'Date | undefined' is not 
assignable to type 'Date | null'.
  Type 'undefined' is not assignable to type 'Date | null'.
src/iterresult.ts(38,52): error TS18048: 'args.dt' is possibly 'undefined'.
src/iterset.ts(46,16): error TS2345: Argument of type 'Date | undefined' is not 
assignable to parameter of type 'Date'.
  Type 'undefined' is not assignable to type 'Date'.
src/nlp/index.ts(1,48): error TS6059: File '/<<PKGBUILDDIR>>/src/nlp/totext.ts' 
is not under 'rootDir' '/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to 
contain all source files.
  The file is in the program because:
    Imported via './totext' from file '/<<PKGBUILDDIR>>/src/nlp/index.ts'
    Imported via './nlp/totext' from file '/<<PKGBUILDDIR>>/src/rrule.ts'
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
src/nlp/index.ts(2,23): error TS6059: File 
'/<<PKGBUILDDIR>>/src/nlp/parsetext.ts' is not under 'rootDir' 
'/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain all source files.
  The file is in the program because:
    Imported via './parsetext' from file '/<<PKGBUILDDIR>>/src/nlp/index.ts'
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
src/nlp/parsetext.ts(12,10): error TS2564: Property 'text' has no initializer 
and is not definitely assigned in the constructor.
src/nlp/parsetext.ts(13,10): error TS2564: Property 'symbol' has no initializer 
and is not definitely assigned in the constructor.
src/nlp/parsetext.ts(14,10): error TS2564: Property 'value' has no initializer 
and is not definitely assigned in the constructor.
src/nlp/parsetext.ts(65,14): error TS2454: Variable 'bestSymbol' is used before 
being assigned.
src/nlp/parsetext.ts(67,19): error TS2454: Variable 'bestSymbol' is used before 
being assigned.
src/nlp/parsetext.ts(393,28): error TS18047: 'ttr.value' is possibly 'null'.
src/nlp/parsetext.ts(434,32): error TS18047: 'ttr.value' is possibly 'null'.
src/nlp/totext.ts(51,11): error TS2564: Property 'bymonthday' has no 
initializer and is not definitely assigned in the constructor.
src/nlp/totext.ts(74,50): error TS2769: No overload matches this call.
  Overload 1 of 2, '(...items: ConcatArray<number>[]): number[]', gave the 
following error.
    Argument of type 'number | number[] | null | undefined' is not assignable 
to parameter of type 'ConcatArray<number>'.
      Type 'undefined' is not assignable to type 'ConcatArray<number>'.
  Overload 2 of 2, '(...items: (number | ConcatArray<number>)[]): number[]', 
gave the following error.
    Argument of type 'number | number[] | null | undefined' is not assignable 
to parameter of type 'number | ConcatArray<number>'.
      Type 'undefined' is not assignable to type 'number | ConcatArray<number>'.
src/nlp/totext.ts(75,51): error TS2769: No overload matches this call.
  Overload 1 of 2, '(...items: ConcatArray<number>[]): number[]', gave the 
following error.
    Argument of type 'number[] | null | undefined' is not assignable to 
parameter of type 'ConcatArray<number>'.
      Type 'undefined' is not assignable to type 'ConcatArray<number>'.
  Overload 2 of 2, '(...items: (number | ConcatArray<number>)[]): number[]', 
gave the following error.
    Argument of type 'number[] | null | undefined' is not assignable to 
parameter of type 'number | ConcatArray<number>'.
      Type 'undefined' is not assignable to type 'number | ConcatArray<number>'.
src/nlp/totext.ts(91,36): error TS2769: No overload matches this call.
  Overload 1 of 2, '(predicate: (value: ByWeekday, index: number, array: 
ByWeekday[]) => value is ByWeekday, thisArg?: any): ByWeekday[]', gave the 
following error.
    Argument of type '(weekday: Weekday) => boolean' is not assignable to 
parameter of type '(value: ByWeekday, index: number, array: ByWeekday[]) => 
value is ByWeekday'.
      Types of parameters 'weekday' and 'value' are incompatible.
        Type 'ByWeekday' is not assignable to type 'Weekday'.
          Type 'number' is not assignable to type 'Weekday'.
  Overload 2 of 2, '(predicate: (value: ByWeekday, index: number, array: 
ByWeekday[]) => unknown, thisArg?: any): ByWeekday[]', gave the following error.
    Argument of type '(weekday: Weekday) => boolean' is not assignable to 
parameter of type '(value: ByWeekday, index: number, array: ByWeekday[]) => 
unknown'.
      Types of parameters 'weekday' and 'value' are incompatible.
        Type 'ByWeekday' is not assignable to type 'Weekday'.
          Type 'number' is not assignable to type 'Weekday'.
src/nlp/totext.ts(94,37): error TS2769: No overload matches this call.
  Overload 1 of 2, '(predicate: (value: ByWeekday, index: number, array: 
ByWeekday[]) => value is ByWeekday, thisArg?: any): ByWeekday[]', gave the 
following error.
    Argument of type '(weekday: Weekday) => boolean' is not assignable to 
parameter of type '(value: ByWeekday, index: number, array: ByWeekday[]) => 
value is ByWeekday'.
      Types of parameters 'weekday' and 'value' are incompatible.
        Type 'ByWeekday' is not assignable to type 'Weekday'.
          Type 'number' is not assignable to type 'Weekday'.
  Overload 2 of 2, '(predicate: (value: ByWeekday, index: number, array: 
ByWeekday[]) => unknown, thisArg?: any): ByWeekday[]', gave the following error.
    Argument of type '(weekday: Weekday) => boolean' is not assignable to 
parameter of type '(value: ByWeekday, index: number, array: ByWeekday[]) => 
unknown'.
      Types of parameters 'weekday' and 'value' are incompatible.
        Type 'ByWeekday' is not assignable to type 'Weekday'.
          Type 'number' is not assignable to type 'Weekday'.
src/nlp/totext.ts(119,7): error TS2531: Object is possibly 'null'.
src/nlp/totext.ts(119,36): error TS2345: Argument of type '(a: Weekday, b: 
Weekday) => number' is not assignable to parameter of type '(a: ByWeekday, b: 
ByWeekday) => number'.
  Types of parameters 'a' and 'a' are incompatible.
    Type 'ByWeekday' is not assignable to type 'Weekday'.
      Type 'number' is not assignable to type 'Weekday'.
src/nlp/totext.ts(120,7): error TS2531: Object is possibly 'null'.
src/nlp/totext.ts(120,37): error TS2345: Argument of type '(a: Weekday, b: 
Weekday) => number' is not assignable to parameter of type '(a: ByWeekday, b: 
ByWeekday) => number'.
  Types of parameters 'a' and 'a' are incompatible.
    Type 'ByWeekday' is not assignable to type 'Weekday'.
      Type 'number' is not assignable to type 'Weekday'.
src/nlp/totext.ts(122,12): error TS2531: Object is possibly 'null'.
src/nlp/totext.ts(123,12): error TS2531: Object is possibly 'null'.
src/nlp/totext.ts(163,11): error TS2532: Object is possibly 'undefined'.
src/nlp/totext.ts(198,47): error TS2532: Object is possibly 'undefined'.
src/nlp/totext.ts(201,19): error TS2345: Argument of type 'number | undefined' 
is not assignable to parameter of type 'number'.
  Type 'undefined' is not assignable to type 'number'.
src/nlp/totext.ts(208,47): error TS2532: Object is possibly 'undefined'.
src/nlp/totext.ts(211,19): error TS2345: Argument of type 'number | undefined' 
is not assignable to parameter of type 'number'.
  Type 'undefined' is not assignable to type 'number'.
src/nlp/totext.ts(220,47): error TS2532: Object is possibly 'undefined'.
src/nlp/totext.ts(224,21): error TS2345: Argument of type 'number | undefined' 
is not assignable to parameter of type 'number'.
  Type 'undefined' is not assignable to type 'number'.
src/nlp/totext.ts(230,21): error TS2345: Argument of type 'number | undefined' 
is not assignable to parameter of type 'number'.
  Type 'undefined' is not assignable to type 'number'.
src/nlp/totext.ts(252,16): error TS2532: Object is possibly 'undefined'.
src/nlp/totext.ts(253,21): error TS2345: Argument of type 'number | undefined' 
is not assignable to parameter of type 'number'.
  Type 'undefined' is not assignable to type 'number'.
src/nlp/totext.ts(269,21): error TS2345: Argument of type 'number | undefined' 
is not assignable to parameter of type 'number'.
  Type 'undefined' is not assignable to type 'number'.
src/nlp/totext.ts(296,18): error TS2532: Object is possibly 'undefined'.
src/nlp/totext.ts(297,25): error TS2345: Argument of type 'number | undefined' 
is not assignable to parameter of type 'number'.
  Type 'undefined' is not assignable to type 'number'.
src/nlp/totext.ts(304,18): error TS2532: Object is possibly 'undefined'.
src/nlp/totext.ts(307,21): error TS2345: Argument of type 'number | undefined' 
is not assignable to parameter of type 'number'.
  Type 'undefined' is not assignable to type 'number'.
src/nlp/totext.ts(326,18): error TS2532: Object is possibly 'undefined'.
src/nlp/totext.ts(334,18): error TS2532: Object is possibly 'undefined'.
src/nlp/totext.ts(337,21): error TS2345: Argument of type 'number | undefined' 
is not assignable to parameter of type 'number'.
  Type 'undefined' is not assignable to type 'number'.
src/nlp/totext.ts(349,48): error TS2345: Argument of type '(n: string | number) 
=> string' is not assignable to parameter of type 'GetText'.
  Types of parameters 'n' and 'id' are incompatible.
    Type 'string | number | Weekday' is not assignable to type 'string | 
number'.
      Type 'Weekday' is not assignable to type 'string | number'.
src/nlp/totext.ts(369,46): error TS2345: Argument of type '(wday: number | 
Weekday) => string' is not assignable to parameter of type 'GetText'.
  Types of parameters 'wday' and 'id' are incompatible.
    Type 'string | number | Weekday' is not assignable to type 'number | 
Weekday'.
      Type 'string' is not assignable to type 'number | Weekday'.
src/nlp/totext.ts(372,24): error TS2345: Argument of type 'number | number[] | 
null' is not assignable to parameter of type 'ByWeekday | ByWeekday[]'.
  Type 'null' is not assignable to type 'ByWeekday | ByWeekday[]'.
src/nlp/totext.ts(375,19): error TS2345: Argument of type 'number | number[] | 
null' is not assignable to parameter of type 'ByWeekday | ByWeekday[]'.
  Type 'null' is not assignable to type 'ByWeekday | ByWeekday[]'.
src/nlp/totext.ts(383,9): error TS2531: Object is possibly 'null'.
src/nlp/totext.ts(383,37): error TS2531: Object is possibly 'null'.
src/nlp/totext.ts(385,19): error TS2531: Object is possibly 'null'.
src/nlp/totext.ts(385,44): error TS2345: Argument of type '(wday: number | 
Weekday) => string' is not assignable to parameter of type 'GetText'.
  Types of parameters 'wday' and 'id' are incompatible.
    Type 'string | number | Weekday' is not assignable to type 'number | 
Weekday'.
      Type 'string' is not assignable to type 'number | Weekday'.
src/nlp/totext.ts(389,9): error TS2531: Object is possibly 'null'.
src/nlp/totext.ts(390,11): error TS2531: Object is possibly 'null'.
src/nlp/totext.ts(393,19): error TS2531: Object is possibly 'null'.
src/nlp/totext.ts(393,45): error TS2345: Argument of type '(wday: number | 
Weekday) => string' is not assignable to parameter of type 'GetText'.
  Types of parameters 'wday' and 'id' are incompatible.
    Type 'string | number | Weekday' is not assignable to type 'number | 
Weekday'.
      Type 'string' is not assignable to type 'number | Weekday'.
src/nlp/totext.ts(402,17): error TS2345: Argument of type 'number | number[] | 
null | undefined' is not assignable to parameter of type 'ByWeekday | 
ByWeekday[]'.
  Type 'undefined' is not assignable to type 'ByWeekday | ByWeekday[]'.
src/nlp/totext.ts(408,17): error TS2345: Argument of type 'number | number[] | 
null | undefined' is not assignable to parameter of type 'ByWeekday | 
ByWeekday[]'.
  Type 'undefined' is not assignable to type 'ByWeekday | ByWeekday[]'.
src/nlp/totext.ts(448,39): error TS2345: Argument of type 'number | undefined' 
is not assignable to parameter of type 'string | number'.
  Type 'undefined' is not assignable to type 'string | number'.
src/optionstostring.ts(6,30): error TS6059: File 
'/<<PKGBUILDDIR>>/src/datewithzone.ts' is not under 'rootDir' 
'/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain all source files.
  The file is in the program because:
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
    Imported via './datewithzone' from file 
'/<<PKGBUILDDIR>>/src/optionstostring.ts'
    Imported via '../datewithzone' from file 
'/<<PKGBUILDDIR>>/src/iter/index.ts'
    Imported via './datewithzone' from file '/<<PKGBUILDDIR>>/src/iterset.ts'
src/optionstostring.ts(26,38): error TS2538: Type 'undefined' cannot be used as 
an index type.
src/rrule.ts(4,32): error TS6059: File 
'/<<PKGBUILDDIR>>/src/callbackiterresult.ts' is not under 'rootDir' 
'/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain all source files.
  The file is in the program because:
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
    Imported via './callbackiterresult' from file 
'/<<PKGBUILDDIR>>/src/rrule.ts'
src/rrule.ts(5,26): error TS6059: File '/<<PKGBUILDDIR>>/src/nlp/i18n.ts' is 
not under 'rootDir' '/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain 
all source files.
  The file is in the program because:
    Imported via './nlp/i18n' from file '/<<PKGBUILDDIR>>/src/rrule.ts'
    Imported via './i18n' from file '/<<PKGBUILDDIR>>/src/nlp/totext.ts'
    Imported via './i18n' from file '/<<PKGBUILDDIR>>/src/nlp/parsetext.ts'
    Imported via './i18n' from file '/<<PKGBUILDDIR>>/src/nlp/index.ts'
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
src/rrule.ts(6,65): error TS6059: File '/<<PKGBUILDDIR>>/src/nlp/index.ts' is 
not under 'rootDir' '/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain 
all source files.
  The file is in the program because:
    Imported via './nlp/index' from file '/<<PKGBUILDDIR>>/src/rrule.ts'
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
src/rrule.ts(16,49): error TS6059: File '/<<PKGBUILDDIR>>/src/parseoptions.ts' 
is not under 'rootDir' '/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to 
contain all source files.
  The file is in the program because:
    Imported via './parseoptions' from file '/<<PKGBUILDDIR>>/src/rrule.ts'
    Imported via '../parseoptions' from file 
'/<<PKGBUILDDIR>>/src/iter/index.ts'
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
src/rrule.ts(17,29): error TS6059: File '/<<PKGBUILDDIR>>/src/parsestring.ts' 
is not under 'rootDir' '/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to 
contain all source files.
  The file is in the program because:
    Imported via './parsestring' from file '/<<PKGBUILDDIR>>/src/rrule.ts'
    Imported via './parsestring' from file '/<<PKGBUILDDIR>>/src/rrulestr.ts'
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
src/rrule.ts(18,33): error TS6059: File 
'/<<PKGBUILDDIR>>/src/optionstostring.ts' is not under 'rootDir' 
'/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain all source files.
  The file is in the program because:
    Imported via './optionstostring' from file '/<<PKGBUILDDIR>>/src/rrule.ts'
    Imported via './optionstostring' from file 
'/<<PKGBUILDDIR>>/src/rruleset.ts'
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
src/rrule.ts(19,34): error TS6059: File '/<<PKGBUILDDIR>>/src/cache.ts' is not 
under 'rootDir' '/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain all 
source files.
  The file is in the program because:
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
    Imported via './cache' from file '/<<PKGBUILDDIR>>/src/rrule.ts'
src/rrule.ts(21,22): error TS6059: File '/<<PKGBUILDDIR>>/src/iter/index.ts' is 
not under 'rootDir' '/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain 
all source files.
  The file is in the program because:
    Imported via './iter/index' from file '/<<PKGBUILDDIR>>/src/rrule.ts'
    Imported via './iter' from file '/<<PKGBUILDDIR>>/src/iterset.ts'
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
src/rruleset.ts(5,25): error TS6059: File '/<<PKGBUILDDIR>>/src/iterset.ts' is 
not under 'rootDir' '/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain 
all source files.
  The file is in the program because:
    Imported via './iterset' from file '/<<PKGBUILDDIR>>/src/rruleset.ts'
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
src/rruleset.ts(7,26): error TS6059: File '/<<PKGBUILDDIR>>/src/rrulestr.ts' is 
not under 'rootDir' '/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain 
all source files.
  The file is in the program because:
    Imported via './rrulestr' from file '/<<PKGBUILDDIR>>/src/rruleset.ts'
    Imported via './rrulestr' from file '/<<PKGBUILDDIR>>/src/index.ts'
    Imported via './rrulestr' from file '/<<PKGBUILDDIR>>/src/index.ts'
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
src/rruleset.ts(13,7): error TS2683: 'this' implicitly has type 'any' because 
it does not have a type annotation.
src/rruleset.ts(16,9): error TS2683: 'this' implicitly has type 'any' because 
it does not have a type annotation.
src/rruleset.ts(17,14): error TS2683: 'this' implicitly has type 'any' because 
it does not have a type annotation.
src/rruleset.ts(20,25): error TS2683: 'this' implicitly has type 'any' because 
it does not have a type annotation.
src/rruleset.ts(21,24): error TS2683: 'this' implicitly has type 'any' because 
it does not have a type annotation.
src/rrulestr.ts(132,59): error TS2345: Argument of type 'Date | null | 
undefined' is not assignable to parameter of type 'Date'.
  Type 'undefined' is not assignable to type 'Date'.
src/types.ts(1,37): error TS6059: File '/<<PKGBUILDDIR>>/src/weekday.ts' is not 
under 'rootDir' '/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain all 
source files.
  The file is in the program because:
    Imported via './weekday' from file '/<<PKGBUILDDIR>>/src/types.ts'
    Imported via './weekday' from file '/<<PKGBUILDDIR>>/src/helpers.ts'
    Imported via '../weekday' from file '/<<PKGBUILDDIR>>/src/nlp/totext.ts'
    Imported via '../weekday' from file '/<<PKGBUILDDIR>>/src/nlp/parsetext.ts'
    Imported via './weekday' from file '/<<PKGBUILDDIR>>/src/parseoptions.ts'
    Imported via './weekday' from file '/<<PKGBUILDDIR>>/src/parsestring.ts'
    Imported via './weekday' from file '/<<PKGBUILDDIR>>/src/optionstostring.ts'
    Imported via './weekday' from file '/<<PKGBUILDDIR>>/src/rrule.ts'
    Imported via './weekday' from file '/<<PKGBUILDDIR>>/src/index.ts'
    Matched by include pattern '../src/**/*' in 'debian/tsconfig.build.json'
dh_auto_build: error: cd ./. && sh -ex debian/nodejs/./build returned exit code 
1
make: *** [debian/rules:3: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to