put_local_to_s3
is async and you are not await
ing it. Here's a MRE of what is happening. In this example, you are performing main1
(not awaiting an async function), main2
is how to correct it. Note that there are compile warnings saying that not awaiting a future does nothing. Playground link