From 5abc83461a545e7d3b0e8c31200eccffcae5059e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=ED=94=84=EB=A6=AC=EB=A7=88?= Date: Sun, 5 Jan 2025 08:22:49 -0300 Subject: [PATCH] tests --- lib/spiral/file_system.dib | 16 +- lib/spiral/file_system.fsx | 2456 ++++++++++++++++++------------------ lib/spiral/file_system.spi | 16 +- scripts/core.ps1 | 62 +- scripts/init.ps1 | 4 +- 5 files changed, 1322 insertions(+), 1232 deletions(-) diff --git a/lib/spiral/file_system.dib b/lib/spiral/file_system.dib index b6e4df5c..56a07a2f 100644 --- a/lib/spiral/file_system.dib +++ b/lib/spiral/file_system.dib @@ -1184,7 +1184,8 @@ let read_link (path : string) : resultm.result' path_buf stream.io_error = inl error'' = error |> sm'.format match parent with | _ when n >= 11 => - ($'$"file_system.read_link / path: {!path} / n: {!n} / path\': {!path'} / name: {!name}"' : string) + ($'$"file_system.read_link / "' : string) + +. $'$"path: {!path} / n: {!n} / path\': {!path'} / name: {!name}"' |> stream.new_io_error |> resultm.err | Some parent when path' <>. "" => @@ -1195,11 +1196,13 @@ let read_link (path : string) : resultm.result' path_buf stream.io_error = |> new_path_buf |> resultm.ok'' | Error error' => - ($'$"file_system.read_link / error\': {!error'} / error: {!error''} / name: {!name}"' : string) + ($'$"file_system.read_link / "' : string) + +. $'$"error\': {!error'} / error: {!error''} / name: {!name}"' |> stream.new_io_error |> resultm.err | _ => - ($'$"file_system.read_link / run / The file or directory is not a reparse point. / path: {!path} / error: {!error''} / path\': {!path'} / name: {!name}"' : string) + ($'$"file_system.read_link / run / The file or directory is not a reparse point. / "' : string) + +. $'$"path: {!path} / error: {!error''} / path\': {!path'} / name: {!name}"' |> stream.new_io_error |> resultm.err @@ -1233,8 +1236,11 @@ let read_link (path : string) : resultm.result' path_buf stream.io_error = |> unbox |> resultm.ok'' else - inl error = ($'$"file_system.read_link / Fsharp / The file or directory is not a reparse point. / path: {!path} / result: {!result} / path\': {!path'} / n: {!n}"' : string) - inl error = error |> stream.new_io_error + inl error = + ($'$"file_system.read_link / Fsharp / "' : string) + +. $'$"The file or directory is not a reparse point. / "' + +. $'$"path: {!path} / result: {!result} / path\': {!path'} / n: {!n}"' + |> stream.new_io_error path' |> run loop n error path |> loop 0u8 | _ => fun () => $'Unchecked.defaultof<_>' diff --git a/lib/spiral/file_system.fsx b/lib/spiral/file_system.fsx index 0f928da6..faedfe7a 100644 --- a/lib/spiral/file_system.fsx +++ b/lib/spiral/file_system.fsx @@ -12416,539 +12416,547 @@ and method108 (v0 : string, v1 : (uint8 -> (string -> Result= 11uy if v25 then - let v26 : string = $"file_system.read_link / path: {v0} / n: {v2} / path': {v4} / name: {v5}" - let v27 : unit = () + let v26 : string = $"file_system.read_link / " + let v27 : string = $"path: {v0} / n: {v2} / path': {v4} / name: {v5}" + let v28 : string = v26 + v27 + let v29 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v28 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v29 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v26 v28 - let _run_target_args'_v27 = v29 + let v30 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v31 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v28 v30 + let _run_target_args'_v29 = v31 #endif #if FABLE_COMPILER_RUST && WASM - let v30 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v31 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v26 v30 - let _run_target_args'_v27 = v31 + let v32 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v33 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v28 v32 + let _run_target_args'_v29 = v33 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v32 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v33 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v26 v32 - let _run_target_args'_v27 = v33 + let v34 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v35 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v28 v34 + let _run_target_args'_v29 = v35 #endif #if FABLE_COMPILER_TYPESCRIPT - let v34 : std_io_Error = v26 |> unbox - let _run_target_args'_v27 = v34 + let v36 : std_io_Error = v28 |> unbox + let _run_target_args'_v29 = v36 #endif #if FABLE_COMPILER_PYTHON - let v37 : std_io_Error = v26 |> unbox - let _run_target_args'_v27 = v37 + let v39 : std_io_Error = v28 |> unbox + let _run_target_args'_v29 = v39 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v40 : std_io_Error = v26 |> unbox - let _run_target_args'_v27 = v40 + let v42 : std_io_Error = v28 |> unbox + let _run_target_args'_v29 = v42 #endif #else - let v43 : std_io_Error = v26 |> unbox - let _run_target_args'_v27 = v43 + let v45 : std_io_Error = v28 |> unbox + let _run_target_args'_v29 = v45 #endif - let v46 : std_io_Error = _run_target_args'_v27 - let v51 : unit = () + let v48 : std_io_Error = _run_target_args'_v29 + let v53 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v52 : string = "Err($0)" - let v53 : Result = Fable.Core.RustInterop.emitRustExpr v46 v52 - let _run_target_args'_v51 = v53 + let v54 : string = "Err($0)" + let v55 : Result = Fable.Core.RustInterop.emitRustExpr v48 v54 + let _run_target_args'_v53 = v55 #endif #if FABLE_COMPILER_RUST && WASM - let v54 : string = "Err($0)" - let v55 : Result = Fable.Core.RustInterop.emitRustExpr v46 v54 - let _run_target_args'_v51 = v55 + let v56 : string = "Err($0)" + let v57 : Result = Fable.Core.RustInterop.emitRustExpr v48 v56 + let _run_target_args'_v53 = v57 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v56 : string = "Err($0)" - let v57 : Result = Fable.Core.RustInterop.emitRustExpr v46 v56 - let _run_target_args'_v51 = v57 + let v58 : string = "Err($0)" + let v59 : Result = Fable.Core.RustInterop.emitRustExpr v48 v58 + let _run_target_args'_v53 = v59 #endif #if FABLE_COMPILER_TYPESCRIPT - let v58 : Result = v46 |> Error - let _run_target_args'_v51 = v58 + let v60 : Result = v48 |> Error + let _run_target_args'_v53 = v60 #endif #if FABLE_COMPILER_PYTHON - let v59 : Result = v46 |> Error - let _run_target_args'_v51 = v59 + let v61 : Result = v48 |> Error + let _run_target_args'_v53 = v61 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v60 : Result = v46 |> Error - let _run_target_args'_v51 = v60 + let v62 : Result = v48 |> Error + let _run_target_args'_v53 = v62 #endif #else - let v61 : Result = v46 |> Error - let _run_target_args'_v51 = v61 + let v63 : Result = v48 |> Error + let _run_target_args'_v53 = v63 #endif - let v62 : Result = _run_target_args'_v51 - v62 + let v64 : Result = _run_target_args'_v53 + v64 else match v20 with - | US5_0(v65) -> (* Some *) - let v66 : string = "" - let v67 : bool = v4 <> v66 - if v67 then - let v70 : uint8 = v2 + 1uy - let v71 : (string -> Result) = v1 v70 - let v72 : Result = v71 v65 - let v73 : (std_io_Error -> string) = method103() - let v74 : unit = () + | US5_0(v67) -> (* Some *) + let v68 : string = "" + let v69 : bool = v4 <> v68 + if v69 then + let v72 : uint8 = v2 + 1uy + let v73 : (string -> Result) = v1 v72 + let v74 : Result = v73 v67 + let v75 : (std_io_Error -> string) = method103() + let v76 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v75 : string = "$0.map_err(|x| $1(x))" - let v76 : Result = Fable.Core.RustInterop.emitRustExpr struct (v72, v73) v75 - let _run_target_args'_v74 = v76 + let v77 : string = "$0.map_err(|x| $1(x))" + let v78 : Result = Fable.Core.RustInterop.emitRustExpr struct (v74, v75) v77 + let _run_target_args'_v76 = v78 #endif #if FABLE_COMPILER_RUST && WASM - let v77 : string = "$0.map_err(|x| $1(x))" - let v78 : Result = Fable.Core.RustInterop.emitRustExpr struct (v72, v73) v77 - let _run_target_args'_v74 = v78 + let v79 : string = "$0.map_err(|x| $1(x))" + let v80 : Result = Fable.Core.RustInterop.emitRustExpr struct (v74, v75) v79 + let _run_target_args'_v76 = v80 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v79 : string = "$0.map_err(|x| $1(x))" - let v80 : Result = Fable.Core.RustInterop.emitRustExpr struct (v72, v73) v79 - let _run_target_args'_v74 = v80 + let v81 : string = "$0.map_err(|x| $1(x))" + let v82 : Result = Fable.Core.RustInterop.emitRustExpr struct (v74, v75) v81 + let _run_target_args'_v76 = v82 #endif #if FABLE_COMPILER_TYPESCRIPT - let v81 : Result = match v72 with Ok x -> Ok x | Error x -> Error (v73 x) - let _run_target_args'_v74 = v81 + let v83 : Result = match v74 with Ok x -> Ok x | Error x -> Error (v75 x) + let _run_target_args'_v76 = v83 #endif #if FABLE_COMPILER_PYTHON - let v82 : Result = match v72 with Ok x -> Ok x | Error x -> Error (v73 x) - let _run_target_args'_v74 = v82 + let v84 : Result = match v74 with Ok x -> Ok x | Error x -> Error (v75 x) + let _run_target_args'_v76 = v84 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v83 : Result = match v72 with Ok x -> Ok x | Error x -> Error (v73 x) - let _run_target_args'_v74 = v83 + let v85 : Result = match v74 with Ok x -> Ok x | Error x -> Error (v75 x) + let _run_target_args'_v76 = v85 #endif #else - let v84 : Result = match v72 with Ok x -> Ok x | Error x -> Error (v73 x) - let _run_target_args'_v74 = v84 + let v86 : Result = match v74 with Ok x -> Ok x | Error x -> Error (v75 x) + let _run_target_args'_v76 = v86 #endif - let v85 : Result = _run_target_args'_v74 - let v88 : (std_path_PathBuf -> US13) = method105() - let v89 : (string -> US13) = method106() - let v90 : US13 = match v85 with Ok x -> v88 x | Error x -> v89 x - match v90 with - | US13_1(v206) -> (* Error *) - let v207 : string = $"file_system.read_link / error': {v206} / error: {v24} / name: {v5}" - let v208 : unit = () + let v87 : Result = _run_target_args'_v76 + let v90 : (std_path_PathBuf -> US13) = method105() + let v91 : (string -> US13) = method106() + let v92 : US13 = match v87 with Ok x -> v90 x | Error x -> v91 x + match v92 with + | US13_1(v208) -> (* Error *) + let v209 : string = $"file_system.read_link / " + let v210 : string = $"error': {v208} / error: {v24} / name: {v5}" + let v211 : string = v209 + v210 + let v212 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v209 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v210 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v207 v209 - let _run_target_args'_v208 = v210 + let v213 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v214 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v211 v213 + let _run_target_args'_v212 = v214 #endif #if FABLE_COMPILER_RUST && WASM - let v211 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v212 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v207 v211 - let _run_target_args'_v208 = v212 + let v215 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v216 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v211 v215 + let _run_target_args'_v212 = v216 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v213 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v214 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v207 v213 - let _run_target_args'_v208 = v214 + let v217 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v218 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v211 v217 + let _run_target_args'_v212 = v218 #endif #if FABLE_COMPILER_TYPESCRIPT - let v215 : std_io_Error = v207 |> unbox - let _run_target_args'_v208 = v215 + let v219 : std_io_Error = v211 |> unbox + let _run_target_args'_v212 = v219 #endif #if FABLE_COMPILER_PYTHON - let v218 : std_io_Error = v207 |> unbox - let _run_target_args'_v208 = v218 + let v222 : std_io_Error = v211 |> unbox + let _run_target_args'_v212 = v222 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v221 : std_io_Error = v207 |> unbox - let _run_target_args'_v208 = v221 + let v225 : std_io_Error = v211 |> unbox + let _run_target_args'_v212 = v225 #endif #else - let v224 : std_io_Error = v207 |> unbox - let _run_target_args'_v208 = v224 + let v228 : std_io_Error = v211 |> unbox + let _run_target_args'_v212 = v228 #endif - let v227 : std_io_Error = _run_target_args'_v208 - let v232 : unit = () + let v231 : std_io_Error = _run_target_args'_v212 + let v236 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v233 : string = "Err($0)" - let v234 : Result = Fable.Core.RustInterop.emitRustExpr v227 v233 - let _run_target_args'_v232 = v234 + let v237 : string = "Err($0)" + let v238 : Result = Fable.Core.RustInterop.emitRustExpr v231 v237 + let _run_target_args'_v236 = v238 #endif #if FABLE_COMPILER_RUST && WASM - let v235 : string = "Err($0)" - let v236 : Result = Fable.Core.RustInterop.emitRustExpr v227 v235 - let _run_target_args'_v232 = v236 + let v239 : string = "Err($0)" + let v240 : Result = Fable.Core.RustInterop.emitRustExpr v231 v239 + let _run_target_args'_v236 = v240 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v237 : string = "Err($0)" - let v238 : Result = Fable.Core.RustInterop.emitRustExpr v227 v237 - let _run_target_args'_v232 = v238 + let v241 : string = "Err($0)" + let v242 : Result = Fable.Core.RustInterop.emitRustExpr v231 v241 + let _run_target_args'_v236 = v242 #endif #if FABLE_COMPILER_TYPESCRIPT - let v239 : Result = v227 |> Error - let _run_target_args'_v232 = v239 + let v243 : Result = v231 |> Error + let _run_target_args'_v236 = v243 #endif #if FABLE_COMPILER_PYTHON - let v240 : Result = v227 |> Error - let _run_target_args'_v232 = v240 + let v244 : Result = v231 |> Error + let _run_target_args'_v236 = v244 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v241 : Result = v227 |> Error - let _run_target_args'_v232 = v241 + let v245 : Result = v231 |> Error + let _run_target_args'_v236 = v245 #endif #else - let v242 : Result = v227 |> Error - let _run_target_args'_v232 = v242 + let v246 : Result = v231 |> Error + let _run_target_args'_v236 = v246 #endif - let v243 : Result = _run_target_args'_v232 - v243 - | US13_0(v91) -> (* Ok *) - let v92 : unit = () + let v247 : Result = _run_target_args'_v236 + v247 + | US13_0(v93) -> (* Ok *) + let v94 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v93 : string = "$0.display()" - let v94 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v91 v93 - let _run_target_args'_v92 = v94 + let v95 : string = "$0.display()" + let v96 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v93 v95 + let _run_target_args'_v94 = v96 #endif #if FABLE_COMPILER_RUST && WASM - let v95 : string = "$0.display()" - let v96 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v91 v95 - let _run_target_args'_v92 = v96 + let v97 : string = "$0.display()" + let v98 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v93 v97 + let _run_target_args'_v94 = v98 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v97 : string = "$0.display()" - let v98 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v91 v97 - let _run_target_args'_v92 = v98 + let v99 : string = "$0.display()" + let v100 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v93 v99 + let _run_target_args'_v94 = v100 #endif #if FABLE_COMPILER_TYPESCRIPT - let v99 : std_path_Display = v91 |> unbox - let _run_target_args'_v92 = v99 + let v101 : std_path_Display = v93 |> unbox + let _run_target_args'_v94 = v101 #endif #if FABLE_COMPILER_PYTHON - let v102 : std_path_Display = v91 |> unbox - let _run_target_args'_v92 = v102 + let v104 : std_path_Display = v93 |> unbox + let _run_target_args'_v94 = v104 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v105 : std_path_Display = v91 |> unbox - let _run_target_args'_v92 = v105 + let v107 : std_path_Display = v93 |> unbox + let _run_target_args'_v94 = v107 #endif #else - let v108 : std_path_Display = v91 |> unbox - let _run_target_args'_v92 = v108 + let v110 : std_path_Display = v93 |> unbox + let _run_target_args'_v94 = v110 #endif - let v111 : std_path_Display = _run_target_args'_v92 - let v116 : string = v111 |> string - let v119 : string = method80(v116, v5) - let v120 : unit = () + let v113 : std_path_Display = _run_target_args'_v94 + let v118 : string = v113 |> string + let v121 : string = method80(v118, v5) + let v122 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v121 : string = "&*$0" - let v122 : Ref = Fable.Core.RustInterop.emitRustExpr v119 v121 - let _run_target_args'_v120 = v122 + let v123 : string = "&*$0" + let v124 : Ref = Fable.Core.RustInterop.emitRustExpr v121 v123 + let _run_target_args'_v122 = v124 #endif #if FABLE_COMPILER_RUST && WASM - let v123 : string = "&*$0" - let v124 : Ref = Fable.Core.RustInterop.emitRustExpr v119 v123 - let _run_target_args'_v120 = v124 + let v125 : string = "&*$0" + let v126 : Ref = Fable.Core.RustInterop.emitRustExpr v121 v125 + let _run_target_args'_v122 = v126 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v125 : string = "&*$0" - let v126 : Ref = Fable.Core.RustInterop.emitRustExpr v119 v125 - let _run_target_args'_v120 = v126 + let v127 : string = "&*$0" + let v128 : Ref = Fable.Core.RustInterop.emitRustExpr v121 v127 + let _run_target_args'_v122 = v128 #endif #if FABLE_COMPILER_TYPESCRIPT - let v127 : Ref = v119 |> unbox> - let _run_target_args'_v120 = v127 + let v129 : Ref = v121 |> unbox> + let _run_target_args'_v122 = v129 #endif #if FABLE_COMPILER_PYTHON - let v130 : Ref = v119 |> unbox> - let _run_target_args'_v120 = v130 + let v132 : Ref = v121 |> unbox> + let _run_target_args'_v122 = v132 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v133 : Ref = v119 |> unbox> - let _run_target_args'_v120 = v133 + let v135 : Ref = v121 |> unbox> + let _run_target_args'_v122 = v135 #endif #else - let v136 : Ref = v119 |> unbox> - let _run_target_args'_v120 = v136 + let v138 : Ref = v121 |> unbox> + let _run_target_args'_v122 = v138 #endif - let v139 : Ref = _run_target_args'_v120 - let v144 : unit = () + let v141 : Ref = _run_target_args'_v122 + let v146 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v145 : string = "String::from($0)" - let v146 : std_string_String = Fable.Core.RustInterop.emitRustExpr v139 v145 - let _run_target_args'_v144 = v146 + let v147 : string = "String::from($0)" + let v148 : std_string_String = Fable.Core.RustInterop.emitRustExpr v141 v147 + let _run_target_args'_v146 = v148 #endif #if FABLE_COMPILER_RUST && WASM - let v147 : string = "String::from($0)" - let v148 : std_string_String = Fable.Core.RustInterop.emitRustExpr v139 v147 - let _run_target_args'_v144 = v148 + let v149 : string = "String::from($0)" + let v150 : std_string_String = Fable.Core.RustInterop.emitRustExpr v141 v149 + let _run_target_args'_v146 = v150 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v149 : string = "String::from($0)" - let v150 : std_string_String = Fable.Core.RustInterop.emitRustExpr v139 v149 - let _run_target_args'_v144 = v150 + let v151 : string = "String::from($0)" + let v152 : std_string_String = Fable.Core.RustInterop.emitRustExpr v141 v151 + let _run_target_args'_v146 = v152 #endif #if FABLE_COMPILER_TYPESCRIPT - let v151 : std_string_String = v139 |> unbox - let _run_target_args'_v144 = v151 + let v153 : std_string_String = v141 |> unbox + let _run_target_args'_v146 = v153 #endif #if FABLE_COMPILER_PYTHON - let v154 : std_string_String = v139 |> unbox - let _run_target_args'_v144 = v154 + let v156 : std_string_String = v141 |> unbox + let _run_target_args'_v146 = v156 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v157 : std_string_String = v139 |> unbox - let _run_target_args'_v144 = v157 + let v159 : std_string_String = v141 |> unbox + let _run_target_args'_v146 = v159 #endif #else - let v160 : std_string_String = v139 |> unbox - let _run_target_args'_v144 = v160 + let v162 : std_string_String = v141 |> unbox + let _run_target_args'_v146 = v162 #endif - let v163 : std_string_String = _run_target_args'_v144 - let v168 : unit = () + let v165 : std_string_String = _run_target_args'_v146 + let v170 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v169 : string = "std::path::PathBuf::from($0)" - let v170 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v163 v169 - let _run_target_args'_v168 = v170 + let v171 : string = "std::path::PathBuf::from($0)" + let v172 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v165 v171 + let _run_target_args'_v170 = v172 #endif #if FABLE_COMPILER_RUST && WASM - let v171 : string = "std::path::PathBuf::from($0)" - let v172 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v163 v171 - let _run_target_args'_v168 = v172 + let v173 : string = "std::path::PathBuf::from($0)" + let v174 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v165 v173 + let _run_target_args'_v170 = v174 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v173 : string = "std::path::PathBuf::from($0)" - let v174 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v163 v173 - let _run_target_args'_v168 = v174 + let v175 : string = "std::path::PathBuf::from($0)" + let v176 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v165 v175 + let _run_target_args'_v170 = v176 #endif #if FABLE_COMPILER_TYPESCRIPT - let v175 : std_path_PathBuf = v163 |> unbox - let _run_target_args'_v168 = v175 + let v177 : std_path_PathBuf = v165 |> unbox + let _run_target_args'_v170 = v177 #endif #if FABLE_COMPILER_PYTHON - let v178 : std_path_PathBuf = v163 |> unbox - let _run_target_args'_v168 = v178 + let v180 : std_path_PathBuf = v165 |> unbox + let _run_target_args'_v170 = v180 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v181 : std_path_PathBuf = v163 |> unbox - let _run_target_args'_v168 = v181 + let v183 : std_path_PathBuf = v165 |> unbox + let _run_target_args'_v170 = v183 #endif #else - let v184 : std_path_PathBuf = v163 |> unbox - let _run_target_args'_v168 = v184 + let v186 : std_path_PathBuf = v165 |> unbox + let _run_target_args'_v170 = v186 #endif - let v187 : std_path_PathBuf = _run_target_args'_v168 - let v192 : unit = () + let v189 : std_path_PathBuf = _run_target_args'_v170 + let v194 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v193 : string = "Ok($0)" - let v194 : Result = Fable.Core.RustInterop.emitRustExpr v187 v193 - let _run_target_args'_v192 = v194 + let v195 : string = "Ok($0)" + let v196 : Result = Fable.Core.RustInterop.emitRustExpr v189 v195 + let _run_target_args'_v194 = v196 #endif #if FABLE_COMPILER_RUST && WASM - let v195 : string = "Ok($0)" - let v196 : Result = Fable.Core.RustInterop.emitRustExpr v187 v195 - let _run_target_args'_v192 = v196 + let v197 : string = "Ok($0)" + let v198 : Result = Fable.Core.RustInterop.emitRustExpr v189 v197 + let _run_target_args'_v194 = v198 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v197 : string = "Ok($0)" - let v198 : Result = Fable.Core.RustInterop.emitRustExpr v187 v197 - let _run_target_args'_v192 = v198 + let v199 : string = "Ok($0)" + let v200 : Result = Fable.Core.RustInterop.emitRustExpr v189 v199 + let _run_target_args'_v194 = v200 #endif #if FABLE_COMPILER_TYPESCRIPT - let v199 : Result = v187 |> Ok - let _run_target_args'_v192 = v199 + let v201 : Result = v189 |> Ok + let _run_target_args'_v194 = v201 #endif #if FABLE_COMPILER_PYTHON - let v200 : Result = v187 |> Ok - let _run_target_args'_v192 = v200 + let v202 : Result = v189 |> Ok + let _run_target_args'_v194 = v202 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v201 : Result = v187 |> Ok - let _run_target_args'_v192 = v201 + let v203 : Result = v189 |> Ok + let _run_target_args'_v194 = v203 #endif #else - let v202 : Result = v187 |> Ok - let _run_target_args'_v192 = v202 + let v204 : Result = v189 |> Ok + let _run_target_args'_v194 = v204 #endif - let v203 : Result = _run_target_args'_v192 - v203 + let v205 : Result = _run_target_args'_v194 + v205 else - let v248 : string = $"file_system.read_link / run / The file or directory is not a reparse point. / path: {v0} / error: {v24} / path': {v4} / name: {v5}" - let v249 : unit = () + let v252 : string = $"file_system.read_link / run / The file or directory is not a reparse point. / " + let v253 : string = $"path: {v0} / error: {v24} / path': {v4} / name: {v5}" + let v254 : string = v252 + v253 + let v255 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v250 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v251 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v248 v250 - let _run_target_args'_v249 = v251 + let v256 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v257 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v254 v256 + let _run_target_args'_v255 = v257 #endif #if FABLE_COMPILER_RUST && WASM - let v252 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v253 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v248 v252 - let _run_target_args'_v249 = v253 + let v258 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v259 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v254 v258 + let _run_target_args'_v255 = v259 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v254 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v255 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v248 v254 - let _run_target_args'_v249 = v255 + let v260 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v261 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v254 v260 + let _run_target_args'_v255 = v261 #endif #if FABLE_COMPILER_TYPESCRIPT - let v256 : std_io_Error = v248 |> unbox - let _run_target_args'_v249 = v256 + let v262 : std_io_Error = v254 |> unbox + let _run_target_args'_v255 = v262 #endif #if FABLE_COMPILER_PYTHON - let v259 : std_io_Error = v248 |> unbox - let _run_target_args'_v249 = v259 + let v265 : std_io_Error = v254 |> unbox + let _run_target_args'_v255 = v265 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v262 : std_io_Error = v248 |> unbox - let _run_target_args'_v249 = v262 + let v268 : std_io_Error = v254 |> unbox + let _run_target_args'_v255 = v268 #endif #else - let v265 : std_io_Error = v248 |> unbox - let _run_target_args'_v249 = v265 + let v271 : std_io_Error = v254 |> unbox + let _run_target_args'_v255 = v271 #endif - let v268 : std_io_Error = _run_target_args'_v249 - let v273 : unit = () + let v274 : std_io_Error = _run_target_args'_v255 + let v279 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v274 : string = "Err($0)" - let v275 : Result = Fable.Core.RustInterop.emitRustExpr v268 v274 - let _run_target_args'_v273 = v275 + let v280 : string = "Err($0)" + let v281 : Result = Fable.Core.RustInterop.emitRustExpr v274 v280 + let _run_target_args'_v279 = v281 #endif #if FABLE_COMPILER_RUST && WASM - let v276 : string = "Err($0)" - let v277 : Result = Fable.Core.RustInterop.emitRustExpr v268 v276 - let _run_target_args'_v273 = v277 + let v282 : string = "Err($0)" + let v283 : Result = Fable.Core.RustInterop.emitRustExpr v274 v282 + let _run_target_args'_v279 = v283 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v278 : string = "Err($0)" - let v279 : Result = Fable.Core.RustInterop.emitRustExpr v268 v278 - let _run_target_args'_v273 = v279 + let v284 : string = "Err($0)" + let v285 : Result = Fable.Core.RustInterop.emitRustExpr v274 v284 + let _run_target_args'_v279 = v285 #endif #if FABLE_COMPILER_TYPESCRIPT - let v280 : Result = v268 |> Error - let _run_target_args'_v273 = v280 + let v286 : Result = v274 |> Error + let _run_target_args'_v279 = v286 #endif #if FABLE_COMPILER_PYTHON - let v281 : Result = v268 |> Error - let _run_target_args'_v273 = v281 + let v287 : Result = v274 |> Error + let _run_target_args'_v279 = v287 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v282 : Result = v268 |> Error - let _run_target_args'_v273 = v282 + let v288 : Result = v274 |> Error + let _run_target_args'_v279 = v288 #endif #else - let v283 : Result = v268 |> Error - let _run_target_args'_v273 = v283 + let v289 : Result = v274 |> Error + let _run_target_args'_v279 = v289 #endif - let v284 : Result = _run_target_args'_v273 - v284 + let v290 : Result = _run_target_args'_v279 + v290 | _ -> - let v288 : string = $"file_system.read_link / run / The file or directory is not a reparse point. / path: {v0} / error: {v24} / path': {v4} / name: {v5}" - let v289 : unit = () + let v294 : string = $"file_system.read_link / run / The file or directory is not a reparse point. / " + let v295 : string = $"path: {v0} / error: {v24} / path': {v4} / name: {v5}" + let v296 : string = v294 + v295 + let v297 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v290 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v291 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v288 v290 - let _run_target_args'_v289 = v291 + let v298 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v299 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v296 v298 + let _run_target_args'_v297 = v299 #endif #if FABLE_COMPILER_RUST && WASM - let v292 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v293 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v288 v292 - let _run_target_args'_v289 = v293 + let v300 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v301 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v296 v300 + let _run_target_args'_v297 = v301 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v294 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v295 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v288 v294 - let _run_target_args'_v289 = v295 + let v302 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v303 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v296 v302 + let _run_target_args'_v297 = v303 #endif #if FABLE_COMPILER_TYPESCRIPT - let v296 : std_io_Error = v288 |> unbox - let _run_target_args'_v289 = v296 + let v304 : std_io_Error = v296 |> unbox + let _run_target_args'_v297 = v304 #endif #if FABLE_COMPILER_PYTHON - let v299 : std_io_Error = v288 |> unbox - let _run_target_args'_v289 = v299 + let v307 : std_io_Error = v296 |> unbox + let _run_target_args'_v297 = v307 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v302 : std_io_Error = v288 |> unbox - let _run_target_args'_v289 = v302 + let v310 : std_io_Error = v296 |> unbox + let _run_target_args'_v297 = v310 #endif #else - let v305 : std_io_Error = v288 |> unbox - let _run_target_args'_v289 = v305 + let v313 : std_io_Error = v296 |> unbox + let _run_target_args'_v297 = v313 #endif - let v308 : std_io_Error = _run_target_args'_v289 - let v313 : unit = () + let v316 : std_io_Error = _run_target_args'_v297 + let v321 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v314 : string = "Err($0)" - let v315 : Result = Fable.Core.RustInterop.emitRustExpr v308 v314 - let _run_target_args'_v313 = v315 + let v322 : string = "Err($0)" + let v323 : Result = Fable.Core.RustInterop.emitRustExpr v316 v322 + let _run_target_args'_v321 = v323 #endif #if FABLE_COMPILER_RUST && WASM - let v316 : string = "Err($0)" - let v317 : Result = Fable.Core.RustInterop.emitRustExpr v308 v316 - let _run_target_args'_v313 = v317 + let v324 : string = "Err($0)" + let v325 : Result = Fable.Core.RustInterop.emitRustExpr v316 v324 + let _run_target_args'_v321 = v325 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v318 : string = "Err($0)" - let v319 : Result = Fable.Core.RustInterop.emitRustExpr v308 v318 - let _run_target_args'_v313 = v319 + let v326 : string = "Err($0)" + let v327 : Result = Fable.Core.RustInterop.emitRustExpr v316 v326 + let _run_target_args'_v321 = v327 #endif #if FABLE_COMPILER_TYPESCRIPT - let v320 : Result = v308 |> Error - let _run_target_args'_v313 = v320 + let v328 : Result = v316 |> Error + let _run_target_args'_v321 = v328 #endif #if FABLE_COMPILER_PYTHON - let v321 : Result = v308 |> Error - let _run_target_args'_v313 = v321 + let v329 : Result = v316 |> Error + let _run_target_args'_v321 = v329 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v322 : Result = v308 |> Error - let _run_target_args'_v313 = v322 + let v330 : Result = v316 |> Error + let _run_target_args'_v321 = v330 #endif #else - let v323 : Result = v308 |> Error - let _run_target_args'_v313 = v323 + let v331 : Result = v316 |> Error + let _run_target_args'_v321 = v331 #endif - let v324 : Result = _run_target_args'_v313 - v324 + let v332 : Result = _run_target_args'_v321 + v332 and method107 (v0 : string, v1 : uint8, v2 : string) : Result = let v3 : unit = () @@ -13250,539 +13258,547 @@ and method111 (v0 : string, v1 : (uint8 -> (string -> Result= 11uy if v24 then - let v25 : string = $"file_system.read_link / path: {v0} / n: {v2} / path': {v0} / name: {v4}" - let v26 : unit = () + let v25 : string = $"file_system.read_link / " + let v26 : string = $"path: {v0} / n: {v2} / path': {v0} / name: {v4}" + let v27 : string = v25 + v26 + let v28 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v27 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v28 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v25 v27 - let _run_target_args'_v26 = v28 + let v29 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v30 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v27 v29 + let _run_target_args'_v28 = v30 #endif #if FABLE_COMPILER_RUST && WASM - let v29 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v30 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v25 v29 - let _run_target_args'_v26 = v30 + let v31 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v32 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v27 v31 + let _run_target_args'_v28 = v32 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v31 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v32 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v25 v31 - let _run_target_args'_v26 = v32 + let v33 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v34 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v27 v33 + let _run_target_args'_v28 = v34 #endif #if FABLE_COMPILER_TYPESCRIPT - let v33 : std_io_Error = v25 |> unbox - let _run_target_args'_v26 = v33 + let v35 : std_io_Error = v27 |> unbox + let _run_target_args'_v28 = v35 #endif #if FABLE_COMPILER_PYTHON - let v36 : std_io_Error = v25 |> unbox - let _run_target_args'_v26 = v36 + let v38 : std_io_Error = v27 |> unbox + let _run_target_args'_v28 = v38 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v39 : std_io_Error = v25 |> unbox - let _run_target_args'_v26 = v39 + let v41 : std_io_Error = v27 |> unbox + let _run_target_args'_v28 = v41 #endif #else - let v42 : std_io_Error = v25 |> unbox - let _run_target_args'_v26 = v42 + let v44 : std_io_Error = v27 |> unbox + let _run_target_args'_v28 = v44 #endif - let v45 : std_io_Error = _run_target_args'_v26 - let v50 : unit = () + let v47 : std_io_Error = _run_target_args'_v28 + let v52 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v51 : string = "Err($0)" - let v52 : Result = Fable.Core.RustInterop.emitRustExpr v45 v51 - let _run_target_args'_v50 = v52 + let v53 : string = "Err($0)" + let v54 : Result = Fable.Core.RustInterop.emitRustExpr v47 v53 + let _run_target_args'_v52 = v54 #endif #if FABLE_COMPILER_RUST && WASM - let v53 : string = "Err($0)" - let v54 : Result = Fable.Core.RustInterop.emitRustExpr v45 v53 - let _run_target_args'_v50 = v54 + let v55 : string = "Err($0)" + let v56 : Result = Fable.Core.RustInterop.emitRustExpr v47 v55 + let _run_target_args'_v52 = v56 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v55 : string = "Err($0)" - let v56 : Result = Fable.Core.RustInterop.emitRustExpr v45 v55 - let _run_target_args'_v50 = v56 + let v57 : string = "Err($0)" + let v58 : Result = Fable.Core.RustInterop.emitRustExpr v47 v57 + let _run_target_args'_v52 = v58 #endif #if FABLE_COMPILER_TYPESCRIPT - let v57 : Result = v45 |> Error - let _run_target_args'_v50 = v57 + let v59 : Result = v47 |> Error + let _run_target_args'_v52 = v59 #endif #if FABLE_COMPILER_PYTHON - let v58 : Result = v45 |> Error - let _run_target_args'_v50 = v58 + let v60 : Result = v47 |> Error + let _run_target_args'_v52 = v60 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v59 : Result = v45 |> Error - let _run_target_args'_v50 = v59 + let v61 : Result = v47 |> Error + let _run_target_args'_v52 = v61 #endif #else - let v60 : Result = v45 |> Error - let _run_target_args'_v50 = v60 + let v62 : Result = v47 |> Error + let _run_target_args'_v52 = v62 #endif - let v61 : Result = _run_target_args'_v50 - v61 + let v63 : Result = _run_target_args'_v52 + v63 else match v19 with - | US5_0(v64) -> (* Some *) - let v65 : string = "" - let v66 : bool = v0 <> v65 - if v66 then - let v69 : uint8 = v2 + 1uy - let v70 : (string -> Result) = v1 v69 - let v71 : Result = v70 v64 - let v72 : (std_io_Error -> string) = method103() - let v73 : unit = () + | US5_0(v66) -> (* Some *) + let v67 : string = "" + let v68 : bool = v0 <> v67 + if v68 then + let v71 : uint8 = v2 + 1uy + let v72 : (string -> Result) = v1 v71 + let v73 : Result = v72 v66 + let v74 : (std_io_Error -> string) = method103() + let v75 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v74 : string = "$0.map_err(|x| $1(x))" - let v75 : Result = Fable.Core.RustInterop.emitRustExpr struct (v71, v72) v74 - let _run_target_args'_v73 = v75 + let v76 : string = "$0.map_err(|x| $1(x))" + let v77 : Result = Fable.Core.RustInterop.emitRustExpr struct (v73, v74) v76 + let _run_target_args'_v75 = v77 #endif #if FABLE_COMPILER_RUST && WASM - let v76 : string = "$0.map_err(|x| $1(x))" - let v77 : Result = Fable.Core.RustInterop.emitRustExpr struct (v71, v72) v76 - let _run_target_args'_v73 = v77 + let v78 : string = "$0.map_err(|x| $1(x))" + let v79 : Result = Fable.Core.RustInterop.emitRustExpr struct (v73, v74) v78 + let _run_target_args'_v75 = v79 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v78 : string = "$0.map_err(|x| $1(x))" - let v79 : Result = Fable.Core.RustInterop.emitRustExpr struct (v71, v72) v78 - let _run_target_args'_v73 = v79 + let v80 : string = "$0.map_err(|x| $1(x))" + let v81 : Result = Fable.Core.RustInterop.emitRustExpr struct (v73, v74) v80 + let _run_target_args'_v75 = v81 #endif #if FABLE_COMPILER_TYPESCRIPT - let v80 : Result = match v71 with Ok x -> Ok x | Error x -> Error (v72 x) - let _run_target_args'_v73 = v80 + let v82 : Result = match v73 with Ok x -> Ok x | Error x -> Error (v74 x) + let _run_target_args'_v75 = v82 #endif #if FABLE_COMPILER_PYTHON - let v81 : Result = match v71 with Ok x -> Ok x | Error x -> Error (v72 x) - let _run_target_args'_v73 = v81 + let v83 : Result = match v73 with Ok x -> Ok x | Error x -> Error (v74 x) + let _run_target_args'_v75 = v83 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v82 : Result = match v71 with Ok x -> Ok x | Error x -> Error (v72 x) - let _run_target_args'_v73 = v82 + let v84 : Result = match v73 with Ok x -> Ok x | Error x -> Error (v74 x) + let _run_target_args'_v75 = v84 #endif #else - let v83 : Result = match v71 with Ok x -> Ok x | Error x -> Error (v72 x) - let _run_target_args'_v73 = v83 + let v85 : Result = match v73 with Ok x -> Ok x | Error x -> Error (v74 x) + let _run_target_args'_v75 = v85 #endif - let v84 : Result = _run_target_args'_v73 - let v87 : (std_path_PathBuf -> US13) = method105() - let v88 : (string -> US13) = method106() - let v89 : US13 = match v84 with Ok x -> v87 x | Error x -> v88 x - match v89 with - | US13_1(v205) -> (* Error *) - let v206 : string = $"file_system.read_link / error': {v205} / error: {v23} / name: {v4}" - let v207 : unit = () + let v86 : Result = _run_target_args'_v75 + let v89 : (std_path_PathBuf -> US13) = method105() + let v90 : (string -> US13) = method106() + let v91 : US13 = match v86 with Ok x -> v89 x | Error x -> v90 x + match v91 with + | US13_1(v207) -> (* Error *) + let v208 : string = $"file_system.read_link / " + let v209 : string = $"error': {v207} / error: {v23} / name: {v4}" + let v210 : string = v208 + v209 + let v211 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v208 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v209 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v206 v208 - let _run_target_args'_v207 = v209 + let v212 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v213 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v210 v212 + let _run_target_args'_v211 = v213 #endif #if FABLE_COMPILER_RUST && WASM - let v210 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v211 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v206 v210 - let _run_target_args'_v207 = v211 + let v214 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v215 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v210 v214 + let _run_target_args'_v211 = v215 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v212 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v213 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v206 v212 - let _run_target_args'_v207 = v213 + let v216 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v217 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v210 v216 + let _run_target_args'_v211 = v217 #endif #if FABLE_COMPILER_TYPESCRIPT - let v214 : std_io_Error = v206 |> unbox - let _run_target_args'_v207 = v214 + let v218 : std_io_Error = v210 |> unbox + let _run_target_args'_v211 = v218 #endif #if FABLE_COMPILER_PYTHON - let v217 : std_io_Error = v206 |> unbox - let _run_target_args'_v207 = v217 + let v221 : std_io_Error = v210 |> unbox + let _run_target_args'_v211 = v221 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v220 : std_io_Error = v206 |> unbox - let _run_target_args'_v207 = v220 + let v224 : std_io_Error = v210 |> unbox + let _run_target_args'_v211 = v224 #endif #else - let v223 : std_io_Error = v206 |> unbox - let _run_target_args'_v207 = v223 + let v227 : std_io_Error = v210 |> unbox + let _run_target_args'_v211 = v227 #endif - let v226 : std_io_Error = _run_target_args'_v207 - let v231 : unit = () + let v230 : std_io_Error = _run_target_args'_v211 + let v235 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v232 : string = "Err($0)" - let v233 : Result = Fable.Core.RustInterop.emitRustExpr v226 v232 - let _run_target_args'_v231 = v233 + let v236 : string = "Err($0)" + let v237 : Result = Fable.Core.RustInterop.emitRustExpr v230 v236 + let _run_target_args'_v235 = v237 #endif #if FABLE_COMPILER_RUST && WASM - let v234 : string = "Err($0)" - let v235 : Result = Fable.Core.RustInterop.emitRustExpr v226 v234 - let _run_target_args'_v231 = v235 + let v238 : string = "Err($0)" + let v239 : Result = Fable.Core.RustInterop.emitRustExpr v230 v238 + let _run_target_args'_v235 = v239 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v236 : string = "Err($0)" - let v237 : Result = Fable.Core.RustInterop.emitRustExpr v226 v236 - let _run_target_args'_v231 = v237 + let v240 : string = "Err($0)" + let v241 : Result = Fable.Core.RustInterop.emitRustExpr v230 v240 + let _run_target_args'_v235 = v241 #endif #if FABLE_COMPILER_TYPESCRIPT - let v238 : Result = v226 |> Error - let _run_target_args'_v231 = v238 + let v242 : Result = v230 |> Error + let _run_target_args'_v235 = v242 #endif #if FABLE_COMPILER_PYTHON - let v239 : Result = v226 |> Error - let _run_target_args'_v231 = v239 + let v243 : Result = v230 |> Error + let _run_target_args'_v235 = v243 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v240 : Result = v226 |> Error - let _run_target_args'_v231 = v240 + let v244 : Result = v230 |> Error + let _run_target_args'_v235 = v244 #endif #else - let v241 : Result = v226 |> Error - let _run_target_args'_v231 = v241 + let v245 : Result = v230 |> Error + let _run_target_args'_v235 = v245 #endif - let v242 : Result = _run_target_args'_v231 - v242 - | US13_0(v90) -> (* Ok *) - let v91 : unit = () + let v246 : Result = _run_target_args'_v235 + v246 + | US13_0(v92) -> (* Ok *) + let v93 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v92 : string = "$0.display()" - let v93 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v90 v92 - let _run_target_args'_v91 = v93 + let v94 : string = "$0.display()" + let v95 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v92 v94 + let _run_target_args'_v93 = v95 #endif #if FABLE_COMPILER_RUST && WASM - let v94 : string = "$0.display()" - let v95 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v90 v94 - let _run_target_args'_v91 = v95 + let v96 : string = "$0.display()" + let v97 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v92 v96 + let _run_target_args'_v93 = v97 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v96 : string = "$0.display()" - let v97 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v90 v96 - let _run_target_args'_v91 = v97 + let v98 : string = "$0.display()" + let v99 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v92 v98 + let _run_target_args'_v93 = v99 #endif #if FABLE_COMPILER_TYPESCRIPT - let v98 : std_path_Display = v90 |> unbox - let _run_target_args'_v91 = v98 + let v100 : std_path_Display = v92 |> unbox + let _run_target_args'_v93 = v100 #endif #if FABLE_COMPILER_PYTHON - let v101 : std_path_Display = v90 |> unbox - let _run_target_args'_v91 = v101 + let v103 : std_path_Display = v92 |> unbox + let _run_target_args'_v93 = v103 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v104 : std_path_Display = v90 |> unbox - let _run_target_args'_v91 = v104 + let v106 : std_path_Display = v92 |> unbox + let _run_target_args'_v93 = v106 #endif #else - let v107 : std_path_Display = v90 |> unbox - let _run_target_args'_v91 = v107 + let v109 : std_path_Display = v92 |> unbox + let _run_target_args'_v93 = v109 #endif - let v110 : std_path_Display = _run_target_args'_v91 - let v115 : string = v110 |> string - let v118 : string = method80(v115, v4) - let v119 : unit = () + let v112 : std_path_Display = _run_target_args'_v93 + let v117 : string = v112 |> string + let v120 : string = method80(v117, v4) + let v121 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v120 : string = "&*$0" - let v121 : Ref = Fable.Core.RustInterop.emitRustExpr v118 v120 - let _run_target_args'_v119 = v121 + let v122 : string = "&*$0" + let v123 : Ref = Fable.Core.RustInterop.emitRustExpr v120 v122 + let _run_target_args'_v121 = v123 #endif #if FABLE_COMPILER_RUST && WASM - let v122 : string = "&*$0" - let v123 : Ref = Fable.Core.RustInterop.emitRustExpr v118 v122 - let _run_target_args'_v119 = v123 + let v124 : string = "&*$0" + let v125 : Ref = Fable.Core.RustInterop.emitRustExpr v120 v124 + let _run_target_args'_v121 = v125 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v124 : string = "&*$0" - let v125 : Ref = Fable.Core.RustInterop.emitRustExpr v118 v124 - let _run_target_args'_v119 = v125 + let v126 : string = "&*$0" + let v127 : Ref = Fable.Core.RustInterop.emitRustExpr v120 v126 + let _run_target_args'_v121 = v127 #endif #if FABLE_COMPILER_TYPESCRIPT - let v126 : Ref = v118 |> unbox> - let _run_target_args'_v119 = v126 + let v128 : Ref = v120 |> unbox> + let _run_target_args'_v121 = v128 #endif #if FABLE_COMPILER_PYTHON - let v129 : Ref = v118 |> unbox> - let _run_target_args'_v119 = v129 + let v131 : Ref = v120 |> unbox> + let _run_target_args'_v121 = v131 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v132 : Ref = v118 |> unbox> - let _run_target_args'_v119 = v132 + let v134 : Ref = v120 |> unbox> + let _run_target_args'_v121 = v134 #endif #else - let v135 : Ref = v118 |> unbox> - let _run_target_args'_v119 = v135 + let v137 : Ref = v120 |> unbox> + let _run_target_args'_v121 = v137 #endif - let v138 : Ref = _run_target_args'_v119 - let v143 : unit = () + let v140 : Ref = _run_target_args'_v121 + let v145 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v144 : string = "String::from($0)" - let v145 : std_string_String = Fable.Core.RustInterop.emitRustExpr v138 v144 - let _run_target_args'_v143 = v145 + let v146 : string = "String::from($0)" + let v147 : std_string_String = Fable.Core.RustInterop.emitRustExpr v140 v146 + let _run_target_args'_v145 = v147 #endif #if FABLE_COMPILER_RUST && WASM - let v146 : string = "String::from($0)" - let v147 : std_string_String = Fable.Core.RustInterop.emitRustExpr v138 v146 - let _run_target_args'_v143 = v147 + let v148 : string = "String::from($0)" + let v149 : std_string_String = Fable.Core.RustInterop.emitRustExpr v140 v148 + let _run_target_args'_v145 = v149 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v148 : string = "String::from($0)" - let v149 : std_string_String = Fable.Core.RustInterop.emitRustExpr v138 v148 - let _run_target_args'_v143 = v149 + let v150 : string = "String::from($0)" + let v151 : std_string_String = Fable.Core.RustInterop.emitRustExpr v140 v150 + let _run_target_args'_v145 = v151 #endif #if FABLE_COMPILER_TYPESCRIPT - let v150 : std_string_String = v138 |> unbox - let _run_target_args'_v143 = v150 + let v152 : std_string_String = v140 |> unbox + let _run_target_args'_v145 = v152 #endif #if FABLE_COMPILER_PYTHON - let v153 : std_string_String = v138 |> unbox - let _run_target_args'_v143 = v153 + let v155 : std_string_String = v140 |> unbox + let _run_target_args'_v145 = v155 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v156 : std_string_String = v138 |> unbox - let _run_target_args'_v143 = v156 + let v158 : std_string_String = v140 |> unbox + let _run_target_args'_v145 = v158 #endif #else - let v159 : std_string_String = v138 |> unbox - let _run_target_args'_v143 = v159 + let v161 : std_string_String = v140 |> unbox + let _run_target_args'_v145 = v161 #endif - let v162 : std_string_String = _run_target_args'_v143 - let v167 : unit = () + let v164 : std_string_String = _run_target_args'_v145 + let v169 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v168 : string = "std::path::PathBuf::from($0)" - let v169 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v162 v168 - let _run_target_args'_v167 = v169 + let v170 : string = "std::path::PathBuf::from($0)" + let v171 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v164 v170 + let _run_target_args'_v169 = v171 #endif #if FABLE_COMPILER_RUST && WASM - let v170 : string = "std::path::PathBuf::from($0)" - let v171 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v162 v170 - let _run_target_args'_v167 = v171 + let v172 : string = "std::path::PathBuf::from($0)" + let v173 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v164 v172 + let _run_target_args'_v169 = v173 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v172 : string = "std::path::PathBuf::from($0)" - let v173 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v162 v172 - let _run_target_args'_v167 = v173 + let v174 : string = "std::path::PathBuf::from($0)" + let v175 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v164 v174 + let _run_target_args'_v169 = v175 #endif #if FABLE_COMPILER_TYPESCRIPT - let v174 : std_path_PathBuf = v162 |> unbox - let _run_target_args'_v167 = v174 + let v176 : std_path_PathBuf = v164 |> unbox + let _run_target_args'_v169 = v176 #endif #if FABLE_COMPILER_PYTHON - let v177 : std_path_PathBuf = v162 |> unbox - let _run_target_args'_v167 = v177 + let v179 : std_path_PathBuf = v164 |> unbox + let _run_target_args'_v169 = v179 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v180 : std_path_PathBuf = v162 |> unbox - let _run_target_args'_v167 = v180 + let v182 : std_path_PathBuf = v164 |> unbox + let _run_target_args'_v169 = v182 #endif #else - let v183 : std_path_PathBuf = v162 |> unbox - let _run_target_args'_v167 = v183 + let v185 : std_path_PathBuf = v164 |> unbox + let _run_target_args'_v169 = v185 #endif - let v186 : std_path_PathBuf = _run_target_args'_v167 - let v191 : unit = () + let v188 : std_path_PathBuf = _run_target_args'_v169 + let v193 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v192 : string = "Ok($0)" - let v193 : Result = Fable.Core.RustInterop.emitRustExpr v186 v192 - let _run_target_args'_v191 = v193 + let v194 : string = "Ok($0)" + let v195 : Result = Fable.Core.RustInterop.emitRustExpr v188 v194 + let _run_target_args'_v193 = v195 #endif #if FABLE_COMPILER_RUST && WASM - let v194 : string = "Ok($0)" - let v195 : Result = Fable.Core.RustInterop.emitRustExpr v186 v194 - let _run_target_args'_v191 = v195 + let v196 : string = "Ok($0)" + let v197 : Result = Fable.Core.RustInterop.emitRustExpr v188 v196 + let _run_target_args'_v193 = v197 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v196 : string = "Ok($0)" - let v197 : Result = Fable.Core.RustInterop.emitRustExpr v186 v196 - let _run_target_args'_v191 = v197 + let v198 : string = "Ok($0)" + let v199 : Result = Fable.Core.RustInterop.emitRustExpr v188 v198 + let _run_target_args'_v193 = v199 #endif #if FABLE_COMPILER_TYPESCRIPT - let v198 : Result = v186 |> Ok - let _run_target_args'_v191 = v198 + let v200 : Result = v188 |> Ok + let _run_target_args'_v193 = v200 #endif #if FABLE_COMPILER_PYTHON - let v199 : Result = v186 |> Ok - let _run_target_args'_v191 = v199 + let v201 : Result = v188 |> Ok + let _run_target_args'_v193 = v201 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v200 : Result = v186 |> Ok - let _run_target_args'_v191 = v200 + let v202 : Result = v188 |> Ok + let _run_target_args'_v193 = v202 #endif #else - let v201 : Result = v186 |> Ok - let _run_target_args'_v191 = v201 + let v203 : Result = v188 |> Ok + let _run_target_args'_v193 = v203 #endif - let v202 : Result = _run_target_args'_v191 - v202 + let v204 : Result = _run_target_args'_v193 + v204 else - let v247 : string = $"file_system.read_link / run / The file or directory is not a reparse point. / path: {v0} / error: {v23} / path': {v0} / name: {v4}" - let v248 : unit = () + let v251 : string = $"file_system.read_link / run / The file or directory is not a reparse point. / " + let v252 : string = $"path: {v0} / error: {v23} / path': {v0} / name: {v4}" + let v253 : string = v251 + v252 + let v254 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v249 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v250 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v247 v249 - let _run_target_args'_v248 = v250 + let v255 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v256 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v253 v255 + let _run_target_args'_v254 = v256 #endif #if FABLE_COMPILER_RUST && WASM - let v251 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v252 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v247 v251 - let _run_target_args'_v248 = v252 + let v257 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v258 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v253 v257 + let _run_target_args'_v254 = v258 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v253 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v254 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v247 v253 - let _run_target_args'_v248 = v254 + let v259 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v260 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v253 v259 + let _run_target_args'_v254 = v260 #endif #if FABLE_COMPILER_TYPESCRIPT - let v255 : std_io_Error = v247 |> unbox - let _run_target_args'_v248 = v255 + let v261 : std_io_Error = v253 |> unbox + let _run_target_args'_v254 = v261 #endif #if FABLE_COMPILER_PYTHON - let v258 : std_io_Error = v247 |> unbox - let _run_target_args'_v248 = v258 + let v264 : std_io_Error = v253 |> unbox + let _run_target_args'_v254 = v264 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v261 : std_io_Error = v247 |> unbox - let _run_target_args'_v248 = v261 + let v267 : std_io_Error = v253 |> unbox + let _run_target_args'_v254 = v267 #endif #else - let v264 : std_io_Error = v247 |> unbox - let _run_target_args'_v248 = v264 + let v270 : std_io_Error = v253 |> unbox + let _run_target_args'_v254 = v270 #endif - let v267 : std_io_Error = _run_target_args'_v248 - let v272 : unit = () + let v273 : std_io_Error = _run_target_args'_v254 + let v278 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v273 : string = "Err($0)" - let v274 : Result = Fable.Core.RustInterop.emitRustExpr v267 v273 - let _run_target_args'_v272 = v274 + let v279 : string = "Err($0)" + let v280 : Result = Fable.Core.RustInterop.emitRustExpr v273 v279 + let _run_target_args'_v278 = v280 #endif #if FABLE_COMPILER_RUST && WASM - let v275 : string = "Err($0)" - let v276 : Result = Fable.Core.RustInterop.emitRustExpr v267 v275 - let _run_target_args'_v272 = v276 + let v281 : string = "Err($0)" + let v282 : Result = Fable.Core.RustInterop.emitRustExpr v273 v281 + let _run_target_args'_v278 = v282 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v277 : string = "Err($0)" - let v278 : Result = Fable.Core.RustInterop.emitRustExpr v267 v277 - let _run_target_args'_v272 = v278 + let v283 : string = "Err($0)" + let v284 : Result = Fable.Core.RustInterop.emitRustExpr v273 v283 + let _run_target_args'_v278 = v284 #endif #if FABLE_COMPILER_TYPESCRIPT - let v279 : Result = v267 |> Error - let _run_target_args'_v272 = v279 + let v285 : Result = v273 |> Error + let _run_target_args'_v278 = v285 #endif #if FABLE_COMPILER_PYTHON - let v280 : Result = v267 |> Error - let _run_target_args'_v272 = v280 + let v286 : Result = v273 |> Error + let _run_target_args'_v278 = v286 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v281 : Result = v267 |> Error - let _run_target_args'_v272 = v281 + let v287 : Result = v273 |> Error + let _run_target_args'_v278 = v287 #endif #else - let v282 : Result = v267 |> Error - let _run_target_args'_v272 = v282 + let v288 : Result = v273 |> Error + let _run_target_args'_v278 = v288 #endif - let v283 : Result = _run_target_args'_v272 - v283 + let v289 : Result = _run_target_args'_v278 + v289 | _ -> - let v287 : string = $"file_system.read_link / run / The file or directory is not a reparse point. / path: {v0} / error: {v23} / path': {v0} / name: {v4}" - let v288 : unit = () + let v293 : string = $"file_system.read_link / run / The file or directory is not a reparse point. / " + let v294 : string = $"path: {v0} / error: {v23} / path': {v0} / name: {v4}" + let v295 : string = v293 + v294 + let v296 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v289 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v290 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v287 v289 - let _run_target_args'_v288 = v290 + let v297 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v298 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v295 v297 + let _run_target_args'_v296 = v298 #endif #if FABLE_COMPILER_RUST && WASM - let v291 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v292 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v287 v291 - let _run_target_args'_v288 = v292 + let v299 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v300 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v295 v299 + let _run_target_args'_v296 = v300 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v293 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v294 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v287 v293 - let _run_target_args'_v288 = v294 + let v301 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v302 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v295 v301 + let _run_target_args'_v296 = v302 #endif #if FABLE_COMPILER_TYPESCRIPT - let v295 : std_io_Error = v287 |> unbox - let _run_target_args'_v288 = v295 + let v303 : std_io_Error = v295 |> unbox + let _run_target_args'_v296 = v303 #endif #if FABLE_COMPILER_PYTHON - let v298 : std_io_Error = v287 |> unbox - let _run_target_args'_v288 = v298 + let v306 : std_io_Error = v295 |> unbox + let _run_target_args'_v296 = v306 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v301 : std_io_Error = v287 |> unbox - let _run_target_args'_v288 = v301 + let v309 : std_io_Error = v295 |> unbox + let _run_target_args'_v296 = v309 #endif #else - let v304 : std_io_Error = v287 |> unbox - let _run_target_args'_v288 = v304 + let v312 : std_io_Error = v295 |> unbox + let _run_target_args'_v296 = v312 #endif - let v307 : std_io_Error = _run_target_args'_v288 - let v312 : unit = () + let v315 : std_io_Error = _run_target_args'_v296 + let v320 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v313 : string = "Err($0)" - let v314 : Result = Fable.Core.RustInterop.emitRustExpr v307 v313 - let _run_target_args'_v312 = v314 + let v321 : string = "Err($0)" + let v322 : Result = Fable.Core.RustInterop.emitRustExpr v315 v321 + let _run_target_args'_v320 = v322 #endif #if FABLE_COMPILER_RUST && WASM - let v315 : string = "Err($0)" - let v316 : Result = Fable.Core.RustInterop.emitRustExpr v307 v315 - let _run_target_args'_v312 = v316 + let v323 : string = "Err($0)" + let v324 : Result = Fable.Core.RustInterop.emitRustExpr v315 v323 + let _run_target_args'_v320 = v324 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v317 : string = "Err($0)" - let v318 : Result = Fable.Core.RustInterop.emitRustExpr v307 v317 - let _run_target_args'_v312 = v318 + let v325 : string = "Err($0)" + let v326 : Result = Fable.Core.RustInterop.emitRustExpr v315 v325 + let _run_target_args'_v320 = v326 #endif #if FABLE_COMPILER_TYPESCRIPT - let v319 : Result = v307 |> Error - let _run_target_args'_v312 = v319 + let v327 : Result = v315 |> Error + let _run_target_args'_v320 = v327 #endif #if FABLE_COMPILER_PYTHON - let v320 : Result = v307 |> Error - let _run_target_args'_v312 = v320 + let v328 : Result = v315 |> Error + let _run_target_args'_v320 = v328 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v321 : Result = v307 |> Error - let _run_target_args'_v312 = v321 + let v329 : Result = v315 |> Error + let _run_target_args'_v320 = v329 #endif #else - let v322 : Result = v307 |> Error - let _run_target_args'_v312 = v322 + let v330 : Result = v315 |> Error + let _run_target_args'_v320 = v330 #endif - let v323 : Result = _run_target_args'_v312 - v323 + let v331 : Result = _run_target_args'_v320 + v331 and method102 (v0 : string, v1 : uint8) : Result = let v2 : unit = () @@ -14186,539 +14202,547 @@ and method117 (v0 : string, v1 : (uint8 -> (string -> Result= 11uy if v25 then - let v26 : string = $"file_system.read_link / path: {v0} / n: {v2} / path': {v4} / name: {v5}" - let v27 : unit = () + let v26 : string = $"file_system.read_link / " + let v27 : string = $"path: {v0} / n: {v2} / path': {v4} / name: {v5}" + let v28 : string = v26 + v27 + let v29 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v28 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v29 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v26 v28 - let _run_target_args'_v27 = v29 + let v30 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v31 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v28 v30 + let _run_target_args'_v29 = v31 #endif #if FABLE_COMPILER_RUST && WASM - let v30 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v31 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v26 v30 - let _run_target_args'_v27 = v31 + let v32 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v33 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v28 v32 + let _run_target_args'_v29 = v33 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v32 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v33 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v26 v32 - let _run_target_args'_v27 = v33 + let v34 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v35 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v28 v34 + let _run_target_args'_v29 = v35 #endif #if FABLE_COMPILER_TYPESCRIPT - let v34 : std_io_Error = v26 |> unbox - let _run_target_args'_v27 = v34 + let v36 : std_io_Error = v28 |> unbox + let _run_target_args'_v29 = v36 #endif #if FABLE_COMPILER_PYTHON - let v37 : std_io_Error = v26 |> unbox - let _run_target_args'_v27 = v37 + let v39 : std_io_Error = v28 |> unbox + let _run_target_args'_v29 = v39 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v40 : std_io_Error = v26 |> unbox - let _run_target_args'_v27 = v40 + let v42 : std_io_Error = v28 |> unbox + let _run_target_args'_v29 = v42 #endif #else - let v43 : std_io_Error = v26 |> unbox - let _run_target_args'_v27 = v43 + let v45 : std_io_Error = v28 |> unbox + let _run_target_args'_v29 = v45 #endif - let v46 : std_io_Error = _run_target_args'_v27 - let v51 : unit = () + let v48 : std_io_Error = _run_target_args'_v29 + let v53 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v52 : string = "Err($0)" - let v53 : Result = Fable.Core.RustInterop.emitRustExpr v46 v52 - let _run_target_args'_v51 = v53 + let v54 : string = "Err($0)" + let v55 : Result = Fable.Core.RustInterop.emitRustExpr v48 v54 + let _run_target_args'_v53 = v55 #endif #if FABLE_COMPILER_RUST && WASM - let v54 : string = "Err($0)" - let v55 : Result = Fable.Core.RustInterop.emitRustExpr v46 v54 - let _run_target_args'_v51 = v55 + let v56 : string = "Err($0)" + let v57 : Result = Fable.Core.RustInterop.emitRustExpr v48 v56 + let _run_target_args'_v53 = v57 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v56 : string = "Err($0)" - let v57 : Result = Fable.Core.RustInterop.emitRustExpr v46 v56 - let _run_target_args'_v51 = v57 + let v58 : string = "Err($0)" + let v59 : Result = Fable.Core.RustInterop.emitRustExpr v48 v58 + let _run_target_args'_v53 = v59 #endif #if FABLE_COMPILER_TYPESCRIPT - let v58 : Result = v46 |> Error - let _run_target_args'_v51 = v58 + let v60 : Result = v48 |> Error + let _run_target_args'_v53 = v60 #endif #if FABLE_COMPILER_PYTHON - let v59 : Result = v46 |> Error - let _run_target_args'_v51 = v59 + let v61 : Result = v48 |> Error + let _run_target_args'_v53 = v61 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v60 : Result = v46 |> Error - let _run_target_args'_v51 = v60 + let v62 : Result = v48 |> Error + let _run_target_args'_v53 = v62 #endif #else - let v61 : Result = v46 |> Error - let _run_target_args'_v51 = v61 + let v63 : Result = v48 |> Error + let _run_target_args'_v53 = v63 #endif - let v62 : Result = _run_target_args'_v51 - v62 + let v64 : Result = _run_target_args'_v53 + v64 else match v20 with - | US5_0(v65) -> (* Some *) - let v66 : string = "" - let v67 : bool = v4 <> v66 - if v67 then - let v70 : uint8 = v2 + 1uy - let v71 : (string -> Result) = v1 v70 - let v72 : Result = v71 v65 - let v73 : (std_io_Error -> string) = method103() - let v74 : unit = () + | US5_0(v67) -> (* Some *) + let v68 : string = "" + let v69 : bool = v4 <> v68 + if v69 then + let v72 : uint8 = v2 + 1uy + let v73 : (string -> Result) = v1 v72 + let v74 : Result = v73 v67 + let v75 : (std_io_Error -> string) = method103() + let v76 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v75 : string = "$0.map_err(|x| $1(x))" - let v76 : Result = Fable.Core.RustInterop.emitRustExpr struct (v72, v73) v75 - let _run_target_args'_v74 = v76 + let v77 : string = "$0.map_err(|x| $1(x))" + let v78 : Result = Fable.Core.RustInterop.emitRustExpr struct (v74, v75) v77 + let _run_target_args'_v76 = v78 #endif #if FABLE_COMPILER_RUST && WASM - let v77 : string = "$0.map_err(|x| $1(x))" - let v78 : Result = Fable.Core.RustInterop.emitRustExpr struct (v72, v73) v77 - let _run_target_args'_v74 = v78 + let v79 : string = "$0.map_err(|x| $1(x))" + let v80 : Result = Fable.Core.RustInterop.emitRustExpr struct (v74, v75) v79 + let _run_target_args'_v76 = v80 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v79 : string = "$0.map_err(|x| $1(x))" - let v80 : Result = Fable.Core.RustInterop.emitRustExpr struct (v72, v73) v79 - let _run_target_args'_v74 = v80 + let v81 : string = "$0.map_err(|x| $1(x))" + let v82 : Result = Fable.Core.RustInterop.emitRustExpr struct (v74, v75) v81 + let _run_target_args'_v76 = v82 #endif #if FABLE_COMPILER_TYPESCRIPT - let v81 : Result = match v72 with Ok x -> Ok x | Error x -> Error (v73 x) - let _run_target_args'_v74 = v81 + let v83 : Result = match v74 with Ok x -> Ok x | Error x -> Error (v75 x) + let _run_target_args'_v76 = v83 #endif #if FABLE_COMPILER_PYTHON - let v82 : Result = match v72 with Ok x -> Ok x | Error x -> Error (v73 x) - let _run_target_args'_v74 = v82 + let v84 : Result = match v74 with Ok x -> Ok x | Error x -> Error (v75 x) + let _run_target_args'_v76 = v84 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v83 : Result = match v72 with Ok x -> Ok x | Error x -> Error (v73 x) - let _run_target_args'_v74 = v83 + let v85 : Result = match v74 with Ok x -> Ok x | Error x -> Error (v75 x) + let _run_target_args'_v76 = v85 #endif #else - let v84 : Result = match v72 with Ok x -> Ok x | Error x -> Error (v73 x) - let _run_target_args'_v74 = v84 + let v86 : Result = match v74 with Ok x -> Ok x | Error x -> Error (v75 x) + let _run_target_args'_v76 = v86 #endif - let v85 : Result = _run_target_args'_v74 - let v88 : (std_path_PathBuf -> US13) = method105() - let v89 : (string -> US13) = method106() - let v90 : US13 = match v85 with Ok x -> v88 x | Error x -> v89 x - match v90 with - | US13_1(v206) -> (* Error *) - let v207 : string = $"file_system.read_link / error': {v206} / error: {v24} / name: {v5}" - let v208 : unit = () + let v87 : Result = _run_target_args'_v76 + let v90 : (std_path_PathBuf -> US13) = method105() + let v91 : (string -> US13) = method106() + let v92 : US13 = match v87 with Ok x -> v90 x | Error x -> v91 x + match v92 with + | US13_1(v208) -> (* Error *) + let v209 : string = $"file_system.read_link / " + let v210 : string = $"error': {v208} / error: {v24} / name: {v5}" + let v211 : string = v209 + v210 + let v212 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v209 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v210 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v207 v209 - let _run_target_args'_v208 = v210 + let v213 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v214 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v211 v213 + let _run_target_args'_v212 = v214 #endif #if FABLE_COMPILER_RUST && WASM - let v211 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v212 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v207 v211 - let _run_target_args'_v208 = v212 + let v215 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v216 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v211 v215 + let _run_target_args'_v212 = v216 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v213 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v214 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v207 v213 - let _run_target_args'_v208 = v214 + let v217 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v218 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v211 v217 + let _run_target_args'_v212 = v218 #endif #if FABLE_COMPILER_TYPESCRIPT - let v215 : std_io_Error = v207 |> unbox - let _run_target_args'_v208 = v215 + let v219 : std_io_Error = v211 |> unbox + let _run_target_args'_v212 = v219 #endif #if FABLE_COMPILER_PYTHON - let v218 : std_io_Error = v207 |> unbox - let _run_target_args'_v208 = v218 + let v222 : std_io_Error = v211 |> unbox + let _run_target_args'_v212 = v222 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v221 : std_io_Error = v207 |> unbox - let _run_target_args'_v208 = v221 + let v225 : std_io_Error = v211 |> unbox + let _run_target_args'_v212 = v225 #endif #else - let v224 : std_io_Error = v207 |> unbox - let _run_target_args'_v208 = v224 + let v228 : std_io_Error = v211 |> unbox + let _run_target_args'_v212 = v228 #endif - let v227 : std_io_Error = _run_target_args'_v208 - let v232 : unit = () + let v231 : std_io_Error = _run_target_args'_v212 + let v236 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v233 : string = "Err($0)" - let v234 : Result = Fable.Core.RustInterop.emitRustExpr v227 v233 - let _run_target_args'_v232 = v234 + let v237 : string = "Err($0)" + let v238 : Result = Fable.Core.RustInterop.emitRustExpr v231 v237 + let _run_target_args'_v236 = v238 #endif #if FABLE_COMPILER_RUST && WASM - let v235 : string = "Err($0)" - let v236 : Result = Fable.Core.RustInterop.emitRustExpr v227 v235 - let _run_target_args'_v232 = v236 + let v239 : string = "Err($0)" + let v240 : Result = Fable.Core.RustInterop.emitRustExpr v231 v239 + let _run_target_args'_v236 = v240 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v237 : string = "Err($0)" - let v238 : Result = Fable.Core.RustInterop.emitRustExpr v227 v237 - let _run_target_args'_v232 = v238 + let v241 : string = "Err($0)" + let v242 : Result = Fable.Core.RustInterop.emitRustExpr v231 v241 + let _run_target_args'_v236 = v242 #endif #if FABLE_COMPILER_TYPESCRIPT - let v239 : Result = v227 |> Error - let _run_target_args'_v232 = v239 + let v243 : Result = v231 |> Error + let _run_target_args'_v236 = v243 #endif #if FABLE_COMPILER_PYTHON - let v240 : Result = v227 |> Error - let _run_target_args'_v232 = v240 + let v244 : Result = v231 |> Error + let _run_target_args'_v236 = v244 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v241 : Result = v227 |> Error - let _run_target_args'_v232 = v241 + let v245 : Result = v231 |> Error + let _run_target_args'_v236 = v245 #endif #else - let v242 : Result = v227 |> Error - let _run_target_args'_v232 = v242 + let v246 : Result = v231 |> Error + let _run_target_args'_v236 = v246 #endif - let v243 : Result = _run_target_args'_v232 - v243 - | US13_0(v91) -> (* Ok *) - let v92 : unit = () + let v247 : Result = _run_target_args'_v236 + v247 + | US13_0(v93) -> (* Ok *) + let v94 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v93 : string = "$0.display()" - let v94 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v91 v93 - let _run_target_args'_v92 = v94 + let v95 : string = "$0.display()" + let v96 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v93 v95 + let _run_target_args'_v94 = v96 #endif #if FABLE_COMPILER_RUST && WASM - let v95 : string = "$0.display()" - let v96 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v91 v95 - let _run_target_args'_v92 = v96 + let v97 : string = "$0.display()" + let v98 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v93 v97 + let _run_target_args'_v94 = v98 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v97 : string = "$0.display()" - let v98 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v91 v97 - let _run_target_args'_v92 = v98 + let v99 : string = "$0.display()" + let v100 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v93 v99 + let _run_target_args'_v94 = v100 #endif #if FABLE_COMPILER_TYPESCRIPT - let v99 : std_path_Display = v91 |> unbox - let _run_target_args'_v92 = v99 + let v101 : std_path_Display = v93 |> unbox + let _run_target_args'_v94 = v101 #endif #if FABLE_COMPILER_PYTHON - let v102 : std_path_Display = v91 |> unbox - let _run_target_args'_v92 = v102 + let v104 : std_path_Display = v93 |> unbox + let _run_target_args'_v94 = v104 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v105 : std_path_Display = v91 |> unbox - let _run_target_args'_v92 = v105 + let v107 : std_path_Display = v93 |> unbox + let _run_target_args'_v94 = v107 #endif #else - let v108 : std_path_Display = v91 |> unbox - let _run_target_args'_v92 = v108 + let v110 : std_path_Display = v93 |> unbox + let _run_target_args'_v94 = v110 #endif - let v111 : std_path_Display = _run_target_args'_v92 - let v116 : string = v111 |> string - let v119 : string = method80(v116, v5) - let v120 : unit = () + let v113 : std_path_Display = _run_target_args'_v94 + let v118 : string = v113 |> string + let v121 : string = method80(v118, v5) + let v122 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v121 : string = "&*$0" - let v122 : Ref = Fable.Core.RustInterop.emitRustExpr v119 v121 - let _run_target_args'_v120 = v122 + let v123 : string = "&*$0" + let v124 : Ref = Fable.Core.RustInterop.emitRustExpr v121 v123 + let _run_target_args'_v122 = v124 #endif #if FABLE_COMPILER_RUST && WASM - let v123 : string = "&*$0" - let v124 : Ref = Fable.Core.RustInterop.emitRustExpr v119 v123 - let _run_target_args'_v120 = v124 + let v125 : string = "&*$0" + let v126 : Ref = Fable.Core.RustInterop.emitRustExpr v121 v125 + let _run_target_args'_v122 = v126 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v125 : string = "&*$0" - let v126 : Ref = Fable.Core.RustInterop.emitRustExpr v119 v125 - let _run_target_args'_v120 = v126 + let v127 : string = "&*$0" + let v128 : Ref = Fable.Core.RustInterop.emitRustExpr v121 v127 + let _run_target_args'_v122 = v128 #endif #if FABLE_COMPILER_TYPESCRIPT - let v127 : Ref = v119 |> unbox> - let _run_target_args'_v120 = v127 + let v129 : Ref = v121 |> unbox> + let _run_target_args'_v122 = v129 #endif #if FABLE_COMPILER_PYTHON - let v130 : Ref = v119 |> unbox> - let _run_target_args'_v120 = v130 + let v132 : Ref = v121 |> unbox> + let _run_target_args'_v122 = v132 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v133 : Ref = v119 |> unbox> - let _run_target_args'_v120 = v133 + let v135 : Ref = v121 |> unbox> + let _run_target_args'_v122 = v135 #endif #else - let v136 : Ref = v119 |> unbox> - let _run_target_args'_v120 = v136 + let v138 : Ref = v121 |> unbox> + let _run_target_args'_v122 = v138 #endif - let v139 : Ref = _run_target_args'_v120 - let v144 : unit = () + let v141 : Ref = _run_target_args'_v122 + let v146 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v145 : string = "String::from($0)" - let v146 : std_string_String = Fable.Core.RustInterop.emitRustExpr v139 v145 - let _run_target_args'_v144 = v146 + let v147 : string = "String::from($0)" + let v148 : std_string_String = Fable.Core.RustInterop.emitRustExpr v141 v147 + let _run_target_args'_v146 = v148 #endif #if FABLE_COMPILER_RUST && WASM - let v147 : string = "String::from($0)" - let v148 : std_string_String = Fable.Core.RustInterop.emitRustExpr v139 v147 - let _run_target_args'_v144 = v148 + let v149 : string = "String::from($0)" + let v150 : std_string_String = Fable.Core.RustInterop.emitRustExpr v141 v149 + let _run_target_args'_v146 = v150 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v149 : string = "String::from($0)" - let v150 : std_string_String = Fable.Core.RustInterop.emitRustExpr v139 v149 - let _run_target_args'_v144 = v150 + let v151 : string = "String::from($0)" + let v152 : std_string_String = Fable.Core.RustInterop.emitRustExpr v141 v151 + let _run_target_args'_v146 = v152 #endif #if FABLE_COMPILER_TYPESCRIPT - let v151 : std_string_String = v139 |> unbox - let _run_target_args'_v144 = v151 + let v153 : std_string_String = v141 |> unbox + let _run_target_args'_v146 = v153 #endif #if FABLE_COMPILER_PYTHON - let v154 : std_string_String = v139 |> unbox - let _run_target_args'_v144 = v154 + let v156 : std_string_String = v141 |> unbox + let _run_target_args'_v146 = v156 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v157 : std_string_String = v139 |> unbox - let _run_target_args'_v144 = v157 + let v159 : std_string_String = v141 |> unbox + let _run_target_args'_v146 = v159 #endif #else - let v160 : std_string_String = v139 |> unbox - let _run_target_args'_v144 = v160 + let v162 : std_string_String = v141 |> unbox + let _run_target_args'_v146 = v162 #endif - let v163 : std_string_String = _run_target_args'_v144 - let v168 : unit = () + let v165 : std_string_String = _run_target_args'_v146 + let v170 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v169 : string = "std::path::PathBuf::from($0)" - let v170 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v163 v169 - let _run_target_args'_v168 = v170 + let v171 : string = "std::path::PathBuf::from($0)" + let v172 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v165 v171 + let _run_target_args'_v170 = v172 #endif #if FABLE_COMPILER_RUST && WASM - let v171 : string = "std::path::PathBuf::from($0)" - let v172 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v163 v171 - let _run_target_args'_v168 = v172 + let v173 : string = "std::path::PathBuf::from($0)" + let v174 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v165 v173 + let _run_target_args'_v170 = v174 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v173 : string = "std::path::PathBuf::from($0)" - let v174 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v163 v173 - let _run_target_args'_v168 = v174 + let v175 : string = "std::path::PathBuf::from($0)" + let v176 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v165 v175 + let _run_target_args'_v170 = v176 #endif #if FABLE_COMPILER_TYPESCRIPT - let v175 : std_path_PathBuf = v163 |> unbox - let _run_target_args'_v168 = v175 + let v177 : std_path_PathBuf = v165 |> unbox + let _run_target_args'_v170 = v177 #endif #if FABLE_COMPILER_PYTHON - let v178 : std_path_PathBuf = v163 |> unbox - let _run_target_args'_v168 = v178 + let v180 : std_path_PathBuf = v165 |> unbox + let _run_target_args'_v170 = v180 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v181 : std_path_PathBuf = v163 |> unbox - let _run_target_args'_v168 = v181 + let v183 : std_path_PathBuf = v165 |> unbox + let _run_target_args'_v170 = v183 #endif #else - let v184 : std_path_PathBuf = v163 |> unbox - let _run_target_args'_v168 = v184 + let v186 : std_path_PathBuf = v165 |> unbox + let _run_target_args'_v170 = v186 #endif - let v187 : std_path_PathBuf = _run_target_args'_v168 - let v192 : unit = () + let v189 : std_path_PathBuf = _run_target_args'_v170 + let v194 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v193 : string = "Ok($0)" - let v194 : Result = Fable.Core.RustInterop.emitRustExpr v187 v193 - let _run_target_args'_v192 = v194 + let v195 : string = "Ok($0)" + let v196 : Result = Fable.Core.RustInterop.emitRustExpr v189 v195 + let _run_target_args'_v194 = v196 #endif #if FABLE_COMPILER_RUST && WASM - let v195 : string = "Ok($0)" - let v196 : Result = Fable.Core.RustInterop.emitRustExpr v187 v195 - let _run_target_args'_v192 = v196 + let v197 : string = "Ok($0)" + let v198 : Result = Fable.Core.RustInterop.emitRustExpr v189 v197 + let _run_target_args'_v194 = v198 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v197 : string = "Ok($0)" - let v198 : Result = Fable.Core.RustInterop.emitRustExpr v187 v197 - let _run_target_args'_v192 = v198 + let v199 : string = "Ok($0)" + let v200 : Result = Fable.Core.RustInterop.emitRustExpr v189 v199 + let _run_target_args'_v194 = v200 #endif #if FABLE_COMPILER_TYPESCRIPT - let v199 : Result = v187 |> Ok - let _run_target_args'_v192 = v199 + let v201 : Result = v189 |> Ok + let _run_target_args'_v194 = v201 #endif #if FABLE_COMPILER_PYTHON - let v200 : Result = v187 |> Ok - let _run_target_args'_v192 = v200 + let v202 : Result = v189 |> Ok + let _run_target_args'_v194 = v202 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v201 : Result = v187 |> Ok - let _run_target_args'_v192 = v201 + let v203 : Result = v189 |> Ok + let _run_target_args'_v194 = v203 #endif #else - let v202 : Result = v187 |> Ok - let _run_target_args'_v192 = v202 + let v204 : Result = v189 |> Ok + let _run_target_args'_v194 = v204 #endif - let v203 : Result = _run_target_args'_v192 - v203 + let v205 : Result = _run_target_args'_v194 + v205 else - let v248 : string = $"file_system.read_link / run / The file or directory is not a reparse point. / path: {v0} / error: {v24} / path': {v4} / name: {v5}" - let v249 : unit = () + let v252 : string = $"file_system.read_link / run / The file or directory is not a reparse point. / " + let v253 : string = $"path: {v0} / error: {v24} / path': {v4} / name: {v5}" + let v254 : string = v252 + v253 + let v255 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v250 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v251 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v248 v250 - let _run_target_args'_v249 = v251 + let v256 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v257 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v254 v256 + let _run_target_args'_v255 = v257 #endif #if FABLE_COMPILER_RUST && WASM - let v252 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v253 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v248 v252 - let _run_target_args'_v249 = v253 + let v258 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v259 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v254 v258 + let _run_target_args'_v255 = v259 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v254 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v255 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v248 v254 - let _run_target_args'_v249 = v255 + let v260 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v261 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v254 v260 + let _run_target_args'_v255 = v261 #endif #if FABLE_COMPILER_TYPESCRIPT - let v256 : std_io_Error = v248 |> unbox - let _run_target_args'_v249 = v256 + let v262 : std_io_Error = v254 |> unbox + let _run_target_args'_v255 = v262 #endif #if FABLE_COMPILER_PYTHON - let v259 : std_io_Error = v248 |> unbox - let _run_target_args'_v249 = v259 + let v265 : std_io_Error = v254 |> unbox + let _run_target_args'_v255 = v265 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v262 : std_io_Error = v248 |> unbox - let _run_target_args'_v249 = v262 + let v268 : std_io_Error = v254 |> unbox + let _run_target_args'_v255 = v268 #endif #else - let v265 : std_io_Error = v248 |> unbox - let _run_target_args'_v249 = v265 + let v271 : std_io_Error = v254 |> unbox + let _run_target_args'_v255 = v271 #endif - let v268 : std_io_Error = _run_target_args'_v249 - let v273 : unit = () + let v274 : std_io_Error = _run_target_args'_v255 + let v279 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v274 : string = "Err($0)" - let v275 : Result = Fable.Core.RustInterop.emitRustExpr v268 v274 - let _run_target_args'_v273 = v275 + let v280 : string = "Err($0)" + let v281 : Result = Fable.Core.RustInterop.emitRustExpr v274 v280 + let _run_target_args'_v279 = v281 #endif #if FABLE_COMPILER_RUST && WASM - let v276 : string = "Err($0)" - let v277 : Result = Fable.Core.RustInterop.emitRustExpr v268 v276 - let _run_target_args'_v273 = v277 + let v282 : string = "Err($0)" + let v283 : Result = Fable.Core.RustInterop.emitRustExpr v274 v282 + let _run_target_args'_v279 = v283 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v278 : string = "Err($0)" - let v279 : Result = Fable.Core.RustInterop.emitRustExpr v268 v278 - let _run_target_args'_v273 = v279 + let v284 : string = "Err($0)" + let v285 : Result = Fable.Core.RustInterop.emitRustExpr v274 v284 + let _run_target_args'_v279 = v285 #endif #if FABLE_COMPILER_TYPESCRIPT - let v280 : Result = v268 |> Error - let _run_target_args'_v273 = v280 + let v286 : Result = v274 |> Error + let _run_target_args'_v279 = v286 #endif #if FABLE_COMPILER_PYTHON - let v281 : Result = v268 |> Error - let _run_target_args'_v273 = v281 + let v287 : Result = v274 |> Error + let _run_target_args'_v279 = v287 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v282 : Result = v268 |> Error - let _run_target_args'_v273 = v282 + let v288 : Result = v274 |> Error + let _run_target_args'_v279 = v288 #endif #else - let v283 : Result = v268 |> Error - let _run_target_args'_v273 = v283 + let v289 : Result = v274 |> Error + let _run_target_args'_v279 = v289 #endif - let v284 : Result = _run_target_args'_v273 - v284 + let v290 : Result = _run_target_args'_v279 + v290 | _ -> - let v288 : string = $"file_system.read_link / run / The file or directory is not a reparse point. / path: {v0} / error: {v24} / path': {v4} / name: {v5}" - let v289 : unit = () + let v294 : string = $"file_system.read_link / run / The file or directory is not a reparse point. / " + let v295 : string = $"path: {v0} / error: {v24} / path': {v4} / name: {v5}" + let v296 : string = v294 + v295 + let v297 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v290 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v291 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v288 v290 - let _run_target_args'_v289 = v291 + let v298 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v299 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v296 v298 + let _run_target_args'_v297 = v299 #endif #if FABLE_COMPILER_RUST && WASM - let v292 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v293 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v288 v292 - let _run_target_args'_v289 = v293 + let v300 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v301 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v296 v300 + let _run_target_args'_v297 = v301 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v294 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v295 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v288 v294 - let _run_target_args'_v289 = v295 + let v302 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v303 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v296 v302 + let _run_target_args'_v297 = v303 #endif #if FABLE_COMPILER_TYPESCRIPT - let v296 : std_io_Error = v288 |> unbox - let _run_target_args'_v289 = v296 + let v304 : std_io_Error = v296 |> unbox + let _run_target_args'_v297 = v304 #endif #if FABLE_COMPILER_PYTHON - let v299 : std_io_Error = v288 |> unbox - let _run_target_args'_v289 = v299 + let v307 : std_io_Error = v296 |> unbox + let _run_target_args'_v297 = v307 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v302 : std_io_Error = v288 |> unbox - let _run_target_args'_v289 = v302 + let v310 : std_io_Error = v296 |> unbox + let _run_target_args'_v297 = v310 #endif #else - let v305 : std_io_Error = v288 |> unbox - let _run_target_args'_v289 = v305 + let v313 : std_io_Error = v296 |> unbox + let _run_target_args'_v297 = v313 #endif - let v308 : std_io_Error = _run_target_args'_v289 - let v313 : unit = () + let v316 : std_io_Error = _run_target_args'_v297 + let v321 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v314 : string = "Err($0)" - let v315 : Result = Fable.Core.RustInterop.emitRustExpr v308 v314 - let _run_target_args'_v313 = v315 + let v322 : string = "Err($0)" + let v323 : Result = Fable.Core.RustInterop.emitRustExpr v316 v322 + let _run_target_args'_v321 = v323 #endif #if FABLE_COMPILER_RUST && WASM - let v316 : string = "Err($0)" - let v317 : Result = Fable.Core.RustInterop.emitRustExpr v308 v316 - let _run_target_args'_v313 = v317 + let v324 : string = "Err($0)" + let v325 : Result = Fable.Core.RustInterop.emitRustExpr v316 v324 + let _run_target_args'_v321 = v325 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v318 : string = "Err($0)" - let v319 : Result = Fable.Core.RustInterop.emitRustExpr v308 v318 - let _run_target_args'_v313 = v319 + let v326 : string = "Err($0)" + let v327 : Result = Fable.Core.RustInterop.emitRustExpr v316 v326 + let _run_target_args'_v321 = v327 #endif #if FABLE_COMPILER_TYPESCRIPT - let v320 : Result = v308 |> Error - let _run_target_args'_v313 = v320 + let v328 : Result = v316 |> Error + let _run_target_args'_v321 = v328 #endif #if FABLE_COMPILER_PYTHON - let v321 : Result = v308 |> Error - let _run_target_args'_v313 = v321 + let v329 : Result = v316 |> Error + let _run_target_args'_v321 = v329 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v322 : Result = v308 |> Error - let _run_target_args'_v313 = v322 + let v330 : Result = v316 |> Error + let _run_target_args'_v321 = v330 #endif #else - let v323 : Result = v308 |> Error - let _run_target_args'_v313 = v323 + let v331 : Result = v316 |> Error + let _run_target_args'_v321 = v331 #endif - let v324 : Result = _run_target_args'_v313 - v324 + let v332 : Result = _run_target_args'_v321 + v332 and method116 (v0 : string, v1 : uint8, v2 : string) : Result = let v3 : unit = () @@ -14863,45 +14887,49 @@ and method116 (v0 : string, v1 : uint8, v2 : string) : Result = _run_target_args'_v89 v100 else - let v103 : string = $"file_system.read_link / Fsharp / The file or directory is not a reparse point. / path: {v0} / result: {v32} / path': {v2} / n: {v1}" - let v104 : unit = () + let v103 : string = $"file_system.read_link / Fsharp / " + let v104 : string = $"The file or directory is not a reparse point. / " + let v105 : string = v103 + v104 + let v106 : string = $"path: {v0} / result: {v32} / path': {v2} / n: {v1}" + let v107 : string = v105 + v106 + let v108 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v105 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v106 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v103 v105 - let _run_target_args'_v104 = v106 + let v109 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v110 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v107 v109 + let _run_target_args'_v108 = v110 #endif #if FABLE_COMPILER_RUST && WASM - let v107 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v108 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v103 v107 - let _run_target_args'_v104 = v108 + let v111 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v112 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v107 v111 + let _run_target_args'_v108 = v112 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v109 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v110 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v103 v109 - let _run_target_args'_v104 = v110 + let v113 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v114 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v107 v113 + let _run_target_args'_v108 = v114 #endif #if FABLE_COMPILER_TYPESCRIPT - let v111 : std_io_Error = v103 |> unbox - let _run_target_args'_v104 = v111 + let v115 : std_io_Error = v107 |> unbox + let _run_target_args'_v108 = v115 #endif #if FABLE_COMPILER_PYTHON - let v114 : std_io_Error = v103 |> unbox - let _run_target_args'_v104 = v114 + let v118 : std_io_Error = v107 |> unbox + let _run_target_args'_v108 = v118 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v117 : std_io_Error = v103 |> unbox - let _run_target_args'_v104 = v117 + let v121 : std_io_Error = v107 |> unbox + let _run_target_args'_v108 = v121 #endif #else - let v120 : std_io_Error = v103 |> unbox - let _run_target_args'_v104 = v120 + let v124 : std_io_Error = v107 |> unbox + let _run_target_args'_v108 = v124 #endif - let v123 : std_io_Error = _run_target_args'_v104 - let v128 : (uint8 -> (string -> Result)) = closure52(v0) - method117(v0, v128, v1, v123, v2) + let v127 : std_io_Error = _run_target_args'_v108 + let v132 : (uint8 -> (string -> Result)) = closure52(v0) + method117(v0, v132, v1, v127, v2) and closure53 (v0 : string, v1 : uint8) (v2 : string) : Result = method116(v0, v1, v2) and closure52 (v0 : string) (v1 : uint8) : (string -> Result) = @@ -14916,539 +14944,547 @@ and method118 (v0 : string, v1 : (uint8 -> (string -> Result= 11uy if v24 then - let v25 : string = $"file_system.read_link / path: {v0} / n: {v2} / path': {v0} / name: {v4}" - let v26 : unit = () + let v25 : string = $"file_system.read_link / " + let v26 : string = $"path: {v0} / n: {v2} / path': {v0} / name: {v4}" + let v27 : string = v25 + v26 + let v28 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v27 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v28 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v25 v27 - let _run_target_args'_v26 = v28 + let v29 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v30 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v27 v29 + let _run_target_args'_v28 = v30 #endif #if FABLE_COMPILER_RUST && WASM - let v29 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v30 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v25 v29 - let _run_target_args'_v26 = v30 + let v31 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v32 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v27 v31 + let _run_target_args'_v28 = v32 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v31 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v32 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v25 v31 - let _run_target_args'_v26 = v32 + let v33 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v34 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v27 v33 + let _run_target_args'_v28 = v34 #endif #if FABLE_COMPILER_TYPESCRIPT - let v33 : std_io_Error = v25 |> unbox - let _run_target_args'_v26 = v33 + let v35 : std_io_Error = v27 |> unbox + let _run_target_args'_v28 = v35 #endif #if FABLE_COMPILER_PYTHON - let v36 : std_io_Error = v25 |> unbox - let _run_target_args'_v26 = v36 + let v38 : std_io_Error = v27 |> unbox + let _run_target_args'_v28 = v38 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v39 : std_io_Error = v25 |> unbox - let _run_target_args'_v26 = v39 + let v41 : std_io_Error = v27 |> unbox + let _run_target_args'_v28 = v41 #endif #else - let v42 : std_io_Error = v25 |> unbox - let _run_target_args'_v26 = v42 + let v44 : std_io_Error = v27 |> unbox + let _run_target_args'_v28 = v44 #endif - let v45 : std_io_Error = _run_target_args'_v26 - let v50 : unit = () + let v47 : std_io_Error = _run_target_args'_v28 + let v52 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v51 : string = "Err($0)" - let v52 : Result = Fable.Core.RustInterop.emitRustExpr v45 v51 - let _run_target_args'_v50 = v52 + let v53 : string = "Err($0)" + let v54 : Result = Fable.Core.RustInterop.emitRustExpr v47 v53 + let _run_target_args'_v52 = v54 #endif #if FABLE_COMPILER_RUST && WASM - let v53 : string = "Err($0)" - let v54 : Result = Fable.Core.RustInterop.emitRustExpr v45 v53 - let _run_target_args'_v50 = v54 + let v55 : string = "Err($0)" + let v56 : Result = Fable.Core.RustInterop.emitRustExpr v47 v55 + let _run_target_args'_v52 = v56 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v55 : string = "Err($0)" - let v56 : Result = Fable.Core.RustInterop.emitRustExpr v45 v55 - let _run_target_args'_v50 = v56 + let v57 : string = "Err($0)" + let v58 : Result = Fable.Core.RustInterop.emitRustExpr v47 v57 + let _run_target_args'_v52 = v58 #endif #if FABLE_COMPILER_TYPESCRIPT - let v57 : Result = v45 |> Error - let _run_target_args'_v50 = v57 + let v59 : Result = v47 |> Error + let _run_target_args'_v52 = v59 #endif #if FABLE_COMPILER_PYTHON - let v58 : Result = v45 |> Error - let _run_target_args'_v50 = v58 + let v60 : Result = v47 |> Error + let _run_target_args'_v52 = v60 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v59 : Result = v45 |> Error - let _run_target_args'_v50 = v59 + let v61 : Result = v47 |> Error + let _run_target_args'_v52 = v61 #endif #else - let v60 : Result = v45 |> Error - let _run_target_args'_v50 = v60 + let v62 : Result = v47 |> Error + let _run_target_args'_v52 = v62 #endif - let v61 : Result = _run_target_args'_v50 - v61 + let v63 : Result = _run_target_args'_v52 + v63 else match v19 with - | US5_0(v64) -> (* Some *) - let v65 : string = "" - let v66 : bool = v0 <> v65 - if v66 then - let v69 : uint8 = v2 + 1uy - let v70 : (string -> Result) = v1 v69 - let v71 : Result = v70 v64 - let v72 : (std_io_Error -> string) = method103() - let v73 : unit = () + | US5_0(v66) -> (* Some *) + let v67 : string = "" + let v68 : bool = v0 <> v67 + if v68 then + let v71 : uint8 = v2 + 1uy + let v72 : (string -> Result) = v1 v71 + let v73 : Result = v72 v66 + let v74 : (std_io_Error -> string) = method103() + let v75 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v74 : string = "$0.map_err(|x| $1(x))" - let v75 : Result = Fable.Core.RustInterop.emitRustExpr struct (v71, v72) v74 - let _run_target_args'_v73 = v75 + let v76 : string = "$0.map_err(|x| $1(x))" + let v77 : Result = Fable.Core.RustInterop.emitRustExpr struct (v73, v74) v76 + let _run_target_args'_v75 = v77 #endif #if FABLE_COMPILER_RUST && WASM - let v76 : string = "$0.map_err(|x| $1(x))" - let v77 : Result = Fable.Core.RustInterop.emitRustExpr struct (v71, v72) v76 - let _run_target_args'_v73 = v77 + let v78 : string = "$0.map_err(|x| $1(x))" + let v79 : Result = Fable.Core.RustInterop.emitRustExpr struct (v73, v74) v78 + let _run_target_args'_v75 = v79 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v78 : string = "$0.map_err(|x| $1(x))" - let v79 : Result = Fable.Core.RustInterop.emitRustExpr struct (v71, v72) v78 - let _run_target_args'_v73 = v79 + let v80 : string = "$0.map_err(|x| $1(x))" + let v81 : Result = Fable.Core.RustInterop.emitRustExpr struct (v73, v74) v80 + let _run_target_args'_v75 = v81 #endif #if FABLE_COMPILER_TYPESCRIPT - let v80 : Result = match v71 with Ok x -> Ok x | Error x -> Error (v72 x) - let _run_target_args'_v73 = v80 + let v82 : Result = match v73 with Ok x -> Ok x | Error x -> Error (v74 x) + let _run_target_args'_v75 = v82 #endif #if FABLE_COMPILER_PYTHON - let v81 : Result = match v71 with Ok x -> Ok x | Error x -> Error (v72 x) - let _run_target_args'_v73 = v81 + let v83 : Result = match v73 with Ok x -> Ok x | Error x -> Error (v74 x) + let _run_target_args'_v75 = v83 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v82 : Result = match v71 with Ok x -> Ok x | Error x -> Error (v72 x) - let _run_target_args'_v73 = v82 + let v84 : Result = match v73 with Ok x -> Ok x | Error x -> Error (v74 x) + let _run_target_args'_v75 = v84 #endif #else - let v83 : Result = match v71 with Ok x -> Ok x | Error x -> Error (v72 x) - let _run_target_args'_v73 = v83 + let v85 : Result = match v73 with Ok x -> Ok x | Error x -> Error (v74 x) + let _run_target_args'_v75 = v85 #endif - let v84 : Result = _run_target_args'_v73 - let v87 : (std_path_PathBuf -> US13) = method105() - let v88 : (string -> US13) = method106() - let v89 : US13 = match v84 with Ok x -> v87 x | Error x -> v88 x - match v89 with - | US13_1(v205) -> (* Error *) - let v206 : string = $"file_system.read_link / error': {v205} / error: {v23} / name: {v4}" - let v207 : unit = () + let v86 : Result = _run_target_args'_v75 + let v89 : (std_path_PathBuf -> US13) = method105() + let v90 : (string -> US13) = method106() + let v91 : US13 = match v86 with Ok x -> v89 x | Error x -> v90 x + match v91 with + | US13_1(v207) -> (* Error *) + let v208 : string = $"file_system.read_link / " + let v209 : string = $"error': {v207} / error: {v23} / name: {v4}" + let v210 : string = v208 + v209 + let v211 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v208 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v209 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v206 v208 - let _run_target_args'_v207 = v209 + let v212 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v213 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v210 v212 + let _run_target_args'_v211 = v213 #endif #if FABLE_COMPILER_RUST && WASM - let v210 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v211 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v206 v210 - let _run_target_args'_v207 = v211 + let v214 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v215 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v210 v214 + let _run_target_args'_v211 = v215 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v212 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v213 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v206 v212 - let _run_target_args'_v207 = v213 + let v216 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v217 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v210 v216 + let _run_target_args'_v211 = v217 #endif #if FABLE_COMPILER_TYPESCRIPT - let v214 : std_io_Error = v206 |> unbox - let _run_target_args'_v207 = v214 + let v218 : std_io_Error = v210 |> unbox + let _run_target_args'_v211 = v218 #endif #if FABLE_COMPILER_PYTHON - let v217 : std_io_Error = v206 |> unbox - let _run_target_args'_v207 = v217 + let v221 : std_io_Error = v210 |> unbox + let _run_target_args'_v211 = v221 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v220 : std_io_Error = v206 |> unbox - let _run_target_args'_v207 = v220 + let v224 : std_io_Error = v210 |> unbox + let _run_target_args'_v211 = v224 #endif #else - let v223 : std_io_Error = v206 |> unbox - let _run_target_args'_v207 = v223 + let v227 : std_io_Error = v210 |> unbox + let _run_target_args'_v211 = v227 #endif - let v226 : std_io_Error = _run_target_args'_v207 - let v231 : unit = () + let v230 : std_io_Error = _run_target_args'_v211 + let v235 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v232 : string = "Err($0)" - let v233 : Result = Fable.Core.RustInterop.emitRustExpr v226 v232 - let _run_target_args'_v231 = v233 + let v236 : string = "Err($0)" + let v237 : Result = Fable.Core.RustInterop.emitRustExpr v230 v236 + let _run_target_args'_v235 = v237 #endif #if FABLE_COMPILER_RUST && WASM - let v234 : string = "Err($0)" - let v235 : Result = Fable.Core.RustInterop.emitRustExpr v226 v234 - let _run_target_args'_v231 = v235 + let v238 : string = "Err($0)" + let v239 : Result = Fable.Core.RustInterop.emitRustExpr v230 v238 + let _run_target_args'_v235 = v239 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v236 : string = "Err($0)" - let v237 : Result = Fable.Core.RustInterop.emitRustExpr v226 v236 - let _run_target_args'_v231 = v237 + let v240 : string = "Err($0)" + let v241 : Result = Fable.Core.RustInterop.emitRustExpr v230 v240 + let _run_target_args'_v235 = v241 #endif #if FABLE_COMPILER_TYPESCRIPT - let v238 : Result = v226 |> Error - let _run_target_args'_v231 = v238 + let v242 : Result = v230 |> Error + let _run_target_args'_v235 = v242 #endif #if FABLE_COMPILER_PYTHON - let v239 : Result = v226 |> Error - let _run_target_args'_v231 = v239 + let v243 : Result = v230 |> Error + let _run_target_args'_v235 = v243 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v240 : Result = v226 |> Error - let _run_target_args'_v231 = v240 + let v244 : Result = v230 |> Error + let _run_target_args'_v235 = v244 #endif #else - let v241 : Result = v226 |> Error - let _run_target_args'_v231 = v241 + let v245 : Result = v230 |> Error + let _run_target_args'_v235 = v245 #endif - let v242 : Result = _run_target_args'_v231 - v242 - | US13_0(v90) -> (* Ok *) - let v91 : unit = () + let v246 : Result = _run_target_args'_v235 + v246 + | US13_0(v92) -> (* Ok *) + let v93 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v92 : string = "$0.display()" - let v93 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v90 v92 - let _run_target_args'_v91 = v93 + let v94 : string = "$0.display()" + let v95 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v92 v94 + let _run_target_args'_v93 = v95 #endif #if FABLE_COMPILER_RUST && WASM - let v94 : string = "$0.display()" - let v95 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v90 v94 - let _run_target_args'_v91 = v95 + let v96 : string = "$0.display()" + let v97 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v92 v96 + let _run_target_args'_v93 = v97 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v96 : string = "$0.display()" - let v97 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v90 v96 - let _run_target_args'_v91 = v97 + let v98 : string = "$0.display()" + let v99 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v92 v98 + let _run_target_args'_v93 = v99 #endif #if FABLE_COMPILER_TYPESCRIPT - let v98 : std_path_Display = v90 |> unbox - let _run_target_args'_v91 = v98 + let v100 : std_path_Display = v92 |> unbox + let _run_target_args'_v93 = v100 #endif #if FABLE_COMPILER_PYTHON - let v101 : std_path_Display = v90 |> unbox - let _run_target_args'_v91 = v101 + let v103 : std_path_Display = v92 |> unbox + let _run_target_args'_v93 = v103 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v104 : std_path_Display = v90 |> unbox - let _run_target_args'_v91 = v104 + let v106 : std_path_Display = v92 |> unbox + let _run_target_args'_v93 = v106 #endif #else - let v107 : std_path_Display = v90 |> unbox - let _run_target_args'_v91 = v107 + let v109 : std_path_Display = v92 |> unbox + let _run_target_args'_v93 = v109 #endif - let v110 : std_path_Display = _run_target_args'_v91 - let v115 : string = v110 |> string - let v118 : string = method80(v115, v4) - let v119 : unit = () + let v112 : std_path_Display = _run_target_args'_v93 + let v117 : string = v112 |> string + let v120 : string = method80(v117, v4) + let v121 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v120 : string = "&*$0" - let v121 : Ref = Fable.Core.RustInterop.emitRustExpr v118 v120 - let _run_target_args'_v119 = v121 + let v122 : string = "&*$0" + let v123 : Ref = Fable.Core.RustInterop.emitRustExpr v120 v122 + let _run_target_args'_v121 = v123 #endif #if FABLE_COMPILER_RUST && WASM - let v122 : string = "&*$0" - let v123 : Ref = Fable.Core.RustInterop.emitRustExpr v118 v122 - let _run_target_args'_v119 = v123 + let v124 : string = "&*$0" + let v125 : Ref = Fable.Core.RustInterop.emitRustExpr v120 v124 + let _run_target_args'_v121 = v125 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v124 : string = "&*$0" - let v125 : Ref = Fable.Core.RustInterop.emitRustExpr v118 v124 - let _run_target_args'_v119 = v125 + let v126 : string = "&*$0" + let v127 : Ref = Fable.Core.RustInterop.emitRustExpr v120 v126 + let _run_target_args'_v121 = v127 #endif #if FABLE_COMPILER_TYPESCRIPT - let v126 : Ref = v118 |> unbox> - let _run_target_args'_v119 = v126 + let v128 : Ref = v120 |> unbox> + let _run_target_args'_v121 = v128 #endif #if FABLE_COMPILER_PYTHON - let v129 : Ref = v118 |> unbox> - let _run_target_args'_v119 = v129 + let v131 : Ref = v120 |> unbox> + let _run_target_args'_v121 = v131 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v132 : Ref = v118 |> unbox> - let _run_target_args'_v119 = v132 + let v134 : Ref = v120 |> unbox> + let _run_target_args'_v121 = v134 #endif #else - let v135 : Ref = v118 |> unbox> - let _run_target_args'_v119 = v135 + let v137 : Ref = v120 |> unbox> + let _run_target_args'_v121 = v137 #endif - let v138 : Ref = _run_target_args'_v119 - let v143 : unit = () + let v140 : Ref = _run_target_args'_v121 + let v145 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v144 : string = "String::from($0)" - let v145 : std_string_String = Fable.Core.RustInterop.emitRustExpr v138 v144 - let _run_target_args'_v143 = v145 + let v146 : string = "String::from($0)" + let v147 : std_string_String = Fable.Core.RustInterop.emitRustExpr v140 v146 + let _run_target_args'_v145 = v147 #endif #if FABLE_COMPILER_RUST && WASM - let v146 : string = "String::from($0)" - let v147 : std_string_String = Fable.Core.RustInterop.emitRustExpr v138 v146 - let _run_target_args'_v143 = v147 + let v148 : string = "String::from($0)" + let v149 : std_string_String = Fable.Core.RustInterop.emitRustExpr v140 v148 + let _run_target_args'_v145 = v149 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v148 : string = "String::from($0)" - let v149 : std_string_String = Fable.Core.RustInterop.emitRustExpr v138 v148 - let _run_target_args'_v143 = v149 + let v150 : string = "String::from($0)" + let v151 : std_string_String = Fable.Core.RustInterop.emitRustExpr v140 v150 + let _run_target_args'_v145 = v151 #endif #if FABLE_COMPILER_TYPESCRIPT - let v150 : std_string_String = v138 |> unbox - let _run_target_args'_v143 = v150 + let v152 : std_string_String = v140 |> unbox + let _run_target_args'_v145 = v152 #endif #if FABLE_COMPILER_PYTHON - let v153 : std_string_String = v138 |> unbox - let _run_target_args'_v143 = v153 + let v155 : std_string_String = v140 |> unbox + let _run_target_args'_v145 = v155 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v156 : std_string_String = v138 |> unbox - let _run_target_args'_v143 = v156 + let v158 : std_string_String = v140 |> unbox + let _run_target_args'_v145 = v158 #endif #else - let v159 : std_string_String = v138 |> unbox - let _run_target_args'_v143 = v159 + let v161 : std_string_String = v140 |> unbox + let _run_target_args'_v145 = v161 #endif - let v162 : std_string_String = _run_target_args'_v143 - let v167 : unit = () + let v164 : std_string_String = _run_target_args'_v145 + let v169 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v168 : string = "std::path::PathBuf::from($0)" - let v169 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v162 v168 - let _run_target_args'_v167 = v169 + let v170 : string = "std::path::PathBuf::from($0)" + let v171 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v164 v170 + let _run_target_args'_v169 = v171 #endif #if FABLE_COMPILER_RUST && WASM - let v170 : string = "std::path::PathBuf::from($0)" - let v171 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v162 v170 - let _run_target_args'_v167 = v171 + let v172 : string = "std::path::PathBuf::from($0)" + let v173 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v164 v172 + let _run_target_args'_v169 = v173 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v172 : string = "std::path::PathBuf::from($0)" - let v173 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v162 v172 - let _run_target_args'_v167 = v173 + let v174 : string = "std::path::PathBuf::from($0)" + let v175 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v164 v174 + let _run_target_args'_v169 = v175 #endif #if FABLE_COMPILER_TYPESCRIPT - let v174 : std_path_PathBuf = v162 |> unbox - let _run_target_args'_v167 = v174 + let v176 : std_path_PathBuf = v164 |> unbox + let _run_target_args'_v169 = v176 #endif #if FABLE_COMPILER_PYTHON - let v177 : std_path_PathBuf = v162 |> unbox - let _run_target_args'_v167 = v177 + let v179 : std_path_PathBuf = v164 |> unbox + let _run_target_args'_v169 = v179 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v180 : std_path_PathBuf = v162 |> unbox - let _run_target_args'_v167 = v180 + let v182 : std_path_PathBuf = v164 |> unbox + let _run_target_args'_v169 = v182 #endif #else - let v183 : std_path_PathBuf = v162 |> unbox - let _run_target_args'_v167 = v183 + let v185 : std_path_PathBuf = v164 |> unbox + let _run_target_args'_v169 = v185 #endif - let v186 : std_path_PathBuf = _run_target_args'_v167 - let v191 : unit = () + let v188 : std_path_PathBuf = _run_target_args'_v169 + let v193 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v192 : string = "Ok($0)" - let v193 : Result = Fable.Core.RustInterop.emitRustExpr v186 v192 - let _run_target_args'_v191 = v193 + let v194 : string = "Ok($0)" + let v195 : Result = Fable.Core.RustInterop.emitRustExpr v188 v194 + let _run_target_args'_v193 = v195 #endif #if FABLE_COMPILER_RUST && WASM - let v194 : string = "Ok($0)" - let v195 : Result = Fable.Core.RustInterop.emitRustExpr v186 v194 - let _run_target_args'_v191 = v195 + let v196 : string = "Ok($0)" + let v197 : Result = Fable.Core.RustInterop.emitRustExpr v188 v196 + let _run_target_args'_v193 = v197 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v196 : string = "Ok($0)" - let v197 : Result = Fable.Core.RustInterop.emitRustExpr v186 v196 - let _run_target_args'_v191 = v197 + let v198 : string = "Ok($0)" + let v199 : Result = Fable.Core.RustInterop.emitRustExpr v188 v198 + let _run_target_args'_v193 = v199 #endif #if FABLE_COMPILER_TYPESCRIPT - let v198 : Result = v186 |> Ok - let _run_target_args'_v191 = v198 + let v200 : Result = v188 |> Ok + let _run_target_args'_v193 = v200 #endif #if FABLE_COMPILER_PYTHON - let v199 : Result = v186 |> Ok - let _run_target_args'_v191 = v199 + let v201 : Result = v188 |> Ok + let _run_target_args'_v193 = v201 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v200 : Result = v186 |> Ok - let _run_target_args'_v191 = v200 + let v202 : Result = v188 |> Ok + let _run_target_args'_v193 = v202 #endif #else - let v201 : Result = v186 |> Ok - let _run_target_args'_v191 = v201 + let v203 : Result = v188 |> Ok + let _run_target_args'_v193 = v203 #endif - let v202 : Result = _run_target_args'_v191 - v202 + let v204 : Result = _run_target_args'_v193 + v204 else - let v247 : string = $"file_system.read_link / run / The file or directory is not a reparse point. / path: {v0} / error: {v23} / path': {v0} / name: {v4}" - let v248 : unit = () + let v251 : string = $"file_system.read_link / run / The file or directory is not a reparse point. / " + let v252 : string = $"path: {v0} / error: {v23} / path': {v0} / name: {v4}" + let v253 : string = v251 + v252 + let v254 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v249 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v250 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v247 v249 - let _run_target_args'_v248 = v250 + let v255 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v256 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v253 v255 + let _run_target_args'_v254 = v256 #endif #if FABLE_COMPILER_RUST && WASM - let v251 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v252 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v247 v251 - let _run_target_args'_v248 = v252 + let v257 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v258 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v253 v257 + let _run_target_args'_v254 = v258 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v253 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v254 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v247 v253 - let _run_target_args'_v248 = v254 + let v259 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v260 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v253 v259 + let _run_target_args'_v254 = v260 #endif #if FABLE_COMPILER_TYPESCRIPT - let v255 : std_io_Error = v247 |> unbox - let _run_target_args'_v248 = v255 + let v261 : std_io_Error = v253 |> unbox + let _run_target_args'_v254 = v261 #endif #if FABLE_COMPILER_PYTHON - let v258 : std_io_Error = v247 |> unbox - let _run_target_args'_v248 = v258 + let v264 : std_io_Error = v253 |> unbox + let _run_target_args'_v254 = v264 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v261 : std_io_Error = v247 |> unbox - let _run_target_args'_v248 = v261 + let v267 : std_io_Error = v253 |> unbox + let _run_target_args'_v254 = v267 #endif #else - let v264 : std_io_Error = v247 |> unbox - let _run_target_args'_v248 = v264 + let v270 : std_io_Error = v253 |> unbox + let _run_target_args'_v254 = v270 #endif - let v267 : std_io_Error = _run_target_args'_v248 - let v272 : unit = () + let v273 : std_io_Error = _run_target_args'_v254 + let v278 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v273 : string = "Err($0)" - let v274 : Result = Fable.Core.RustInterop.emitRustExpr v267 v273 - let _run_target_args'_v272 = v274 + let v279 : string = "Err($0)" + let v280 : Result = Fable.Core.RustInterop.emitRustExpr v273 v279 + let _run_target_args'_v278 = v280 #endif #if FABLE_COMPILER_RUST && WASM - let v275 : string = "Err($0)" - let v276 : Result = Fable.Core.RustInterop.emitRustExpr v267 v275 - let _run_target_args'_v272 = v276 + let v281 : string = "Err($0)" + let v282 : Result = Fable.Core.RustInterop.emitRustExpr v273 v281 + let _run_target_args'_v278 = v282 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v277 : string = "Err($0)" - let v278 : Result = Fable.Core.RustInterop.emitRustExpr v267 v277 - let _run_target_args'_v272 = v278 + let v283 : string = "Err($0)" + let v284 : Result = Fable.Core.RustInterop.emitRustExpr v273 v283 + let _run_target_args'_v278 = v284 #endif #if FABLE_COMPILER_TYPESCRIPT - let v279 : Result = v267 |> Error - let _run_target_args'_v272 = v279 + let v285 : Result = v273 |> Error + let _run_target_args'_v278 = v285 #endif #if FABLE_COMPILER_PYTHON - let v280 : Result = v267 |> Error - let _run_target_args'_v272 = v280 + let v286 : Result = v273 |> Error + let _run_target_args'_v278 = v286 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v281 : Result = v267 |> Error - let _run_target_args'_v272 = v281 + let v287 : Result = v273 |> Error + let _run_target_args'_v278 = v287 #endif #else - let v282 : Result = v267 |> Error - let _run_target_args'_v272 = v282 + let v288 : Result = v273 |> Error + let _run_target_args'_v278 = v288 #endif - let v283 : Result = _run_target_args'_v272 - v283 + let v289 : Result = _run_target_args'_v278 + v289 | _ -> - let v287 : string = $"file_system.read_link / run / The file or directory is not a reparse point. / path: {v0} / error: {v23} / path': {v0} / name: {v4}" - let v288 : unit = () + let v293 : string = $"file_system.read_link / run / The file or directory is not a reparse point. / " + let v294 : string = $"path: {v0} / error: {v23} / path': {v0} / name: {v4}" + let v295 : string = v293 + v294 + let v296 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v289 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v290 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v287 v289 - let _run_target_args'_v288 = v290 + let v297 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v298 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v295 v297 + let _run_target_args'_v296 = v298 #endif #if FABLE_COMPILER_RUST && WASM - let v291 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v292 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v287 v291 - let _run_target_args'_v288 = v292 + let v299 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v300 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v295 v299 + let _run_target_args'_v296 = v300 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v293 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v294 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v287 v293 - let _run_target_args'_v288 = v294 + let v301 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v302 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v295 v301 + let _run_target_args'_v296 = v302 #endif #if FABLE_COMPILER_TYPESCRIPT - let v295 : std_io_Error = v287 |> unbox - let _run_target_args'_v288 = v295 + let v303 : std_io_Error = v295 |> unbox + let _run_target_args'_v296 = v303 #endif #if FABLE_COMPILER_PYTHON - let v298 : std_io_Error = v287 |> unbox - let _run_target_args'_v288 = v298 + let v306 : std_io_Error = v295 |> unbox + let _run_target_args'_v296 = v306 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v301 : std_io_Error = v287 |> unbox - let _run_target_args'_v288 = v301 + let v309 : std_io_Error = v295 |> unbox + let _run_target_args'_v296 = v309 #endif #else - let v304 : std_io_Error = v287 |> unbox - let _run_target_args'_v288 = v304 + let v312 : std_io_Error = v295 |> unbox + let _run_target_args'_v296 = v312 #endif - let v307 : std_io_Error = _run_target_args'_v288 - let v312 : unit = () + let v315 : std_io_Error = _run_target_args'_v296 + let v320 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v313 : string = "Err($0)" - let v314 : Result = Fable.Core.RustInterop.emitRustExpr v307 v313 - let _run_target_args'_v312 = v314 + let v321 : string = "Err($0)" + let v322 : Result = Fable.Core.RustInterop.emitRustExpr v315 v321 + let _run_target_args'_v320 = v322 #endif #if FABLE_COMPILER_RUST && WASM - let v315 : string = "Err($0)" - let v316 : Result = Fable.Core.RustInterop.emitRustExpr v307 v315 - let _run_target_args'_v312 = v316 + let v323 : string = "Err($0)" + let v324 : Result = Fable.Core.RustInterop.emitRustExpr v315 v323 + let _run_target_args'_v320 = v324 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v317 : string = "Err($0)" - let v318 : Result = Fable.Core.RustInterop.emitRustExpr v307 v317 - let _run_target_args'_v312 = v318 + let v325 : string = "Err($0)" + let v326 : Result = Fable.Core.RustInterop.emitRustExpr v315 v325 + let _run_target_args'_v320 = v326 #endif #if FABLE_COMPILER_TYPESCRIPT - let v319 : Result = v307 |> Error - let _run_target_args'_v312 = v319 + let v327 : Result = v315 |> Error + let _run_target_args'_v320 = v327 #endif #if FABLE_COMPILER_PYTHON - let v320 : Result = v307 |> Error - let _run_target_args'_v312 = v320 + let v328 : Result = v315 |> Error + let _run_target_args'_v320 = v328 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v321 : Result = v307 |> Error - let _run_target_args'_v312 = v321 + let v329 : Result = v315 |> Error + let _run_target_args'_v320 = v329 #endif #else - let v322 : Result = v307 |> Error - let _run_target_args'_v312 = v322 + let v330 : Result = v315 |> Error + let _run_target_args'_v320 = v330 #endif - let v323 : Result = _run_target_args'_v312 - v323 + let v331 : Result = _run_target_args'_v320 + v331 and method112 (v0 : string, v1 : uint8) : Result = let v2 : unit = () @@ -15593,45 +15629,49 @@ and method112 (v0 : string, v1 : uint8) : Result let v99 : Result = _run_target_args'_v88 v99 else - let v102 : string = $"file_system.read_link / Fsharp / The file or directory is not a reparse point. / path: {v0} / result: {v31} / path': {v0} / n: {v1}" - let v103 : unit = () + let v102 : string = $"file_system.read_link / Fsharp / " + let v103 : string = $"The file or directory is not a reparse point. / " + let v104 : string = v102 + v103 + let v105 : string = $"path: {v0} / result: {v31} / path': {v0} / n: {v1}" + let v106 : string = v104 + v105 + let v107 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v104 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v105 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v102 v104 - let _run_target_args'_v103 = v105 + let v108 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v109 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v106 v108 + let _run_target_args'_v107 = v109 #endif #if FABLE_COMPILER_RUST && WASM - let v106 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v107 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v102 v106 - let _run_target_args'_v103 = v107 + let v110 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v111 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v106 v110 + let _run_target_args'_v107 = v111 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v108 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" - let v109 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v102 v108 - let _run_target_args'_v103 = v109 + let v112 : string = "std::io::Error::new(std::io::ErrorKind::Other, &*$0)" + let v113 : std_io_Error = Fable.Core.RustInterop.emitRustExpr v106 v112 + let _run_target_args'_v107 = v113 #endif #if FABLE_COMPILER_TYPESCRIPT - let v110 : std_io_Error = v102 |> unbox - let _run_target_args'_v103 = v110 + let v114 : std_io_Error = v106 |> unbox + let _run_target_args'_v107 = v114 #endif #if FABLE_COMPILER_PYTHON - let v113 : std_io_Error = v102 |> unbox - let _run_target_args'_v103 = v113 + let v117 : std_io_Error = v106 |> unbox + let _run_target_args'_v107 = v117 #endif #if !FABLE_COMPILER_RUST && !FABLE_COMPILER_TYPESCRIPT && !FABLE_COMPILER_PYTHON - let v116 : std_io_Error = v102 |> unbox - let _run_target_args'_v103 = v116 + let v120 : std_io_Error = v106 |> unbox + let _run_target_args'_v107 = v120 #endif #else - let v119 : std_io_Error = v102 |> unbox - let _run_target_args'_v103 = v119 + let v123 : std_io_Error = v106 |> unbox + let _run_target_args'_v107 = v123 #endif - let v122 : std_io_Error = _run_target_args'_v103 - let v127 : (uint8 -> (string -> Result)) = closure52(v0) - method118(v0, v127, v1, v122) + let v126 : std_io_Error = _run_target_args'_v107 + let v131 : (uint8 -> (string -> Result)) = closure52(v0) + method118(v0, v131, v1, v126) and method101 (v0 : string) : Result = let v1 : unit = () diff --git a/lib/spiral/file_system.spi b/lib/spiral/file_system.spi index cbd2a8c8..d4f74597 100644 --- a/lib/spiral/file_system.spi +++ b/lib/spiral/file_system.spi @@ -685,7 +685,8 @@ let read_link (path : string) : resultm.result' path_buf stream.io_error = inl error'' = error |> sm'.format match parent with | _ when n >= 11 => - ($'$"file_system.read_link / path: {!path} / n: {!n} / path\': {!path'} / name: {!name}"' : string) + ($'$"file_system.read_link / "' : string) + +. $'$"path: {!path} / n: {!n} / path\': {!path'} / name: {!name}"' |> stream.new_io_error |> resultm.err | Some parent when path' <>. "" => @@ -696,11 +697,13 @@ let read_link (path : string) : resultm.result' path_buf stream.io_error = |> new_path_buf |> resultm.ok'' | Error error' => - ($'$"file_system.read_link / error\': {!error'} / error: {!error''} / name: {!name}"' : string) + ($'$"file_system.read_link / "' : string) + +. $'$"error\': {!error'} / error: {!error''} / name: {!name}"' |> stream.new_io_error |> resultm.err | _ => - ($'$"file_system.read_link / run / The file or directory is not a reparse point. / path: {!path} / error: {!error''} / path\': {!path'} / name: {!name}"' : string) + ($'$"file_system.read_link / run / The file or directory is not a reparse point. / "' : string) + +. $'$"path: {!path} / error: {!error''} / path\': {!path'} / name: {!name}"' |> stream.new_io_error |> resultm.err @@ -734,8 +737,11 @@ let read_link (path : string) : resultm.result' path_buf stream.io_error = |> unbox |> resultm.ok'' else - inl error = ($'$"file_system.read_link / Fsharp / The file or directory is not a reparse point. / path: {!path} / result: {!result} / path\': {!path'} / n: {!n}"' : string) - inl error = error |> stream.new_io_error + inl error = + ($'$"file_system.read_link / Fsharp / "' : string) + +. $'$"The file or directory is not a reparse point. / "' + +. $'$"path: {!path} / result: {!result} / path\': {!path'} / n: {!n}"' + |> stream.new_io_error path' |> run loop n error path |> loop 0u8 | _ => fun () => $'Unchecked.defaultof<_>' diff --git a/scripts/core.ps1 b/scripts/core.ps1 index 55f100e4..ce0673f2 100644 --- a/scripts/core.ps1 +++ b/scripts/core.ps1 @@ -7,11 +7,13 @@ function Invoke-Linux { if ($IsWindows) { if ($Distro -ne "") { $Distro = " -d $Distro" - } else { + } + else { $Distro = "" } Invoke-Expression "wsl$Distro --shell-type login -- $($ScriptBlock.ToString().Trim())" - } else { + } + else { & @ScriptBlock } } @@ -41,7 +43,8 @@ function Invoke-Block { if ($EnvironmentVariables.Count -gt 0) { $envVars = $EnvironmentVariables.Keys | ForEach-Object { "$_=$($EnvironmentVariables[$_])" } | ForEach-Object { "$_ " } } - } else { + } + else { $originalEnvironmentVariables = @{} foreach ($var in $EnvironmentVariables.Keys) { if (Test-Path "Env:$var") { @@ -65,18 +68,21 @@ function Invoke-Block { $exitcode = 0 if ($Linux -and $IsWindows) { Invoke-Expression "{ $envVars $ScriptBlock } | Invoke-Linux -Distro `"$Distro`"" - } else { + } + else { if ($Return) { $result = & @ScriptBlock $output = $result | Select-Object -First $($result.Count - 1) $result = $result | Select-Object -Last 1 $output | Out-Default - } else { + } + else { & @ScriptBlock } } $exitcode = $lastexitcode ?? 0 - } catch { + } + catch { $exitcode = -1 } if ($exitcode -ne 0 -or $Error.Count -gt 0) { @@ -86,7 +92,8 @@ function Invoke-Block { if ($OnError -eq "Stop" -and $retry -eq $Retries) { if ($host.Name -match "Interactive") { [Microsoft.DotNet.Interactive.KernelInvocationContext]::Current.Publish([Microsoft.DotNet.Interactive.Events.CommandFailed]::new([System.Exception]::new($msg), [Microsoft.DotNet.Interactive.KernelInvocationContext]::Current.Command)) - } else { + } + else { exit ([Math]::Abs($exitcode), $Error.Count | Measure-Object -Maximum).Maximum } } @@ -105,7 +112,8 @@ function Invoke-Block { if (Test-Path "Env:$var") { Remove-Item "Env:$var" } - } else { + } + else { Set-Item -Path "Env:$var" -Value $originalEnvironmentVariables[$var] } } @@ -188,18 +196,46 @@ function EnsureSymbolicLink([string] $Path, [string] $Target) { if ($null -eq $result) { Write-Error "Failed to create symlink: $Path -> $Target ($Error)" } - } else { + } + else { Write-Output "Symlink already exists: $Path -> $Target" } } +function ResolveLink ( + [string] $Path, + [string] $End = '' +) { + $parent = Split-Path $Path + # Write-Output "core.Resolve-Path / parent: $parent / Path: $Path / End: $End `n" + if (!$parent) { + return Join-Path $Path $End + } + + if (Test-Path $parent) { + $target = (Get-Item $parent).Target + } + # Write-Output "core.Resolve-Path / target: $target `n" + + $End = "$(Split-Path $Path -Leaf)$($End ? '/' : '')$End" + + if ($target) { + $resolved = Join-Path $target $End + # Write-Output "core.Resolve-Path / resolved: $resolved / End: $End `n" + return $resolved + } + + return ResolveLink $parent $End +} + function Search-Command { param ( [string] $CommandName ) try { return (Get-Command $CommandName).Source - } catch { + } + catch { return $null } } @@ -207,7 +243,8 @@ function Search-Command { function _exe { if ($IsWindows) { return ".exe" - } else { + } + else { return "" } } @@ -227,7 +264,8 @@ function Invoke-Dib { foreach ($item in $_args) { if ($item -match "^-") { $key = $item -replace "^-" - } elseif ($null -ne $key) { + } + elseif ($null -ne $key) { $mergedArgs[$key] = $item $key = $null } diff --git a/scripts/init.ps1 b/scripts/init.ps1 index 55e8d41a..c49700dc 100644 --- a/scripts/init.ps1 +++ b/scripts/init.ps1 @@ -91,9 +91,9 @@ git clone --recurse-submodules https://github.com/i574n/spiral.git { git pull } | Invoke-Block -Location spiral Set-Location $ScriptDir -EnsureSymbolicLink -Path "../deps/spiral" -Target "../../spiral" +{ pwsh ../../spiral/scripts/init.ps1 } | Invoke-Block -{ pwsh ../deps/spiral/scripts/init.ps1 } | Invoke-Block +EnsureSymbolicLink -Path "../deps/spiral" -Target "../../spiral" { pwsh ../deps/spiral/apps/spiral/build.ps1 -SkipPreBuild 1 } | Invoke-Block