Skip to content

fix(deps): update rust crate anyhow to v1.0.99 #2933

fix(deps): update rust crate anyhow to v1.0.99

fix(deps): update rust crate anyhow to v1.0.99 #2933

Triggered via pull request April 14, 2025 02:41
Status Failure
Total duration 14m 13s
Artifacts 4

rust.yml

on: pull_request
Build static Linux binary
2m 13s
Build static Linux binary
Release build for macOS
9s
Release build for macOS
Release build for Windows
6m 32s
Release build for Windows
Matrix: Build ARM binary
Matrix: unit_tests
e2e/linux
2m 8s
e2e/linux
Ensure command docs are up-to-date
32s
Ensure command docs are up-to-date
e2e/macos
0s
e2e/macos
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 15 warnings
Release build for macOS
The path '/Users/runner/work/fnm/fnm/${l.join(n,"rust.json")}`)})}run()},141:function(e,t,r){"use strict";var n=r(631);var i=r(16);var o=r(605);var s=r(211);var a=r(614);var u=r(357);var c=r(669);t.httpOverHttp=httpOverHttp;t.httpsOverHttp=httpsOverHttp;t.httpOverHttps=httpOverHttps;t.httpsOverHttps=httpsOverHttps;function httpOverHttp(e){var t=new TunnelingAgent(e);t.request=o.request;return t}function httpsOverHttp(e){var t=new TunnelingAgent(e);t.request=o.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function httpOverHttps(e){var t=new TunnelingAgent(e);t.request=s.request;return t}function httpsOverHttps(e){var t=new TunnelingAgent(e);t.request=s.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function TunnelingAgent(e){var t=this;t.options=e||{};t.proxyOptions=t.options.proxy||{};t.maxSockets=t.options.maxSockets||o.Agent.defaultMaxSockets;t.requests=[];t.sockets=[];t.on("free",function onFree(e,r,n,i){var o=toOptions(r,n,i);for(var s=0,a=t.requests.length;s<a;++s){var u=t.requests[s];if(u.host===o.host&&u.port===o.port){t.requests.splice(s,1);u.request.onSocket(e);return}}e.destroy();t.removeSocket(e)})}c.inherits(TunnelingAgent,a.EventEmitter);TunnelingAgent.prototype.addRequest=function addRequest(e,t,r,n){var i=this;var o=mergeOptions({request:e},i.options,toOptions(t,r,n));if(i.sockets.length>=this.maxSockets){i.requests.push(o);return}i.createSocket(o,function(t){t.on("free",onFree);t.on("close",onCloseOrRemove);t.on("agentRemove",onCloseOrRemove);e.onSocket(t);function onFree(){i.emit("free",t,o)}function onCloseOrRemove(e){i.removeSocket(t);t.removeListener("free",onFree);t.removeListener("close",onCloseOrRemove);t.removeListener("agentRemove",onCloseOrRemove)}})};TunnelingAgent.prototype.createSocket=function createSocket(e,t){var r=this;var n={};r.sockets.push(n);var i=mergeOptions({},r.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false,headers:{host:e.host+":"+e.port}});if(e.localAddress){i.localAddress=e.localAddress}if(i.proxyAuth){i.headers=i.headers||{};i.headers["Proxy-Authorization"]="Basic "+new Buffer(i.proxyAuth).toString("base64")}l("making CONNECT request");var o=r.request(i);o.useChunkedEncodingByDefault=false;o.once("response",onResponse);o.once("upgrade",onUpgrade);o.once("connect",onConnect);o.once("error",onError);o.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,t,r){process.nextTick(function(){onConnect(e,t,r)})}function onConnect(i,s,a){o.removeAllListeners();s.removeAllListeners();if(i.statusCode!==200){l("tunneling socket could not be established, statusCode=%d",i.statusCode);s.destroy();var u=new Error("tunneling socket could not be established, "+"statusCode="+i.statusCode);u.code="ECONNRESET";e.request.emit("error",u);r.removeSocket(n);return}if(a.length>0){l("got illegal response body from proxy");s.destroy();var u=new Error("got illegal response body from proxy");u.code="ECONNRESET";e.request.emit("error",u);r.removeSocket(n);return}l("tunneling connection has established");r.sockets[r.sockets.indexOf(n)]=s;return t(s)}function onError(t){o.removeAllListeners();l("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var i=new Error("tunneling socket could not be established, "+"cause="+t.message);i.code="ECONNRESET";e.request.emit("error",i);r.removeSocket(n)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var t=this.sockets.indexOf(e);if(t===-1){return}this.sockets.splice(t,1);var r=this.requests.shift();if(r){this.createSocket(r,function(e){r.request.onSocket(e)})}};function createSecureSocket(e,t){var r=this;TunnelingAgent.prototype.createSocket.call(r,e,function(n){var o=e.request.getHeader("host");var s=mergeOptions({},r.options,{socket:n,servername:o?o.replace(/:.*$/,""):e.host});var a=i.connect(0,s);r.sockets[r.sockets.indexOf(n)]=a;t(a)})}function toOptions(e,t,r){if(typeof e==="string"){return{host:e,port:t,localAddress:r}}return e}function mergeOptions(e){for(var t=1,r=arguments.length;t<r;++t){var n=arguments[t];if(typeof n==="object"){var i=Object.keys(n)
Release build for macOS
Unable to process command 'module.exports=function(e,t){"use strict";var r={};function __webpack_require__(t){if(r[t]){return r[t].exports}var n=r[t]={i:t,l:false,exports:{}};var i=true;try{e[t].call(n.exports,n,n.exports,__webpack_require__);i=false}finally{if(i)delete r[t]}n.l=true;return n.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(131)}return startup()}({1:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);return t};var s=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r(function(t){t(e)})}return new(r||(r=Promise))(function(r,i){function fulfilled(e){try{step(n.next(e))}catch(e){i(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){i(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:true});t.findInPath=t.which=t.mkdirP=t.rmRF=t.mv=t.cp=void 0;const a=r(357);const u=o(r(129));const c=o(r(622));const l=r(669);const f=o(r(672));const d=l.promisify(u.exec);const p=l.promisify(u.execFile);function cp(e,t,r={}){return s(this,void 0,void 0,function*(){const{force:n,recursive:i,copySourceDirectory:o}=readCopyOptions(r);const s=(yield f.exists(t))?yield f.stat(t):null;if(s&&s.isFile()&&!n){return}const a=s&&s.isDirectory()&&o?c.join(t,c.basename(e)):t;if(!(yield f.exists(e))){throw new Error(`no such file or directory: ${e}`)}const u=yield f.stat(e);if(u.isDirectory()){if(!i){throw new Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(e,a,0,n)}}else{if(c.relative(e,a)===""){throw new Error(`'${a}' and '${e}' are the same file`)}yield copyFile(e,a,n)}})}t.cp=cp;function mv(e,t,r={}){return s(this,void 0,void 0,function*(){if(yield f.exists(t)){let n=true;if(yield f.isDirectory(t)){t=c.join(t,c.basename(e));n=yield f.exists(t)}if(n){if(r.force==null||r.force){yield rmRF(t)}else{throw new Error("Destination already exists")}}}yield mkdirP(c.dirname(t));yield f.rename(e,t)})}t.mv=mv;function rmRF(e){return s(this,void 0,void 0,function*(){if(f.IS_WINDOWS){if(/[*"<>|]/.test(e)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}try{const t=f.getCmdPath();if(yield f.isDirectory(e,true)){yield d(`${t} /s /c "rd /s /q "%inputPath%""`,{env:{inputPath:e}})}else{yield d(`${t} /s /c "del /f /a "%inputPath%""`,{env:{inputPath:e}})}}catch(e){if(e.code!=="ENOENT")throw e}try{yield f.unlink(e)}catch(e){if(e.code!=="ENOENT")throw e}}else{let t=false;try{t=yield f.isDirectory(e)}catch(e){if(e.code!=="ENOENT")throw e;return}if(t){yield p(`rm`,[`-rf`,`${e}`])}else{yield f.unlink(e)}}})}t.rmRF=rmRF;function mkdirP(e){return s(this,void 0,void 0,function*(){a.ok(e,"a path argument must be provided");yield f.mkdir(e,{recursive:true})})}t.mkdirP=mkdirP;function which(e,t){return s(this,void 0,void 0,function*(){if(!e){throw new Error("parameter 'tool' is required")}if(t){const t=yield which(e,false);if(!t){if(f.IS_WINDOWS){throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`)}else{throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`)}}return t}const r=yiel
fmt
Cache not found for keys: v0-rust-fmt-Linux-x64-964febc2-da39a3ee, v0-rust-fmt-Linux-x64-964febc2
clippy
Cache not found for keys: v0-rust-clippy-Linux-x64-964febc2-da39a3ee, v0-rust-clippy-Linux-x64-964febc2
unit_tests (ubuntu-latest)
Cache not found for keys: v0-rust-unit_tests-Linux-x64-964febc2-da39a3ee, v0-rust-unit_tests-Linux-x64-964febc2
unit_tests (macOS-latest)
Cache not found for keys: v0-rust-unit_tests-Darwin-arm64-d4a3aaf8-da39a3ee, v0-rust-unit_tests-Darwin-arm64-d4a3aaf8
Build static Linux binary
Cache not found for keys: v0-rust-static-linux-binary-build_static_linux_binary-Linux-x64-964febc2-da39a3ee, v0-rust-static-linux-binary-build_static_linux_binary-Linux-x64-964febc2
Ensure command docs are up-to-date
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build ARM binary (arm32, armv7-unknown-linux-gnueabihf, arm32v7/ubuntu, armv7)
Cache not found for keys: v0-rust-arm-binary-arm32-build_static_arm_binary-Linux-x64-4a921150-da39a3ee, v0-rust-arm-binary-arm32-build_static_arm_binary-Linux-x64-4a921150
Build ARM binary (arm64, aarch64-unknown-linux-musl, arm64v8/ubuntu, aarch64)
Cache not found for keys: v0-rust-arm-binary-arm64-build_static_arm_binary-Linux-x64-2a2a56d2-da39a3ee, v0-rust-arm-binary-arm64-build_static_arm_binary-Linux-x64-2a2a56d2
unit_tests (windows-latest): src/archive/tar.rs#L6
variants `Xz` and `Gz` are never constructed
unit_tests (windows-latest): src/commands/completions.rs#L56
unused import: `super::*`
unit_tests (windows-latest)
Cache not found for keys: v0-rust-unit_tests-Windows_NT-x64-12936cf7-da39a3ee, v0-rust-unit_tests-Windows_NT-x64-12936cf7
e2e/linux
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Release build for Windows: src/archive/tar.rs#L6
variants `Xz` and `Gz` are never constructed
Release build for Windows
Cache not found for keys: v0-rust-build_release-Windows_NT-x64-12936cf7-da39a3ee, v0-rust-build_release-Windows_NT-x64-12936cf7
e2e/windows
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Artifacts

Produced during runtime
Name Size Digest
fnm-arm32 Expired
3.32 MB
sha256:361baefe7fe915d5f23d1566d4310c85495ebc6a43ce873d8c476ed964ee0757
fnm-arm64 Expired
3.56 MB
sha256:dfdd050563dffe6c9e46c5b6c9b7f7b4227d4159215c06b0904474f340fcffa7
fnm-linux Expired
3.2 MB
sha256:a8d6770ba7e40b7d25518756a99da2df7beadd444b95c80a1a02ab8b37b20f9a
fnm-windows Expired
3.26 MB
sha256:ac92c559923270854941bf745badfa68c3924c858f441652b76015f088a1f98d