Hi,
installed pdftoceditor from AUR I got the following warning:
$ pdftoceditor replace example.pdf example_toc.txt
Warning: no info dictionary found
$
Afterwards ´example.pdf´ had no TOC.
(For the case the project is "dead" I can recommend "jPdfBookmarks" as alternative.)