From nobody Sat Jan 18 22:41:10 2025 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YbBQt5Wsfz5kyRQ for ; Sat, 18 Jan 2025 22:41:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YbBQt4mrhz3QSr for ; Sat, 18 Jan 2025 22:41:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737240070; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EXOIFTNF2nZn/aDqE7m3i6jHg9NrSbEAQGKgaQrNy1k=; b=WMGEKDDO+DfTnY8nn4UJbsFydJIwzeGqKl+lBvXwsfiz2ddh53QbtshHGLPJij7aEWqQWc rJOglJDJUH91Z10uQBRT4lg7boWBeRaIigbkcAU9iZtTXOXfRJ4+8ohxEL4B86MBdtFPxp as5lclfzjElnY0Eq149I22r/909OL4LCnU6eGGY5xjMh65UvadBqy/rZNWUM4DVdkr2Hi1 HkTnqUZcRIQnbT4Up+JxwaticgAdrc20RAQTvfUdu/iYSu524LzvRzlW8OLSQzh4YrdyE6 cckHkuHJ5wH/Z4Cb0bg2K2TCGFnDipalfV0A6blY+/U/WOYtZV8n4urv8nObnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737240070; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EXOIFTNF2nZn/aDqE7m3i6jHg9NrSbEAQGKgaQrNy1k=; b=Jblnnw7d5o8P3qgl0VCgNDyPznPwQSNlpmkbe4n8xzR450Oq5FMlONMjVr6FPGoIRtiIvW R05T2k4WeeXtSMl3Coe5fAUHTpnc2/Q55e/SjsYmTobZv2xVQBe7TnrM6u6yOdqZDGjhee tzdx730+HHivegK+PdyHg1+neZJrIuKXe9q3VvFOSiKq1aWWXP21txu1HJi+Dn3bNZ1LHX 2JG70jRZWDIAzf8/FFnVg1c+E960EmttOGGEyDsmBtT5JRLaQCGANbdrqN2nbpglCaFLtj xBa7knfiCUbJgKkEMDyAtravoUw1V6cZoBN6wzNarigNPcTJFzCDQ0uv2EsRsw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737240070; a=rsa-sha256; cv=none; b=EPXM7e94hjmXGlJJf9CcF9zapkHf48BI64RTLts6z8ggiqQuwRdnCazgfO1b0BXmxNCvGg Glwqv7CQaM49nkCVzEni4rACutN/+fC9AW3yXRIMrkM0PtPvJPgOfwrk1QxoOHo0VaZNDp HpWkb0dIJLlo3FL+su68QxegO2E0jfd3iB5bvCXUtT9Hken5z6DhT3T8aSUQRM7Aql8Yp3 t44y/9tuO/8B/ThbpdBE/y2gmPbOKFnceoER62PWiveKarEG2aWA6ZgM5TgE+0wthYdwPJ /HsmrZl0hYmlr7KJOPmRcN4AV6uAa20ArVdOmRB8p7D49SDfpGsXjA6t1wwl3g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YbBQt4FX1z7ds for ; Sat, 18 Jan 2025 22:41:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 50IMfAfl097949 for ; Sat, 18 Jan 2025 22:41:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50IMfA1X097948 for ports-bugs@FreeBSD.org; Sat, 18 Jan 2025 22:41:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 284145] security/cargo-audit: fails with "Unrecognized value 'nuttx' for target_os" Date: Sat, 18 Jan 2025 22:41:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mikael@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284145 Bug ID: 284145 Summary: security/cargo-audit: fails with "Unrecognized value 'nuttx' for target_os" Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: mikael@FreeBSD.org Reporter: asomers@FreeBSD.org Flags: maintainer-feedback?(mikael@FreeBSD.org) Assignee: mikael@FreeBSD.org cargo-audit version 0.21.0_1,1 began to fail within the last day or so with= the below error message. > cargo-audit audit Fetching advisory database from `https://github.com/RustSec/advisory-db.git` error: error loading advisory database: parse error: error parsing /home/somers/.cargo/advisory-db/crates/gix-worktree-state/RUSTSEC-2025-0001= .md: parse error: TOML parse error at line 13, column 6 | 13 | os =3D [ | ^ Unrecognized value 'nuttx' for target_os ENVIRONMENT =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D FreeBSD amd64, both 15.0-CURRENT and 14.2-RELEASE, both in an environment w= ith a rustup toolchain installed and in an environment without. STEPS TO REPRODUCE =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D $ pkg install cargo-audit $ cd /path/to/literally/anywhere $ cargo-audit audit ANALYSIS =3D=3D=3D=3D=3D=3D=3D=3D The cargo-audit tool downloads a file provided by the RustSec team and upda= ted on a regular basis. It's the parsing of this file that is failing. One possible solution would be for the RustSec team to rollback whatever recent change they made (adding nuttx?). Another, I believe, would be for FreeBSD= to rebuild the cargo-audit package to use the nightly toolchain. I'll take the discussion upstream at https://github.com/rustsec/rustsec/ . --=20 You are receiving this mail because: You are the assignee for the bug.=