Could you please tell me what's wrong with this question?
The downvote could be caused by the problems with the provided code. The comment from Ulrich Diez summarizes these issues. Basically, the code you provided will result in errors unrelated to the problem asked about in the question, and therefore anyone interested in answering the question needs to clean up the code first to get to the actual issue. This is what David Carlisle did in his answer. The code sample provided there is the minimal document that is needed to reproduce the error. You should have provided something like that.
The general strategy is to:
- Make a copy of your original document and continue with this copy.
- If needed, delete any privacy-sensitive or classified information. Make sure the error you get is still there after removing this information.
- Then remove all other content from the document that you think is not relevant. Check if the problem is still there. If the problem has disappeared then you removed too muich. Put back the last thing that you removed and remove something else instead. Keep checking if the problem persists.
- Remove all
\defetc. statements that are not relevant. Keep checking if the problem persists.
- Post the code you end up with after you can't find anything else to remove.
For your specific question this would of course be rather impractical, given that the problem was a timeout - so you would have to do a lot of waiting every time you would check if the problem persists. However, since you already knew it was probably caused by
pdfpages you could zoom in to that part of the code fairly quickly.
That being said, the downvote is a bit unusual. Your posts wasn't bad at all except for the problem with the code, and here on TeX.SE a downvote is quite rare, even for posts that are much worse than yours. Also you have been constructive in the comments which normally dissuades people from casting downvotes. Maybe people were indeed thinking that the problem was caused by a part of the code that you didn't show, which was indeed a possibility although it turned out that it is an actual bug in
pdfpages. If your code would have been more minimal then this could be easily verified or falsified, but with the code provided it was not so easy to check that it was in fact 'not your fault'. So your question was just a victim of an unfortunate set of circumstances I guess.