Run of lintian-fixes for rust-bzip2

Try this locally (using the lintian-brush package):

debcheckout rust-bzip2
cd rust-bzip2
lintian-brush
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Opening branch at https://salsa.debian.org/rust-team/debcargo-conf.git/,branch=master
Cached branch URL file:/home/janitor/vcs/git/rust-bzip2,branch=master missing: Branch does not exist: Not a branch: "/home/janitor/vcs/git/rust-bzip2/": location is a repository.
 95% (998/1050)
  34% (127/373)
Total 48450 (delta 639), reused 915 (delta 564), pack-reused 47400

6% (4091/15732)
Total 15732 (delta 10618), reused 15702 (delta 10611), pack-reused 0
Text conflict in src/bzip2/debian/source
Elapsed time: 0:01:00.077083
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/janitor/debian-janitor/janitor/worker.py", line 1176, in <module>
    sys.exit(main())
  File "/home/janitor/debian-janitor/janitor/worker.py", line 1131, in main
    with process_package(
  File "/usr/lib/python3.8/contextlib.py", line 113, in __enter__
    return next(self.gen)
  File "/home/janitor/debian-janitor/janitor/worker.py", line 985, in process_package
    subworker_result = subworker.make_changes(
  File "/home/janitor/debian-janitor/janitor/worker.py", line 402, in make_changes
    overall_result = run_lintian_fixers(
  File "/home/janitor/debian-janitor/lintian-brush/lintian_brush/__init__.py", line 946, in run_lintian_fixers
    result, summary = run_lintian_fixer(
  File "/home/janitor/debian-janitor/lintian-brush/lintian_brush/__init__.py", line 801, in run_lintian_fixer
    patch_name, specific_files = _upstream_changes_to_patch(
  File "/home/janitor/debian-janitor/lintian-brush/lintian_brush/__init__.py", line 675, in _upstream_changes_to_patch
    specific_files, patch_name = move_upstream_changes_to_patch(
  File "/home/janitor/debian-janitor/lintian-brush/lintian_brush/patches.py", line 339, in move_upstream_changes_to_patch
    patchname = add_patch(
  File "/home/janitor/debian-janitor/lintian-brush/lintian_brush/patches.py", line 295, in add_patch
    patchname = name + patch_suffix
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Full worker log