<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Cargo package metadata contains invalid date format]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">We recently upgraded to the latest Proget version 2026.0.7 and are facing an issue where all of our non-cached cargo builds are now failing.</p>
<p dir="auto">I have managed to create the following minimal reproducible example (assumes a configured Proget <a href="http://crates.io" rel="nofollow ugc">crates.io</a> proxy feed called cargo-proxy):</p>
<pre><code>export CARGO_REGISTRIES_CARGO_PROXY_INDEX='sparse+https://&lt;PROGET_URL&gt;/repository/cargo-proxy/'
cargo init --name example
echo 'libssh2-sys = "0.3.2"' &gt;&gt;Cargo.toml
CARGO_LOG=cargo::sources::registry=info cargo --config 'source.crates-io.replace-with="cargo-proxy"' build
</code></pre>
<p dir="auto">The full error message is as follows:</p>
<pre><code>    Updating `cargo-proxy` index
   0.110223098s  INFO cargo::sources::registry::index: recoverying from failed parse of registry package libssh2-sys@0.3.2: strptime parsing failed: %m failed: failed to parse month number: parameter 'month' with value 34 is not in the required range of 1..=12 at line 1 column 1305
error: failed to select a version for the requirement `libssh2-sys = "^0.3.2"`
  version 0.3.2's index entry is invalid
location searched: `cargo-proxy` index (which is replacing registry `crates-io`)
required by package `example v0.1.0 (/tmp/tmp.XZhfnMUE6V)`
</code></pre>
<p dir="auto">After looking at the date value for various packages/versions, I noticed that the month field always seems to have the same value as the minute field. I'm thinking that maybe the month value is using the <code>mm</code> specifier instead of the <code>MM</code> specifier.</p>
<p dir="auto">Thanks,<br />
Joris</p>
]]></description><link>https://forums.inedo.com/topic/5810/cargo-package-metadata-contains-invalid-date-format</link><generator>RSS for Node</generator><lastBuildDate>Mon, 10 Aug 2026 09:14:48 GMT</lastBuildDate><atom:link href="https://forums.inedo.com/topic/5810.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 07 Aug 2026 03:47:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cargo package metadata contains invalid date format on Mon, 10 Aug 2026 02:25:10 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/rhessinger" aria-label="Profile: rhessinger">@<bdi>rhessinger</bdi></a>,</p>
<p dir="auto">We have now upgraded to 26.0.8 and are still facing a very similar error.<br />
I can confirm the month field is now correct but comparing the pubtime value to <a href="http://crates.io" rel="nofollow ugc">crates.io</a> think the end of the field is incorrect.</p>
<p dir="auto">From <a href="https://doc.rust-lang.org/cargo/reference/registry-index.html:" rel="nofollow ugc">https://doc.rust-lang.org/cargo/reference/registry-index.html:</a></p>
<pre><code>The format is a subset of ISO8601:
- `yyyy-mm-ddThh:mm:ssZ`
- no fractional seconds
- always `Z` for UTC timezone, no timezone offsets supported
- fields are 0-padded
Example: 2025-11-12T19:30:12Z
</code></pre>
<p dir="auto">For reference proget is returning: <code>2026-06-30T19:34:05.265596Z</code> (note the fractional seconds).</p>
<p dir="auto">Thanks,<br />
Joris</p>
]]></description><link>https://forums.inedo.com/post/19930</link><guid isPermaLink="true">https://forums.inedo.com/post/19930</guid><dc:creator><![CDATA[joris.guex]]></dc:creator><pubDate>Mon, 10 Aug 2026 02:25:10 GMT</pubDate></item><item><title><![CDATA[Reply to Cargo package metadata contains invalid date format on Mon, 10 Aug 2026 00:50:46 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/rhessinger" aria-label="Profile: rhessinger">@<bdi>rhessinger</bdi></a>,</p>
<p dir="auto">I see that 26.0.8 has now been released.<br />
Thank you for the quick turn-around, we are upgrading now.</p>
<p dir="auto">Joris</p>
]]></description><link>https://forums.inedo.com/post/19929</link><guid isPermaLink="true">https://forums.inedo.com/post/19929</guid><dc:creator><![CDATA[joris.guex]]></dc:creator><pubDate>Mon, 10 Aug 2026 00:50:46 GMT</pubDate></item><item><title><![CDATA[Reply to Cargo package metadata contains invalid date format on Fri, 07 Aug 2026 13:06:01 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/joris.guex" aria-label="Profile: joris.guex">@<bdi>joris.guex</bdi></a>,</p>
<p dir="auto">Thanks for bringing this to our attention.  I have created a ticket, <a href="https://issues.inedo.com/issue/PG-3344" class="inedo-link inedo-link-pg" rel="nofollow ugc">PG-3344</a>, to track the fix and I'll be able to get in in with today's release.  Here is a prerelease build of ProGet 2026.8 that includes the fix:</p>
<p dir="auto"><a href="https://proget.inedo.com/containers/tags/ProductImages/inedo/proget/26.0.8-ci.4/overview" rel="nofollow ugc">https://proget.inedo.com/containers/tags/ProductImages/inedo/proget/26.0.8-ci.4/overview</a></p>
<p dir="auto">Thanks,<br />
Rich</p>
]]></description><link>https://forums.inedo.com/post/19915</link><guid isPermaLink="true">https://forums.inedo.com/post/19915</guid><dc:creator><![CDATA[rhessinger]]></dc:creator><pubDate>Fri, 07 Aug 2026 13:06:01 GMT</pubDate></item><item><title><![CDATA[Reply to Cargo package metadata contains invalid date format on Fri, 07 Aug 2026 04:35:00 GMT]]></title><description><![CDATA[<p dir="auto">In the meantime, what are the chances that downgrading Proget to 2026.0.3 would work? For context we are running Proget using docker with an external Postgres database. Are there changes to the database that would prevent this from working?</p>
<p dir="auto">Alternatively, could you please provide an approximate timeline for this getting fixed? We are happy to use a non-release build with the fix included if that helps.</p>
]]></description><link>https://forums.inedo.com/post/19911</link><guid isPermaLink="true">https://forums.inedo.com/post/19911</guid><dc:creator><![CDATA[joris.guex]]></dc:creator><pubDate>Fri, 07 Aug 2026 04:35:00 GMT</pubDate></item></channel></rss>