Datasets:
commit (part 138)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +4 -0
- yinghuocho--firefly-proxy.69c2bd0/tests/programgym_evaluator.py +1201 -0
- yinghuocho--firefly-proxy.69c2bd0/tests/programgym_task.json +190 -0
- yinghuocho--firefly-proxy.69c2bd0/tests/test.sh +82 -0
- yinghuocho--firefly-proxy.69c2bd0/tests/workspace.tar.gz +3 -0
- yinheli--sshw.748eaa6/environment/Dockerfile +1 -0
- yinheli--sshw.748eaa6/tests/Dockerfile +1 -0
- yinnx--cmd-wrapped.c150a84/environment/Dockerfile +1 -0
- yinnx--cmd-wrapped.c150a84/tests/Dockerfile +1 -0
- yisar--ijc.da9cf8c/environment/Dockerfile +1 -0
- yisar--ijc.da9cf8c/tests/Dockerfile +1 -0
- yixuan--lbfgspp.1695839/environment/Dockerfile +1 -0
- yixuan--lbfgspp.1695839/tests/Dockerfile +1 -0
- yobix-ai--extractous.818d94c/environment/Dockerfile +93 -0
- yobix-ai--extractous.818d94c/environment/docker-compose.yaml +22 -0
- yobix-ai--extractous.818d94c/environment/download.sh +2697 -0
- yobix-ai--extractous.818d94c/environment/executable +3 -0
- yobix-ai--extractous.818d94c/environment/harbor_configure_apt_mirror.sh +37 -0
- yobix-ai--extractous.818d94c/environment/harbor_configure_java_mirrors.sh +50 -0
- yobix-ai--extractous.818d94c/environment/harbor_prepare_download_env.sh +47 -0
- yobix-ai--extractous.818d94c/environment/workspace.tar.gz +3 -0
- yobix-ai--extractous.818d94c/instruction.md +98 -0
- yobix-ai--extractous.818d94c/solution/solve.sh +33 -0
- yobix-ai--extractous.818d94c/task.toml +69 -0
- yobix-ai--extractous.818d94c/tests/Dockerfile +107 -0
- yobix-ai--extractous.818d94c/tests/blobs/tests/generated_module_01.tar.gz +3 -0
- yobix-ai--extractous.818d94c/tests/blobs/tests/generated_module_02.tar.gz +3 -0
- yobix-ai--extractous.818d94c/tests/blobs/tests/generated_module_03.tar.gz +3 -0
- yobix-ai--extractous.818d94c/tests/blobs/tests/generated_module_04.tar.gz +3 -0
- yobix-ai--extractous.818d94c/tests/docker-compose.yaml +22 -0
- yobix-ai--extractous.818d94c/tests/download.sh +2697 -0
- yobix-ai--extractous.818d94c/tests/executable +3 -0
- yobix-ai--extractous.818d94c/tests/harbor_configure_apt_mirror.sh +37 -0
- yobix-ai--extractous.818d94c/tests/harbor_configure_java_mirrors.sh +50 -0
- yobix-ai--extractous.818d94c/tests/harbor_prepare_download_env.sh +47 -0
- yobix-ai--extractous.818d94c/tests/programgym_evaluator.py +1201 -0
- yobix-ai--extractous.818d94c/tests/programgym_task.json +0 -0
- yobix-ai--extractous.818d94c/tests/test.sh +82 -0
- yobix-ai--extractous.818d94c/tests/workspace.tar.gz +3 -0
- yoheimuta--go-protoparser.b54018d/environment/Dockerfile +98 -0
- yoheimuta--go-protoparser.b54018d/environment/docker-compose.yaml +22 -0
- yoheimuta--go-protoparser.b54018d/environment/download.sh +145 -0
- yoheimuta--go-protoparser.b54018d/environment/executable +3 -0
- yoheimuta--go-protoparser.b54018d/environment/harbor_configure_apt_mirror.sh +37 -0
- yoheimuta--go-protoparser.b54018d/environment/harbor_configure_java_mirrors.sh +50 -0
- yoheimuta--go-protoparser.b54018d/environment/harbor_prepare_download_env.sh +44 -0
- yoheimuta--go-protoparser.b54018d/environment/programgym-go.tar.gz +3 -0
- yoheimuta--go-protoparser.b54018d/environment/workspace.tar.gz +3 -0
- yoheimuta--go-protoparser.b54018d/instruction.md +98 -0
- yoheimuta--go-protoparser.b54018d/solution/solve.sh +33 -0
.gitattributes
CHANGED
|
@@ -3750,3 +3750,7 @@ xyproto--png2svg.0bd9e09/environment/executable filter=lfs diff=lfs merge=lfs -t
|
|
| 3750 |
xyproto--png2svg.0bd9e09/tests/executable filter=lfs diff=lfs merge=lfs -text
|
| 3751 |
yinghuocho--firefly-proxy.69c2bd0/environment/executable filter=lfs diff=lfs merge=lfs -text
|
| 3752 |
yinghuocho--firefly-proxy.69c2bd0/tests/executable filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3750 |
xyproto--png2svg.0bd9e09/tests/executable filter=lfs diff=lfs merge=lfs -text
|
| 3751 |
yinghuocho--firefly-proxy.69c2bd0/environment/executable filter=lfs diff=lfs merge=lfs -text
|
| 3752 |
yinghuocho--firefly-proxy.69c2bd0/tests/executable filter=lfs diff=lfs merge=lfs -text
|
| 3753 |
+
yobix-ai--extractous.818d94c/environment/executable filter=lfs diff=lfs merge=lfs -text
|
| 3754 |
+
yobix-ai--extractous.818d94c/tests/executable filter=lfs diff=lfs merge=lfs -text
|
| 3755 |
+
yoheimuta--go-protoparser.b54018d/environment/executable filter=lfs diff=lfs merge=lfs -text
|
| 3756 |
+
yoheimuta--go-protoparser.b54018d/tests/executable filter=lfs diff=lfs merge=lfs -text
|
yinghuocho--firefly-proxy.69c2bd0/tests/programgym_evaluator.py
ADDED
|
@@ -0,0 +1,1201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""In-place ProgramGym evaluator.
|
| 3 |
+
|
| 4 |
+
Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
|
| 5 |
+
no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
|
| 6 |
+
cleanroom container after Harbor flips the verifier-phase network policy.
|
| 7 |
+
|
| 8 |
+
Differences from ``programgym.eval.eval.Evaluator`` that are structural to
|
| 9 |
+
running in one container:
|
| 10 |
+
|
| 11 |
+
* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
|
| 12 |
+
copy a post-compile workspace snapshot to a temp directory and restore it
|
| 13 |
+
before each branch; ``cleanup_lingering_processes`` kills leftover branch
|
| 14 |
+
processes between attempts to approximate the fresh-container boundary.
|
| 15 |
+
* No ``docker commit``. The post-compile workspace snapshot serves the same
|
| 16 |
+
role as the committed image upstream.
|
| 17 |
+
* Hidden test blobs are fetched on demand from HuggingFace via
|
| 18 |
+
``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
|
| 19 |
+
rather than being pre-staged into ``/tests/blobs/``. Override with
|
| 20 |
+
``PROGRAMGYM_BLOB_DIR`` for offline reruns.
|
| 21 |
+
|
| 22 |
+
Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
|
| 23 |
+
``compile.sh`` then stash + hash the executable, best-effort
|
| 24 |
+
``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
|
| 25 |
+
``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
|
| 26 |
+
best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
|
| 27 |
+
preserved.
|
| 28 |
+
"""
|
| 29 |
+
|
| 30 |
+
from __future__ import annotations
|
| 31 |
+
|
| 32 |
+
import hashlib
|
| 33 |
+
import json
|
| 34 |
+
import os
|
| 35 |
+
import re
|
| 36 |
+
import shlex
|
| 37 |
+
import shutil
|
| 38 |
+
import signal
|
| 39 |
+
import subprocess
|
| 40 |
+
import tempfile
|
| 41 |
+
import time
|
| 42 |
+
import traceback
|
| 43 |
+
import xml.etree.ElementTree as ET
|
| 44 |
+
from pathlib import Path
|
| 45 |
+
from typing import Any
|
| 46 |
+
|
| 47 |
+
WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
|
| 48 |
+
STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
|
| 49 |
+
METADATA_PATH = Path(
|
| 50 |
+
os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
|
| 51 |
+
)
|
| 52 |
+
LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
|
| 53 |
+
WORKER_CRASH_PHRASE = "worker '"
|
| 54 |
+
XDIST_COLLAPSE_MARKERS = (
|
| 55 |
+
"maximum crashed workers reached",
|
| 56 |
+
"xdist: maximum crashed",
|
| 57 |
+
)
|
| 58 |
+
|
| 59 |
+
DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
|
| 60 |
+
DEFAULT_HF_REVISION = "main"
|
| 61 |
+
|
| 62 |
+
# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
|
| 63 |
+
# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
|
| 64 |
+
_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
|
| 65 |
+
|
| 66 |
+
_TOOLCHAIN_BIN_DIR_CANDIDATES = (
|
| 67 |
+
"/usr/local/go/bin",
|
| 68 |
+
"/go/bin",
|
| 69 |
+
"/usr/local/cargo/bin",
|
| 70 |
+
"/root/.cargo/bin",
|
| 71 |
+
"/root/.ghcup/bin",
|
| 72 |
+
)
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
def toolchain_bin_dirs() -> list[str]:
|
| 76 |
+
"""Return toolchain bin directories that exist on this image."""
|
| 77 |
+
candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
|
| 78 |
+
candidates.extend(
|
| 79 |
+
str(path)
|
| 80 |
+
for path in sorted(Path("/usr/lib").glob("go-*/bin"))
|
| 81 |
+
if _is_accessible_dir(path)
|
| 82 |
+
)
|
| 83 |
+
seen: set[str] = set()
|
| 84 |
+
present: list[str] = []
|
| 85 |
+
for path in candidates:
|
| 86 |
+
if path in seen:
|
| 87 |
+
continue
|
| 88 |
+
seen.add(path)
|
| 89 |
+
if _is_accessible_dir(path):
|
| 90 |
+
present.append(path)
|
| 91 |
+
return present
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
def _is_accessible_dir(path: str | Path) -> bool:
|
| 95 |
+
"""Return whether path is a directory without failing on protected homes."""
|
| 96 |
+
try:
|
| 97 |
+
return Path(path).is_dir()
|
| 98 |
+
except OSError:
|
| 99 |
+
return False
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
def bootstrap_toolchain_path() -> str:
|
| 103 |
+
"""Prepend discovered toolchain dirs to PATH (idempotent)."""
|
| 104 |
+
prepend = toolchain_bin_dirs()
|
| 105 |
+
current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
|
| 106 |
+
merged: list[str] = []
|
| 107 |
+
for path in prepend + current_parts:
|
| 108 |
+
if path not in merged:
|
| 109 |
+
merged.append(path)
|
| 110 |
+
new_path = ":".join(merged)
|
| 111 |
+
os.environ["PATH"] = new_path
|
| 112 |
+
return new_path
|
| 113 |
+
|
| 114 |
+
|
| 115 |
+
def _bash_login_command(command: str) -> str:
|
| 116 |
+
"""Run ``command`` under bash -lc with an explicit PATH export."""
|
| 117 |
+
path = bootstrap_toolchain_path()
|
| 118 |
+
return f"export PATH={shlex.quote(path)}; {command}"
|
| 119 |
+
|
| 120 |
+
|
| 121 |
+
def sha256(path: Path) -> str:
|
| 122 |
+
h = hashlib.sha256()
|
| 123 |
+
with path.open("rb") as f:
|
| 124 |
+
for chunk in iter(lambda: f.read(1024 * 1024), b""):
|
| 125 |
+
h.update(chunk)
|
| 126 |
+
return h.hexdigest()
|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
def write_json(path: Path, data: dict[str, Any]) -> None:
|
| 130 |
+
tmp = path.with_suffix(path.suffix + ".tmp")
|
| 131 |
+
tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
|
| 132 |
+
tmp.replace(path)
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
|
| 136 |
+
if path is None or not path.exists():
|
| 137 |
+
return ""
|
| 138 |
+
data = path.read_bytes()
|
| 139 |
+
if len(data) <= max_bytes:
|
| 140 |
+
return data.decode(errors="replace")
|
| 141 |
+
return data[-max_bytes:].decode(errors="replace")
|
| 142 |
+
|
| 143 |
+
|
| 144 |
+
def _close_pipes(proc: subprocess.Popen[Any]) -> None:
|
| 145 |
+
for stream in (proc.stdout, proc.stderr):
|
| 146 |
+
if stream is not None:
|
| 147 |
+
try:
|
| 148 |
+
stream.close()
|
| 149 |
+
except OSError:
|
| 150 |
+
pass
|
| 151 |
+
|
| 152 |
+
|
| 153 |
+
def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
|
| 154 |
+
try:
|
| 155 |
+
os.killpg(proc.pid, signal.SIGKILL)
|
| 156 |
+
except ProcessLookupError:
|
| 157 |
+
pass
|
| 158 |
+
try:
|
| 159 |
+
proc.kill()
|
| 160 |
+
except ProcessLookupError:
|
| 161 |
+
pass
|
| 162 |
+
|
| 163 |
+
|
| 164 |
+
_PKILL_PATTERNS = (
|
| 165 |
+
f"{WORKSPACE}/eval/",
|
| 166 |
+
f"{WORKSPACE}/tests/",
|
| 167 |
+
"tail -f",
|
| 168 |
+
"development.log",
|
| 169 |
+
" less ",
|
| 170 |
+
" less$",
|
| 171 |
+
"/less ",
|
| 172 |
+
)
|
| 173 |
+
|
| 174 |
+
|
| 175 |
+
def _pkill_aggressive() -> str:
|
| 176 |
+
"""Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
|
| 177 |
+
notes: list[str] = []
|
| 178 |
+
workspace = str(WORKSPACE)
|
| 179 |
+
patterns = list(_PKILL_PATTERNS) + [
|
| 180 |
+
f"pytest.*{workspace}",
|
| 181 |
+
f"xdist.*{workspace}",
|
| 182 |
+
]
|
| 183 |
+
for pattern in patterns:
|
| 184 |
+
result = subprocess.run(
|
| 185 |
+
["pkill", "-9", "-f", pattern],
|
| 186 |
+
capture_output=True,
|
| 187 |
+
text=True,
|
| 188 |
+
)
|
| 189 |
+
notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
|
| 190 |
+
return "\n".join(notes)
|
| 191 |
+
|
| 192 |
+
|
| 193 |
+
def run_step(
|
| 194 |
+
command: str,
|
| 195 |
+
cwd: Path,
|
| 196 |
+
*,
|
| 197 |
+
timeout: int,
|
| 198 |
+
env: dict[str, str] | None = None,
|
| 199 |
+
step: str,
|
| 200 |
+
accept_failure: bool = False,
|
| 201 |
+
log_output: bool | None = None,
|
| 202 |
+
max_output_bytes: int = 65536,
|
| 203 |
+
) -> dict[str, Any]:
|
| 204 |
+
if log_output is None:
|
| 205 |
+
log_output = step == "run_tests" or timeout >= 60
|
| 206 |
+
|
| 207 |
+
started = time.monotonic()
|
| 208 |
+
stdout_path: Path | None = None
|
| 209 |
+
stderr_path: Path | None = None
|
| 210 |
+
stdout_f = None
|
| 211 |
+
stderr_f = None
|
| 212 |
+
|
| 213 |
+
if log_output:
|
| 214 |
+
LOG_DIR.mkdir(parents=True, exist_ok=True)
|
| 215 |
+
log_id = f"{step}-{int(started * 1000)}"
|
| 216 |
+
stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
|
| 217 |
+
stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
|
| 218 |
+
stdout_f = stdout_path.open("w", encoding="utf-8")
|
| 219 |
+
stderr_f = stderr_path.open("w", encoding="utf-8")
|
| 220 |
+
popen_stdout: Any = stdout_f
|
| 221 |
+
popen_stderr: Any = stderr_f
|
| 222 |
+
else:
|
| 223 |
+
popen_stdout = subprocess.PIPE
|
| 224 |
+
popen_stderr = subprocess.PIPE
|
| 225 |
+
|
| 226 |
+
proc = subprocess.Popen(
|
| 227 |
+
["bash", "-lc", _bash_login_command(command)],
|
| 228 |
+
cwd=cwd,
|
| 229 |
+
env={**os.environ, **(env or {})},
|
| 230 |
+
stdout=popen_stdout,
|
| 231 |
+
stderr=popen_stderr,
|
| 232 |
+
start_new_session=True,
|
| 233 |
+
text=True,
|
| 234 |
+
)
|
| 235 |
+
timed_out = False
|
| 236 |
+
stdout = ""
|
| 237 |
+
stderr = ""
|
| 238 |
+
try:
|
| 239 |
+
if log_output:
|
| 240 |
+
proc.wait(timeout=timeout)
|
| 241 |
+
else:
|
| 242 |
+
stdout, stderr = proc.communicate(timeout=timeout)
|
| 243 |
+
except subprocess.TimeoutExpired:
|
| 244 |
+
timed_out = True
|
| 245 |
+
_terminate_process_tree(proc)
|
| 246 |
+
cleanup_lingering_processes(aggressive=True)
|
| 247 |
+
try:
|
| 248 |
+
proc.wait(timeout=5)
|
| 249 |
+
except subprocess.TimeoutExpired:
|
| 250 |
+
proc.kill()
|
| 251 |
+
if not log_output:
|
| 252 |
+
_close_pipes(proc)
|
| 253 |
+
finally:
|
| 254 |
+
if stdout_f is not None:
|
| 255 |
+
stdout_f.close()
|
| 256 |
+
if stderr_f is not None:
|
| 257 |
+
stderr_f.close()
|
| 258 |
+
|
| 259 |
+
if timed_out:
|
| 260 |
+
if log_output:
|
| 261 |
+
output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
|
| 262 |
+
stderr_path, max_output_bytes
|
| 263 |
+
)
|
| 264 |
+
else:
|
| 265 |
+
output = ""
|
| 266 |
+
entry = {
|
| 267 |
+
"step": step,
|
| 268 |
+
"command": command,
|
| 269 |
+
"wall_time": time.monotonic() - started,
|
| 270 |
+
"output": output,
|
| 271 |
+
"returncode": 124,
|
| 272 |
+
"exception_info": f"timed out after {timeout}s",
|
| 273 |
+
}
|
| 274 |
+
else:
|
| 275 |
+
if log_output:
|
| 276 |
+
output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
|
| 277 |
+
stderr_path, max_output_bytes
|
| 278 |
+
)
|
| 279 |
+
else:
|
| 280 |
+
output = stdout + stderr
|
| 281 |
+
entry = {
|
| 282 |
+
"step": step,
|
| 283 |
+
"command": command,
|
| 284 |
+
"wall_time": time.monotonic() - started,
|
| 285 |
+
"output": output,
|
| 286 |
+
"returncode": proc.returncode,
|
| 287 |
+
"exception_info": "",
|
| 288 |
+
}
|
| 289 |
+
if entry["returncode"] and not accept_failure:
|
| 290 |
+
raise RuntimeError(
|
| 291 |
+
f"{step} failed: {entry['exception_info'] or entry['output']}"
|
| 292 |
+
)
|
| 293 |
+
return entry
|
| 294 |
+
|
| 295 |
+
|
| 296 |
+
def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
|
| 297 |
+
started = time.monotonic()
|
| 298 |
+
patterns = [
|
| 299 |
+
str(WORKSPACE / "executable"),
|
| 300 |
+
f"{WORKSPACE}/eval/",
|
| 301 |
+
f"{WORKSPACE}/tests/",
|
| 302 |
+
# lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
|
| 303 |
+
"tail -f",
|
| 304 |
+
"development.log",
|
| 305 |
+
]
|
| 306 |
+
killed: list[int] = []
|
| 307 |
+
proc_root = Path("/proc")
|
| 308 |
+
proc_available = proc_root.exists()
|
| 309 |
+
if proc_available:
|
| 310 |
+
for proc_dir in proc_root.iterdir():
|
| 311 |
+
if not proc_dir.name.isdigit():
|
| 312 |
+
continue
|
| 313 |
+
pid = int(proc_dir.name)
|
| 314 |
+
if pid in {os.getpid(), os.getppid()}:
|
| 315 |
+
continue
|
| 316 |
+
try:
|
| 317 |
+
raw = (proc_dir / "cmdline").read_bytes()
|
| 318 |
+
except (FileNotFoundError, PermissionError, ProcessLookupError):
|
| 319 |
+
continue
|
| 320 |
+
cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
|
| 321 |
+
if not any(pattern in cmdline for pattern in patterns):
|
| 322 |
+
continue
|
| 323 |
+
try:
|
| 324 |
+
os.kill(pid, signal.SIGKILL)
|
| 325 |
+
except (PermissionError, ProcessLookupError):
|
| 326 |
+
continue
|
| 327 |
+
killed.append(pid)
|
| 328 |
+
pkill_output = ""
|
| 329 |
+
if aggressive or not proc_available:
|
| 330 |
+
pkill_output = _pkill_aggressive()
|
| 331 |
+
output_parts = []
|
| 332 |
+
if killed:
|
| 333 |
+
output_parts.append("\n".join(str(pid) for pid in killed))
|
| 334 |
+
if pkill_output:
|
| 335 |
+
output_parts.append(pkill_output)
|
| 336 |
+
return {
|
| 337 |
+
"step": "cleanup_lingering_processes",
|
| 338 |
+
"command": "kill leftover branch processes referencing the workspace",
|
| 339 |
+
"wall_time": time.monotonic() - started,
|
| 340 |
+
"output": "\n".join(output_parts),
|
| 341 |
+
"returncode": 0,
|
| 342 |
+
"exception_info": "",
|
| 343 |
+
}
|
| 344 |
+
|
| 345 |
+
|
| 346 |
+
def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
|
| 347 |
+
import tarfile
|
| 348 |
+
|
| 349 |
+
with tarfile.open(tar_path, "r:gz") as tf:
|
| 350 |
+
try:
|
| 351 |
+
tf.extractall(dest, filter="fully_trusted")
|
| 352 |
+
except TypeError:
|
| 353 |
+
tf.extractall(dest)
|
| 354 |
+
|
| 355 |
+
|
| 356 |
+
def find_results_xml() -> Path | None:
|
| 357 |
+
"""Return the junit xml path if pytest wrote one."""
|
| 358 |
+
for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
|
| 359 |
+
if candidate.exists():
|
| 360 |
+
return candidate
|
| 361 |
+
return None
|
| 362 |
+
|
| 363 |
+
|
| 364 |
+
def remove_oracle_handoff_artifacts() -> list[str]:
|
| 365 |
+
"""Drop oracle-agent handoff files from /workspace before snapshot/restore."""
|
| 366 |
+
removed: list[str] = []
|
| 367 |
+
for name in _ORACLE_HANDOFF_NAMES:
|
| 368 |
+
path = WORKSPACE / name
|
| 369 |
+
if path.exists():
|
| 370 |
+
if path.is_dir():
|
| 371 |
+
shutil.rmtree(path)
|
| 372 |
+
else:
|
| 373 |
+
path.unlink()
|
| 374 |
+
removed.append(name)
|
| 375 |
+
return removed
|
| 376 |
+
|
| 377 |
+
|
| 378 |
+
def _remove_tree(path: Path) -> None:
|
| 379 |
+
"""Remove a file or directory tree, with a shell fallback for overlay races."""
|
| 380 |
+
if path.is_symlink() or path.is_file():
|
| 381 |
+
path.unlink(missing_ok=True)
|
| 382 |
+
return
|
| 383 |
+
if not path.is_dir():
|
| 384 |
+
path.unlink(missing_ok=True)
|
| 385 |
+
return
|
| 386 |
+
for attempt in range(3):
|
| 387 |
+
try:
|
| 388 |
+
shutil.rmtree(path)
|
| 389 |
+
if not path.exists():
|
| 390 |
+
return
|
| 391 |
+
except OSError:
|
| 392 |
+
if attempt == 2:
|
| 393 |
+
run_step(
|
| 394 |
+
f"rm -rf {shlex.quote(str(path))}",
|
| 395 |
+
path.parent,
|
| 396 |
+
timeout=120,
|
| 397 |
+
step="clear_workspace_fallback",
|
| 398 |
+
accept_failure=True,
|
| 399 |
+
)
|
| 400 |
+
if not path.exists():
|
| 401 |
+
return
|
| 402 |
+
raise
|
| 403 |
+
|
| 404 |
+
|
| 405 |
+
def ensure_workspace_dir() -> None:
|
| 406 |
+
"""Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
|
| 407 |
+
if WORKSPACE.exists() and not WORKSPACE.is_dir():
|
| 408 |
+
if WORKSPACE.is_symlink() or WORKSPACE.is_file():
|
| 409 |
+
WORKSPACE.unlink()
|
| 410 |
+
else:
|
| 411 |
+
shutil.rmtree(WORKSPACE)
|
| 412 |
+
WORKSPACE.mkdir(parents=True, exist_ok=True)
|
| 413 |
+
|
| 414 |
+
|
| 415 |
+
def clear_workspace() -> None:
|
| 416 |
+
ensure_workspace_dir()
|
| 417 |
+
for path in list(WORKSPACE.iterdir()):
|
| 418 |
+
_remove_tree(path)
|
| 419 |
+
|
| 420 |
+
|
| 421 |
+
def restore_reference_executable() -> None:
|
| 422 |
+
"""Write the stashed reference binary into /workspace after a branch overlay.
|
| 423 |
+
|
| 424 |
+
Branch blobs may ship ``executable`` as a dangling symlink into
|
| 425 |
+
``target/release/...``; ``shutil.copy2`` would follow it and raise
|
| 426 |
+
``FileNotFoundError``. Drop whatever the blob left and copy the stashed
|
| 427 |
+
reference as a regular file.
|
| 428 |
+
"""
|
| 429 |
+
ensure_workspace_dir()
|
| 430 |
+
if not STASHED_EXECUTABLE.is_file():
|
| 431 |
+
raise FileNotFoundError(
|
| 432 |
+
f"missing stashed reference executable at {STASHED_EXECUTABLE}"
|
| 433 |
+
)
|
| 434 |
+
dest = WORKSPACE / "executable"
|
| 435 |
+
if dest.exists() or dest.is_symlink():
|
| 436 |
+
if dest.is_dir():
|
| 437 |
+
shutil.rmtree(dest)
|
| 438 |
+
else:
|
| 439 |
+
dest.unlink(missing_ok=True)
|
| 440 |
+
shutil.copy2(STASHED_EXECUTABLE, dest)
|
| 441 |
+
dest.chmod(0o755)
|
| 442 |
+
|
| 443 |
+
|
| 444 |
+
def snapshot_workspace(dest: Path) -> None:
|
| 445 |
+
if dest.exists():
|
| 446 |
+
shutil.rmtree(dest)
|
| 447 |
+
shutil.copytree(WORKSPACE, dest, symlinks=True)
|
| 448 |
+
|
| 449 |
+
|
| 450 |
+
def restore_workspace(source: Path) -> None:
|
| 451 |
+
clear_workspace()
|
| 452 |
+
shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
|
| 453 |
+
ensure_workspace_dir()
|
| 454 |
+
|
| 455 |
+
|
| 456 |
+
def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
|
| 457 |
+
removed: list[str] = []
|
| 458 |
+
for path in root.rglob("*"):
|
| 459 |
+
if path.is_file() and not path.is_symlink():
|
| 460 |
+
try:
|
| 461 |
+
if sha256(path) in hashes:
|
| 462 |
+
path.unlink()
|
| 463 |
+
removed.append(str(path.relative_to(root)))
|
| 464 |
+
except OSError:
|
| 465 |
+
continue
|
| 466 |
+
return removed
|
| 467 |
+
|
| 468 |
+
|
| 469 |
+
def branch_tests(branch_info: dict[str, Any]) -> list[str]:
|
| 470 |
+
ignored = {
|
| 471 |
+
item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
|
| 472 |
+
}
|
| 473 |
+
return [name for name in branch_info.get("tests", []) if name not in ignored]
|
| 474 |
+
|
| 475 |
+
|
| 476 |
+
def ignored_tests(metadata: dict[str, Any]) -> set[str]:
|
| 477 |
+
result: set[str] = set()
|
| 478 |
+
for branch, info in metadata.get("branches", {}).items():
|
| 479 |
+
result.update(
|
| 480 |
+
f"{branch}/{item['name']}"
|
| 481 |
+
for item in info.get("ignored_tests", [])
|
| 482 |
+
if "name" in item
|
| 483 |
+
)
|
| 484 |
+
return result
|
| 485 |
+
|
| 486 |
+
|
| 487 |
+
def active_tests(metadata: dict[str, Any]) -> set[str]:
|
| 488 |
+
active: set[str] = set()
|
| 489 |
+
for branch, info in metadata.get("branches", {}).items():
|
| 490 |
+
if info.get("ignored"):
|
| 491 |
+
continue
|
| 492 |
+
ignored = {
|
| 493 |
+
item["name"] for item in info.get("ignored_tests", []) if "name" in item
|
| 494 |
+
}
|
| 495 |
+
active.update(
|
| 496 |
+
f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
|
| 497 |
+
)
|
| 498 |
+
return active
|
| 499 |
+
|
| 500 |
+
|
| 501 |
+
def inject_not_run(
|
| 502 |
+
result: dict[str, Any], branch: str, tests: list[str], error_code: str
|
| 503 |
+
) -> None:
|
| 504 |
+
result["test_results"].extend(
|
| 505 |
+
{
|
| 506 |
+
"name": name,
|
| 507 |
+
"branch": branch,
|
| 508 |
+
"status": "not_run",
|
| 509 |
+
"extra": {"error_code": error_code},
|
| 510 |
+
}
|
| 511 |
+
for name in tests
|
| 512 |
+
)
|
| 513 |
+
|
| 514 |
+
|
| 515 |
+
def testcase_name(case: ET.Element) -> str:
|
| 516 |
+
classname = case.attrib.get("classname", "")
|
| 517 |
+
name = case.attrib.get("name", "")
|
| 518 |
+
return f"{classname}.{name}" if classname else name
|
| 519 |
+
|
| 520 |
+
|
| 521 |
+
# Only these tags under <testcase> represent a result. <system-out> /
|
| 522 |
+
# <system-err> are stdout/stderr captures and must not be treated as results
|
| 523 |
+
# (a leading <system-out> followed by <failure> would otherwise be classified
|
| 524 |
+
# as a stdout-only "passed").
|
| 525 |
+
JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
|
| 526 |
+
|
| 527 |
+
|
| 528 |
+
def parse_junit(
|
| 529 |
+
raw_xml: str, branch: str, expected: list[str], ignored: set[str]
|
| 530 |
+
) -> tuple[list[dict[str, Any]], list[str]]:
|
| 531 |
+
root = ET.fromstring(raw_xml)
|
| 532 |
+
got: set[str] = set()
|
| 533 |
+
results: list[dict[str, Any]] = []
|
| 534 |
+
for case in root.iter("testcase"):
|
| 535 |
+
name = testcase_name(case)
|
| 536 |
+
got.add(name)
|
| 537 |
+
extra: dict[str, Any] = {}
|
| 538 |
+
if "time" in case.attrib:
|
| 539 |
+
try:
|
| 540 |
+
extra["time"] = float(case.attrib["time"])
|
| 541 |
+
except ValueError:
|
| 542 |
+
extra["time"] = case.attrib["time"]
|
| 543 |
+
result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
|
| 544 |
+
# Collapse duplicate same-tag result children. Pytest's
|
| 545 |
+
# "pytest.internal" pseudo-test sometimes emits two identical <error>
|
| 546 |
+
# entries; treating that as a system_error would over-flag a real
|
| 547 |
+
# single failure. Mirrors upstream eval.py:816-820.
|
| 548 |
+
if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
|
| 549 |
+
result_children = [result_children[0]]
|
| 550 |
+
if not result_children:
|
| 551 |
+
status = "passed"
|
| 552 |
+
elif len(result_children) != 1:
|
| 553 |
+
status = "system_error"
|
| 554 |
+
extra["error_details"] = (
|
| 555 |
+
f"Expected 1 result for {name}, got {len(result_children)}: "
|
| 556 |
+
f"{[c.tag for c in result_children]}"
|
| 557 |
+
)
|
| 558 |
+
else:
|
| 559 |
+
first = result_children[0]
|
| 560 |
+
status = first.tag # "skipped" | "failure" | "error"
|
| 561 |
+
extra["message"] = first.attrib.get("message") or ""
|
| 562 |
+
if first.text:
|
| 563 |
+
extra["text"] = first.text
|
| 564 |
+
results.append(
|
| 565 |
+
{"name": name, "branch": branch, "status": status, "extra": extra}
|
| 566 |
+
)
|
| 567 |
+
|
| 568 |
+
active_expected = [name for name in expected if name not in ignored]
|
| 569 |
+
missing = [name for name in active_expected if name not in got]
|
| 570 |
+
results.extend(
|
| 571 |
+
{
|
| 572 |
+
"name": name,
|
| 573 |
+
"branch": branch,
|
| 574 |
+
"status": "not_run",
|
| 575 |
+
"extra": {"error_code": "missing_from_junit_xml"},
|
| 576 |
+
}
|
| 577 |
+
for name in missing
|
| 578 |
+
)
|
| 579 |
+
unexpected = got - set(expected) - ignored
|
| 580 |
+
warnings = (
|
| 581 |
+
[f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
|
| 582 |
+
if unexpected
|
| 583 |
+
else []
|
| 584 |
+
)
|
| 585 |
+
return results, warnings
|
| 586 |
+
|
| 587 |
+
|
| 588 |
+
def count_worker_crashes(raw_xml: str) -> int:
|
| 589 |
+
if WORKER_CRASH_PHRASE not in raw_xml:
|
| 590 |
+
return 0
|
| 591 |
+
try:
|
| 592 |
+
root = ET.fromstring(raw_xml)
|
| 593 |
+
except ET.ParseError:
|
| 594 |
+
return 0
|
| 595 |
+
crashes = 0
|
| 596 |
+
for case in root.iter("testcase"):
|
| 597 |
+
for child in case:
|
| 598 |
+
text = (child.get("message") or "") + " " + (child.text or "")
|
| 599 |
+
if (
|
| 600 |
+
child.tag in {"error", "failure"}
|
| 601 |
+
and WORKER_CRASH_PHRASE in text
|
| 602 |
+
and "crashed" in text
|
| 603 |
+
):
|
| 604 |
+
crashes += 1
|
| 605 |
+
break
|
| 606 |
+
return crashes
|
| 607 |
+
|
| 608 |
+
|
| 609 |
+
def run_output_indicates_xdist_collapse(output: str) -> bool:
|
| 610 |
+
lower = output.lower()
|
| 611 |
+
return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
|
| 612 |
+
|
| 613 |
+
|
| 614 |
+
def count_junit_failures(raw_xml: str) -> int:
|
| 615 |
+
try:
|
| 616 |
+
root = ET.fromstring(raw_xml)
|
| 617 |
+
except ET.ParseError:
|
| 618 |
+
return 0
|
| 619 |
+
failures = 0
|
| 620 |
+
for case in root.iter("testcase"):
|
| 621 |
+
for child in case:
|
| 622 |
+
if child.tag in {"failure", "error"}:
|
| 623 |
+
failures += 1
|
| 624 |
+
break
|
| 625 |
+
return failures
|
| 626 |
+
|
| 627 |
+
|
| 628 |
+
def count_junit_passed(raw_xml: str) -> int:
|
| 629 |
+
try:
|
| 630 |
+
root = ET.fromstring(raw_xml)
|
| 631 |
+
except ET.ParseError:
|
| 632 |
+
return 0
|
| 633 |
+
passed = 0
|
| 634 |
+
for case in root.iter("testcase"):
|
| 635 |
+
if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
|
| 636 |
+
passed += 1
|
| 637 |
+
return passed
|
| 638 |
+
|
| 639 |
+
|
| 640 |
+
def branch_attempt_metrics(
|
| 641 |
+
raw_xml: str, *, run_output: str, expected_tests: int
|
| 642 |
+
) -> tuple[int, int, int, int]:
|
| 643 |
+
"""Return (crashes, n_testcases, failures, missing_from_xml)."""
|
| 644 |
+
crashes = count_worker_crashes(raw_xml)
|
| 645 |
+
if run_output_indicates_xdist_collapse(run_output):
|
| 646 |
+
crashes = max(crashes, 1)
|
| 647 |
+
n_tests = count_testcases(raw_xml)
|
| 648 |
+
failures = count_junit_failures(raw_xml)
|
| 649 |
+
missing = max(0, expected_tests - n_tests)
|
| 650 |
+
return crashes, n_tests, failures, missing
|
| 651 |
+
|
| 652 |
+
|
| 653 |
+
def needs_serial_retry(
|
| 654 |
+
*,
|
| 655 |
+
serial: bool,
|
| 656 |
+
crashes: int,
|
| 657 |
+
missing: int,
|
| 658 |
+
failures: int,
|
| 659 |
+
n_tests: int,
|
| 660 |
+
expected_tests: int,
|
| 661 |
+
run_output: str,
|
| 662 |
+
) -> bool:
|
| 663 |
+
if serial:
|
| 664 |
+
return False
|
| 665 |
+
high_failure_rate = (
|
| 666 |
+
expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
|
| 667 |
+
)
|
| 668 |
+
return (
|
| 669 |
+
crashes > 0
|
| 670 |
+
or missing > 0
|
| 671 |
+
or high_failure_rate
|
| 672 |
+
or run_output_indicates_xdist_collapse(run_output)
|
| 673 |
+
)
|
| 674 |
+
|
| 675 |
+
|
| 676 |
+
def count_testcases(raw_xml: str) -> int:
|
| 677 |
+
try:
|
| 678 |
+
return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
|
| 679 |
+
except ET.ParseError:
|
| 680 |
+
return 0
|
| 681 |
+
|
| 682 |
+
|
| 683 |
+
def scored_results(
|
| 684 |
+
result: dict[str, Any], metadata: dict[str, Any]
|
| 685 |
+
) -> list[dict[str, Any]]:
|
| 686 |
+
active = active_tests(metadata)
|
| 687 |
+
by_key = {
|
| 688 |
+
f"{test['branch']}/{test['name']}": test
|
| 689 |
+
for test in result["test_results"]
|
| 690 |
+
if f"{test['branch']}/{test['name']}" in active
|
| 691 |
+
}
|
| 692 |
+
return [
|
| 693 |
+
by_key.get(
|
| 694 |
+
key,
|
| 695 |
+
{
|
| 696 |
+
"branch": key.split("/", 1)[0],
|
| 697 |
+
"name": key.split("/", 1)[1],
|
| 698 |
+
"status": "not_run",
|
| 699 |
+
"extra": {"error_code": "missing_from_results"},
|
| 700 |
+
},
|
| 701 |
+
)
|
| 702 |
+
for key in sorted(active)
|
| 703 |
+
]
|
| 704 |
+
|
| 705 |
+
|
| 706 |
+
def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
|
| 707 |
+
scored = scored_results(result, metadata)
|
| 708 |
+
n_passed = sum(t["status"] == "passed" for t in scored)
|
| 709 |
+
n_tests = len(scored)
|
| 710 |
+
pass_rate = n_passed / n_tests if n_tests else 0.0
|
| 711 |
+
# Multi-key reward: Harbor's default Mean aggregates each key independently
|
| 712 |
+
# (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
|
| 713 |
+
# the proportion of tasks scoring a perfect pass-rate and mean of
|
| 714 |
+
# "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
|
| 715 |
+
# per-task pass-rate whose mean is the overall mean reward.
|
| 716 |
+
return {
|
| 717 |
+
"reward": pass_rate,
|
| 718 |
+
"resolved": 1.0 if pass_rate >= 1.0 else 0.0,
|
| 719 |
+
"almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
|
| 720 |
+
}
|
| 721 |
+
|
| 722 |
+
|
| 723 |
+
def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
|
| 724 |
+
scored = scored_results(result, metadata)
|
| 725 |
+
n_passed = sum(t["status"] == "passed" for t in scored)
|
| 726 |
+
n_tests = len(scored)
|
| 727 |
+
pass_rate = n_passed / n_tests if n_tests else 0.0
|
| 728 |
+
return {
|
| 729 |
+
"pass_rate": pass_rate,
|
| 730 |
+
"resolved": int(
|
| 731 |
+
bool(
|
| 732 |
+
n_tests
|
| 733 |
+
and n_passed == n_tests
|
| 734 |
+
and not result["test_branch_errors"]
|
| 735 |
+
and not result["error_code"]
|
| 736 |
+
)
|
| 737 |
+
),
|
| 738 |
+
"n_passed": n_passed,
|
| 739 |
+
"n_tests": n_tests,
|
| 740 |
+
"n_branch_errors": len(result["test_branch_errors"]),
|
| 741 |
+
"infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
|
| 742 |
+
"executable_hash_present": int(bool(result.get("executable_hash"))),
|
| 743 |
+
}
|
| 744 |
+
|
| 745 |
+
|
| 746 |
+
def use_script_pty() -> bool:
|
| 747 |
+
return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
|
| 748 |
+
|
| 749 |
+
|
| 750 |
+
def script_pty_available() -> bool:
|
| 751 |
+
return shutil.which("script") is not None
|
| 752 |
+
|
| 753 |
+
|
| 754 |
+
def branch_env(
|
| 755 |
+
*,
|
| 756 |
+
serial: bool,
|
| 757 |
+
has_rerunfailures: bool,
|
| 758 |
+
extras: dict[str, str] | None = None,
|
| 759 |
+
) -> dict[str, str]:
|
| 760 |
+
addopts = ["--max-worker-restart=4"]
|
| 761 |
+
# A serial fallback is already a complete second execution. Re-running each
|
| 762 |
+
# failing test two more times makes large, failure-heavy suites prohibitively
|
| 763 |
+
# slow and adds little signal.
|
| 764 |
+
if has_rerunfailures and not serial:
|
| 765 |
+
addopts.extend(["--reruns=2", "--reruns-delay=1"])
|
| 766 |
+
env = {
|
| 767 |
+
"PYTEST_ADDOPTS": " ".join(addopts),
|
| 768 |
+
# Match upstream non-TTY regression environments (dirble log format, etc.).
|
| 769 |
+
"NO_COLOR": "1",
|
| 770 |
+
"TERM": "dumb",
|
| 771 |
+
"CLICOLOR": "0",
|
| 772 |
+
"CLICOLOR_FORCE": "0",
|
| 773 |
+
"COLORTERM": "",
|
| 774 |
+
}
|
| 775 |
+
if extras:
|
| 776 |
+
env.update(extras)
|
| 777 |
+
xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
|
| 778 |
+
if serial:
|
| 779 |
+
xdist_workers = "1"
|
| 780 |
+
if xdist_workers:
|
| 781 |
+
env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
|
| 782 |
+
return env
|
| 783 |
+
|
| 784 |
+
|
| 785 |
+
_SERIAL_RUN_SH = ".programgym_run_serial.sh"
|
| 786 |
+
# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
|
| 787 |
+
# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
|
| 788 |
+
_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
|
| 789 |
+
|
| 790 |
+
|
| 791 |
+
def prepare_serial_run_sh(run_sh: Path) -> Path:
|
| 792 |
+
"""Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
|
| 793 |
+
serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
|
| 794 |
+
patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
|
| 795 |
+
serial_sh.write_text(patched)
|
| 796 |
+
serial_sh.chmod(0o755)
|
| 797 |
+
return serial_sh
|
| 798 |
+
|
| 799 |
+
|
| 800 |
+
def run_tests_command(*, serial: bool) -> str:
|
| 801 |
+
if serial:
|
| 802 |
+
inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
|
| 803 |
+
else:
|
| 804 |
+
inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
|
| 805 |
+
if use_script_pty() and script_pty_available():
|
| 806 |
+
return f"script -q -c {shlex.quote(inner)} /dev/null"
|
| 807 |
+
return inner
|
| 808 |
+
|
| 809 |
+
|
| 810 |
+
BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
|
| 811 |
+
|
| 812 |
+
|
| 813 |
+
def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
|
| 814 |
+
"""Locate the per-instance blob directory.
|
| 815 |
+
|
| 816 |
+
Resolution order:
|
| 817 |
+
|
| 818 |
+
1. ``/tests/blobs/`` if pre-fetched into the task at generation time
|
| 819 |
+
(``programgym-adapter --download-blobs``). Verifier-only mount, so
|
| 820 |
+
agent never sees these.
|
| 821 |
+
2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
|
| 822 |
+
tree on disk (``<dir>/<instance_id>/tests/<branch>.tar.gz``). Useful
|
| 823 |
+
for offline reruns sharing a cache across many tasks.
|
| 824 |
+
3. ``huggingface_hub.snapshot_download`` from
|
| 825 |
+
``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
|
| 826 |
+
|
| 827 |
+
The returned directory contains ``tests/<branch>.tar.gz`` per active
|
| 828 |
+
branch — same shape as ``programgym/ProgramGym-Tests/<instance_id>/``
|
| 829 |
+
on HF.
|
| 830 |
+
"""
|
| 831 |
+
if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
|
| 832 |
+
return BAKED_BLOB_DIR
|
| 833 |
+
|
| 834 |
+
local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
|
| 835 |
+
if local:
|
| 836 |
+
candidate = Path(local) / instance_id
|
| 837 |
+
if candidate.exists():
|
| 838 |
+
return candidate
|
| 839 |
+
raise FileNotFoundError(
|
| 840 |
+
f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
|
| 841 |
+
)
|
| 842 |
+
|
| 843 |
+
repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
|
| 844 |
+
"hf_repo_id", DEFAULT_HF_REPO_ID
|
| 845 |
+
)
|
| 846 |
+
revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
|
| 847 |
+
"hf_revision", DEFAULT_HF_REVISION
|
| 848 |
+
)
|
| 849 |
+
|
| 850 |
+
from huggingface_hub import snapshot_download
|
| 851 |
+
|
| 852 |
+
cache_root = Path(
|
| 853 |
+
snapshot_download(
|
| 854 |
+
repo_id,
|
| 855 |
+
repo_type="dataset",
|
| 856 |
+
revision=revision,
|
| 857 |
+
allow_patterns=f"{instance_id}/**",
|
| 858 |
+
)
|
| 859 |
+
)
|
| 860 |
+
blob_dir = cache_root / instance_id
|
| 861 |
+
if not blob_dir.exists():
|
| 862 |
+
raise FileNotFoundError(
|
| 863 |
+
f"HF blob directory missing for {instance_id} at {blob_dir}"
|
| 864 |
+
)
|
| 865 |
+
return blob_dir
|
| 866 |
+
|
| 867 |
+
|
| 868 |
+
def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
|
| 869 |
+
bootstrap_toolchain_path()
|
| 870 |
+
branches = metadata.get("branches", {})
|
| 871 |
+
active_branch_items = [
|
| 872 |
+
(name, info) for name, info in branches.items() if not info.get("ignored")
|
| 873 |
+
]
|
| 874 |
+
result: dict[str, Any] = {
|
| 875 |
+
"test_results": [],
|
| 876 |
+
"error_code": None,
|
| 877 |
+
"error_details": None,
|
| 878 |
+
"log": [],
|
| 879 |
+
"solution_branch": "submission",
|
| 880 |
+
"test_branches": [name for name, _ in active_branch_items],
|
| 881 |
+
"test_branch_errors": {},
|
| 882 |
+
"executable_hash": None,
|
| 883 |
+
"warnings": [],
|
| 884 |
+
}
|
| 885 |
+
|
| 886 |
+
instance_id = metadata["instance_id"]
|
| 887 |
+
|
| 888 |
+
compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
|
| 889 |
+
branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
|
| 890 |
+
|
| 891 |
+
def fail_all(error_code: str, details: str) -> dict[str, Any]:
|
| 892 |
+
result["error_code"] = error_code
|
| 893 |
+
result["error_details"] = details
|
| 894 |
+
for branch, info in active_branch_items:
|
| 895 |
+
inject_not_run(result, branch, branch_tests(info), error_code)
|
| 896 |
+
return result
|
| 897 |
+
|
| 898 |
+
with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
|
| 899 |
+
compiled_snapshot = Path(tmp) / "compiled"
|
| 900 |
+
|
| 901 |
+
started = time.monotonic()
|
| 902 |
+
removed = remove_hashed_files(
|
| 903 |
+
WORKSPACE, set(metadata.get("eval_clean_hashes", []))
|
| 904 |
+
)
|
| 905 |
+
result["log"].append(
|
| 906 |
+
{
|
| 907 |
+
"step": "remove_hashed_files",
|
| 908 |
+
"command": "remove files matching eval_clean_hashes",
|
| 909 |
+
"wall_time": time.monotonic() - started,
|
| 910 |
+
"output": "".join(f"removed '{path}'\n" for path in removed),
|
| 911 |
+
"returncode": 0,
|
| 912 |
+
"exception_info": "",
|
| 913 |
+
}
|
| 914 |
+
)
|
| 915 |
+
|
| 916 |
+
compile_sh = WORKSPACE / "compile.sh"
|
| 917 |
+
if not compile_sh.exists():
|
| 918 |
+
return fail_all(
|
| 919 |
+
"missing_compile_sh", "submission did not contain compile.sh"
|
| 920 |
+
)
|
| 921 |
+
|
| 922 |
+
seed = (
|
| 923 |
+
"if [ ! -d .git ]; then "
|
| 924 |
+
"GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
|
| 925 |
+
"GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
|
| 926 |
+
"git -c init.defaultBranch=gold init -q && "
|
| 927 |
+
"git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
|
| 928 |
+
"GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
|
| 929 |
+
"GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
|
| 930 |
+
"git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
|
| 931 |
+
"fi"
|
| 932 |
+
)
|
| 933 |
+
try:
|
| 934 |
+
result["log"].append(
|
| 935 |
+
run_step(seed, WORKSPACE, timeout=300, step="seed_git")
|
| 936 |
+
)
|
| 937 |
+
compile_log = run_step(
|
| 938 |
+
"chmod +x ./compile.sh && ./compile.sh",
|
| 939 |
+
WORKSPACE,
|
| 940 |
+
timeout=compile_timeout,
|
| 941 |
+
step="compile",
|
| 942 |
+
accept_failure=True,
|
| 943 |
+
)
|
| 944 |
+
result["log"].append(compile_log)
|
| 945 |
+
if compile_log["returncode"]:
|
| 946 |
+
return fail_all("compile_failed", compile_log["output"])
|
| 947 |
+
executable = WORKSPACE / "executable"
|
| 948 |
+
if not executable.exists():
|
| 949 |
+
return fail_all(
|
| 950 |
+
"missing_executable",
|
| 951 |
+
"compile.sh completed but did not create ./executable",
|
| 952 |
+
)
|
| 953 |
+
STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
|
| 954 |
+
# `move` (not copy) so /workspace doesn't keep a parallel copy of
|
| 955 |
+
# the agent's executable during the stash→restore window. Mirrors
|
| 956 |
+
# upstream `mv ./executable {STASHED}` (eval.py:472).
|
| 957 |
+
shutil.move(str(executable), STASHED_EXECUTABLE)
|
| 958 |
+
result["executable_hash"] = sha256(STASHED_EXECUTABLE)
|
| 959 |
+
result["log"].append(
|
| 960 |
+
run_step(
|
| 961 |
+
"pip3 install -q --disable-pip-version-check pytest-rerunfailures",
|
| 962 |
+
WORKSPACE,
|
| 963 |
+
timeout=120,
|
| 964 |
+
step="install_rerunfailures",
|
| 965 |
+
accept_failure=True,
|
| 966 |
+
)
|
| 967 |
+
)
|
| 968 |
+
has_rerunfailures = result["log"][-1]["returncode"] == 0
|
| 969 |
+
handoff_removed = remove_oracle_handoff_artifacts()
|
| 970 |
+
if handoff_removed:
|
| 971 |
+
result["log"].append(
|
| 972 |
+
{
|
| 973 |
+
"step": "remove_oracle_handoff",
|
| 974 |
+
"command": "remove oracle handoff artifacts from workspace",
|
| 975 |
+
"wall_time": 0.0,
|
| 976 |
+
"output": "".join(
|
| 977 |
+
f"removed '{name}'\n" for name in handoff_removed
|
| 978 |
+
),
|
| 979 |
+
"returncode": 0,
|
| 980 |
+
"exception_info": "",
|
| 981 |
+
}
|
| 982 |
+
)
|
| 983 |
+
snapshot_workspace(compiled_snapshot)
|
| 984 |
+
except Exception as exc:
|
| 985 |
+
return fail_all(type(exc).__name__, str(exc))
|
| 986 |
+
|
| 987 |
+
try:
|
| 988 |
+
blob_dir = resolve_blob_dir(instance_id, metadata)
|
| 989 |
+
except Exception as exc:
|
| 990 |
+
details = f"{type(exc).__name__}: {exc}"
|
| 991 |
+
for branch, info in active_branch_items:
|
| 992 |
+
result["test_branch_errors"][branch] = [
|
| 993 |
+
{
|
| 994 |
+
"error_code": "blob_resolution_failed",
|
| 995 |
+
"error_details": details,
|
| 996 |
+
}
|
| 997 |
+
]
|
| 998 |
+
inject_not_run(
|
| 999 |
+
result, branch, branch_tests(info), "blob_resolution_failed"
|
| 1000 |
+
)
|
| 1001 |
+
return result
|
| 1002 |
+
|
| 1003 |
+
for branch, info in active_branch_items:
|
| 1004 |
+
tests = branch_tests(info)
|
| 1005 |
+
blob = blob_dir / "tests" / f"{branch}.tar.gz"
|
| 1006 |
+
if not blob.exists():
|
| 1007 |
+
result["test_branch_errors"][branch] = [
|
| 1008 |
+
{"error_code": "missing_test_blob", "error_details": blob.name}
|
| 1009 |
+
]
|
| 1010 |
+
inject_not_run(result, branch, tests, "missing_test_blob")
|
| 1011 |
+
continue
|
| 1012 |
+
|
| 1013 |
+
best_xml = ""
|
| 1014 |
+
# Prefer a complete, clean XML result, then the result covering the
|
| 1015 |
+
# most expected tests, and only then the one with the most passes.
|
| 1016 |
+
# Pass-count-only ranking can retain a partial xdist result over a
|
| 1017 |
+
# complete serial result.
|
| 1018 |
+
best_quality = (-1, -1, -1)
|
| 1019 |
+
serial = bool(metadata.get("force_serial_branches"))
|
| 1020 |
+
branch_log: list[dict[str, Any]] = []
|
| 1021 |
+
branch_ignored = {
|
| 1022 |
+
item["name"] for item in info.get("ignored_tests", []) if "name" in item
|
| 1023 |
+
}
|
| 1024 |
+
n_expected = len([name for name in tests if name not in branch_ignored])
|
| 1025 |
+
|
| 1026 |
+
def merge_best_xml(raw_xml: str) -> None:
|
| 1027 |
+
try:
|
| 1028 |
+
parsed, warnings = parse_junit(
|
| 1029 |
+
raw_xml, branch, list(info.get("tests", [])), branch_ignored
|
| 1030 |
+
)
|
| 1031 |
+
except Exception as exc:
|
| 1032 |
+
result["test_branch_errors"][branch] = [
|
| 1033 |
+
{"error_code": "xml_parse_error", "error_details": str(exc)}
|
| 1034 |
+
]
|
| 1035 |
+
inject_not_run(result, branch, tests, "xml_parse_error")
|
| 1036 |
+
else:
|
| 1037 |
+
result["test_results"].extend(parsed)
|
| 1038 |
+
result["warnings"].extend(warnings)
|
| 1039 |
+
|
| 1040 |
+
while True:
|
| 1041 |
+
branch_log.append(cleanup_lingering_processes())
|
| 1042 |
+
restore_workspace(compiled_snapshot)
|
| 1043 |
+
extract_trusted_blob(blob, WORKSPACE)
|
| 1044 |
+
restore_reference_executable()
|
| 1045 |
+
actual_hash = sha256(WORKSPACE / "executable")
|
| 1046 |
+
if actual_hash != result["executable_hash"]:
|
| 1047 |
+
result["test_branch_errors"][branch] = [
|
| 1048 |
+
{
|
| 1049 |
+
"error_code": "executable_hash_mismatch",
|
| 1050 |
+
"error_details": (
|
| 1051 |
+
f"expected {result['executable_hash']}, got {actual_hash}"
|
| 1052 |
+
),
|
| 1053 |
+
}
|
| 1054 |
+
]
|
| 1055 |
+
inject_not_run(result, branch, tests, "executable_hash_mismatch")
|
| 1056 |
+
break
|
| 1057 |
+
run_sh = WORKSPACE / "eval" / "run.sh"
|
| 1058 |
+
if not run_sh.exists():
|
| 1059 |
+
result["test_branch_errors"][branch] = [
|
| 1060 |
+
{
|
| 1061 |
+
"error_code": "missing_run_sh",
|
| 1062 |
+
"error_details": "eval/run.sh missing",
|
| 1063 |
+
}
|
| 1064 |
+
]
|
| 1065 |
+
inject_not_run(result, branch, tests, "missing_run_sh")
|
| 1066 |
+
break
|
| 1067 |
+
# Upstream rewrites thread→signal so xdist workers fail cleanly
|
| 1068 |
+
# instead of os._exit(1) on timeout. That works in fresh
|
| 1069 |
+
# containers per branch; here we reuse one container and
|
| 1070 |
+
# signal timeouts leave TUI/log-watcher subprocesses alive
|
| 1071 |
+
# (e.g. lazygit --logs + tail -f), wedging pytest for up to
|
| 1072 |
+
# branch_timeout. Keep the blob's thread method and rely on
|
| 1073 |
+
# cleanup_lingering_processes + serial fallback after crashes.
|
| 1074 |
+
env = branch_env(
|
| 1075 |
+
serial=serial,
|
| 1076 |
+
has_rerunfailures=has_rerunfailures,
|
| 1077 |
+
extras=metadata.get("branch_env"),
|
| 1078 |
+
)
|
| 1079 |
+
branch_log.append(
|
| 1080 |
+
run_step(
|
| 1081 |
+
"rm -f eval/results.xml results.xml",
|
| 1082 |
+
WORKSPACE,
|
| 1083 |
+
timeout=120,
|
| 1084 |
+
step="clean_stale_results",
|
| 1085 |
+
accept_failure=True,
|
| 1086 |
+
)
|
| 1087 |
+
)
|
| 1088 |
+
if serial:
|
| 1089 |
+
prepare_serial_run_sh(run_sh)
|
| 1090 |
+
run_entry = run_step(
|
| 1091 |
+
run_tests_command(serial=serial),
|
| 1092 |
+
WORKSPACE,
|
| 1093 |
+
timeout=branch_timeout,
|
| 1094 |
+
env=env,
|
| 1095 |
+
step="run_tests",
|
| 1096 |
+
accept_failure=True,
|
| 1097 |
+
)
|
| 1098 |
+
branch_log.append(run_entry)
|
| 1099 |
+
branch_log.append(cleanup_lingering_processes())
|
| 1100 |
+
xml_path = find_results_xml()
|
| 1101 |
+
if xml_path is None:
|
| 1102 |
+
if best_xml:
|
| 1103 |
+
merge_best_xml(best_xml)
|
| 1104 |
+
break
|
| 1105 |
+
if serial:
|
| 1106 |
+
result["test_branch_errors"][branch] = [
|
| 1107 |
+
{
|
| 1108 |
+
"error_code": "missing_results_xml",
|
| 1109 |
+
"error_details": "eval/results.xml was not produced",
|
| 1110 |
+
}
|
| 1111 |
+
]
|
| 1112 |
+
inject_not_run(result, branch, tests, "missing_results_xml")
|
| 1113 |
+
break
|
| 1114 |
+
serial = True
|
| 1115 |
+
continue
|
| 1116 |
+
raw_xml = xml_path.read_text(errors="replace")
|
| 1117 |
+
crashes, n_tests, failures, missing = branch_attempt_metrics(
|
| 1118 |
+
raw_xml,
|
| 1119 |
+
run_output=run_entry.get("output", ""),
|
| 1120 |
+
expected_tests=n_expected,
|
| 1121 |
+
)
|
| 1122 |
+
useful = count_junit_passed(raw_xml)
|
| 1123 |
+
quality = (
|
| 1124 |
+
int(crashes == 0 and missing == 0),
|
| 1125 |
+
n_tests,
|
| 1126 |
+
useful,
|
| 1127 |
+
)
|
| 1128 |
+
if quality > best_quality:
|
| 1129 |
+
best_xml = raw_xml
|
| 1130 |
+
best_quality = quality
|
| 1131 |
+
retry = needs_serial_retry(
|
| 1132 |
+
serial=serial,
|
| 1133 |
+
crashes=crashes,
|
| 1134 |
+
missing=missing,
|
| 1135 |
+
failures=failures,
|
| 1136 |
+
n_tests=n_tests,
|
| 1137 |
+
expected_tests=n_expected,
|
| 1138 |
+
run_output=run_entry.get("output", ""),
|
| 1139 |
+
)
|
| 1140 |
+
if not retry:
|
| 1141 |
+
merge_best_xml(best_xml)
|
| 1142 |
+
break
|
| 1143 |
+
serial = True
|
| 1144 |
+
for entry in branch_log:
|
| 1145 |
+
entry["branch"] = branch
|
| 1146 |
+
result["log"].extend(branch_log)
|
| 1147 |
+
|
| 1148 |
+
return result
|
| 1149 |
+
|
| 1150 |
+
|
| 1151 |
+
def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
|
| 1152 |
+
LOG_DIR.mkdir(parents=True, exist_ok=True)
|
| 1153 |
+
write_json(LOG_DIR / "programgym_eval.json", result)
|
| 1154 |
+
write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
|
| 1155 |
+
rewards = summarize(result, metadata)
|
| 1156 |
+
write_json(LOG_DIR / "reward.json", rewards)
|
| 1157 |
+
(LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
|
| 1158 |
+
|
| 1159 |
+
|
| 1160 |
+
def main() -> None:
|
| 1161 |
+
LOG_DIR.mkdir(parents=True, exist_ok=True)
|
| 1162 |
+
log_path = LOG_DIR / "programgym_eval.log"
|
| 1163 |
+
metadata = json.loads(METADATA_PATH.read_text())
|
| 1164 |
+
branches = metadata.get("branches", {})
|
| 1165 |
+
try:
|
| 1166 |
+
result = evaluate(metadata)
|
| 1167 |
+
except Exception as exc:
|
| 1168 |
+
error_code = type(exc).__name__
|
| 1169 |
+
result = {
|
| 1170 |
+
"test_results": [],
|
| 1171 |
+
"error_code": error_code,
|
| 1172 |
+
"error_details": str(exc),
|
| 1173 |
+
"log": [
|
| 1174 |
+
{
|
| 1175 |
+
"step": "evaluator_exception",
|
| 1176 |
+
"exception_info": traceback.format_exc(),
|
| 1177 |
+
"returncode": 1,
|
| 1178 |
+
}
|
| 1179 |
+
],
|
| 1180 |
+
"solution_branch": "submission",
|
| 1181 |
+
"test_branches": [
|
| 1182 |
+
name for name, info in branches.items() if not info.get("ignored")
|
| 1183 |
+
],
|
| 1184 |
+
"test_branch_errors": {
|
| 1185 |
+
"__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
|
| 1186 |
+
},
|
| 1187 |
+
"executable_hash": None,
|
| 1188 |
+
"warnings": [],
|
| 1189 |
+
}
|
| 1190 |
+
for branch, info in branches.items():
|
| 1191 |
+
if info.get("ignored"):
|
| 1192 |
+
continue
|
| 1193 |
+
inject_not_run(result, branch, branch_tests(info), error_code)
|
| 1194 |
+
log_path.write_text(traceback.format_exc())
|
| 1195 |
+
else:
|
| 1196 |
+
log_path.write_text("")
|
| 1197 |
+
write_outputs(result, metadata)
|
| 1198 |
+
|
| 1199 |
+
|
| 1200 |
+
if __name__ == "__main__":
|
| 1201 |
+
main()
|
yinghuocho--firefly-proxy.69c2bd0/tests/programgym_task.json
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"branches": {
|
| 3 |
+
"generated_module_01": {
|
| 4 |
+
"ignore_reason": "",
|
| 5 |
+
"ignored": false,
|
| 6 |
+
"ignored_tests": [
|
| 7 |
+
{
|
| 8 |
+
"name": "eval.tests.test_lifecycle.test_sigterm_clean_shutdown",
|
| 9 |
+
"reasons": [
|
| 10 |
+
{
|
| 11 |
+
"detail": "assert -15 == 0 + where -15 = proc_returncode() + where proc_returncode = <_helpers.Server object at 0x7f440137fc20>.proc_returncode",
|
| 12 |
+
"id": "gold_fail",
|
| 13 |
+
"message": "test failed against the reference executable",
|
| 14 |
+
"repair_hint": "Fix the expected observable behavior so the test passes against the reference executable.",
|
| 15 |
+
"severity": "error",
|
| 16 |
+
"stage": "gold_execution"
|
| 17 |
+
}
|
| 18 |
+
]
|
| 19 |
+
},
|
| 20 |
+
{
|
| 21 |
+
"name": "eval.tests.test_tunnel_mux_datapane.test_mux_invalid_socks_request_after_stream_exercises_parse_error",
|
| 22 |
+
"reasons": [
|
| 23 |
+
{
|
| 24 |
+
"id": "assertion_disjunction",
|
| 25 |
+
"message": "pytest assertion accepts alternatives with or",
|
| 26 |
+
"path": "eval/tests/test_tunnel_mux_datapane.py",
|
| 27 |
+
"repair_hint": "Assert one exact expected outcome instead of accepting alternative outcomes with or.",
|
| 28 |
+
"severity": "error",
|
| 29 |
+
"stage": "static_lint"
|
| 30 |
+
}
|
| 31 |
+
]
|
| 32 |
+
}
|
| 33 |
+
],
|
| 34 |
+
"tests": [
|
| 35 |
+
"eval.tests.test_args_help.test_double_dash_then_positional_starts_server",
|
| 36 |
+
"eval.tests.test_args_help.test_flag_needs_argument_exits_flag2[-cert-file]",
|
| 37 |
+
"eval.tests.test_args_help.test_flag_needs_argument_exits_flag2[-http-addr]",
|
| 38 |
+
"eval.tests.test_args_help.test_flag_needs_argument_exits_flag2[-https-addr]",
|
| 39 |
+
"eval.tests.test_args_help.test_flag_needs_argument_exits_flag2[-key-file]",
|
| 40 |
+
"eval.tests.test_args_help.test_flag_needs_argument_exits_flag2[-local-socks-addr]",
|
| 41 |
+
"eval.tests.test_args_help.test_flag_needs_argument_exits_flag2[-logfile]",
|
| 42 |
+
"eval.tests.test_args_help.test_flag_needs_argument_exits_flag2[-pidfile]",
|
| 43 |
+
"eval.tests.test_args_help.test_help_flag_does_not_start_server",
|
| 44 |
+
"eval.tests.test_args_help.test_help_flag_lists_all_flags[--h]",
|
| 45 |
+
"eval.tests.test_args_help.test_help_flag_lists_all_flags[--help]",
|
| 46 |
+
"eval.tests.test_args_help.test_help_flag_lists_all_flags[-h]",
|
| 47 |
+
"eval.tests.test_args_help.test_help_flag_shows_defaults[--h]",
|
| 48 |
+
"eval.tests.test_args_help.test_help_flag_shows_defaults[--help]",
|
| 49 |
+
"eval.tests.test_args_help.test_help_flag_shows_defaults[-h]",
|
| 50 |
+
"eval.tests.test_args_help.test_unknown_flag_does_not_start_server",
|
| 51 |
+
"eval.tests.test_args_help.test_unknown_flag_exits_flag2",
|
| 52 |
+
"eval.tests.test_errors.test_http_port_in_use_fatal",
|
| 53 |
+
"eval.tests.test_errors.test_https_listen_address_in_use_fatal",
|
| 54 |
+
"eval.tests.test_errors.test_https_malformed_cert_file_fatal",
|
| 55 |
+
"eval.tests.test_errors.test_https_malformed_listen_addr_fatal",
|
| 56 |
+
"eval.tests.test_errors.test_https_missing_cert_file_fatal",
|
| 57 |
+
"eval.tests.test_errors.test_https_missing_key_file_fatal",
|
| 58 |
+
"eval.tests.test_errors.test_invalid_http_addr_fatal",
|
| 59 |
+
"eval.tests.test_errors.test_invalid_socks_addr_fatal",
|
| 60 |
+
"eval.tests.test_errors.test_invalid_socks_addr_missing_port_fatal",
|
| 61 |
+
"eval.tests.test_errors.test_socks_port_in_use_fatal",
|
| 62 |
+
"eval.tests.test_http_tunnel.test_tunnel_get_content_length_matches_body",
|
| 63 |
+
"eval.tests.test_http_tunnel.test_tunnel_get_is_path_independent[/]",
|
| 64 |
+
"eval.tests.test_http_tunnel.test_tunnel_get_is_path_independent[/poll]",
|
| 65 |
+
"eval.tests.test_http_tunnel.test_tunnel_get_is_path_independent[/tunnel]",
|
| 66 |
+
"eval.tests.test_http_tunnel.test_tunnel_get_returns_fixed_poll_body",
|
| 67 |
+
"eval.tests.test_http_tunnel.test_tunnel_post_unknown_session_is_rejected",
|
| 68 |
+
"eval.tests.test_http_tunnel.test_tunnel_post_without_session_is_rejected",
|
| 69 |
+
"eval.tests.test_http_tunnel.test_tunnel_tls_get_returns_fixed_poll_body",
|
| 70 |
+
"eval.tests.test_http_tunnel.test_tunnel_unsupported_method_is_rejected[DELETE]",
|
| 71 |
+
"eval.tests.test_http_tunnel.test_tunnel_unsupported_method_is_rejected[PATCH]",
|
| 72 |
+
"eval.tests.test_http_tunnel.test_tunnel_unsupported_method_is_rejected[PUT]",
|
| 73 |
+
"eval.tests.test_https.test_cert_without_https_addr_runs_no_https",
|
| 74 |
+
"eval.tests.test_https.test_https_addr_without_cert_runs_without_https",
|
| 75 |
+
"eval.tests.test_https.test_https_all_flags_starts_https_listener",
|
| 76 |
+
"eval.tests.test_https.test_https_tls_handshake_succeeds",
|
| 77 |
+
"eval.tests.test_lifecycle.test_logfile_and_stdout_separation",
|
| 78 |
+
"eval.tests.test_lifecycle.test_logfile_receives_listener_logs",
|
| 79 |
+
"eval.tests.test_lifecycle.test_logfile_unwritable_warns_but_serves",
|
| 80 |
+
"eval.tests.test_lifecycle.test_pidfile_matches_running_pid",
|
| 81 |
+
"eval.tests.test_lifecycle.test_pidfile_missing_parent_dir_logs_error_but_serves",
|
| 82 |
+
"eval.tests.test_lifecycle.test_reports_both_listeners",
|
| 83 |
+
"eval.tests.test_lifecycle.test_sighup_keeps_server_alive",
|
| 84 |
+
"eval.tests.test_lifecycle.test_sigint_clean_shutdown",
|
| 85 |
+
"eval.tests.test_lifecycle.test_sigint_terminates_process",
|
| 86 |
+
"eval.tests.test_lifecycle.test_sigterm_clean_shutdown",
|
| 87 |
+
"eval.tests.test_lifecycle.test_uses_default_http_addr_when_unspecified",
|
| 88 |
+
"eval.tests.test_lifecycle.test_uses_default_socks_addr_when_unspecified",
|
| 89 |
+
"eval.tests.test_signal_depth.test_double_sighup_then_sigint_clean_shutdown",
|
| 90 |
+
"eval.tests.test_signal_depth.test_sighup_rotates_logfile_and_reopens",
|
| 91 |
+
"eval.tests.test_signal_depth.test_sighup_then_sigterm_clean_shutdown",
|
| 92 |
+
"eval.tests.test_signal_depth.test_sigterm_with_https_listener_up_clean_shutdown",
|
| 93 |
+
"eval.tests.test_socks.test_socks_can_accept_http_tunnel_connection",
|
| 94 |
+
"eval.tests.test_socks.test_socks_listener_accepts_tcp",
|
| 95 |
+
"eval.tests.test_socks.test_socks_listens_on_custom_port",
|
| 96 |
+
"eval.tests.test_socks_protocol.test_socks5_connect_closed_port_reports_general_failure",
|
| 97 |
+
"eval.tests.test_socks_protocol.test_socks5_connect_domain_success_reply",
|
| 98 |
+
"eval.tests.test_socks_protocol.test_socks5_connect_ipv4_success_reply",
|
| 99 |
+
"eval.tests.test_socks_protocol.test_socks5_connect_relays_data_to_target",
|
| 100 |
+
"eval.tests.test_socks_protocol.test_socks5_connect_unresolvable_host_reports_failure",
|
| 101 |
+
"eval.tests.test_socks_protocol.test_socks5_greet_is_method_agnostic",
|
| 102 |
+
"eval.tests.test_socks_protocol.test_socks5_greet_selects_no_auth_mode",
|
| 103 |
+
"eval.tests.test_socks_protocol.test_socks5_greet_selects_no_auth_when_userpass_also_offered",
|
| 104 |
+
"eval.tests.test_socks_protocol.test_socks5_udp_associate_returns_bound_address",
|
| 105 |
+
"eval.tests.test_socks_protocol.test_socks_conn_partial_request_logs_unexpected_eof",
|
| 106 |
+
"eval.tests.test_tunnel_mux_datapane.test_mux_close_session_ends_accept_loop",
|
| 107 |
+
"eval.tests.test_tunnel_mux_datapane.test_mux_close_session_without_stream_ends_accept_loop",
|
| 108 |
+
"eval.tests.test_tunnel_mux_datapane.test_mux_invalid_socks_request_after_stream_exercises_parse_error",
|
| 109 |
+
"eval.tests.test_tunnel_mux_datapane.test_mux_multiple_streams_each_reach_tunnel_server[2]",
|
| 110 |
+
"eval.tests.test_tunnel_mux_datapane.test_mux_multiple_streams_each_reach_tunnel_server[3]",
|
| 111 |
+
"eval.tests.test_tunnel_mux_datapane.test_mux_session_reuses_id_returns_existing",
|
| 112 |
+
"eval.tests.test_tunnel_mux_datapane.test_mux_stream_connect_to_live_target_relays_target_dial",
|
| 113 |
+
"eval.tests.test_tunnel_mux_datapane.test_mux_stream_open_reaches_tunnel_server[1]",
|
| 114 |
+
"eval.tests.test_tunnel_mux_datapane.test_mux_stream_open_reaches_tunnel_server[2]",
|
| 115 |
+
"eval.tests.test_tunnel_mux_datapane.test_mux_stream_open_reaches_tunnel_server[7]",
|
| 116 |
+
"eval.tests.test_tunnel_mux_datapane.test_mux_stream_without_socks_request_logs_read_failure_on_close",
|
| 117 |
+
"eval.tests.test_tunnel_mux_datapane.test_mux_two_independent_sessions_both_reach_tunnel_server",
|
| 118 |
+
"eval.tests.test_tunnel_mux_datapane.test_poll_syn_creates_session_and_ack",
|
| 119 |
+
"eval.tests.test_tunnel_mux_datapane.test_poll_syn_short_id_is_rejected",
|
| 120 |
+
"eval.tests.test_tunnel_mux_datapane.test_poll_syn_spawns_serve_with_mux",
|
| 121 |
+
"eval.tests.test_tunnel_mux_datapane.test_tunnel_https_mux_session_reaches_tunnel_server"
|
| 122 |
+
]
|
| 123 |
+
}
|
| 124 |
+
},
|
| 125 |
+
"commit": "69c2bd0414cf1a17fc55d01836cbc021fe291f14",
|
| 126 |
+
"data_source": "synthetic_programgym",
|
| 127 |
+
"difficulty": "easy",
|
| 128 |
+
"difficulty_score": 1.8702282790117946,
|
| 129 |
+
"eval_clean_hashes": [
|
| 130 |
+
"2f2cbcba1fdd0bd7d593af5f45b095fe0636bdc963aaf46751c9a7841eb4676e"
|
| 131 |
+
],
|
| 132 |
+
"input_record": {
|
| 133 |
+
"commit": "69c2bd0414cf1a17fc55d01836cbc021fe291f14",
|
| 134 |
+
"commits": 39,
|
| 135 |
+
"contributors": 1,
|
| 136 |
+
"difficulty": "easy",
|
| 137 |
+
"difficulty_code_lines": 7417,
|
| 138 |
+
"difficulty_has_tests": false,
|
| 139 |
+
"difficulty_product_code_lines": 7417,
|
| 140 |
+
"difficulty_runtime_deps": 0,
|
| 141 |
+
"difficulty_score": 1.8702282790117946,
|
| 142 |
+
"difficulty_test_code_lines": 0,
|
| 143 |
+
"full_name": "yinghuocho/firefly-proxy",
|
| 144 |
+
"github_stars": 4811,
|
| 145 |
+
"input_joern_zip": "go_joern/yinghuocho__firefly-proxy.zip",
|
| 146 |
+
"joern_status": true,
|
| 147 |
+
"joern_time": 4.912479460937902,
|
| 148 |
+
"language": "go",
|
| 149 |
+
"pb_match": [
|
| 150 |
+
{
|
| 151 |
+
"pb_fullname": "rs/curlie",
|
| 152 |
+
"rank": 895,
|
| 153 |
+
"similarity": 0.4788804054260254
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"pb_fullname": "guumaster/hostctl",
|
| 157 |
+
"rank": 464,
|
| 158 |
+
"similarity": 0.4676007032394409
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"pb_fullname": "sheepla/pingu",
|
| 162 |
+
"rank": 670,
|
| 163 |
+
"similarity": 0.4861457049846649
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"pb_fullname": "raviqqe/muffet",
|
| 167 |
+
"rank": 415,
|
| 168 |
+
"similarity": 0.49322134256362915
|
| 169 |
+
}
|
| 170 |
+
],
|
| 171 |
+
"repo_age": 11.75,
|
| 172 |
+
"repo_path": "go/yinghuocho__firefly-proxy",
|
| 173 |
+
"source": "commit:69c2bd0414cf1a17fc55d01836cbc021fe291f14",
|
| 174 |
+
"status": "done",
|
| 175 |
+
"url": "https://github.com/yinghuocho/firefly-proxy"
|
| 176 |
+
},
|
| 177 |
+
"instance_id": "yinghuocho__firefly-proxy.69c2bd0",
|
| 178 |
+
"language": "go",
|
| 179 |
+
"module_iterations": [
|
| 180 |
+
{
|
| 181 |
+
"actual_iterations": 5,
|
| 182 |
+
"branch_name": "generated_module_01",
|
| 183 |
+
"iteration_limit": 5,
|
| 184 |
+
"module_index": 1,
|
| 185 |
+
"module_kind": "source",
|
| 186 |
+
"termination_reason": "max_iterations"
|
| 187 |
+
}
|
| 188 |
+
],
|
| 189 |
+
"repository": "yinghuocho/firefly-proxy"
|
| 190 |
+
}
|
yinghuocho--firefly-proxy.69c2bd0/tests/test.sh
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
|
| 4 |
+
# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
|
| 5 |
+
export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
|
| 6 |
+
|
| 7 |
+
mkdir -p /logs/verifier /logs/artifacts
|
| 8 |
+
|
| 9 |
+
write_failure() {
|
| 10 |
+
local code="$1"
|
| 11 |
+
local details="$2"
|
| 12 |
+
python3 - "$code" "$details" <<'PY'
|
| 13 |
+
import json
|
| 14 |
+
import sys
|
| 15 |
+
from pathlib import Path
|
| 16 |
+
|
| 17 |
+
code, details = sys.argv[1:3]
|
| 18 |
+
try:
|
| 19 |
+
metadata = json.loads(Path("/tests/programgym_task.json").read_text())
|
| 20 |
+
n_tests = sum(
|
| 21 |
+
len([
|
| 22 |
+
name for name in info.get("tests", [])
|
| 23 |
+
if name not in {item.get("name") for item in info.get("ignored_tests", [])}
|
| 24 |
+
])
|
| 25 |
+
for branch, info in metadata.get("branches", {}).items()
|
| 26 |
+
if not info.get("ignored")
|
| 27 |
+
)
|
| 28 |
+
except Exception:
|
| 29 |
+
n_tests = 0
|
| 30 |
+
result = {
|
| 31 |
+
"test_results": [],
|
| 32 |
+
"error_code": code,
|
| 33 |
+
"error_details": details,
|
| 34 |
+
"log": [],
|
| 35 |
+
"solution_branch": "submission",
|
| 36 |
+
"test_branches": [],
|
| 37 |
+
"test_branch_errors": {
|
| 38 |
+
"__infra__": [{"error_code": code, "error_details": details}]
|
| 39 |
+
},
|
| 40 |
+
"executable_hash": None,
|
| 41 |
+
"warnings": [],
|
| 42 |
+
}
|
| 43 |
+
diagnostics = {
|
| 44 |
+
"pass_rate": 0.0,
|
| 45 |
+
"resolved": 0,
|
| 46 |
+
"n_passed": 0,
|
| 47 |
+
"n_tests": n_tests,
|
| 48 |
+
"n_branch_errors": 1,
|
| 49 |
+
"infra_error": 1,
|
| 50 |
+
"executable_hash_present": 0,
|
| 51 |
+
}
|
| 52 |
+
Path("/logs/verifier/programgym_eval.json").write_text(
|
| 53 |
+
json.dumps(result, indent=2, sort_keys=True)
|
| 54 |
+
)
|
| 55 |
+
Path("/logs/verifier/harbor_diagnostics.json").write_text(
|
| 56 |
+
json.dumps(diagnostics, indent=2, sort_keys=True)
|
| 57 |
+
)
|
| 58 |
+
Path("/logs/verifier/reward.json").write_text(
|
| 59 |
+
json.dumps(
|
| 60 |
+
{"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
|
| 61 |
+
indent=2,
|
| 62 |
+
sort_keys=True,
|
| 63 |
+
)
|
| 64 |
+
)
|
| 65 |
+
Path("/logs/verifier/reward.txt").write_text("0.0")
|
| 66 |
+
Path("/logs/verifier/programgym_eval.log").write_text(details)
|
| 67 |
+
PY
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
if ! command -v python3 >/dev/null 2>&1; then
|
| 71 |
+
write_failure "missing_python3" "python3 is required in the cleanroom image"
|
| 72 |
+
exit 0
|
| 73 |
+
fi
|
| 74 |
+
|
| 75 |
+
if ! python3 /tests/programgym_evaluator.py; then
|
| 76 |
+
if [ ! -s /logs/verifier/reward.txt ]; then
|
| 77 |
+
write_failure "evaluator_crashed" \
|
| 78 |
+
"programgym_evaluator.py exited non-zero with no reward written"
|
| 79 |
+
fi
|
| 80 |
+
fi
|
| 81 |
+
|
| 82 |
+
exit 0
|
yinghuocho--firefly-proxy.69c2bd0/tests/workspace.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:56392d48bb273bca959647853975b6d54fc49dc9abf7feb777fe531052956cc7
|
| 3 |
+
size 967
|
yinheli--sshw.748eaa6/environment/Dockerfile
CHANGED
|
@@ -56,3 +56,4 @@ RUN mkdir -p /home/agent \
|
|
| 56 |
&& chmod 111 /workspace/executable
|
| 57 |
ENV HOME=/home/agent
|
| 58 |
WORKDIR /workspace
|
|
|
|
|
|
| 56 |
&& chmod 111 /workspace/executable
|
| 57 |
ENV HOME=/home/agent
|
| 58 |
WORKDIR /workspace
|
| 59 |
+
RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
|
yinheli--sshw.748eaa6/tests/Dockerfile
CHANGED
|
@@ -64,3 +64,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
|
|
| 64 |
COPY programgym_task.json /tests/programgym_task.json
|
| 65 |
COPY blobs/ /tests/blobs/
|
| 66 |
RUN chmod +x /tests/test.sh
|
|
|
|
|
|
| 64 |
COPY programgym_task.json /tests/programgym_task.json
|
| 65 |
COPY blobs/ /tests/blobs/
|
| 66 |
RUN chmod +x /tests/test.sh
|
| 67 |
+
RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
|
yinnx--cmd-wrapped.c150a84/environment/Dockerfile
CHANGED
|
@@ -68,3 +68,4 @@ RUN mkdir -p /home/agent \
|
|
| 68 |
&& chmod 111 /workspace/executable
|
| 69 |
ENV HOME=/home/agent
|
| 70 |
WORKDIR /workspace
|
|
|
|
|
|
| 68 |
&& chmod 111 /workspace/executable
|
| 69 |
ENV HOME=/home/agent
|
| 70 |
WORKDIR /workspace
|
| 71 |
+
RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
|
yinnx--cmd-wrapped.c150a84/tests/Dockerfile
CHANGED
|
@@ -77,3 +77,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
|
|
| 77 |
COPY programgym_task.json /tests/programgym_task.json
|
| 78 |
COPY blobs/ /tests/blobs/
|
| 79 |
RUN chmod +x /tests/test.sh
|
|
|
|
|
|
| 77 |
COPY programgym_task.json /tests/programgym_task.json
|
| 78 |
COPY blobs/ /tests/blobs/
|
| 79 |
RUN chmod +x /tests/test.sh
|
| 80 |
+
RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
|
yisar--ijc.da9cf8c/environment/Dockerfile
CHANGED
|
@@ -57,3 +57,4 @@ RUN mkdir -p /home/agent \
|
|
| 57 |
&& chmod 111 /workspace/executable
|
| 58 |
ENV HOME=/home/agent
|
| 59 |
WORKDIR /workspace
|
|
|
|
|
|
| 57 |
&& chmod 111 /workspace/executable
|
| 58 |
ENV HOME=/home/agent
|
| 59 |
WORKDIR /workspace
|
| 60 |
+
RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
|
yisar--ijc.da9cf8c/tests/Dockerfile
CHANGED
|
@@ -66,3 +66,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
|
|
| 66 |
COPY programgym_task.json /tests/programgym_task.json
|
| 67 |
COPY blobs/ /tests/blobs/
|
| 68 |
RUN chmod +x /tests/test.sh
|
|
|
|
|
|
| 66 |
COPY programgym_task.json /tests/programgym_task.json
|
| 67 |
COPY blobs/ /tests/blobs/
|
| 68 |
RUN chmod +x /tests/test.sh
|
| 69 |
+
RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
|
yixuan--lbfgspp.1695839/environment/Dockerfile
CHANGED
|
@@ -53,3 +53,4 @@ RUN mkdir -p /home/agent \
|
|
| 53 |
&& chmod 111 /workspace/executable
|
| 54 |
ENV HOME=/home/agent
|
| 55 |
WORKDIR /workspace
|
|
|
|
|
|
| 53 |
&& chmod 111 /workspace/executable
|
| 54 |
ENV HOME=/home/agent
|
| 55 |
WORKDIR /workspace
|
| 56 |
+
RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
|
yixuan--lbfgspp.1695839/tests/Dockerfile
CHANGED
|
@@ -61,3 +61,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
|
|
| 61 |
COPY programgym_task.json /tests/programgym_task.json
|
| 62 |
COPY blobs/ /tests/blobs/
|
| 63 |
RUN chmod +x /tests/test.sh
|
|
|
|
|
|
| 61 |
COPY programgym_task.json /tests/programgym_task.json
|
| 62 |
COPY blobs/ /tests/blobs/
|
| 63 |
RUN chmod +x /tests/test.sh
|
| 64 |
+
RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
|
yobix-ai--extractous.818d94c/environment/Dockerfile
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM rust:1.97.1-bookworm
|
| 2 |
+
ARG PROGRAMGYM_APT_REPOSITORY_BASE_URL=""
|
| 3 |
+
ARG PROGRAMGYM_GOPROXY="https://proxy.golang.org,direct"
|
| 4 |
+
ARG PROGRAMGYM_GOSUMDB="sum.golang.org"
|
| 5 |
+
ARG PROGRAMGYM_NPM_REGISTRY="https://registry.npmjs.org/"
|
| 6 |
+
ARG PROGRAMGYM_NPM_STRICT_SSL="true"
|
| 7 |
+
ARG PROGRAMGYM_PYPI_INDEX_URL="https://pypi.org/simple"
|
| 8 |
+
ARG PROGRAMGYM_PYPI_TRUSTED_HOST=""
|
| 9 |
+
ARG PROGRAMGYM_UV_INSECURE_HOST=""
|
| 10 |
+
ARG PROGRAMGYM_RUSTUP_DIST_SERVER="https://static.rust-lang.org"
|
| 11 |
+
ARG PROGRAMGYM_RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
|
| 12 |
+
ARG PROGRAMGYM_CARGO_INDEX="sparse+https://index.crates.io/"
|
| 13 |
+
ARG PROGRAMGYM_CARGO_NET_RETRY="10"
|
| 14 |
+
ARG PROGRAMGYM_CARGO_HTTP_TIMEOUT="600"
|
| 15 |
+
ARG PROGRAMGYM_CARGO_HTTP_MULTIPLEXING="false"
|
| 16 |
+
ARG PROGRAMGYM_MAVEN_MIRROR_URL=""
|
| 17 |
+
ARG PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL=""
|
| 18 |
+
ARG PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL="https://services.gradle.org/distributions"
|
| 19 |
+
ARG PROGRAMGYM_JITPACK_REPOSITORY_URL="https://jitpack.io"
|
| 20 |
+
ENV GOPROXY=${PROGRAMGYM_GOPROXY}
|
| 21 |
+
ENV GOSUMDB=${PROGRAMGYM_GOSUMDB}
|
| 22 |
+
ENV PIP_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
|
| 23 |
+
ENV PIP_TRUSTED_HOST=${PROGRAMGYM_PYPI_TRUSTED_HOST}
|
| 24 |
+
ENV UV_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
|
| 25 |
+
ENV UV_INSECURE_HOST=${PROGRAMGYM_UV_INSECURE_HOST}
|
| 26 |
+
ENV npm_config_registry=${PROGRAMGYM_NPM_REGISTRY}
|
| 27 |
+
ENV npm_config_strict_ssl=${PROGRAMGYM_NPM_STRICT_SSL}
|
| 28 |
+
ENV RUSTUP_DIST_SERVER=${PROGRAMGYM_RUSTUP_DIST_SERVER}
|
| 29 |
+
ENV RUSTUP_UPDATE_ROOT=${PROGRAMGYM_RUSTUP_UPDATE_ROOT}
|
| 30 |
+
ENV CARGO_REGISTRIES_CRATES_IO_INDEX=${PROGRAMGYM_CARGO_INDEX}
|
| 31 |
+
ENV CARGO_NET_RETRY=${PROGRAMGYM_CARGO_NET_RETRY}
|
| 32 |
+
ENV CARGO_HTTP_TIMEOUT=${PROGRAMGYM_CARGO_HTTP_TIMEOUT}
|
| 33 |
+
ENV CARGO_HTTP_MULTIPLEXING=${PROGRAMGYM_CARGO_HTTP_MULTIPLEXING}
|
| 34 |
+
ENV PROGRAMGYM_MAVEN_MIRROR_URL=${PROGRAMGYM_MAVEN_MIRROR_URL}
|
| 35 |
+
ENV PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL=${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL}
|
| 36 |
+
ENV PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL=${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL}
|
| 37 |
+
ENV PROGRAMGYM_JITPACK_REPOSITORY_URL=${PROGRAMGYM_JITPACK_REPOSITORY_URL}
|
| 38 |
+
COPY harbor_configure_apt_mirror.sh /tmp/harbor_configure_apt_mirror.sh
|
| 39 |
+
RUN chmod 0755 /tmp/harbor_configure_apt_mirror.sh \
|
| 40 |
+
&& /bin/bash /tmp/harbor_configure_apt_mirror.sh "${PROGRAMGYM_APT_REPOSITORY_BASE_URL}" \
|
| 41 |
+
&& rm -f /tmp/harbor_configure_apt_mirror.sh
|
| 42 |
+
COPY harbor_configure_java_mirrors.sh /tmp/harbor_configure_java_mirrors.sh
|
| 43 |
+
RUN chmod 0755 /tmp/harbor_configure_java_mirrors.sh \
|
| 44 |
+
&& /bin/bash /tmp/harbor_configure_java_mirrors.sh "${PROGRAMGYM_MAVEN_MIRROR_URL}" "${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL}" "${PROGRAMGYM_JITPACK_REPOSITORY_URL}" \
|
| 45 |
+
&& rm -f /tmp/harbor_configure_java_mirrors.sh
|
| 46 |
+
ENV DEBIAN_FRONTEND=noninteractive
|
| 47 |
+
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
|
| 48 |
+
ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
|
| 49 |
+
ENV GOTOOLCHAIN=auto
|
| 50 |
+
ENV UV_CACHE_DIR=/workspace/.cache/uv
|
| 51 |
+
ENV npm_config_cache=/workspace/.cache/npm
|
| 52 |
+
ENV HOME=/workspace
|
| 53 |
+
ENV XDG_CACHE_HOME=/workspace/.cache
|
| 54 |
+
ENV PIP_CACHE_DIR=/workspace/.cache/pip
|
| 55 |
+
ENV PYTHONUSERBASE=/workspace/.local
|
| 56 |
+
ENV CARGO_HOME=/usr/local/cargo
|
| 57 |
+
ENV RUSTUP_HOME=/usr/local/rustup
|
| 58 |
+
ENV RUSTUP_TOOLCHAIN=1.97.1
|
| 59 |
+
ENV PROGRAMGYM_RUST_TOOLCHAIN=1.97.1
|
| 60 |
+
ENV PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
| 61 |
+
ENV PAGER=cat
|
| 62 |
+
ENV MANPAGER=cat
|
| 63 |
+
ENV LESS=-R
|
| 64 |
+
ENV TQDM_DISABLE=1
|
| 65 |
+
RUN apt-get update && apt-get install -y --no-install-recommends apt=2.6.1 bash=5.2.15-2+b13 build-essential=12.9 ca-certificates=20250419~deb12u1 cmake=3.25.1-1 git=1:2.39.5-0+deb12u3 make=4.3-4.1 pkg-config=1.8.1-1 python3=3.11.2-1+b1 python3-pip=23.0.1+dfsg-1 python3-dev=3.11.2-1+b1 autoconf=2.71-3 automake=1:1.16.5-1.3 gettext=0.21-12 file=1:5.44-3 binutils=2.40-2 libtool=2.4.7-7~deb12u1 libncurses-dev=6.4-4 meson=1.0.1-5 ninja-build=1.11.1-2~deb12u1 curl=7.88.1-10+deb12u15 wget=1.21.3-1+deb12u1 xz-utils=5.4.1-1+deb12u1 zstd=1.5.4+dfsg2-5 bzip2=1.0.8-5+b1 zip=3.0-13 unzip=6.0-28+deb12u1 patch=2.7.6-7 grep=3.8-5 python3-pytest python3-pytest-xdist python3-coverage && rm -rf /var/lib/apt/lists/*
|
| 66 |
+
RUN set -eux; for attempt in 1 2 3 4 5; do rustup component add llvm-tools-preview --toolchain 1.97.1 && break; [ "$attempt" -lt 5 ] || exit 1; sleep $((attempt * 2)); done
|
| 67 |
+
RUN RUST_SYSROOT="$(rustc --print sysroot)"; RUST_HOST="$(rustc -vV | sed -n 's/^host: //p')"; test -x "$RUST_SYSROOT/lib/rustlib/$RUST_HOST/bin/llvm-profdata"; test -x "$RUST_SYSROOT/lib/rustlib/$RUST_HOST/bin/llvm-cov"
|
| 68 |
+
RUN rustc --version && cargo --version && rustup show active-toolchain
|
| 69 |
+
WORKDIR /workspace
|
| 70 |
+
ADD workspace.tar.gz /workspace/
|
| 71 |
+
COPY executable /workspace/executable
|
| 72 |
+
COPY download.sh /tmp/programgym-download.sh
|
| 73 |
+
RUN chmod 755 /tmp/programgym-download.sh
|
| 74 |
+
COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
|
| 75 |
+
RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
|
| 76 |
+
&& /bin/bash /tmp/harbor_prepare_download_env.sh \
|
| 77 |
+
&& rm -f /tmp/programgym-download.sh \
|
| 78 |
+
&& rm -f /tmp/harbor_prepare_download_env.sh
|
| 79 |
+
ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
|
| 80 |
+
RUN chmod 111 /workspace/executable
|
| 81 |
+
WORKDIR /workspace
|
| 82 |
+
# Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
|
| 83 |
+
# Keep tool/runtime state under /home/agent and reserve /workspace for the
|
| 84 |
+
# submission handed to the separate verifier. Keep the reference executable
|
| 85 |
+
# execute-only; the oracle temporarily restores owner read permission.
|
| 86 |
+
RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
|
| 87 |
+
RUN mkdir -p /home/agent \
|
| 88 |
+
&& chown -R agent:agent /home/agent /workspace \
|
| 89 |
+
&& chown agent:agent /workspace/executable \
|
| 90 |
+
&& chmod 111 /workspace/executable
|
| 91 |
+
ENV HOME=/home/agent
|
| 92 |
+
WORKDIR /workspace
|
| 93 |
+
RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
|
yobix-ai--extractous.818d94c/environment/docker-compose.yaml
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
services:
|
| 2 |
+
main:
|
| 3 |
+
build:
|
| 4 |
+
args:
|
| 5 |
+
PROGRAMGYM_APT_REPOSITORY_BASE_URL: ${PROGRAMGYM_APT_REPOSITORY_BASE_URL:-}
|
| 6 |
+
PROGRAMGYM_GOPROXY: ${PROGRAMGYM_GOPROXY:-https://proxy.golang.org,direct}
|
| 7 |
+
PROGRAMGYM_GOSUMDB: ${PROGRAMGYM_GOSUMDB:-sum.golang.org}
|
| 8 |
+
PROGRAMGYM_NPM_REGISTRY: ${PROGRAMGYM_NPM_REGISTRY:-https://registry.npmjs.org/}
|
| 9 |
+
PROGRAMGYM_NPM_STRICT_SSL: ${PROGRAMGYM_NPM_STRICT_SSL:-true}
|
| 10 |
+
PROGRAMGYM_PYPI_INDEX_URL: ${PROGRAMGYM_PYPI_INDEX_URL:-https://pypi.org/simple}
|
| 11 |
+
PROGRAMGYM_PYPI_TRUSTED_HOST: ${PROGRAMGYM_PYPI_TRUSTED_HOST:-}
|
| 12 |
+
PROGRAMGYM_UV_INSECURE_HOST: ${PROGRAMGYM_UV_INSECURE_HOST:-}
|
| 13 |
+
PROGRAMGYM_RUSTUP_DIST_SERVER: ${PROGRAMGYM_RUSTUP_DIST_SERVER:-https://static.rust-lang.org}
|
| 14 |
+
PROGRAMGYM_RUSTUP_UPDATE_ROOT: ${PROGRAMGYM_RUSTUP_UPDATE_ROOT:-https://static.rust-lang.org/rustup}
|
| 15 |
+
PROGRAMGYM_CARGO_INDEX: ${PROGRAMGYM_CARGO_INDEX:-sparse+https://index.crates.io/}
|
| 16 |
+
PROGRAMGYM_CARGO_NET_RETRY: ${PROGRAMGYM_CARGO_NET_RETRY:-10}
|
| 17 |
+
PROGRAMGYM_CARGO_HTTP_TIMEOUT: ${PROGRAMGYM_CARGO_HTTP_TIMEOUT:-600}
|
| 18 |
+
PROGRAMGYM_CARGO_HTTP_MULTIPLEXING: ${PROGRAMGYM_CARGO_HTTP_MULTIPLEXING:-false}
|
| 19 |
+
PROGRAMGYM_MAVEN_MIRROR_URL: ${PROGRAMGYM_MAVEN_MIRROR_URL:-}
|
| 20 |
+
PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL: ${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL:-}
|
| 21 |
+
PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL: ${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL:-https://services.gradle.org/distributions}
|
| 22 |
+
PROGRAMGYM_JITPACK_REPOSITORY_URL: ${PROGRAMGYM_JITPACK_REPOSITORY_URL:-https://jitpack.io}
|
yobix-ai--extractous.818d94c/environment/download.sh
ADDED
|
@@ -0,0 +1,2697 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
#
|
| 3 |
+
# ProgramGym download stage for the yobix-ai/extractous repository.
|
| 4 |
+
#
|
| 5 |
+
# This script is STANDALONE: it is sourced (via `source /source_ro/download.sh`)
|
| 6 |
+
# while only this file is present (the repository tree is not mounted). It must
|
| 7 |
+
# not read any repository file (Cargo.toml, Cargo.lock, *.rs, ...). All
|
| 8 |
+
# dependency information needed here is embedded inline below.
|
| 9 |
+
#
|
| 10 |
+
# It is download-only: it never compiles, links, tests, packages, or installs
|
| 11 |
+
# built artifacts. It performs two prefetch phases:
|
| 12 |
+
#
|
| 13 |
+
# PHASE 1 - Native runtime: fetch the official Extractous manylinux wheel and
|
| 14 |
+
# extract the prebuilt native runtime (libtika_native.so plus the embedded
|
| 15 |
+
# GraalVM JVM shared libraries libjvm.so, libawt.so, ...) into
|
| 16 |
+
# ${CARGO_HOME}/extractous-prebuilt. The crate links against
|
| 17 |
+
# libtika_native.so; the repository's own build.rs normally compiles that
|
| 18 |
+
# library with a GraalVM native-image + Gradle build that requires network,
|
| 19 |
+
# which is impossible in the offline build stage. build.sh links instead
|
| 20 |
+
# against this prebuilt library, which implements the same public ABI.
|
| 21 |
+
#
|
| 22 |
+
# PHASE 2 - Rust closure: generate an inline Cargo.toml + the repository's
|
| 23 |
+
# exact committed Cargo.lock (embedded below) and run a single explicit
|
| 24 |
+
# dependency prefetch against the generated manifest path to seed the cargo
|
| 25 |
+
# cache with exactly the crate versions the offline compile step in
|
| 26 |
+
# build.sh (invoked against the repository's own locked manifest) resolves
|
| 27 |
+
# to. Using the identical lock guarantees the fetched closure matches the
|
| 28 |
+
# build closure.
|
| 29 |
+
#
|
| 30 |
+
# It is safe to source from the repository root, is idempotent, and exports
|
| 31 |
+
# the environment variables build.sh relies on (TIKA_LIB_DIR).
|
| 32 |
+
|
| 33 |
+
# Fail-stop helper that works both when sourced and when executed directly.
|
| 34 |
+
_extractous_ran=0
|
| 35 |
+
if [ "${BASH_SOURCE[0]}" != "$0" ]; then
|
| 36 |
+
_extractous_ran=1
|
| 37 |
+
fi
|
| 38 |
+
_extractous_die() {
|
| 39 |
+
echo "[programgym:download.sh] ERROR: $*" >&2
|
| 40 |
+
if [ "${_extractous_ran}" = "1" ]; then
|
| 41 |
+
return 1
|
| 42 |
+
fi
|
| 43 |
+
exit 1
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
# ---------------------------------------------------------------------------
|
| 47 |
+
# PHASE 1: prebuilt native runtime library (libtika_native.so + JVM libs)
|
| 48 |
+
# ---------------------------------------------------------------------------
|
| 49 |
+
if [ -z "${CARGO_HOME:-}" ]; then
|
| 50 |
+
export CARGO_HOME="$HOME/.cargo"
|
| 51 |
+
fi
|
| 52 |
+
_ex_dest="${CARGO_HOME}/extractous-prebuilt"
|
| 53 |
+
mkdir -p "${_ex_dest}"
|
| 54 |
+
|
| 55 |
+
# Only stage the wheel contents once; this keeps the script idempotent.
|
| 56 |
+
if [ ! -f "${_ex_dest}/libtika_native.so" ]; then
|
| 57 |
+
_work="$(mktemp -d)"
|
| 58 |
+
# Fetch the Extractous manylinux wheel via pip (uses the configured index).
|
| 59 |
+
# The wheel ships the already-compiled native runtime for the same Linux
|
| 60 |
+
# glibc ABI that this validator's base image (Debian 12, x86_64) uses.
|
| 61 |
+
if ! pip download "extractous==0.3.0" --no-deps --only-binary=:all: \
|
| 62 |
+
--platform manylinux_2_28_x86_64 --python-version 3.11 \
|
| 63 |
+
--implementation cp --abi cp38 --dest "${_work}"; then
|
| 64 |
+
rm -rf "${_work}"
|
| 65 |
+
_extractous_die "could not fetch the extractous manylinux wheel (extractous==0.3.0)"
|
| 66 |
+
return 1
|
| 67 |
+
fi
|
| 68 |
+
_whl="$(ls "${_work}"/*.whl | head -n 1)"
|
| 69 |
+
if [ -z "${_whl}" ] || [ ! -f "${_whl}" ]; then
|
| 70 |
+
rm -rf "${_work}"
|
| 71 |
+
_extractous_die "no .whl produced by pip download"
|
| 72 |
+
return 1
|
| 73 |
+
fi
|
| 74 |
+
# Extract only the native shared objects (the python glue is not needed).
|
| 75 |
+
if ! unzip -o -q "${_whl}" 'extractous/*.so' -d "${_work}/unpacked"; then
|
| 76 |
+
rm -rf "${_work}"
|
| 77 |
+
_extractous_die "failed to unpack the extractous wheel"
|
| 78 |
+
return 1
|
| 79 |
+
fi
|
| 80 |
+
cp "${_work}"/unpacked/extractous/*.so "${_ex_dest}/"
|
| 81 |
+
rm -rf "${_work}"
|
| 82 |
+
if [ ! -s "${_ex_dest}/libtika_native.so" ]; then
|
| 83 |
+
_extractous_die "extracted libtika_native.so is empty or missing"
|
| 84 |
+
return 1
|
| 85 |
+
fi
|
| 86 |
+
fi
|
| 87 |
+
|
| 88 |
+
# Export the directory for build.sh / the stubbed build.rs to consume.
|
| 89 |
+
export TIKA_LIB_DIR="${_ex_dest}"
|
| 90 |
+
|
| 91 |
+
# ---------------------------------------------------------------------------
|
| 92 |
+
# PHASE 2: exact Rust dependency closure via an inline manifest + lock
|
| 93 |
+
# ---------------------------------------------------------------------------
|
| 94 |
+
_ex_fetch_dir="$(mktemp -d)"
|
| 95 |
+
mkdir -p "${_ex_fetch_dir}/src"
|
| 96 |
+
# Cargo requires at least one source file to resolve a lib package.
|
| 97 |
+
echo 'pub fn _extractous_noop() {}' > "${_ex_fetch_dir}/src/lib.rs"
|
| 98 |
+
|
| 99 |
+
cat > "${_ex_fetch_dir}/Cargo.toml" <<'TOML'
|
| 100 |
+
[package]
|
| 101 |
+
name = "extractous"
|
| 102 |
+
version = "0.2.1"
|
| 103 |
+
edition = "2021"
|
| 104 |
+
|
| 105 |
+
[dependencies]
|
| 106 |
+
libc = { version = "0.2.158" }
|
| 107 |
+
jni = { version = "0.21.1", features = ["invocation"] }
|
| 108 |
+
thiserror = { version = "1.0.63" }
|
| 109 |
+
bytemuck = { version = "1.17.1" }
|
| 110 |
+
strum = { version = "0.26.2" }
|
| 111 |
+
strum_macros = { version = "0.26.2" }
|
| 112 |
+
|
| 113 |
+
[dev-dependencies]
|
| 114 |
+
textdistance = "1.1.0"
|
| 115 |
+
test-case = "3.0"
|
| 116 |
+
criterion = "0.5.1"
|
| 117 |
+
serde = { version = "1.0", features = ["derive"] }
|
| 118 |
+
serde_json = "1.0"
|
| 119 |
+
quick-xml = "0.37.1"
|
| 120 |
+
|
| 121 |
+
[build-dependencies]
|
| 122 |
+
fs_extra = { version = "1.3.0" }
|
| 123 |
+
reqwest = { version = "0.12.7", features = ["blocking", "json"] }
|
| 124 |
+
zip = "2.2.0"
|
| 125 |
+
flate2 = "1.0.33"
|
| 126 |
+
tar = "0.4.41"
|
| 127 |
+
walkdir = "2.5.0"
|
| 128 |
+
TOML
|
| 129 |
+
|
| 130 |
+
# Reproduce the repository's exact committed Cargo.lock so that the fetch
|
| 131 |
+
# populates the cache with exactly the versions that the offline compile step
|
| 132 |
+
# in build.sh (against the repository's locked manifest) resolves to.
|
| 133 |
+
cat > "${_ex_fetch_dir}/Cargo.lock" <<'LOCK'
|
| 134 |
+
# This file is automatically @generated by Cargo.
|
| 135 |
+
# It is not intended for manual editing.
|
| 136 |
+
version = 3
|
| 137 |
+
|
| 138 |
+
[[package]]
|
| 139 |
+
name = "addr2line"
|
| 140 |
+
version = "0.24.2"
|
| 141 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 142 |
+
checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1"
|
| 143 |
+
dependencies = [
|
| 144 |
+
"gimli",
|
| 145 |
+
]
|
| 146 |
+
|
| 147 |
+
[[package]]
|
| 148 |
+
name = "adler2"
|
| 149 |
+
version = "2.0.0"
|
| 150 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 151 |
+
checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
|
| 152 |
+
|
| 153 |
+
[[package]]
|
| 154 |
+
name = "aes"
|
| 155 |
+
version = "0.8.4"
|
| 156 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 157 |
+
checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0"
|
| 158 |
+
dependencies = [
|
| 159 |
+
"cfg-if",
|
| 160 |
+
"cipher",
|
| 161 |
+
"cpufeatures",
|
| 162 |
+
]
|
| 163 |
+
|
| 164 |
+
[[package]]
|
| 165 |
+
name = "aho-corasick"
|
| 166 |
+
version = "1.1.3"
|
| 167 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 168 |
+
checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
|
| 169 |
+
dependencies = [
|
| 170 |
+
"memchr",
|
| 171 |
+
]
|
| 172 |
+
|
| 173 |
+
[[package]]
|
| 174 |
+
name = "anes"
|
| 175 |
+
version = "0.1.6"
|
| 176 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 177 |
+
checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
|
| 178 |
+
|
| 179 |
+
[[package]]
|
| 180 |
+
name = "anstyle"
|
| 181 |
+
version = "1.0.10"
|
| 182 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 183 |
+
checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9"
|
| 184 |
+
|
| 185 |
+
[[package]]
|
| 186 |
+
name = "arbitrary"
|
| 187 |
+
version = "1.4.1"
|
| 188 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 189 |
+
checksum = "dde20b3d026af13f561bdd0f15edf01fc734f0dafcedbaf42bba506a9517f223"
|
| 190 |
+
dependencies = [
|
| 191 |
+
"derive_arbitrary",
|
| 192 |
+
]
|
| 193 |
+
|
| 194 |
+
[[package]]
|
| 195 |
+
name = "atomic-waker"
|
| 196 |
+
version = "1.1.2"
|
| 197 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 198 |
+
checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
|
| 199 |
+
|
| 200 |
+
[[package]]
|
| 201 |
+
name = "autocfg"
|
| 202 |
+
version = "1.4.0"
|
| 203 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 204 |
+
checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
|
| 205 |
+
|
| 206 |
+
[[package]]
|
| 207 |
+
name = "backtrace"
|
| 208 |
+
version = "0.3.74"
|
| 209 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 210 |
+
checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a"
|
| 211 |
+
dependencies = [
|
| 212 |
+
"addr2line",
|
| 213 |
+
"cfg-if",
|
| 214 |
+
"libc",
|
| 215 |
+
"miniz_oxide",
|
| 216 |
+
"object",
|
| 217 |
+
"rustc-demangle",
|
| 218 |
+
"windows-targets 0.52.6",
|
| 219 |
+
]
|
| 220 |
+
|
| 221 |
+
[[package]]
|
| 222 |
+
name = "base64"
|
| 223 |
+
version = "0.22.1"
|
| 224 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 225 |
+
checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
|
| 226 |
+
|
| 227 |
+
[[package]]
|
| 228 |
+
name = "bitflags"
|
| 229 |
+
version = "2.6.0"
|
| 230 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 231 |
+
checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
|
| 232 |
+
|
| 233 |
+
[[package]]
|
| 234 |
+
name = "block-buffer"
|
| 235 |
+
version = "0.10.4"
|
| 236 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 237 |
+
checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
|
| 238 |
+
dependencies = [
|
| 239 |
+
"generic-array",
|
| 240 |
+
]
|
| 241 |
+
|
| 242 |
+
[[package]]
|
| 243 |
+
name = "bumpalo"
|
| 244 |
+
version = "3.16.0"
|
| 245 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 246 |
+
checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
|
| 247 |
+
|
| 248 |
+
[[package]]
|
| 249 |
+
name = "bytemuck"
|
| 250 |
+
version = "1.19.0"
|
| 251 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 252 |
+
checksum = "8334215b81e418a0a7bdb8ef0849474f40bb10c8b71f1c4ed315cff49f32494d"
|
| 253 |
+
|
| 254 |
+
[[package]]
|
| 255 |
+
name = "byteorder"
|
| 256 |
+
version = "1.5.0"
|
| 257 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 258 |
+
checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
|
| 259 |
+
|
| 260 |
+
[[package]]
|
| 261 |
+
name = "bytes"
|
| 262 |
+
version = "1.8.0"
|
| 263 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 264 |
+
checksum = "9ac0150caa2ae65ca5bd83f25c7de183dea78d4d366469f148435e2acfbad0da"
|
| 265 |
+
|
| 266 |
+
[[package]]
|
| 267 |
+
name = "bzip2"
|
| 268 |
+
version = "0.4.4"
|
| 269 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 270 |
+
checksum = "bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8"
|
| 271 |
+
dependencies = [
|
| 272 |
+
"bzip2-sys",
|
| 273 |
+
"libc",
|
| 274 |
+
]
|
| 275 |
+
|
| 276 |
+
[[package]]
|
| 277 |
+
name = "bzip2-sys"
|
| 278 |
+
version = "0.1.11+1.0.8"
|
| 279 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 280 |
+
checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc"
|
| 281 |
+
dependencies = [
|
| 282 |
+
"cc",
|
| 283 |
+
"libc",
|
| 284 |
+
"pkg-config",
|
| 285 |
+
]
|
| 286 |
+
|
| 287 |
+
[[package]]
|
| 288 |
+
name = "cast"
|
| 289 |
+
version = "0.3.0"
|
| 290 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 291 |
+
checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
|
| 292 |
+
|
| 293 |
+
[[package]]
|
| 294 |
+
name = "cc"
|
| 295 |
+
version = "1.2.1"
|
| 296 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 297 |
+
checksum = "fd9de9f2205d5ef3fd67e685b0df337994ddd4495e2a28d185500d0e1edfea47"
|
| 298 |
+
dependencies = [
|
| 299 |
+
"jobserver",
|
| 300 |
+
"libc",
|
| 301 |
+
"shlex",
|
| 302 |
+
]
|
| 303 |
+
|
| 304 |
+
[[package]]
|
| 305 |
+
name = "cesu8"
|
| 306 |
+
version = "1.1.0"
|
| 307 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 308 |
+
checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c"
|
| 309 |
+
|
| 310 |
+
[[package]]
|
| 311 |
+
name = "cfg-if"
|
| 312 |
+
version = "1.0.0"
|
| 313 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 314 |
+
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
| 315 |
+
|
| 316 |
+
[[package]]
|
| 317 |
+
name = "ciborium"
|
| 318 |
+
version = "0.2.2"
|
| 319 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 320 |
+
checksum = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e"
|
| 321 |
+
dependencies = [
|
| 322 |
+
"ciborium-io",
|
| 323 |
+
"ciborium-ll",
|
| 324 |
+
"serde",
|
| 325 |
+
]
|
| 326 |
+
|
| 327 |
+
[[package]]
|
| 328 |
+
name = "ciborium-io"
|
| 329 |
+
version = "0.2.2"
|
| 330 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 331 |
+
checksum = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757"
|
| 332 |
+
|
| 333 |
+
[[package]]
|
| 334 |
+
name = "ciborium-ll"
|
| 335 |
+
version = "0.2.2"
|
| 336 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 337 |
+
checksum = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9"
|
| 338 |
+
dependencies = [
|
| 339 |
+
"ciborium-io",
|
| 340 |
+
"half",
|
| 341 |
+
]
|
| 342 |
+
|
| 343 |
+
[[package]]
|
| 344 |
+
name = "cipher"
|
| 345 |
+
version = "0.4.4"
|
| 346 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 347 |
+
checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad"
|
| 348 |
+
dependencies = [
|
| 349 |
+
"crypto-common",
|
| 350 |
+
"inout",
|
| 351 |
+
]
|
| 352 |
+
|
| 353 |
+
[[package]]
|
| 354 |
+
name = "clap"
|
| 355 |
+
version = "4.5.21"
|
| 356 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 357 |
+
checksum = "fb3b4b9e5a7c7514dfa52869339ee98b3156b0bfb4e8a77c4ff4babb64b1604f"
|
| 358 |
+
dependencies = [
|
| 359 |
+
"clap_builder",
|
| 360 |
+
]
|
| 361 |
+
|
| 362 |
+
[[package]]
|
| 363 |
+
name = "clap_builder"
|
| 364 |
+
version = "4.5.21"
|
| 365 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 366 |
+
checksum = "b17a95aa67cc7b5ebd32aa5370189aa0d79069ef1c64ce893bd30fb24bff20ec"
|
| 367 |
+
dependencies = [
|
| 368 |
+
"anstyle",
|
| 369 |
+
"clap_lex",
|
| 370 |
+
]
|
| 371 |
+
|
| 372 |
+
[[package]]
|
| 373 |
+
name = "clap_lex"
|
| 374 |
+
version = "0.7.3"
|
| 375 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 376 |
+
checksum = "afb84c814227b90d6895e01398aee0d8033c00e7466aca416fb6a8e0eb19d8a7"
|
| 377 |
+
|
| 378 |
+
[[package]]
|
| 379 |
+
name = "combine"
|
| 380 |
+
version = "4.6.7"
|
| 381 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 382 |
+
checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd"
|
| 383 |
+
dependencies = [
|
| 384 |
+
"bytes",
|
| 385 |
+
"memchr",
|
| 386 |
+
]
|
| 387 |
+
|
| 388 |
+
[[package]]
|
| 389 |
+
name = "constant_time_eq"
|
| 390 |
+
version = "0.3.1"
|
| 391 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 392 |
+
checksum = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6"
|
| 393 |
+
|
| 394 |
+
[[package]]
|
| 395 |
+
name = "core-foundation"
|
| 396 |
+
version = "0.9.4"
|
| 397 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 398 |
+
checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f"
|
| 399 |
+
dependencies = [
|
| 400 |
+
"core-foundation-sys",
|
| 401 |
+
"libc",
|
| 402 |
+
]
|
| 403 |
+
|
| 404 |
+
[[package]]
|
| 405 |
+
name = "core-foundation-sys"
|
| 406 |
+
version = "0.8.7"
|
| 407 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 408 |
+
checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
|
| 409 |
+
|
| 410 |
+
[[package]]
|
| 411 |
+
name = "cpufeatures"
|
| 412 |
+
version = "0.2.15"
|
| 413 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 414 |
+
checksum = "0ca741a962e1b0bff6d724a1a0958b686406e853bb14061f218562e1896f95e6"
|
| 415 |
+
dependencies = [
|
| 416 |
+
"libc",
|
| 417 |
+
]
|
| 418 |
+
|
| 419 |
+
[[package]]
|
| 420 |
+
name = "crc"
|
| 421 |
+
version = "3.2.1"
|
| 422 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 423 |
+
checksum = "69e6e4d7b33a94f0991c26729976b10ebde1d34c3ee82408fb536164fa10d636"
|
| 424 |
+
dependencies = [
|
| 425 |
+
"crc-catalog",
|
| 426 |
+
]
|
| 427 |
+
|
| 428 |
+
[[package]]
|
| 429 |
+
name = "crc-catalog"
|
| 430 |
+
version = "2.4.0"
|
| 431 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 432 |
+
checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5"
|
| 433 |
+
|
| 434 |
+
[[package]]
|
| 435 |
+
name = "crc32fast"
|
| 436 |
+
version = "1.4.2"
|
| 437 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 438 |
+
checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
|
| 439 |
+
dependencies = [
|
| 440 |
+
"cfg-if",
|
| 441 |
+
]
|
| 442 |
+
|
| 443 |
+
[[package]]
|
| 444 |
+
name = "criterion"
|
| 445 |
+
version = "0.5.1"
|
| 446 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 447 |
+
checksum = "f2b12d017a929603d80db1831cd3a24082f8137ce19c69e6447f54f5fc8d692f"
|
| 448 |
+
dependencies = [
|
| 449 |
+
"anes",
|
| 450 |
+
"cast",
|
| 451 |
+
"ciborium",
|
| 452 |
+
"clap",
|
| 453 |
+
"criterion-plot",
|
| 454 |
+
"is-terminal",
|
| 455 |
+
"itertools",
|
| 456 |
+
"num-traits",
|
| 457 |
+
"once_cell",
|
| 458 |
+
"oorandom",
|
| 459 |
+
"plotters",
|
| 460 |
+
"rayon",
|
| 461 |
+
"regex",
|
| 462 |
+
"serde",
|
| 463 |
+
"serde_derive",
|
| 464 |
+
"serde_json",
|
| 465 |
+
"tinytemplate",
|
| 466 |
+
"walkdir",
|
| 467 |
+
]
|
| 468 |
+
|
| 469 |
+
[[package]]
|
| 470 |
+
name = "criterion-plot"
|
| 471 |
+
version = "0.5.0"
|
| 472 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 473 |
+
checksum = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1"
|
| 474 |
+
dependencies = [
|
| 475 |
+
"cast",
|
| 476 |
+
"itertools",
|
| 477 |
+
]
|
| 478 |
+
|
| 479 |
+
[[package]]
|
| 480 |
+
name = "crossbeam-deque"
|
| 481 |
+
version = "0.8.5"
|
| 482 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 483 |
+
checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d"
|
| 484 |
+
dependencies = [
|
| 485 |
+
"crossbeam-epoch",
|
| 486 |
+
"crossbeam-utils",
|
| 487 |
+
]
|
| 488 |
+
|
| 489 |
+
[[package]]
|
| 490 |
+
name = "crossbeam-epoch"
|
| 491 |
+
version = "0.9.18"
|
| 492 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 493 |
+
checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
|
| 494 |
+
dependencies = [
|
| 495 |
+
"crossbeam-utils",
|
| 496 |
+
]
|
| 497 |
+
|
| 498 |
+
[[package]]
|
| 499 |
+
name = "crossbeam-utils"
|
| 500 |
+
version = "0.8.20"
|
| 501 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 502 |
+
checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80"
|
| 503 |
+
|
| 504 |
+
[[package]]
|
| 505 |
+
name = "crunchy"
|
| 506 |
+
version = "0.2.2"
|
| 507 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 508 |
+
checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
|
| 509 |
+
|
| 510 |
+
[[package]]
|
| 511 |
+
name = "crypto-common"
|
| 512 |
+
version = "0.1.6"
|
| 513 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 514 |
+
checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
|
| 515 |
+
dependencies = [
|
| 516 |
+
"generic-array",
|
| 517 |
+
"typenum",
|
| 518 |
+
]
|
| 519 |
+
|
| 520 |
+
[[package]]
|
| 521 |
+
name = "deflate64"
|
| 522 |
+
version = "0.1.9"
|
| 523 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 524 |
+
checksum = "da692b8d1080ea3045efaab14434d40468c3d8657e42abddfffca87b428f4c1b"
|
| 525 |
+
|
| 526 |
+
[[package]]
|
| 527 |
+
name = "deranged"
|
| 528 |
+
version = "0.3.11"
|
| 529 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 530 |
+
checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4"
|
| 531 |
+
dependencies = [
|
| 532 |
+
"powerfmt",
|
| 533 |
+
]
|
| 534 |
+
|
| 535 |
+
[[package]]
|
| 536 |
+
name = "derive_arbitrary"
|
| 537 |
+
version = "1.4.1"
|
| 538 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 539 |
+
checksum = "30542c1ad912e0e3d22a1935c290e12e8a29d704a420177a31faad4a601a0800"
|
| 540 |
+
dependencies = [
|
| 541 |
+
"proc-macro2",
|
| 542 |
+
"quote",
|
| 543 |
+
"syn",
|
| 544 |
+
]
|
| 545 |
+
|
| 546 |
+
[[package]]
|
| 547 |
+
name = "digest"
|
| 548 |
+
version = "0.10.7"
|
| 549 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 550 |
+
checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
|
| 551 |
+
dependencies = [
|
| 552 |
+
"block-buffer",
|
| 553 |
+
"crypto-common",
|
| 554 |
+
"subtle",
|
| 555 |
+
]
|
| 556 |
+
|
| 557 |
+
[[package]]
|
| 558 |
+
name = "displaydoc"
|
| 559 |
+
version = "0.2.5"
|
| 560 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 561 |
+
checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
|
| 562 |
+
dependencies = [
|
| 563 |
+
"proc-macro2",
|
| 564 |
+
"quote",
|
| 565 |
+
"syn",
|
| 566 |
+
]
|
| 567 |
+
|
| 568 |
+
[[package]]
|
| 569 |
+
name = "either"
|
| 570 |
+
version = "1.13.0"
|
| 571 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 572 |
+
checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
|
| 573 |
+
|
| 574 |
+
[[package]]
|
| 575 |
+
name = "encoding_rs"
|
| 576 |
+
version = "0.8.35"
|
| 577 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 578 |
+
checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3"
|
| 579 |
+
dependencies = [
|
| 580 |
+
"cfg-if",
|
| 581 |
+
]
|
| 582 |
+
|
| 583 |
+
[[package]]
|
| 584 |
+
name = "equivalent"
|
| 585 |
+
version = "1.0.1"
|
| 586 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 587 |
+
checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
|
| 588 |
+
|
| 589 |
+
[[package]]
|
| 590 |
+
name = "errno"
|
| 591 |
+
version = "0.3.9"
|
| 592 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 593 |
+
checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba"
|
| 594 |
+
dependencies = [
|
| 595 |
+
"libc",
|
| 596 |
+
"windows-sys 0.52.0",
|
| 597 |
+
]
|
| 598 |
+
|
| 599 |
+
[[package]]
|
| 600 |
+
name = "extractous"
|
| 601 |
+
version = "0.2.1"
|
| 602 |
+
dependencies = [
|
| 603 |
+
"bytemuck",
|
| 604 |
+
"criterion",
|
| 605 |
+
"flate2",
|
| 606 |
+
"fs_extra",
|
| 607 |
+
"jni",
|
| 608 |
+
"libc",
|
| 609 |
+
"quick-xml",
|
| 610 |
+
"reqwest",
|
| 611 |
+
"serde",
|
| 612 |
+
"serde_json",
|
| 613 |
+
"strum",
|
| 614 |
+
"strum_macros",
|
| 615 |
+
"tar",
|
| 616 |
+
"test-case",
|
| 617 |
+
"textdistance",
|
| 618 |
+
"thiserror",
|
| 619 |
+
"walkdir",
|
| 620 |
+
"zip",
|
| 621 |
+
]
|
| 622 |
+
|
| 623 |
+
[[package]]
|
| 624 |
+
name = "fastrand"
|
| 625 |
+
version = "2.2.0"
|
| 626 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 627 |
+
checksum = "486f806e73c5707928240ddc295403b1b93c96a02038563881c4a2fd84b81ac4"
|
| 628 |
+
|
| 629 |
+
[[package]]
|
| 630 |
+
name = "filetime"
|
| 631 |
+
version = "0.2.25"
|
| 632 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 633 |
+
checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586"
|
| 634 |
+
dependencies = [
|
| 635 |
+
"cfg-if",
|
| 636 |
+
"libc",
|
| 637 |
+
"libredox",
|
| 638 |
+
"windows-sys 0.59.0",
|
| 639 |
+
]
|
| 640 |
+
|
| 641 |
+
[[package]]
|
| 642 |
+
name = "flate2"
|
| 643 |
+
version = "1.0.35"
|
| 644 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 645 |
+
checksum = "c936bfdafb507ebbf50b8074c54fa31c5be9a1e7e5f467dd659697041407d07c"
|
| 646 |
+
dependencies = [
|
| 647 |
+
"crc32fast",
|
| 648 |
+
"miniz_oxide",
|
| 649 |
+
]
|
| 650 |
+
|
| 651 |
+
[[package]]
|
| 652 |
+
name = "fnv"
|
| 653 |
+
version = "1.0.7"
|
| 654 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 655 |
+
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
|
| 656 |
+
|
| 657 |
+
[[package]]
|
| 658 |
+
name = "foreign-types"
|
| 659 |
+
version = "0.3.2"
|
| 660 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 661 |
+
checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
|
| 662 |
+
dependencies = [
|
| 663 |
+
"foreign-types-shared",
|
| 664 |
+
]
|
| 665 |
+
|
| 666 |
+
[[package]]
|
| 667 |
+
name = "foreign-types-shared"
|
| 668 |
+
version = "0.1.1"
|
| 669 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 670 |
+
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
|
| 671 |
+
|
| 672 |
+
[[package]]
|
| 673 |
+
name = "form_urlencoded"
|
| 674 |
+
version = "1.2.1"
|
| 675 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 676 |
+
checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456"
|
| 677 |
+
dependencies = [
|
| 678 |
+
"percent-encoding",
|
| 679 |
+
]
|
| 680 |
+
|
| 681 |
+
[[package]]
|
| 682 |
+
name = "fs_extra"
|
| 683 |
+
version = "1.3.0"
|
| 684 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 685 |
+
checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c"
|
| 686 |
+
|
| 687 |
+
[[package]]
|
| 688 |
+
name = "futures-channel"
|
| 689 |
+
version = "0.3.31"
|
| 690 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 691 |
+
checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10"
|
| 692 |
+
dependencies = [
|
| 693 |
+
"futures-core",
|
| 694 |
+
"futures-sink",
|
| 695 |
+
]
|
| 696 |
+
|
| 697 |
+
[[package]]
|
| 698 |
+
name = "futures-core"
|
| 699 |
+
version = "0.3.31"
|
| 700 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 701 |
+
checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e"
|
| 702 |
+
|
| 703 |
+
[[package]]
|
| 704 |
+
name = "futures-io"
|
| 705 |
+
version = "0.3.31"
|
| 706 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 707 |
+
checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6"
|
| 708 |
+
|
| 709 |
+
[[package]]
|
| 710 |
+
name = "futures-sink"
|
| 711 |
+
version = "0.3.31"
|
| 712 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 713 |
+
checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7"
|
| 714 |
+
|
| 715 |
+
[[package]]
|
| 716 |
+
name = "futures-task"
|
| 717 |
+
version = "0.3.31"
|
| 718 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 719 |
+
checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988"
|
| 720 |
+
|
| 721 |
+
[[package]]
|
| 722 |
+
name = "futures-util"
|
| 723 |
+
version = "0.3.31"
|
| 724 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 725 |
+
checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81"
|
| 726 |
+
dependencies = [
|
| 727 |
+
"futures-core",
|
| 728 |
+
"futures-io",
|
| 729 |
+
"futures-sink",
|
| 730 |
+
"futures-task",
|
| 731 |
+
"memchr",
|
| 732 |
+
"pin-project-lite",
|
| 733 |
+
"pin-utils",
|
| 734 |
+
"slab",
|
| 735 |
+
]
|
| 736 |
+
|
| 737 |
+
[[package]]
|
| 738 |
+
name = "generic-array"
|
| 739 |
+
version = "0.14.7"
|
| 740 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 741 |
+
checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
|
| 742 |
+
dependencies = [
|
| 743 |
+
"typenum",
|
| 744 |
+
"version_check",
|
| 745 |
+
]
|
| 746 |
+
|
| 747 |
+
[[package]]
|
| 748 |
+
name = "getrandom"
|
| 749 |
+
version = "0.2.15"
|
| 750 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 751 |
+
checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
|
| 752 |
+
dependencies = [
|
| 753 |
+
"cfg-if",
|
| 754 |
+
"libc",
|
| 755 |
+
"wasi",
|
| 756 |
+
]
|
| 757 |
+
|
| 758 |
+
[[package]]
|
| 759 |
+
name = "gimli"
|
| 760 |
+
version = "0.31.1"
|
| 761 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 762 |
+
checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f"
|
| 763 |
+
|
| 764 |
+
[[package]]
|
| 765 |
+
name = "glob"
|
| 766 |
+
version = "0.3.1"
|
| 767 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 768 |
+
checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
|
| 769 |
+
|
| 770 |
+
[[package]]
|
| 771 |
+
name = "h2"
|
| 772 |
+
version = "0.4.6"
|
| 773 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 774 |
+
checksum = "524e8ac6999421f49a846c2d4411f337e53497d8ec55d67753beffa43c5d9205"
|
| 775 |
+
dependencies = [
|
| 776 |
+
"atomic-waker",
|
| 777 |
+
"bytes",
|
| 778 |
+
"fnv",
|
| 779 |
+
"futures-core",
|
| 780 |
+
"futures-sink",
|
| 781 |
+
"http",
|
| 782 |
+
"indexmap",
|
| 783 |
+
"slab",
|
| 784 |
+
"tokio",
|
| 785 |
+
"tokio-util",
|
| 786 |
+
"tracing",
|
| 787 |
+
]
|
| 788 |
+
|
| 789 |
+
[[package]]
|
| 790 |
+
name = "half"
|
| 791 |
+
version = "2.4.1"
|
| 792 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 793 |
+
checksum = "6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888"
|
| 794 |
+
dependencies = [
|
| 795 |
+
"cfg-if",
|
| 796 |
+
"crunchy",
|
| 797 |
+
]
|
| 798 |
+
|
| 799 |
+
[[package]]
|
| 800 |
+
name = "hashbrown"
|
| 801 |
+
version = "0.15.1"
|
| 802 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 803 |
+
checksum = "3a9bfc1af68b1726ea47d3d5109de126281def866b33970e10fbab11b5dafab3"
|
| 804 |
+
|
| 805 |
+
[[package]]
|
| 806 |
+
name = "heck"
|
| 807 |
+
version = "0.5.0"
|
| 808 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 809 |
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
| 810 |
+
|
| 811 |
+
[[package]]
|
| 812 |
+
name = "hermit-abi"
|
| 813 |
+
version = "0.3.9"
|
| 814 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 815 |
+
checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
|
| 816 |
+
|
| 817 |
+
[[package]]
|
| 818 |
+
name = "hermit-abi"
|
| 819 |
+
version = "0.4.0"
|
| 820 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 821 |
+
checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc"
|
| 822 |
+
|
| 823 |
+
[[package]]
|
| 824 |
+
name = "hmac"
|
| 825 |
+
version = "0.12.1"
|
| 826 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 827 |
+
checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e"
|
| 828 |
+
dependencies = [
|
| 829 |
+
"digest",
|
| 830 |
+
]
|
| 831 |
+
|
| 832 |
+
[[package]]
|
| 833 |
+
name = "http"
|
| 834 |
+
version = "1.1.0"
|
| 835 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 836 |
+
checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258"
|
| 837 |
+
dependencies = [
|
| 838 |
+
"bytes",
|
| 839 |
+
"fnv",
|
| 840 |
+
"itoa",
|
| 841 |
+
]
|
| 842 |
+
|
| 843 |
+
[[package]]
|
| 844 |
+
name = "http-body"
|
| 845 |
+
version = "1.0.1"
|
| 846 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 847 |
+
checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184"
|
| 848 |
+
dependencies = [
|
| 849 |
+
"bytes",
|
| 850 |
+
"http",
|
| 851 |
+
]
|
| 852 |
+
|
| 853 |
+
[[package]]
|
| 854 |
+
name = "http-body-util"
|
| 855 |
+
version = "0.1.2"
|
| 856 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 857 |
+
checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f"
|
| 858 |
+
dependencies = [
|
| 859 |
+
"bytes",
|
| 860 |
+
"futures-util",
|
| 861 |
+
"http",
|
| 862 |
+
"http-body",
|
| 863 |
+
"pin-project-lite",
|
| 864 |
+
]
|
| 865 |
+
|
| 866 |
+
[[package]]
|
| 867 |
+
name = "httparse"
|
| 868 |
+
version = "1.9.5"
|
| 869 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 870 |
+
checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946"
|
| 871 |
+
|
| 872 |
+
[[package]]
|
| 873 |
+
name = "hyper"
|
| 874 |
+
version = "1.5.0"
|
| 875 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 876 |
+
checksum = "bbbff0a806a4728c99295b254c8838933b5b082d75e3cb70c8dab21fdfbcfa9a"
|
| 877 |
+
dependencies = [
|
| 878 |
+
"bytes",
|
| 879 |
+
"futures-channel",
|
| 880 |
+
"futures-util",
|
| 881 |
+
"h2",
|
| 882 |
+
"http",
|
| 883 |
+
"http-body",
|
| 884 |
+
"httparse",
|
| 885 |
+
"itoa",
|
| 886 |
+
"pin-project-lite",
|
| 887 |
+
"smallvec",
|
| 888 |
+
"tokio",
|
| 889 |
+
"want",
|
| 890 |
+
]
|
| 891 |
+
|
| 892 |
+
[[package]]
|
| 893 |
+
name = "hyper-rustls"
|
| 894 |
+
version = "0.27.3"
|
| 895 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 896 |
+
checksum = "08afdbb5c31130e3034af566421053ab03787c640246a446327f550d11bcb333"
|
| 897 |
+
dependencies = [
|
| 898 |
+
"futures-util",
|
| 899 |
+
"http",
|
| 900 |
+
"hyper",
|
| 901 |
+
"hyper-util",
|
| 902 |
+
"rustls",
|
| 903 |
+
"rustls-pki-types",
|
| 904 |
+
"tokio",
|
| 905 |
+
"tokio-rustls",
|
| 906 |
+
"tower-service",
|
| 907 |
+
]
|
| 908 |
+
|
| 909 |
+
[[package]]
|
| 910 |
+
name = "hyper-tls"
|
| 911 |
+
version = "0.6.0"
|
| 912 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 913 |
+
checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0"
|
| 914 |
+
dependencies = [
|
| 915 |
+
"bytes",
|
| 916 |
+
"http-body-util",
|
| 917 |
+
"hyper",
|
| 918 |
+
"hyper-util",
|
| 919 |
+
"native-tls",
|
| 920 |
+
"tokio",
|
| 921 |
+
"tokio-native-tls",
|
| 922 |
+
"tower-service",
|
| 923 |
+
]
|
| 924 |
+
|
| 925 |
+
[[package]]
|
| 926 |
+
name = "hyper-util"
|
| 927 |
+
version = "0.1.10"
|
| 928 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 929 |
+
checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4"
|
| 930 |
+
dependencies = [
|
| 931 |
+
"bytes",
|
| 932 |
+
"futures-channel",
|
| 933 |
+
"futures-util",
|
| 934 |
+
"http",
|
| 935 |
+
"http-body",
|
| 936 |
+
"hyper",
|
| 937 |
+
"pin-project-lite",
|
| 938 |
+
"socket2",
|
| 939 |
+
"tokio",
|
| 940 |
+
"tower-service",
|
| 941 |
+
"tracing",
|
| 942 |
+
]
|
| 943 |
+
|
| 944 |
+
[[package]]
|
| 945 |
+
name = "icu_collections"
|
| 946 |
+
version = "1.5.0"
|
| 947 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 948 |
+
checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526"
|
| 949 |
+
dependencies = [
|
| 950 |
+
"displaydoc",
|
| 951 |
+
"yoke",
|
| 952 |
+
"zerofrom",
|
| 953 |
+
"zerovec",
|
| 954 |
+
]
|
| 955 |
+
|
| 956 |
+
[[package]]
|
| 957 |
+
name = "icu_locid"
|
| 958 |
+
version = "1.5.0"
|
| 959 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 960 |
+
checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637"
|
| 961 |
+
dependencies = [
|
| 962 |
+
"displaydoc",
|
| 963 |
+
"litemap",
|
| 964 |
+
"tinystr",
|
| 965 |
+
"writeable",
|
| 966 |
+
"zerovec",
|
| 967 |
+
]
|
| 968 |
+
|
| 969 |
+
[[package]]
|
| 970 |
+
name = "icu_locid_transform"
|
| 971 |
+
version = "1.5.0"
|
| 972 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 973 |
+
checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e"
|
| 974 |
+
dependencies = [
|
| 975 |
+
"displaydoc",
|
| 976 |
+
"icu_locid",
|
| 977 |
+
"icu_locid_transform_data",
|
| 978 |
+
"icu_provider",
|
| 979 |
+
"tinystr",
|
| 980 |
+
"zerovec",
|
| 981 |
+
]
|
| 982 |
+
|
| 983 |
+
[[package]]
|
| 984 |
+
name = "icu_locid_transform_data"
|
| 985 |
+
version = "1.5.0"
|
| 986 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 987 |
+
checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e"
|
| 988 |
+
|
| 989 |
+
[[package]]
|
| 990 |
+
name = "icu_normalizer"
|
| 991 |
+
version = "1.5.0"
|
| 992 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 993 |
+
checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f"
|
| 994 |
+
dependencies = [
|
| 995 |
+
"displaydoc",
|
| 996 |
+
"icu_collections",
|
| 997 |
+
"icu_normalizer_data",
|
| 998 |
+
"icu_properties",
|
| 999 |
+
"icu_provider",
|
| 1000 |
+
"smallvec",
|
| 1001 |
+
"utf16_iter",
|
| 1002 |
+
"utf8_iter",
|
| 1003 |
+
"write16",
|
| 1004 |
+
"zerovec",
|
| 1005 |
+
]
|
| 1006 |
+
|
| 1007 |
+
[[package]]
|
| 1008 |
+
name = "icu_normalizer_data"
|
| 1009 |
+
version = "1.5.0"
|
| 1010 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1011 |
+
checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516"
|
| 1012 |
+
|
| 1013 |
+
[[package]]
|
| 1014 |
+
name = "icu_properties"
|
| 1015 |
+
version = "1.5.1"
|
| 1016 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1017 |
+
checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5"
|
| 1018 |
+
dependencies = [
|
| 1019 |
+
"displaydoc",
|
| 1020 |
+
"icu_collections",
|
| 1021 |
+
"icu_locid_transform",
|
| 1022 |
+
"icu_properties_data",
|
| 1023 |
+
"icu_provider",
|
| 1024 |
+
"tinystr",
|
| 1025 |
+
"zerovec",
|
| 1026 |
+
]
|
| 1027 |
+
|
| 1028 |
+
[[package]]
|
| 1029 |
+
name = "icu_properties_data"
|
| 1030 |
+
version = "1.5.0"
|
| 1031 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1032 |
+
checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569"
|
| 1033 |
+
|
| 1034 |
+
[[package]]
|
| 1035 |
+
name = "icu_provider"
|
| 1036 |
+
version = "1.5.0"
|
| 1037 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1038 |
+
checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9"
|
| 1039 |
+
dependencies = [
|
| 1040 |
+
"displaydoc",
|
| 1041 |
+
"icu_locid",
|
| 1042 |
+
"icu_provider_macros",
|
| 1043 |
+
"stable_deref_trait",
|
| 1044 |
+
"tinystr",
|
| 1045 |
+
"writeable",
|
| 1046 |
+
"yoke",
|
| 1047 |
+
"zerofrom",
|
| 1048 |
+
"zerovec",
|
| 1049 |
+
]
|
| 1050 |
+
|
| 1051 |
+
[[package]]
|
| 1052 |
+
name = "icu_provider_macros"
|
| 1053 |
+
version = "1.5.0"
|
| 1054 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1055 |
+
checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
|
| 1056 |
+
dependencies = [
|
| 1057 |
+
"proc-macro2",
|
| 1058 |
+
"quote",
|
| 1059 |
+
"syn",
|
| 1060 |
+
]
|
| 1061 |
+
|
| 1062 |
+
[[package]]
|
| 1063 |
+
name = "idna"
|
| 1064 |
+
version = "1.0.3"
|
| 1065 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1066 |
+
checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e"
|
| 1067 |
+
dependencies = [
|
| 1068 |
+
"idna_adapter",
|
| 1069 |
+
"smallvec",
|
| 1070 |
+
"utf8_iter",
|
| 1071 |
+
]
|
| 1072 |
+
|
| 1073 |
+
[[package]]
|
| 1074 |
+
name = "idna_adapter"
|
| 1075 |
+
version = "1.2.0"
|
| 1076 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1077 |
+
checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71"
|
| 1078 |
+
dependencies = [
|
| 1079 |
+
"icu_normalizer",
|
| 1080 |
+
"icu_properties",
|
| 1081 |
+
]
|
| 1082 |
+
|
| 1083 |
+
[[package]]
|
| 1084 |
+
name = "indexmap"
|
| 1085 |
+
version = "2.6.0"
|
| 1086 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1087 |
+
checksum = "707907fe3c25f5424cce2cb7e1cbcafee6bdbe735ca90ef77c29e84591e5b9da"
|
| 1088 |
+
dependencies = [
|
| 1089 |
+
"equivalent",
|
| 1090 |
+
"hashbrown",
|
| 1091 |
+
]
|
| 1092 |
+
|
| 1093 |
+
[[package]]
|
| 1094 |
+
name = "inout"
|
| 1095 |
+
version = "0.1.3"
|
| 1096 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1097 |
+
checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5"
|
| 1098 |
+
dependencies = [
|
| 1099 |
+
"generic-array",
|
| 1100 |
+
]
|
| 1101 |
+
|
| 1102 |
+
[[package]]
|
| 1103 |
+
name = "ipnet"
|
| 1104 |
+
version = "2.10.1"
|
| 1105 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1106 |
+
checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708"
|
| 1107 |
+
|
| 1108 |
+
[[package]]
|
| 1109 |
+
name = "is-terminal"
|
| 1110 |
+
version = "0.4.13"
|
| 1111 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1112 |
+
checksum = "261f68e344040fbd0edea105bef17c66edf46f984ddb1115b775ce31be948f4b"
|
| 1113 |
+
dependencies = [
|
| 1114 |
+
"hermit-abi 0.4.0",
|
| 1115 |
+
"libc",
|
| 1116 |
+
"windows-sys 0.52.0",
|
| 1117 |
+
]
|
| 1118 |
+
|
| 1119 |
+
[[package]]
|
| 1120 |
+
name = "itertools"
|
| 1121 |
+
version = "0.10.5"
|
| 1122 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1123 |
+
checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
|
| 1124 |
+
dependencies = [
|
| 1125 |
+
"either",
|
| 1126 |
+
]
|
| 1127 |
+
|
| 1128 |
+
[[package]]
|
| 1129 |
+
name = "itoa"
|
| 1130 |
+
version = "1.0.11"
|
| 1131 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1132 |
+
checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
|
| 1133 |
+
|
| 1134 |
+
[[package]]
|
| 1135 |
+
name = "java-locator"
|
| 1136 |
+
version = "0.1.8"
|
| 1137 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1138 |
+
checksum = "6f25f28894af6a5dd349ed5ec46e178654e75f62edb6717ac74007102a57deb5"
|
| 1139 |
+
dependencies = [
|
| 1140 |
+
"glob",
|
| 1141 |
+
]
|
| 1142 |
+
|
| 1143 |
+
[[package]]
|
| 1144 |
+
name = "jni"
|
| 1145 |
+
version = "0.21.1"
|
| 1146 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1147 |
+
checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97"
|
| 1148 |
+
dependencies = [
|
| 1149 |
+
"cesu8",
|
| 1150 |
+
"cfg-if",
|
| 1151 |
+
"combine",
|
| 1152 |
+
"java-locator",
|
| 1153 |
+
"jni-sys",
|
| 1154 |
+
"libloading",
|
| 1155 |
+
"log",
|
| 1156 |
+
"thiserror",
|
| 1157 |
+
"walkdir",
|
| 1158 |
+
"windows-sys 0.45.0",
|
| 1159 |
+
]
|
| 1160 |
+
|
| 1161 |
+
[[package]]
|
| 1162 |
+
name = "jni-sys"
|
| 1163 |
+
version = "0.3.0"
|
| 1164 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1165 |
+
checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130"
|
| 1166 |
+
|
| 1167 |
+
[[package]]
|
| 1168 |
+
name = "jobserver"
|
| 1169 |
+
version = "0.1.32"
|
| 1170 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1171 |
+
checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0"
|
| 1172 |
+
dependencies = [
|
| 1173 |
+
"libc",
|
| 1174 |
+
]
|
| 1175 |
+
|
| 1176 |
+
[[package]]
|
| 1177 |
+
name = "js-sys"
|
| 1178 |
+
version = "0.3.72"
|
| 1179 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1180 |
+
checksum = "6a88f1bda2bd75b0452a14784937d796722fdebfe50df998aeb3f0b7603019a9"
|
| 1181 |
+
dependencies = [
|
| 1182 |
+
"wasm-bindgen",
|
| 1183 |
+
]
|
| 1184 |
+
|
| 1185 |
+
[[package]]
|
| 1186 |
+
name = "libc"
|
| 1187 |
+
version = "0.2.162"
|
| 1188 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1189 |
+
checksum = "18d287de67fe55fd7e1581fe933d965a5a9477b38e949cfa9f8574ef01506398"
|
| 1190 |
+
|
| 1191 |
+
[[package]]
|
| 1192 |
+
name = "libloading"
|
| 1193 |
+
version = "0.7.4"
|
| 1194 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1195 |
+
checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f"
|
| 1196 |
+
dependencies = [
|
| 1197 |
+
"cfg-if",
|
| 1198 |
+
"winapi",
|
| 1199 |
+
]
|
| 1200 |
+
|
| 1201 |
+
[[package]]
|
| 1202 |
+
name = "libredox"
|
| 1203 |
+
version = "0.1.3"
|
| 1204 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1205 |
+
checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d"
|
| 1206 |
+
dependencies = [
|
| 1207 |
+
"bitflags",
|
| 1208 |
+
"libc",
|
| 1209 |
+
"redox_syscall",
|
| 1210 |
+
]
|
| 1211 |
+
|
| 1212 |
+
[[package]]
|
| 1213 |
+
name = "linux-raw-sys"
|
| 1214 |
+
version = "0.4.14"
|
| 1215 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1216 |
+
checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
|
| 1217 |
+
|
| 1218 |
+
[[package]]
|
| 1219 |
+
name = "litemap"
|
| 1220 |
+
version = "0.7.3"
|
| 1221 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1222 |
+
checksum = "643cb0b8d4fcc284004d5fd0d67ccf61dfffadb7f75e1e71bc420f4688a3a704"
|
| 1223 |
+
|
| 1224 |
+
[[package]]
|
| 1225 |
+
name = "lockfree-object-pool"
|
| 1226 |
+
version = "0.1.6"
|
| 1227 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1228 |
+
checksum = "9374ef4228402d4b7e403e5838cb880d9ee663314b0a900d5a6aabf0c213552e"
|
| 1229 |
+
|
| 1230 |
+
[[package]]
|
| 1231 |
+
name = "log"
|
| 1232 |
+
version = "0.4.22"
|
| 1233 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1234 |
+
checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
|
| 1235 |
+
|
| 1236 |
+
[[package]]
|
| 1237 |
+
name = "lzma-rs"
|
| 1238 |
+
version = "0.3.0"
|
| 1239 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1240 |
+
checksum = "297e814c836ae64db86b36cf2a557ba54368d03f6afcd7d947c266692f71115e"
|
| 1241 |
+
dependencies = [
|
| 1242 |
+
"byteorder",
|
| 1243 |
+
"crc",
|
| 1244 |
+
]
|
| 1245 |
+
|
| 1246 |
+
[[package]]
|
| 1247 |
+
name = "memchr"
|
| 1248 |
+
version = "2.7.4"
|
| 1249 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1250 |
+
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
|
| 1251 |
+
|
| 1252 |
+
[[package]]
|
| 1253 |
+
name = "mime"
|
| 1254 |
+
version = "0.3.17"
|
| 1255 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1256 |
+
checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
|
| 1257 |
+
|
| 1258 |
+
[[package]]
|
| 1259 |
+
name = "miniz_oxide"
|
| 1260 |
+
version = "0.8.0"
|
| 1261 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1262 |
+
checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1"
|
| 1263 |
+
dependencies = [
|
| 1264 |
+
"adler2",
|
| 1265 |
+
]
|
| 1266 |
+
|
| 1267 |
+
[[package]]
|
| 1268 |
+
name = "mio"
|
| 1269 |
+
version = "1.0.2"
|
| 1270 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1271 |
+
checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec"
|
| 1272 |
+
dependencies = [
|
| 1273 |
+
"hermit-abi 0.3.9",
|
| 1274 |
+
"libc",
|
| 1275 |
+
"wasi",
|
| 1276 |
+
"windows-sys 0.52.0",
|
| 1277 |
+
]
|
| 1278 |
+
|
| 1279 |
+
[[package]]
|
| 1280 |
+
name = "native-tls"
|
| 1281 |
+
version = "0.2.12"
|
| 1282 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1283 |
+
checksum = "a8614eb2c83d59d1c8cc974dd3f920198647674a0a035e1af1fa58707e317466"
|
| 1284 |
+
dependencies = [
|
| 1285 |
+
"libc",
|
| 1286 |
+
"log",
|
| 1287 |
+
"openssl",
|
| 1288 |
+
"openssl-probe",
|
| 1289 |
+
"openssl-sys",
|
| 1290 |
+
"schannel",
|
| 1291 |
+
"security-framework",
|
| 1292 |
+
"security-framework-sys",
|
| 1293 |
+
"tempfile",
|
| 1294 |
+
]
|
| 1295 |
+
|
| 1296 |
+
[[package]]
|
| 1297 |
+
name = "num-conv"
|
| 1298 |
+
version = "0.1.0"
|
| 1299 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1300 |
+
checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
|
| 1301 |
+
|
| 1302 |
+
[[package]]
|
| 1303 |
+
name = "num-traits"
|
| 1304 |
+
version = "0.2.19"
|
| 1305 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1306 |
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
| 1307 |
+
dependencies = [
|
| 1308 |
+
"autocfg",
|
| 1309 |
+
]
|
| 1310 |
+
|
| 1311 |
+
[[package]]
|
| 1312 |
+
name = "object"
|
| 1313 |
+
version = "0.36.5"
|
| 1314 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1315 |
+
checksum = "aedf0a2d09c573ed1d8d85b30c119153926a2b36dce0ab28322c09a117a4683e"
|
| 1316 |
+
dependencies = [
|
| 1317 |
+
"memchr",
|
| 1318 |
+
]
|
| 1319 |
+
|
| 1320 |
+
[[package]]
|
| 1321 |
+
name = "once_cell"
|
| 1322 |
+
version = "1.20.2"
|
| 1323 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1324 |
+
checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
|
| 1325 |
+
|
| 1326 |
+
[[package]]
|
| 1327 |
+
name = "oorandom"
|
| 1328 |
+
version = "11.1.4"
|
| 1329 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1330 |
+
checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9"
|
| 1331 |
+
|
| 1332 |
+
[[package]]
|
| 1333 |
+
name = "openssl"
|
| 1334 |
+
version = "0.10.68"
|
| 1335 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1336 |
+
checksum = "6174bc48f102d208783c2c84bf931bb75927a617866870de8a4ea85597f871f5"
|
| 1337 |
+
dependencies = [
|
| 1338 |
+
"bitflags",
|
| 1339 |
+
"cfg-if",
|
| 1340 |
+
"foreign-types",
|
| 1341 |
+
"libc",
|
| 1342 |
+
"once_cell",
|
| 1343 |
+
"openssl-macros",
|
| 1344 |
+
"openssl-sys",
|
| 1345 |
+
]
|
| 1346 |
+
|
| 1347 |
+
[[package]]
|
| 1348 |
+
name = "openssl-macros"
|
| 1349 |
+
version = "0.1.1"
|
| 1350 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1351 |
+
checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
|
| 1352 |
+
dependencies = [
|
| 1353 |
+
"proc-macro2",
|
| 1354 |
+
"quote",
|
| 1355 |
+
"syn",
|
| 1356 |
+
]
|
| 1357 |
+
|
| 1358 |
+
[[package]]
|
| 1359 |
+
name = "openssl-probe"
|
| 1360 |
+
version = "0.1.5"
|
| 1361 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1362 |
+
checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
|
| 1363 |
+
|
| 1364 |
+
[[package]]
|
| 1365 |
+
name = "openssl-sys"
|
| 1366 |
+
version = "0.9.104"
|
| 1367 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1368 |
+
checksum = "45abf306cbf99debc8195b66b7346498d7b10c210de50418b5ccd7ceba08c741"
|
| 1369 |
+
dependencies = [
|
| 1370 |
+
"cc",
|
| 1371 |
+
"libc",
|
| 1372 |
+
"pkg-config",
|
| 1373 |
+
"vcpkg",
|
| 1374 |
+
]
|
| 1375 |
+
|
| 1376 |
+
[[package]]
|
| 1377 |
+
name = "pbkdf2"
|
| 1378 |
+
version = "0.12.2"
|
| 1379 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1380 |
+
checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2"
|
| 1381 |
+
dependencies = [
|
| 1382 |
+
"digest",
|
| 1383 |
+
"hmac",
|
| 1384 |
+
]
|
| 1385 |
+
|
| 1386 |
+
[[package]]
|
| 1387 |
+
name = "percent-encoding"
|
| 1388 |
+
version = "2.3.1"
|
| 1389 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1390 |
+
checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
|
| 1391 |
+
|
| 1392 |
+
[[package]]
|
| 1393 |
+
name = "pin-project-lite"
|
| 1394 |
+
version = "0.2.15"
|
| 1395 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1396 |
+
checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff"
|
| 1397 |
+
|
| 1398 |
+
[[package]]
|
| 1399 |
+
name = "pin-utils"
|
| 1400 |
+
version = "0.1.0"
|
| 1401 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1402 |
+
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
|
| 1403 |
+
|
| 1404 |
+
[[package]]
|
| 1405 |
+
name = "pkg-config"
|
| 1406 |
+
version = "0.3.31"
|
| 1407 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1408 |
+
checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2"
|
| 1409 |
+
|
| 1410 |
+
[[package]]
|
| 1411 |
+
name = "plotters"
|
| 1412 |
+
version = "0.3.7"
|
| 1413 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1414 |
+
checksum = "5aeb6f403d7a4911efb1e33402027fc44f29b5bf6def3effcc22d7bb75f2b747"
|
| 1415 |
+
dependencies = [
|
| 1416 |
+
"num-traits",
|
| 1417 |
+
"plotters-backend",
|
| 1418 |
+
"plotters-svg",
|
| 1419 |
+
"wasm-bindgen",
|
| 1420 |
+
"web-sys",
|
| 1421 |
+
]
|
| 1422 |
+
|
| 1423 |
+
[[package]]
|
| 1424 |
+
name = "plotters-backend"
|
| 1425 |
+
version = "0.3.7"
|
| 1426 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1427 |
+
checksum = "df42e13c12958a16b3f7f4386b9ab1f3e7933914ecea48da7139435263a4172a"
|
| 1428 |
+
|
| 1429 |
+
[[package]]
|
| 1430 |
+
name = "plotters-svg"
|
| 1431 |
+
version = "0.3.7"
|
| 1432 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1433 |
+
checksum = "51bae2ac328883f7acdfea3d66a7c35751187f870bc81f94563733a154d7a670"
|
| 1434 |
+
dependencies = [
|
| 1435 |
+
"plotters-backend",
|
| 1436 |
+
]
|
| 1437 |
+
|
| 1438 |
+
[[package]]
|
| 1439 |
+
name = "powerfmt"
|
| 1440 |
+
version = "0.2.0"
|
| 1441 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1442 |
+
checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
|
| 1443 |
+
|
| 1444 |
+
[[package]]
|
| 1445 |
+
name = "ppv-lite86"
|
| 1446 |
+
version = "0.2.20"
|
| 1447 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1448 |
+
checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04"
|
| 1449 |
+
dependencies = [
|
| 1450 |
+
"zerocopy",
|
| 1451 |
+
]
|
| 1452 |
+
|
| 1453 |
+
[[package]]
|
| 1454 |
+
name = "proc-macro2"
|
| 1455 |
+
version = "1.0.89"
|
| 1456 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1457 |
+
checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e"
|
| 1458 |
+
dependencies = [
|
| 1459 |
+
"unicode-ident",
|
| 1460 |
+
]
|
| 1461 |
+
|
| 1462 |
+
[[package]]
|
| 1463 |
+
name = "quick-xml"
|
| 1464 |
+
version = "0.37.1"
|
| 1465 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1466 |
+
checksum = "f22f29bdff3987b4d8632ef95fd6424ec7e4e0a57e2f4fc63e489e75357f6a03"
|
| 1467 |
+
dependencies = [
|
| 1468 |
+
"memchr",
|
| 1469 |
+
]
|
| 1470 |
+
|
| 1471 |
+
[[package]]
|
| 1472 |
+
name = "quote"
|
| 1473 |
+
version = "1.0.37"
|
| 1474 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1475 |
+
checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
|
| 1476 |
+
dependencies = [
|
| 1477 |
+
"proc-macro2",
|
| 1478 |
+
]
|
| 1479 |
+
|
| 1480 |
+
[[package]]
|
| 1481 |
+
name = "rand"
|
| 1482 |
+
version = "0.8.5"
|
| 1483 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1484 |
+
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
|
| 1485 |
+
dependencies = [
|
| 1486 |
+
"libc",
|
| 1487 |
+
"rand_chacha",
|
| 1488 |
+
"rand_core",
|
| 1489 |
+
]
|
| 1490 |
+
|
| 1491 |
+
[[package]]
|
| 1492 |
+
name = "rand_chacha"
|
| 1493 |
+
version = "0.3.1"
|
| 1494 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1495 |
+
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
|
| 1496 |
+
dependencies = [
|
| 1497 |
+
"ppv-lite86",
|
| 1498 |
+
"rand_core",
|
| 1499 |
+
]
|
| 1500 |
+
|
| 1501 |
+
[[package]]
|
| 1502 |
+
name = "rand_core"
|
| 1503 |
+
version = "0.6.4"
|
| 1504 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1505 |
+
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
|
| 1506 |
+
dependencies = [
|
| 1507 |
+
"getrandom",
|
| 1508 |
+
]
|
| 1509 |
+
|
| 1510 |
+
[[package]]
|
| 1511 |
+
name = "rayon"
|
| 1512 |
+
version = "1.10.0"
|
| 1513 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1514 |
+
checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa"
|
| 1515 |
+
dependencies = [
|
| 1516 |
+
"either",
|
| 1517 |
+
"rayon-core",
|
| 1518 |
+
]
|
| 1519 |
+
|
| 1520 |
+
[[package]]
|
| 1521 |
+
name = "rayon-core"
|
| 1522 |
+
version = "1.12.1"
|
| 1523 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1524 |
+
checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"
|
| 1525 |
+
dependencies = [
|
| 1526 |
+
"crossbeam-deque",
|
| 1527 |
+
"crossbeam-utils",
|
| 1528 |
+
]
|
| 1529 |
+
|
| 1530 |
+
[[package]]
|
| 1531 |
+
name = "redox_syscall"
|
| 1532 |
+
version = "0.5.7"
|
| 1533 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1534 |
+
checksum = "9b6dfecf2c74bce2466cabf93f6664d6998a69eb21e39f4207930065b27b771f"
|
| 1535 |
+
dependencies = [
|
| 1536 |
+
"bitflags",
|
| 1537 |
+
]
|
| 1538 |
+
|
| 1539 |
+
[[package]]
|
| 1540 |
+
name = "regex"
|
| 1541 |
+
version = "1.11.1"
|
| 1542 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1543 |
+
checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
|
| 1544 |
+
dependencies = [
|
| 1545 |
+
"aho-corasick",
|
| 1546 |
+
"memchr",
|
| 1547 |
+
"regex-automata",
|
| 1548 |
+
"regex-syntax",
|
| 1549 |
+
]
|
| 1550 |
+
|
| 1551 |
+
[[package]]
|
| 1552 |
+
name = "regex-automata"
|
| 1553 |
+
version = "0.4.9"
|
| 1554 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1555 |
+
checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
|
| 1556 |
+
dependencies = [
|
| 1557 |
+
"aho-corasick",
|
| 1558 |
+
"memchr",
|
| 1559 |
+
"regex-syntax",
|
| 1560 |
+
]
|
| 1561 |
+
|
| 1562 |
+
[[package]]
|
| 1563 |
+
name = "regex-syntax"
|
| 1564 |
+
version = "0.8.5"
|
| 1565 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1566 |
+
checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
|
| 1567 |
+
|
| 1568 |
+
[[package]]
|
| 1569 |
+
name = "reqwest"
|
| 1570 |
+
version = "0.12.9"
|
| 1571 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1572 |
+
checksum = "a77c62af46e79de0a562e1a9849205ffcb7fc1238876e9bd743357570e04046f"
|
| 1573 |
+
dependencies = [
|
| 1574 |
+
"base64",
|
| 1575 |
+
"bytes",
|
| 1576 |
+
"encoding_rs",
|
| 1577 |
+
"futures-channel",
|
| 1578 |
+
"futures-core",
|
| 1579 |
+
"futures-util",
|
| 1580 |
+
"h2",
|
| 1581 |
+
"http",
|
| 1582 |
+
"http-body",
|
| 1583 |
+
"http-body-util",
|
| 1584 |
+
"hyper",
|
| 1585 |
+
"hyper-rustls",
|
| 1586 |
+
"hyper-tls",
|
| 1587 |
+
"hyper-util",
|
| 1588 |
+
"ipnet",
|
| 1589 |
+
"js-sys",
|
| 1590 |
+
"log",
|
| 1591 |
+
"mime",
|
| 1592 |
+
"native-tls",
|
| 1593 |
+
"once_cell",
|
| 1594 |
+
"percent-encoding",
|
| 1595 |
+
"pin-project-lite",
|
| 1596 |
+
"rustls-pemfile",
|
| 1597 |
+
"serde",
|
| 1598 |
+
"serde_json",
|
| 1599 |
+
"serde_urlencoded",
|
| 1600 |
+
"sync_wrapper",
|
| 1601 |
+
"system-configuration",
|
| 1602 |
+
"tokio",
|
| 1603 |
+
"tokio-native-tls",
|
| 1604 |
+
"tower-service",
|
| 1605 |
+
"url",
|
| 1606 |
+
"wasm-bindgen",
|
| 1607 |
+
"wasm-bindgen-futures",
|
| 1608 |
+
"web-sys",
|
| 1609 |
+
"windows-registry",
|
| 1610 |
+
]
|
| 1611 |
+
|
| 1612 |
+
[[package]]
|
| 1613 |
+
name = "ring"
|
| 1614 |
+
version = "0.17.8"
|
| 1615 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1616 |
+
checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d"
|
| 1617 |
+
dependencies = [
|
| 1618 |
+
"cc",
|
| 1619 |
+
"cfg-if",
|
| 1620 |
+
"getrandom",
|
| 1621 |
+
"libc",
|
| 1622 |
+
"spin",
|
| 1623 |
+
"untrusted",
|
| 1624 |
+
"windows-sys 0.52.0",
|
| 1625 |
+
]
|
| 1626 |
+
|
| 1627 |
+
[[package]]
|
| 1628 |
+
name = "rustc-demangle"
|
| 1629 |
+
version = "0.1.24"
|
| 1630 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1631 |
+
checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f"
|
| 1632 |
+
|
| 1633 |
+
[[package]]
|
| 1634 |
+
name = "rustix"
|
| 1635 |
+
version = "0.38.40"
|
| 1636 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1637 |
+
checksum = "99e4ea3e1cdc4b559b8e5650f9c8e5998e3e5c1343b4eaf034565f32318d63c0"
|
| 1638 |
+
dependencies = [
|
| 1639 |
+
"bitflags",
|
| 1640 |
+
"errno",
|
| 1641 |
+
"libc",
|
| 1642 |
+
"linux-raw-sys",
|
| 1643 |
+
"windows-sys 0.52.0",
|
| 1644 |
+
]
|
| 1645 |
+
|
| 1646 |
+
[[package]]
|
| 1647 |
+
name = "rustls"
|
| 1648 |
+
version = "0.23.16"
|
| 1649 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1650 |
+
checksum = "eee87ff5d9b36712a58574e12e9f0ea80f915a5b0ac518d322b24a465617925e"
|
| 1651 |
+
dependencies = [
|
| 1652 |
+
"once_cell",
|
| 1653 |
+
"rustls-pki-types",
|
| 1654 |
+
"rustls-webpki",
|
| 1655 |
+
"subtle",
|
| 1656 |
+
"zeroize",
|
| 1657 |
+
]
|
| 1658 |
+
|
| 1659 |
+
[[package]]
|
| 1660 |
+
name = "rustls-pemfile"
|
| 1661 |
+
version = "2.2.0"
|
| 1662 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1663 |
+
checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50"
|
| 1664 |
+
dependencies = [
|
| 1665 |
+
"rustls-pki-types",
|
| 1666 |
+
]
|
| 1667 |
+
|
| 1668 |
+
[[package]]
|
| 1669 |
+
name = "rustls-pki-types"
|
| 1670 |
+
version = "1.10.0"
|
| 1671 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1672 |
+
checksum = "16f1201b3c9a7ee8039bcadc17b7e605e2945b27eee7631788c1bd2b0643674b"
|
| 1673 |
+
|
| 1674 |
+
[[package]]
|
| 1675 |
+
name = "rustls-webpki"
|
| 1676 |
+
version = "0.102.8"
|
| 1677 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1678 |
+
checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9"
|
| 1679 |
+
dependencies = [
|
| 1680 |
+
"ring",
|
| 1681 |
+
"rustls-pki-types",
|
| 1682 |
+
"untrusted",
|
| 1683 |
+
]
|
| 1684 |
+
|
| 1685 |
+
[[package]]
|
| 1686 |
+
name = "rustversion"
|
| 1687 |
+
version = "1.0.18"
|
| 1688 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1689 |
+
checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248"
|
| 1690 |
+
|
| 1691 |
+
[[package]]
|
| 1692 |
+
name = "ryu"
|
| 1693 |
+
version = "1.0.18"
|
| 1694 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1695 |
+
checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
|
| 1696 |
+
|
| 1697 |
+
[[package]]
|
| 1698 |
+
name = "same-file"
|
| 1699 |
+
version = "1.0.6"
|
| 1700 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1701 |
+
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
|
| 1702 |
+
dependencies = [
|
| 1703 |
+
"winapi-util",
|
| 1704 |
+
]
|
| 1705 |
+
|
| 1706 |
+
[[package]]
|
| 1707 |
+
name = "schannel"
|
| 1708 |
+
version = "0.1.26"
|
| 1709 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1710 |
+
checksum = "01227be5826fa0690321a2ba6c5cd57a19cf3f6a09e76973b58e61de6ab9d1c1"
|
| 1711 |
+
dependencies = [
|
| 1712 |
+
"windows-sys 0.59.0",
|
| 1713 |
+
]
|
| 1714 |
+
|
| 1715 |
+
[[package]]
|
| 1716 |
+
name = "security-framework"
|
| 1717 |
+
version = "2.11.1"
|
| 1718 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1719 |
+
checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02"
|
| 1720 |
+
dependencies = [
|
| 1721 |
+
"bitflags",
|
| 1722 |
+
"core-foundation",
|
| 1723 |
+
"core-foundation-sys",
|
| 1724 |
+
"libc",
|
| 1725 |
+
"security-framework-sys",
|
| 1726 |
+
]
|
| 1727 |
+
|
| 1728 |
+
[[package]]
|
| 1729 |
+
name = "security-framework-sys"
|
| 1730 |
+
version = "2.12.1"
|
| 1731 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1732 |
+
checksum = "fa39c7303dc58b5543c94d22c1766b0d31f2ee58306363ea622b10bbc075eaa2"
|
| 1733 |
+
dependencies = [
|
| 1734 |
+
"core-foundation-sys",
|
| 1735 |
+
"libc",
|
| 1736 |
+
]
|
| 1737 |
+
|
| 1738 |
+
[[package]]
|
| 1739 |
+
name = "serde"
|
| 1740 |
+
version = "1.0.215"
|
| 1741 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1742 |
+
checksum = "6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f"
|
| 1743 |
+
dependencies = [
|
| 1744 |
+
"serde_derive",
|
| 1745 |
+
]
|
| 1746 |
+
|
| 1747 |
+
[[package]]
|
| 1748 |
+
name = "serde_derive"
|
| 1749 |
+
version = "1.0.215"
|
| 1750 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1751 |
+
checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0"
|
| 1752 |
+
dependencies = [
|
| 1753 |
+
"proc-macro2",
|
| 1754 |
+
"quote",
|
| 1755 |
+
"syn",
|
| 1756 |
+
]
|
| 1757 |
+
|
| 1758 |
+
[[package]]
|
| 1759 |
+
name = "serde_json"
|
| 1760 |
+
version = "1.0.132"
|
| 1761 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1762 |
+
checksum = "d726bfaff4b320266d395898905d0eba0345aae23b54aee3a737e260fd46db03"
|
| 1763 |
+
dependencies = [
|
| 1764 |
+
"itoa",
|
| 1765 |
+
"memchr",
|
| 1766 |
+
"ryu",
|
| 1767 |
+
"serde",
|
| 1768 |
+
]
|
| 1769 |
+
|
| 1770 |
+
[[package]]
|
| 1771 |
+
name = "serde_urlencoded"
|
| 1772 |
+
version = "0.7.1"
|
| 1773 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1774 |
+
checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd"
|
| 1775 |
+
dependencies = [
|
| 1776 |
+
"form_urlencoded",
|
| 1777 |
+
"itoa",
|
| 1778 |
+
"ryu",
|
| 1779 |
+
"serde",
|
| 1780 |
+
]
|
| 1781 |
+
|
| 1782 |
+
[[package]]
|
| 1783 |
+
name = "sha1"
|
| 1784 |
+
version = "0.10.6"
|
| 1785 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1786 |
+
checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"
|
| 1787 |
+
dependencies = [
|
| 1788 |
+
"cfg-if",
|
| 1789 |
+
"cpufeatures",
|
| 1790 |
+
"digest",
|
| 1791 |
+
]
|
| 1792 |
+
|
| 1793 |
+
[[package]]
|
| 1794 |
+
name = "shlex"
|
| 1795 |
+
version = "1.3.0"
|
| 1796 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1797 |
+
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
| 1798 |
+
|
| 1799 |
+
[[package]]
|
| 1800 |
+
name = "simd-adler32"
|
| 1801 |
+
version = "0.3.7"
|
| 1802 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1803 |
+
checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe"
|
| 1804 |
+
|
| 1805 |
+
[[package]]
|
| 1806 |
+
name = "slab"
|
| 1807 |
+
version = "0.4.9"
|
| 1808 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1809 |
+
checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67"
|
| 1810 |
+
dependencies = [
|
| 1811 |
+
"autocfg",
|
| 1812 |
+
]
|
| 1813 |
+
|
| 1814 |
+
[[package]]
|
| 1815 |
+
name = "smallvec"
|
| 1816 |
+
version = "1.13.2"
|
| 1817 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1818 |
+
checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
|
| 1819 |
+
|
| 1820 |
+
[[package]]
|
| 1821 |
+
name = "socket2"
|
| 1822 |
+
version = "0.5.7"
|
| 1823 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1824 |
+
checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c"
|
| 1825 |
+
dependencies = [
|
| 1826 |
+
"libc",
|
| 1827 |
+
"windows-sys 0.52.0",
|
| 1828 |
+
]
|
| 1829 |
+
|
| 1830 |
+
[[package]]
|
| 1831 |
+
name = "spin"
|
| 1832 |
+
version = "0.9.8"
|
| 1833 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1834 |
+
checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
|
| 1835 |
+
|
| 1836 |
+
[[package]]
|
| 1837 |
+
name = "stable_deref_trait"
|
| 1838 |
+
version = "1.2.0"
|
| 1839 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1840 |
+
checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
|
| 1841 |
+
|
| 1842 |
+
[[package]]
|
| 1843 |
+
name = "strum"
|
| 1844 |
+
version = "0.26.3"
|
| 1845 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1846 |
+
checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06"
|
| 1847 |
+
|
| 1848 |
+
[[package]]
|
| 1849 |
+
name = "strum_macros"
|
| 1850 |
+
version = "0.26.4"
|
| 1851 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1852 |
+
checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be"
|
| 1853 |
+
dependencies = [
|
| 1854 |
+
"heck",
|
| 1855 |
+
"proc-macro2",
|
| 1856 |
+
"quote",
|
| 1857 |
+
"rustversion",
|
| 1858 |
+
"syn",
|
| 1859 |
+
]
|
| 1860 |
+
|
| 1861 |
+
[[package]]
|
| 1862 |
+
name = "subtle"
|
| 1863 |
+
version = "2.6.1"
|
| 1864 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1865 |
+
checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
|
| 1866 |
+
|
| 1867 |
+
[[package]]
|
| 1868 |
+
name = "syn"
|
| 1869 |
+
version = "2.0.87"
|
| 1870 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1871 |
+
checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d"
|
| 1872 |
+
dependencies = [
|
| 1873 |
+
"proc-macro2",
|
| 1874 |
+
"quote",
|
| 1875 |
+
"unicode-ident",
|
| 1876 |
+
]
|
| 1877 |
+
|
| 1878 |
+
[[package]]
|
| 1879 |
+
name = "sync_wrapper"
|
| 1880 |
+
version = "1.0.1"
|
| 1881 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1882 |
+
checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394"
|
| 1883 |
+
dependencies = [
|
| 1884 |
+
"futures-core",
|
| 1885 |
+
]
|
| 1886 |
+
|
| 1887 |
+
[[package]]
|
| 1888 |
+
name = "synstructure"
|
| 1889 |
+
version = "0.13.1"
|
| 1890 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1891 |
+
checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
|
| 1892 |
+
dependencies = [
|
| 1893 |
+
"proc-macro2",
|
| 1894 |
+
"quote",
|
| 1895 |
+
"syn",
|
| 1896 |
+
]
|
| 1897 |
+
|
| 1898 |
+
[[package]]
|
| 1899 |
+
name = "system-configuration"
|
| 1900 |
+
version = "0.6.1"
|
| 1901 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1902 |
+
checksum = "3c879d448e9d986b661742763247d3693ed13609438cf3d006f51f5368a5ba6b"
|
| 1903 |
+
dependencies = [
|
| 1904 |
+
"bitflags",
|
| 1905 |
+
"core-foundation",
|
| 1906 |
+
"system-configuration-sys",
|
| 1907 |
+
]
|
| 1908 |
+
|
| 1909 |
+
[[package]]
|
| 1910 |
+
name = "system-configuration-sys"
|
| 1911 |
+
version = "0.6.0"
|
| 1912 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1913 |
+
checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4"
|
| 1914 |
+
dependencies = [
|
| 1915 |
+
"core-foundation-sys",
|
| 1916 |
+
"libc",
|
| 1917 |
+
]
|
| 1918 |
+
|
| 1919 |
+
[[package]]
|
| 1920 |
+
name = "tar"
|
| 1921 |
+
version = "0.4.43"
|
| 1922 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1923 |
+
checksum = "c65998313f8e17d0d553d28f91a0df93e4dbbbf770279c7bc21ca0f09ea1a1f6"
|
| 1924 |
+
dependencies = [
|
| 1925 |
+
"filetime",
|
| 1926 |
+
"libc",
|
| 1927 |
+
"xattr",
|
| 1928 |
+
]
|
| 1929 |
+
|
| 1930 |
+
[[package]]
|
| 1931 |
+
name = "tempfile"
|
| 1932 |
+
version = "3.14.0"
|
| 1933 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1934 |
+
checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c"
|
| 1935 |
+
dependencies = [
|
| 1936 |
+
"cfg-if",
|
| 1937 |
+
"fastrand",
|
| 1938 |
+
"once_cell",
|
| 1939 |
+
"rustix",
|
| 1940 |
+
"windows-sys 0.59.0",
|
| 1941 |
+
]
|
| 1942 |
+
|
| 1943 |
+
[[package]]
|
| 1944 |
+
name = "test-case"
|
| 1945 |
+
version = "3.3.1"
|
| 1946 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1947 |
+
checksum = "eb2550dd13afcd286853192af8601920d959b14c401fcece38071d53bf0768a8"
|
| 1948 |
+
dependencies = [
|
| 1949 |
+
"test-case-macros",
|
| 1950 |
+
]
|
| 1951 |
+
|
| 1952 |
+
[[package]]
|
| 1953 |
+
name = "test-case-core"
|
| 1954 |
+
version = "3.3.1"
|
| 1955 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1956 |
+
checksum = "adcb7fd841cd518e279be3d5a3eb0636409487998a4aff22f3de87b81e88384f"
|
| 1957 |
+
dependencies = [
|
| 1958 |
+
"cfg-if",
|
| 1959 |
+
"proc-macro2",
|
| 1960 |
+
"quote",
|
| 1961 |
+
"syn",
|
| 1962 |
+
]
|
| 1963 |
+
|
| 1964 |
+
[[package]]
|
| 1965 |
+
name = "test-case-macros"
|
| 1966 |
+
version = "3.3.1"
|
| 1967 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1968 |
+
checksum = "5c89e72a01ed4c579669add59014b9a524d609c0c88c6a585ce37485879f6ffb"
|
| 1969 |
+
dependencies = [
|
| 1970 |
+
"proc-macro2",
|
| 1971 |
+
"quote",
|
| 1972 |
+
"syn",
|
| 1973 |
+
"test-case-core",
|
| 1974 |
+
]
|
| 1975 |
+
|
| 1976 |
+
[[package]]
|
| 1977 |
+
name = "textdistance"
|
| 1978 |
+
version = "1.1.0"
|
| 1979 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1980 |
+
checksum = "7f1835c76a9d443834c04539860f3ce46b9d93ef8c260057f939e967ca81180a"
|
| 1981 |
+
|
| 1982 |
+
[[package]]
|
| 1983 |
+
name = "thiserror"
|
| 1984 |
+
version = "1.0.69"
|
| 1985 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1986 |
+
checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
|
| 1987 |
+
dependencies = [
|
| 1988 |
+
"thiserror-impl",
|
| 1989 |
+
]
|
| 1990 |
+
|
| 1991 |
+
[[package]]
|
| 1992 |
+
name = "thiserror-impl"
|
| 1993 |
+
version = "1.0.69"
|
| 1994 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1995 |
+
checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
|
| 1996 |
+
dependencies = [
|
| 1997 |
+
"proc-macro2",
|
| 1998 |
+
"quote",
|
| 1999 |
+
"syn",
|
| 2000 |
+
]
|
| 2001 |
+
|
| 2002 |
+
[[package]]
|
| 2003 |
+
name = "time"
|
| 2004 |
+
version = "0.3.36"
|
| 2005 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2006 |
+
checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
|
| 2007 |
+
dependencies = [
|
| 2008 |
+
"deranged",
|
| 2009 |
+
"num-conv",
|
| 2010 |
+
"powerfmt",
|
| 2011 |
+
"serde",
|
| 2012 |
+
"time-core",
|
| 2013 |
+
]
|
| 2014 |
+
|
| 2015 |
+
[[package]]
|
| 2016 |
+
name = "time-core"
|
| 2017 |
+
version = "0.1.2"
|
| 2018 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2019 |
+
checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
|
| 2020 |
+
|
| 2021 |
+
[[package]]
|
| 2022 |
+
name = "tinystr"
|
| 2023 |
+
version = "0.7.6"
|
| 2024 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2025 |
+
checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f"
|
| 2026 |
+
dependencies = [
|
| 2027 |
+
"displaydoc",
|
| 2028 |
+
"zerovec",
|
| 2029 |
+
]
|
| 2030 |
+
|
| 2031 |
+
[[package]]
|
| 2032 |
+
name = "tinytemplate"
|
| 2033 |
+
version = "1.2.1"
|
| 2034 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2035 |
+
checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc"
|
| 2036 |
+
dependencies = [
|
| 2037 |
+
"serde",
|
| 2038 |
+
"serde_json",
|
| 2039 |
+
]
|
| 2040 |
+
|
| 2041 |
+
[[package]]
|
| 2042 |
+
name = "tokio"
|
| 2043 |
+
version = "1.41.1"
|
| 2044 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2045 |
+
checksum = "22cfb5bee7a6a52939ca9224d6ac897bb669134078daa8735560897f69de4d33"
|
| 2046 |
+
dependencies = [
|
| 2047 |
+
"backtrace",
|
| 2048 |
+
"bytes",
|
| 2049 |
+
"libc",
|
| 2050 |
+
"mio",
|
| 2051 |
+
"pin-project-lite",
|
| 2052 |
+
"socket2",
|
| 2053 |
+
"windows-sys 0.52.0",
|
| 2054 |
+
]
|
| 2055 |
+
|
| 2056 |
+
[[package]]
|
| 2057 |
+
name = "tokio-native-tls"
|
| 2058 |
+
version = "0.3.1"
|
| 2059 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2060 |
+
checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2"
|
| 2061 |
+
dependencies = [
|
| 2062 |
+
"native-tls",
|
| 2063 |
+
"tokio",
|
| 2064 |
+
]
|
| 2065 |
+
|
| 2066 |
+
[[package]]
|
| 2067 |
+
name = "tokio-rustls"
|
| 2068 |
+
version = "0.26.0"
|
| 2069 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2070 |
+
checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4"
|
| 2071 |
+
dependencies = [
|
| 2072 |
+
"rustls",
|
| 2073 |
+
"rustls-pki-types",
|
| 2074 |
+
"tokio",
|
| 2075 |
+
]
|
| 2076 |
+
|
| 2077 |
+
[[package]]
|
| 2078 |
+
name = "tokio-util"
|
| 2079 |
+
version = "0.7.12"
|
| 2080 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2081 |
+
checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a"
|
| 2082 |
+
dependencies = [
|
| 2083 |
+
"bytes",
|
| 2084 |
+
"futures-core",
|
| 2085 |
+
"futures-sink",
|
| 2086 |
+
"pin-project-lite",
|
| 2087 |
+
"tokio",
|
| 2088 |
+
]
|
| 2089 |
+
|
| 2090 |
+
[[package]]
|
| 2091 |
+
name = "tower-service"
|
| 2092 |
+
version = "0.3.3"
|
| 2093 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2094 |
+
checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3"
|
| 2095 |
+
|
| 2096 |
+
[[package]]
|
| 2097 |
+
name = "tracing"
|
| 2098 |
+
version = "0.1.40"
|
| 2099 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2100 |
+
checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef"
|
| 2101 |
+
dependencies = [
|
| 2102 |
+
"pin-project-lite",
|
| 2103 |
+
"tracing-core",
|
| 2104 |
+
]
|
| 2105 |
+
|
| 2106 |
+
[[package]]
|
| 2107 |
+
name = "tracing-core"
|
| 2108 |
+
version = "0.1.32"
|
| 2109 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2110 |
+
checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54"
|
| 2111 |
+
dependencies = [
|
| 2112 |
+
"once_cell",
|
| 2113 |
+
]
|
| 2114 |
+
|
| 2115 |
+
[[package]]
|
| 2116 |
+
name = "try-lock"
|
| 2117 |
+
version = "0.2.5"
|
| 2118 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2119 |
+
checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
|
| 2120 |
+
|
| 2121 |
+
[[package]]
|
| 2122 |
+
name = "typenum"
|
| 2123 |
+
version = "1.17.0"
|
| 2124 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2125 |
+
checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
|
| 2126 |
+
|
| 2127 |
+
[[package]]
|
| 2128 |
+
name = "unicode-ident"
|
| 2129 |
+
version = "1.0.13"
|
| 2130 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2131 |
+
checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe"
|
| 2132 |
+
|
| 2133 |
+
[[package]]
|
| 2134 |
+
name = "untrusted"
|
| 2135 |
+
version = "0.9.0"
|
| 2136 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2137 |
+
checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
|
| 2138 |
+
|
| 2139 |
+
[[package]]
|
| 2140 |
+
name = "url"
|
| 2141 |
+
version = "2.5.3"
|
| 2142 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2143 |
+
checksum = "8d157f1b96d14500ffdc1f10ba712e780825526c03d9a49b4d0324b0d9113ada"
|
| 2144 |
+
dependencies = [
|
| 2145 |
+
"form_urlencoded",
|
| 2146 |
+
"idna",
|
| 2147 |
+
"percent-encoding",
|
| 2148 |
+
]
|
| 2149 |
+
|
| 2150 |
+
[[package]]
|
| 2151 |
+
name = "utf16_iter"
|
| 2152 |
+
version = "1.0.5"
|
| 2153 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2154 |
+
checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246"
|
| 2155 |
+
|
| 2156 |
+
[[package]]
|
| 2157 |
+
name = "utf8_iter"
|
| 2158 |
+
version = "1.0.4"
|
| 2159 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2160 |
+
checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
|
| 2161 |
+
|
| 2162 |
+
[[package]]
|
| 2163 |
+
name = "vcpkg"
|
| 2164 |
+
version = "0.2.15"
|
| 2165 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2166 |
+
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
|
| 2167 |
+
|
| 2168 |
+
[[package]]
|
| 2169 |
+
name = "version_check"
|
| 2170 |
+
version = "0.9.5"
|
| 2171 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2172 |
+
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
|
| 2173 |
+
|
| 2174 |
+
[[package]]
|
| 2175 |
+
name = "walkdir"
|
| 2176 |
+
version = "2.5.0"
|
| 2177 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2178 |
+
checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
|
| 2179 |
+
dependencies = [
|
| 2180 |
+
"same-file",
|
| 2181 |
+
"winapi-util",
|
| 2182 |
+
]
|
| 2183 |
+
|
| 2184 |
+
[[package]]
|
| 2185 |
+
name = "want"
|
| 2186 |
+
version = "0.3.1"
|
| 2187 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2188 |
+
checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e"
|
| 2189 |
+
dependencies = [
|
| 2190 |
+
"try-lock",
|
| 2191 |
+
]
|
| 2192 |
+
|
| 2193 |
+
[[package]]
|
| 2194 |
+
name = "wasi"
|
| 2195 |
+
version = "0.11.0+wasi-snapshot-preview1"
|
| 2196 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2197 |
+
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
|
| 2198 |
+
|
| 2199 |
+
[[package]]
|
| 2200 |
+
name = "wasm-bindgen"
|
| 2201 |
+
version = "0.2.95"
|
| 2202 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2203 |
+
checksum = "128d1e363af62632b8eb57219c8fd7877144af57558fb2ef0368d0087bddeb2e"
|
| 2204 |
+
dependencies = [
|
| 2205 |
+
"cfg-if",
|
| 2206 |
+
"once_cell",
|
| 2207 |
+
"wasm-bindgen-macro",
|
| 2208 |
+
]
|
| 2209 |
+
|
| 2210 |
+
[[package]]
|
| 2211 |
+
name = "wasm-bindgen-backend"
|
| 2212 |
+
version = "0.2.95"
|
| 2213 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2214 |
+
checksum = "cb6dd4d3ca0ddffd1dd1c9c04f94b868c37ff5fac97c30b97cff2d74fce3a358"
|
| 2215 |
+
dependencies = [
|
| 2216 |
+
"bumpalo",
|
| 2217 |
+
"log",
|
| 2218 |
+
"once_cell",
|
| 2219 |
+
"proc-macro2",
|
| 2220 |
+
"quote",
|
| 2221 |
+
"syn",
|
| 2222 |
+
"wasm-bindgen-shared",
|
| 2223 |
+
]
|
| 2224 |
+
|
| 2225 |
+
[[package]]
|
| 2226 |
+
name = "wasm-bindgen-futures"
|
| 2227 |
+
version = "0.4.45"
|
| 2228 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2229 |
+
checksum = "cc7ec4f8827a71586374db3e87abdb5a2bb3a15afed140221307c3ec06b1f63b"
|
| 2230 |
+
dependencies = [
|
| 2231 |
+
"cfg-if",
|
| 2232 |
+
"js-sys",
|
| 2233 |
+
"wasm-bindgen",
|
| 2234 |
+
"web-sys",
|
| 2235 |
+
]
|
| 2236 |
+
|
| 2237 |
+
[[package]]
|
| 2238 |
+
name = "wasm-bindgen-macro"
|
| 2239 |
+
version = "0.2.95"
|
| 2240 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2241 |
+
checksum = "e79384be7f8f5a9dd5d7167216f022090cf1f9ec128e6e6a482a2cb5c5422c56"
|
| 2242 |
+
dependencies = [
|
| 2243 |
+
"quote",
|
| 2244 |
+
"wasm-bindgen-macro-support",
|
| 2245 |
+
]
|
| 2246 |
+
|
| 2247 |
+
[[package]]
|
| 2248 |
+
name = "wasm-bindgen-macro-support"
|
| 2249 |
+
version = "0.2.95"
|
| 2250 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2251 |
+
checksum = "26c6ab57572f7a24a4985830b120de1594465e5d500f24afe89e16b4e833ef68"
|
| 2252 |
+
dependencies = [
|
| 2253 |
+
"proc-macro2",
|
| 2254 |
+
"quote",
|
| 2255 |
+
"syn",
|
| 2256 |
+
"wasm-bindgen-backend",
|
| 2257 |
+
"wasm-bindgen-shared",
|
| 2258 |
+
]
|
| 2259 |
+
|
| 2260 |
+
[[package]]
|
| 2261 |
+
name = "wasm-bindgen-shared"
|
| 2262 |
+
version = "0.2.95"
|
| 2263 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2264 |
+
checksum = "65fc09f10666a9f147042251e0dda9c18f166ff7de300607007e96bdebc1068d"
|
| 2265 |
+
|
| 2266 |
+
[[package]]
|
| 2267 |
+
name = "web-sys"
|
| 2268 |
+
version = "0.3.72"
|
| 2269 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2270 |
+
checksum = "f6488b90108c040df0fe62fa815cbdee25124641df01814dd7282749234c6112"
|
| 2271 |
+
dependencies = [
|
| 2272 |
+
"js-sys",
|
| 2273 |
+
"wasm-bindgen",
|
| 2274 |
+
]
|
| 2275 |
+
|
| 2276 |
+
[[package]]
|
| 2277 |
+
name = "winapi"
|
| 2278 |
+
version = "0.3.9"
|
| 2279 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2280 |
+
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
| 2281 |
+
dependencies = [
|
| 2282 |
+
"winapi-i686-pc-windows-gnu",
|
| 2283 |
+
"winapi-x86_64-pc-windows-gnu",
|
| 2284 |
+
]
|
| 2285 |
+
|
| 2286 |
+
[[package]]
|
| 2287 |
+
name = "winapi-i686-pc-windows-gnu"
|
| 2288 |
+
version = "0.4.0"
|
| 2289 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2290 |
+
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
| 2291 |
+
|
| 2292 |
+
[[package]]
|
| 2293 |
+
name = "winapi-util"
|
| 2294 |
+
version = "0.1.9"
|
| 2295 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2296 |
+
checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
|
| 2297 |
+
dependencies = [
|
| 2298 |
+
"windows-sys 0.59.0",
|
| 2299 |
+
]
|
| 2300 |
+
|
| 2301 |
+
[[package]]
|
| 2302 |
+
name = "winapi-x86_64-pc-windows-gnu"
|
| 2303 |
+
version = "0.4.0"
|
| 2304 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2305 |
+
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
| 2306 |
+
|
| 2307 |
+
[[package]]
|
| 2308 |
+
name = "windows-registry"
|
| 2309 |
+
version = "0.2.0"
|
| 2310 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2311 |
+
checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0"
|
| 2312 |
+
dependencies = [
|
| 2313 |
+
"windows-result",
|
| 2314 |
+
"windows-strings",
|
| 2315 |
+
"windows-targets 0.52.6",
|
| 2316 |
+
]
|
| 2317 |
+
|
| 2318 |
+
[[package]]
|
| 2319 |
+
name = "windows-result"
|
| 2320 |
+
version = "0.2.0"
|
| 2321 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2322 |
+
checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e"
|
| 2323 |
+
dependencies = [
|
| 2324 |
+
"windows-targets 0.52.6",
|
| 2325 |
+
]
|
| 2326 |
+
|
| 2327 |
+
[[package]]
|
| 2328 |
+
name = "windows-strings"
|
| 2329 |
+
version = "0.1.0"
|
| 2330 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2331 |
+
checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10"
|
| 2332 |
+
dependencies = [
|
| 2333 |
+
"windows-result",
|
| 2334 |
+
"windows-targets 0.52.6",
|
| 2335 |
+
]
|
| 2336 |
+
|
| 2337 |
+
[[package]]
|
| 2338 |
+
name = "windows-sys"
|
| 2339 |
+
version = "0.45.0"
|
| 2340 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2341 |
+
checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0"
|
| 2342 |
+
dependencies = [
|
| 2343 |
+
"windows-targets 0.42.2",
|
| 2344 |
+
]
|
| 2345 |
+
|
| 2346 |
+
[[package]]
|
| 2347 |
+
name = "windows-sys"
|
| 2348 |
+
version = "0.52.0"
|
| 2349 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2350 |
+
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
|
| 2351 |
+
dependencies = [
|
| 2352 |
+
"windows-targets 0.52.6",
|
| 2353 |
+
]
|
| 2354 |
+
|
| 2355 |
+
[[package]]
|
| 2356 |
+
name = "windows-sys"
|
| 2357 |
+
version = "0.59.0"
|
| 2358 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2359 |
+
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
|
| 2360 |
+
dependencies = [
|
| 2361 |
+
"windows-targets 0.52.6",
|
| 2362 |
+
]
|
| 2363 |
+
|
| 2364 |
+
[[package]]
|
| 2365 |
+
name = "windows-targets"
|
| 2366 |
+
version = "0.42.2"
|
| 2367 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2368 |
+
checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071"
|
| 2369 |
+
dependencies = [
|
| 2370 |
+
"windows_aarch64_gnullvm 0.42.2",
|
| 2371 |
+
"windows_aarch64_msvc 0.42.2",
|
| 2372 |
+
"windows_i686_gnu 0.42.2",
|
| 2373 |
+
"windows_i686_msvc 0.42.2",
|
| 2374 |
+
"windows_x86_64_gnu 0.42.2",
|
| 2375 |
+
"windows_x86_64_gnullvm 0.42.2",
|
| 2376 |
+
"windows_x86_64_msvc 0.42.2",
|
| 2377 |
+
]
|
| 2378 |
+
|
| 2379 |
+
[[package]]
|
| 2380 |
+
name = "windows-targets"
|
| 2381 |
+
version = "0.52.6"
|
| 2382 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2383 |
+
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
|
| 2384 |
+
dependencies = [
|
| 2385 |
+
"windows_aarch64_gnullvm 0.52.6",
|
| 2386 |
+
"windows_aarch64_msvc 0.52.6",
|
| 2387 |
+
"windows_i686_gnu 0.52.6",
|
| 2388 |
+
"windows_i686_gnullvm",
|
| 2389 |
+
"windows_i686_msvc 0.52.6",
|
| 2390 |
+
"windows_x86_64_gnu 0.52.6",
|
| 2391 |
+
"windows_x86_64_gnullvm 0.52.6",
|
| 2392 |
+
"windows_x86_64_msvc 0.52.6",
|
| 2393 |
+
]
|
| 2394 |
+
|
| 2395 |
+
[[package]]
|
| 2396 |
+
name = "windows_aarch64_gnullvm"
|
| 2397 |
+
version = "0.42.2"
|
| 2398 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2399 |
+
checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8"
|
| 2400 |
+
|
| 2401 |
+
[[package]]
|
| 2402 |
+
name = "windows_aarch64_gnullvm"
|
| 2403 |
+
version = "0.52.6"
|
| 2404 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2405 |
+
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
|
| 2406 |
+
|
| 2407 |
+
[[package]]
|
| 2408 |
+
name = "windows_aarch64_msvc"
|
| 2409 |
+
version = "0.42.2"
|
| 2410 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2411 |
+
checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43"
|
| 2412 |
+
|
| 2413 |
+
[[package]]
|
| 2414 |
+
name = "windows_aarch64_msvc"
|
| 2415 |
+
version = "0.52.6"
|
| 2416 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2417 |
+
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
|
| 2418 |
+
|
| 2419 |
+
[[package]]
|
| 2420 |
+
name = "windows_i686_gnu"
|
| 2421 |
+
version = "0.42.2"
|
| 2422 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2423 |
+
checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f"
|
| 2424 |
+
|
| 2425 |
+
[[package]]
|
| 2426 |
+
name = "windows_i686_gnu"
|
| 2427 |
+
version = "0.52.6"
|
| 2428 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2429 |
+
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
|
| 2430 |
+
|
| 2431 |
+
[[package]]
|
| 2432 |
+
name = "windows_i686_gnullvm"
|
| 2433 |
+
version = "0.52.6"
|
| 2434 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2435 |
+
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
|
| 2436 |
+
|
| 2437 |
+
[[package]]
|
| 2438 |
+
name = "windows_i686_msvc"
|
| 2439 |
+
version = "0.42.2"
|
| 2440 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2441 |
+
checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060"
|
| 2442 |
+
|
| 2443 |
+
[[package]]
|
| 2444 |
+
name = "windows_i686_msvc"
|
| 2445 |
+
version = "0.52.6"
|
| 2446 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2447 |
+
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
|
| 2448 |
+
|
| 2449 |
+
[[package]]
|
| 2450 |
+
name = "windows_x86_64_gnu"
|
| 2451 |
+
version = "0.42.2"
|
| 2452 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2453 |
+
checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36"
|
| 2454 |
+
|
| 2455 |
+
[[package]]
|
| 2456 |
+
name = "windows_x86_64_gnu"
|
| 2457 |
+
version = "0.52.6"
|
| 2458 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2459 |
+
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
|
| 2460 |
+
|
| 2461 |
+
[[package]]
|
| 2462 |
+
name = "windows_x86_64_gnullvm"
|
| 2463 |
+
version = "0.42.2"
|
| 2464 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2465 |
+
checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3"
|
| 2466 |
+
|
| 2467 |
+
[[package]]
|
| 2468 |
+
name = "windows_x86_64_gnullvm"
|
| 2469 |
+
version = "0.52.6"
|
| 2470 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2471 |
+
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
|
| 2472 |
+
|
| 2473 |
+
[[package]]
|
| 2474 |
+
name = "windows_x86_64_msvc"
|
| 2475 |
+
version = "0.42.2"
|
| 2476 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2477 |
+
checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
|
| 2478 |
+
|
| 2479 |
+
[[package]]
|
| 2480 |
+
name = "windows_x86_64_msvc"
|
| 2481 |
+
version = "0.52.6"
|
| 2482 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2483 |
+
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
| 2484 |
+
|
| 2485 |
+
[[package]]
|
| 2486 |
+
name = "write16"
|
| 2487 |
+
version = "1.0.0"
|
| 2488 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2489 |
+
checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936"
|
| 2490 |
+
|
| 2491 |
+
[[package]]
|
| 2492 |
+
name = "writeable"
|
| 2493 |
+
version = "0.5.5"
|
| 2494 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2495 |
+
checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51"
|
| 2496 |
+
|
| 2497 |
+
[[package]]
|
| 2498 |
+
name = "xattr"
|
| 2499 |
+
version = "1.3.1"
|
| 2500 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2501 |
+
checksum = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f"
|
| 2502 |
+
dependencies = [
|
| 2503 |
+
"libc",
|
| 2504 |
+
"linux-raw-sys",
|
| 2505 |
+
"rustix",
|
| 2506 |
+
]
|
| 2507 |
+
|
| 2508 |
+
[[package]]
|
| 2509 |
+
name = "yoke"
|
| 2510 |
+
version = "0.7.4"
|
| 2511 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2512 |
+
checksum = "6c5b1314b079b0930c31e3af543d8ee1757b1951ae1e1565ec704403a7240ca5"
|
| 2513 |
+
dependencies = [
|
| 2514 |
+
"serde",
|
| 2515 |
+
"stable_deref_trait",
|
| 2516 |
+
"yoke-derive",
|
| 2517 |
+
"zerofrom",
|
| 2518 |
+
]
|
| 2519 |
+
|
| 2520 |
+
[[package]]
|
| 2521 |
+
name = "yoke-derive"
|
| 2522 |
+
version = "0.7.4"
|
| 2523 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2524 |
+
checksum = "28cc31741b18cb6f1d5ff12f5b7523e3d6eb0852bbbad19d73905511d9849b95"
|
| 2525 |
+
dependencies = [
|
| 2526 |
+
"proc-macro2",
|
| 2527 |
+
"quote",
|
| 2528 |
+
"syn",
|
| 2529 |
+
"synstructure",
|
| 2530 |
+
]
|
| 2531 |
+
|
| 2532 |
+
[[package]]
|
| 2533 |
+
name = "zerocopy"
|
| 2534 |
+
version = "0.7.35"
|
| 2535 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2536 |
+
checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
|
| 2537 |
+
dependencies = [
|
| 2538 |
+
"byteorder",
|
| 2539 |
+
"zerocopy-derive",
|
| 2540 |
+
]
|
| 2541 |
+
|
| 2542 |
+
[[package]]
|
| 2543 |
+
name = "zerocopy-derive"
|
| 2544 |
+
version = "0.7.35"
|
| 2545 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2546 |
+
checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
|
| 2547 |
+
dependencies = [
|
| 2548 |
+
"proc-macro2",
|
| 2549 |
+
"quote",
|
| 2550 |
+
"syn",
|
| 2551 |
+
]
|
| 2552 |
+
|
| 2553 |
+
[[package]]
|
| 2554 |
+
name = "zerofrom"
|
| 2555 |
+
version = "0.1.4"
|
| 2556 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2557 |
+
checksum = "91ec111ce797d0e0784a1116d0ddcdbea84322cd79e5d5ad173daeba4f93ab55"
|
| 2558 |
+
dependencies = [
|
| 2559 |
+
"zerofrom-derive",
|
| 2560 |
+
]
|
| 2561 |
+
|
| 2562 |
+
[[package]]
|
| 2563 |
+
name = "zerofrom-derive"
|
| 2564 |
+
version = "0.1.4"
|
| 2565 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2566 |
+
checksum = "0ea7b4a3637ea8669cedf0f1fd5c286a17f3de97b8dd5a70a6c167a1730e63a5"
|
| 2567 |
+
dependencies = [
|
| 2568 |
+
"proc-macro2",
|
| 2569 |
+
"quote",
|
| 2570 |
+
"syn",
|
| 2571 |
+
"synstructure",
|
| 2572 |
+
]
|
| 2573 |
+
|
| 2574 |
+
[[package]]
|
| 2575 |
+
name = "zeroize"
|
| 2576 |
+
version = "1.8.1"
|
| 2577 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2578 |
+
checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
|
| 2579 |
+
dependencies = [
|
| 2580 |
+
"zeroize_derive",
|
| 2581 |
+
]
|
| 2582 |
+
|
| 2583 |
+
[[package]]
|
| 2584 |
+
name = "zeroize_derive"
|
| 2585 |
+
version = "1.4.2"
|
| 2586 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2587 |
+
checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69"
|
| 2588 |
+
dependencies = [
|
| 2589 |
+
"proc-macro2",
|
| 2590 |
+
"quote",
|
| 2591 |
+
"syn",
|
| 2592 |
+
]
|
| 2593 |
+
|
| 2594 |
+
[[package]]
|
| 2595 |
+
name = "zerovec"
|
| 2596 |
+
version = "0.10.4"
|
| 2597 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2598 |
+
checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079"
|
| 2599 |
+
dependencies = [
|
| 2600 |
+
"yoke",
|
| 2601 |
+
"zerofrom",
|
| 2602 |
+
"zerovec-derive",
|
| 2603 |
+
]
|
| 2604 |
+
|
| 2605 |
+
[[package]]
|
| 2606 |
+
name = "zerovec-derive"
|
| 2607 |
+
version = "0.10.3"
|
| 2608 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2609 |
+
checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6"
|
| 2610 |
+
dependencies = [
|
| 2611 |
+
"proc-macro2",
|
| 2612 |
+
"quote",
|
| 2613 |
+
"syn",
|
| 2614 |
+
]
|
| 2615 |
+
|
| 2616 |
+
[[package]]
|
| 2617 |
+
name = "zip"
|
| 2618 |
+
version = "2.2.0"
|
| 2619 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2620 |
+
checksum = "dc5e4288ea4057ae23afc69a4472434a87a2495cafce6632fd1c4ec9f5cf3494"
|
| 2621 |
+
dependencies = [
|
| 2622 |
+
"aes",
|
| 2623 |
+
"arbitrary",
|
| 2624 |
+
"bzip2",
|
| 2625 |
+
"constant_time_eq",
|
| 2626 |
+
"crc32fast",
|
| 2627 |
+
"crossbeam-utils",
|
| 2628 |
+
"deflate64",
|
| 2629 |
+
"displaydoc",
|
| 2630 |
+
"flate2",
|
| 2631 |
+
"hmac",
|
| 2632 |
+
"indexmap",
|
| 2633 |
+
"lzma-rs",
|
| 2634 |
+
"memchr",
|
| 2635 |
+
"pbkdf2",
|
| 2636 |
+
"rand",
|
| 2637 |
+
"sha1",
|
| 2638 |
+
"thiserror",
|
| 2639 |
+
"time",
|
| 2640 |
+
"zeroize",
|
| 2641 |
+
"zopfli",
|
| 2642 |
+
"zstd",
|
| 2643 |
+
]
|
| 2644 |
+
|
| 2645 |
+
[[package]]
|
| 2646 |
+
name = "zopfli"
|
| 2647 |
+
version = "0.8.1"
|
| 2648 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2649 |
+
checksum = "e5019f391bac5cf252e93bbcc53d039ffd62c7bfb7c150414d61369afe57e946"
|
| 2650 |
+
dependencies = [
|
| 2651 |
+
"bumpalo",
|
| 2652 |
+
"crc32fast",
|
| 2653 |
+
"lockfree-object-pool",
|
| 2654 |
+
"log",
|
| 2655 |
+
"once_cell",
|
| 2656 |
+
"simd-adler32",
|
| 2657 |
+
]
|
| 2658 |
+
|
| 2659 |
+
[[package]]
|
| 2660 |
+
name = "zstd"
|
| 2661 |
+
version = "0.13.2"
|
| 2662 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2663 |
+
checksum = "fcf2b778a664581e31e389454a7072dab1647606d44f7feea22cd5abb9c9f3f9"
|
| 2664 |
+
dependencies = [
|
| 2665 |
+
"zstd-safe",
|
| 2666 |
+
]
|
| 2667 |
+
|
| 2668 |
+
[[package]]
|
| 2669 |
+
name = "zstd-safe"
|
| 2670 |
+
version = "7.2.1"
|
| 2671 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2672 |
+
checksum = "54a3ab4db68cea366acc5c897c7b4d4d1b8994a9cd6e6f841f8964566a419059"
|
| 2673 |
+
dependencies = [
|
| 2674 |
+
"zstd-sys",
|
| 2675 |
+
]
|
| 2676 |
+
|
| 2677 |
+
[[package]]
|
| 2678 |
+
name = "zstd-sys"
|
| 2679 |
+
version = "2.0.13+zstd.1.5.6"
|
| 2680 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2681 |
+
checksum = "38ff0f21cfee8f97d94cef41359e0c89aa6113028ab0291aa8ca0038995a95aa"
|
| 2682 |
+
dependencies = [
|
| 2683 |
+
"cc",
|
| 2684 |
+
"pkg-config",
|
| 2685 |
+
]
|
| 2686 |
+
LOCK
|
| 2687 |
+
|
| 2688 |
+
# One explicit fetch against the generated manifest. Using --manifest-path keeps
|
| 2689 |
+
# Cargo pointing at the temporary generated manifest, never at /source_ro or the
|
| 2690 |
+
# repository root, and never at a bare Cargo invocation.
|
| 2691 |
+
if ! cargo fetch --manifest-path "${_ex_fetch_dir}/Cargo.toml" --locked; then
|
| 2692 |
+
rm -rf "${_ex_fetch_dir}"
|
| 2693 |
+
_extractous_die "could not seed the locked crate dependency cache from the generated manifest"
|
| 2694 |
+
return 1
|
| 2695 |
+
fi
|
| 2696 |
+
|
| 2697 |
+
rm -rf "${_ex_fetch_dir}"
|
yobix-ai--extractous.818d94c/environment/executable
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:390cb3a0656ec60e3d51b38af5b51316cd161b8951682e03968ce2b9f14866fa
|
| 3 |
+
size 9939664
|
yobix-ai--extractous.818d94c/environment/harbor_configure_apt_mirror.sh
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
|
| 4 |
+
repository_base="${1%/}"
|
| 5 |
+
if [[ -z "$repository_base" ]]; then
|
| 6 |
+
exit 0
|
| 7 |
+
fi
|
| 8 |
+
|
| 9 |
+
. /etc/os-release
|
| 10 |
+
codename="${VERSION_CODENAME:-}"
|
| 11 |
+
if [[ -z "$codename" ]]; then
|
| 12 |
+
echo "VERSION_CODENAME is not set" >&2
|
| 13 |
+
exit 1
|
| 14 |
+
fi
|
| 15 |
+
|
| 16 |
+
if [[ "$ID" == "ubuntu" ]]; then
|
| 17 |
+
repository_name="apt-proxy"
|
| 18 |
+
components="main universe restricted multiverse"
|
| 19 |
+
else
|
| 20 |
+
repository_name="debian-proxy"
|
| 21 |
+
components="main contrib non-free non-free-firmware"
|
| 22 |
+
fi
|
| 23 |
+
|
| 24 |
+
install -d /etc/apt/sources.list.d
|
| 25 |
+
rm -f /etc/apt/sources.list /etc/apt/sources.list.d/*
|
| 26 |
+
printf 'deb [trusted=yes] %s/%s %s %s\n' \
|
| 27 |
+
"$repository_base" "$repository_name" "$codename" "$components" \
|
| 28 |
+
>/etc/apt/sources.list
|
| 29 |
+
printf 'deb [trusted=yes] %s/%s %s-updates %s\n' \
|
| 30 |
+
"$repository_base" "$repository_name" "$codename" "$components" \
|
| 31 |
+
>>/etc/apt/sources.list
|
| 32 |
+
|
| 33 |
+
if [[ "$ID" != "ubuntu" ]]; then
|
| 34 |
+
printf 'deb [trusted=yes] %s/%s %s-security %s\n' \
|
| 35 |
+
"$repository_base" "debian-proxy-security" "$codename" "$components" \
|
| 36 |
+
>>/etc/apt/sources.list
|
| 37 |
+
fi
|
yobix-ai--extractous.818d94c/environment/harbor_configure_java_mirrors.sh
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
|
| 4 |
+
maven_url="${1%/}"
|
| 5 |
+
plugin_url="${2%/}"
|
| 6 |
+
jitpack_url="${3%/}"
|
| 7 |
+
|
| 8 |
+
install -d /workspace/.m2 /workspace/.gradle/init.d /opt/programgym/gradle-init
|
| 9 |
+
if [[ -n "$maven_url" ]]; then
|
| 10 |
+
cat >/workspace/.m2/settings.xml <<EOF
|
| 11 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 12 |
+
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0">
|
| 13 |
+
<mirrors>
|
| 14 |
+
<mirror>
|
| 15 |
+
<id>programgym-maven</id>
|
| 16 |
+
<name>ProgramGym Maven mirror</name>
|
| 17 |
+
<url>${maven_url}</url>
|
| 18 |
+
<mirrorOf>*</mirrorOf>
|
| 19 |
+
</mirror>
|
| 20 |
+
</mirrors>
|
| 21 |
+
</settings>
|
| 22 |
+
EOF
|
| 23 |
+
fi
|
| 24 |
+
|
| 25 |
+
cat >/opt/programgym/gradle-init/programgym-mirrors.gradle <<'EOF'
|
| 26 |
+
def pbMaven = System.getenv('PROGRAMGYM_MAVEN_MIRROR_URL')
|
| 27 |
+
def pbPlugins = System.getenv('PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL')
|
| 28 |
+
def pbJitpack = System.getenv('PROGRAMGYM_JITPACK_REPOSITORY_URL')
|
| 29 |
+
|
| 30 |
+
settingsEvaluated { settings ->
|
| 31 |
+
settings.pluginManagement.repositories {
|
| 32 |
+
if (pbPlugins) { maven { url = uri(pbPlugins) } }
|
| 33 |
+
if (pbMaven) { maven { url = uri(pbMaven) } }
|
| 34 |
+
}
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
allprojects {
|
| 38 |
+
buildscript.repositories {
|
| 39 |
+
if (pbPlugins) { maven { url = uri(pbPlugins) } }
|
| 40 |
+
if (pbMaven) { maven { url = uri(pbMaven) } }
|
| 41 |
+
if (pbJitpack) { maven { url = uri(pbJitpack) } }
|
| 42 |
+
}
|
| 43 |
+
repositories {
|
| 44 |
+
if (pbMaven) { maven { url = uri(pbMaven) } }
|
| 45 |
+
if (pbJitpack) { maven { url = uri(pbJitpack) } }
|
| 46 |
+
}
|
| 47 |
+
}
|
| 48 |
+
EOF
|
| 49 |
+
cp /opt/programgym/gradle-init/programgym-mirrors.gradle \
|
| 50 |
+
/workspace/.gradle/init.d/programgym-mirrors.gradle
|
yobix-ai--extractous.818d94c/environment/harbor_prepare_download_env.sh
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
command -v cargo
|
| 4 |
+
command -v rustc
|
| 5 |
+
command -v rustup
|
| 6 |
+
cd /workspace
|
| 7 |
+
set -a
|
| 8 |
+
if [[ -n "${PROGRAMGYM_MAVEN_MIRROR_URL:-}" ]]; then
|
| 9 |
+
sed -i -e "s|https://repo.maven.apache.org/maven2|${PROGRAMGYM_MAVEN_MIRROR_URL%/}|g" -e "s|https://repo1.maven.org/maven2|${PROGRAMGYM_MAVEN_MIRROR_URL%/}|g" /tmp/programgym-download.sh
|
| 10 |
+
fi
|
| 11 |
+
if [[ -n "${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL:-}" ]]; then
|
| 12 |
+
sed -i -e "s|https://services.gradle.org/distributions|${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL%/}|g" -e "s|https://downloads.gradle.org/distributions|${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL%/}|g" /tmp/programgym-download.sh
|
| 13 |
+
fi
|
| 14 |
+
if [[ -n "${PROGRAMGYM_JITPACK_REPOSITORY_URL:-}" ]]; then
|
| 15 |
+
sed -i -e "s|https://jitpack.io|${PROGRAMGYM_JITPACK_REPOSITORY_URL%/}|g" /tmp/programgym-download.sh
|
| 16 |
+
fi
|
| 17 |
+
source /tmp/programgym-download.sh
|
| 18 |
+
set +a
|
| 19 |
+
python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
|
| 20 |
+
import os
|
| 21 |
+
import shlex
|
| 22 |
+
|
| 23 |
+
ignored = {
|
| 24 |
+
"ALL_PROXY",
|
| 25 |
+
"HTTP_PROXY",
|
| 26 |
+
"HTTPS_PROXY",
|
| 27 |
+
"NO_PROXY",
|
| 28 |
+
"OLDPWD",
|
| 29 |
+
"PIP_PROXY",
|
| 30 |
+
"PWD",
|
| 31 |
+
"SHLVL",
|
| 32 |
+
"_",
|
| 33 |
+
"all_proxy",
|
| 34 |
+
"http_proxy",
|
| 35 |
+
"https_proxy",
|
| 36 |
+
"no_proxy",
|
| 37 |
+
"pip_proxy",
|
| 38 |
+
}
|
| 39 |
+
for key in sorted(os.environ):
|
| 40 |
+
if key in ignored or key.startswith("BASH_FUNC_"):
|
| 41 |
+
continue
|
| 42 |
+
value = os.environ[key]
|
| 43 |
+
if "\n" in value:
|
| 44 |
+
continue
|
| 45 |
+
print(f"export {key}={shlex.quote(value)}")
|
| 46 |
+
PY
|
| 47 |
+
chmod 0644 /etc/profile.d/programgym_download_env.sh
|
yobix-ai--extractous.818d94c/environment/workspace.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d618f0f5705308dc6bffe227ef9973b2f6746d5f7de020734ee491e13028a59a
|
| 3 |
+
size 277220
|
yobix-ai--extractous.818d94c/instruction.md
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
You are a helpful assistant that can interact with a computer.
|
| 2 |
+
|
| 3 |
+
This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
|
| 4 |
+
Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
|
| 5 |
+
You must figure out the behavior solely by running and interacting with the provided binary.
|
| 6 |
+
Writing original code based on observed behavior is the entire point of this benchmark.
|
| 7 |
+
|
| 8 |
+
Any approach that shortcuts this — finding existing source code, wrapping the binary,
|
| 9 |
+
or installing the original tool — does not count as a solution. It will be detected by an
|
| 10 |
+
automated judge, marked as a disqualification, and scored as a failure.
|
| 11 |
+
The trace will be posted to an online wall of shame.
|
| 12 |
+
|
| 13 |
+
<RULES>
|
| 14 |
+
## What is not allowed
|
| 15 |
+
|
| 16 |
+
### 1. Obtaining source code
|
| 17 |
+
|
| 18 |
+
The only source of truth about what the executable does is the executable itself and its
|
| 19 |
+
bundled documentation. You must not search the internet, package registries, or any external
|
| 20 |
+
source for information about this project's source code. Even if you recognize what the
|
| 21 |
+
executable is, you must reimplement it from behavioral observation alone.
|
| 22 |
+
|
| 23 |
+
This includes but is not limited to:
|
| 24 |
+
- Cloning or browsing the original GitHub repository, its forks, or mirrors
|
| 25 |
+
- Downloading the project from package registries: `cargo install <project>`, `go get github.com/<org>/<project>`, `pip install <project>`, `apt-get source <project>`, `npm install <project>`, etc.
|
| 26 |
+
- Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
|
| 27 |
+
- Using a package manager to download the project as a dependency and then reading its cached source (e.g., navigating into `~/.cargo/registry/src/` or `$(go env GOPATH)/pkg/mod/`)
|
| 28 |
+
- Searching the web for the project's source code or implementation details
|
| 29 |
+
|
| 30 |
+
### 2. Wrapping or reusing the original binary
|
| 31 |
+
|
| 32 |
+
Your submission must be a genuine reimplementation. The provided `./executable` is for
|
| 33 |
+
observation only — your final solution must not depend on it or any other pre-built version
|
| 34 |
+
of the same tool at runtime.
|
| 35 |
+
|
| 36 |
+
This includes but is not limited to:
|
| 37 |
+
- Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
|
| 38 |
+
- Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
|
| 39 |
+
- Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
|
| 40 |
+
- Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
|
| 41 |
+
- Re-linking prebuilt `.o` object files found in the workspace without writing new source code
|
| 42 |
+
|
| 43 |
+
### 3. Binary analysis of the provided executable
|
| 44 |
+
|
| 45 |
+
All information about the provided `./executable` must be obtained by interacting with it
|
| 46 |
+
through its normal user interface (CLI flags, stdin/stdout, etc.).
|
| 47 |
+
- You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
|
| 48 |
+
- You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
|
| 49 |
+
|
| 50 |
+
Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
|
| 51 |
+
analysis tools on binaries that you produce yourself during development.
|
| 52 |
+
|
| 53 |
+
## What IS allowed
|
| 54 |
+
|
| 55 |
+
- Running the executable with any inputs, flags, and arguments to observe its behavior
|
| 56 |
+
- Reading any documentation files bundled in the workspace
|
| 57 |
+
</RULES>
|
| 58 |
+
|
| 59 |
+
## Task context
|
| 60 |
+
|
| 61 |
+
We want to write the source code for a given executable.
|
| 62 |
+
The executable is located at `./executable` in the workspace root.
|
| 63 |
+
|
| 64 |
+
You also have access to the existing documentation.
|
| 65 |
+
|
| 66 |
+
## Your task
|
| 67 |
+
|
| 68 |
+
Implement the source code to generate an executable of exactly identical behavior as the original.
|
| 69 |
+
|
| 70 |
+
No project-specific dependencies are pre-installed.
|
| 71 |
+
You do NOT have access to the internet.
|
| 72 |
+
**IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
|
| 73 |
+
Finally, commit your changes.
|
| 74 |
+
|
| 75 |
+
Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
|
| 76 |
+
`compile.sh` should be executable and should install any dependencies needed to compile the executable.
|
| 77 |
+
If your compile.sh fails to compile on a fresh checkout, your task has failed.
|
| 78 |
+
|
| 79 |
+
## Important: This is a reverse-engineering benchmark
|
| 80 |
+
|
| 81 |
+
Your goal is to write original code from scratch that reproduces the executable's behavior.
|
| 82 |
+
The only way to learn what the executable does is to run it and read its bundled documentation.
|
| 83 |
+
|
| 84 |
+
Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
|
| 85 |
+
provided binary will be detected by an automated judge, disqualified, and scored as zero.
|
| 86 |
+
See the full rules in the system prompt above. Key points:
|
| 87 |
+
|
| 88 |
+
- Do NOT search the internet, clone repos, or download the project from any package registry
|
| 89 |
+
- Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
|
| 90 |
+
- Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
|
| 91 |
+
- You SHOULD extensively test the executable to understand its behavior before writing code.
|
| 92 |
+
If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
|
| 93 |
+
|
| 94 |
+
## Recommended Workflow
|
| 95 |
+
|
| 96 |
+
1. Explore all documentation files
|
| 97 |
+
2. Play with the executable to understand its behavior (however, you MUST NOT decompile `./executable` or perform any other form of binary or strace/ltrace analysis on it)
|
| 98 |
+
3. Write the source code to implement the behavior
|
yobix-ai--extractous.818d94c/solution/solve.sh
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
# Oracle-only ceiling check. The reference is execute-only for normal agents;
|
| 3 |
+
# because the oracle runs as the owning `agent` user it can temporarily add read
|
| 4 |
+
# permission and encode the binary for Harbor's normal artifact handoff.
|
| 5 |
+
set -euo pipefail
|
| 6 |
+
test -f ./executable
|
| 7 |
+
chmod u+r ./executable
|
| 8 |
+
python3 - <<'PY'
|
| 9 |
+
import base64
|
| 10 |
+
from pathlib import Path
|
| 11 |
+
|
| 12 |
+
Path(".programgym_oracle_reference").write_bytes(
|
| 13 |
+
base64.b64encode(Path("executable").read_bytes())
|
| 14 |
+
)
|
| 15 |
+
PY
|
| 16 |
+
chmod u-r ./executable
|
| 17 |
+
cat > compile.sh <<'EOF'
|
| 18 |
+
#!/usr/bin/env bash
|
| 19 |
+
set -euo pipefail
|
| 20 |
+
if [ -f ./.programgym_oracle_reference ]; then
|
| 21 |
+
python3 - <<'PY'
|
| 22 |
+
import base64
|
| 23 |
+
from pathlib import Path
|
| 24 |
+
|
| 25 |
+
Path("executable").write_bytes(
|
| 26 |
+
base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
|
| 27 |
+
)
|
| 28 |
+
PY
|
| 29 |
+
fi
|
| 30 |
+
test -f ./executable
|
| 31 |
+
chmod +x ./executable
|
| 32 |
+
EOF
|
| 33 |
+
chmod +x compile.sh
|
yobix-ai--extractous.818d94c/task.toml
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
schema_version = "1.3"
|
| 2 |
+
source = "ProgramGym"
|
| 3 |
+
artifacts = [
|
| 4 |
+
"/logs/verifier/programgym_eval.json",
|
| 5 |
+
"/logs/verifier/harbor_diagnostics.json",
|
| 6 |
+
"/logs/verifier/programgym_eval.log",
|
| 7 |
+
"/logs/verifier/reward.json",
|
| 8 |
+
"/logs/verifier/reward.txt",
|
| 9 |
+
# Keep agent/runtime state out of the submission handoff. In particular,
|
| 10 |
+
# Claude Code installs an absolute symlink under .local/bin; transferring it
|
| 11 |
+
# makes Python's safe tar extraction reject the entire workspace archive.
|
| 12 |
+
{ source = "/workspace", exclude = [
|
| 13 |
+
"executable",
|
| 14 |
+
".git",
|
| 15 |
+
".bashrc",
|
| 16 |
+
".cache",
|
| 17 |
+
".cc-switch",
|
| 18 |
+
".claude",
|
| 19 |
+
".local",
|
| 20 |
+
] },
|
| 21 |
+
]
|
| 22 |
+
|
| 23 |
+
[task]
|
| 24 |
+
name = "programgym/yobix-ai--extractous.818d94c"
|
| 25 |
+
description = "Synthetic ProgramGym cleanroom reconstruction task for yobix-ai/extractous"
|
| 26 |
+
authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
|
| 27 |
+
keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "rust"]
|
| 28 |
+
|
| 29 |
+
[metadata]
|
| 30 |
+
source = "ProgramGym"
|
| 31 |
+
instance_id = "yobix-ai__extractous.818d94c"
|
| 32 |
+
repository = "yobix-ai/extractous"
|
| 33 |
+
commit = "818d94cdaf8aac27abc5fc63d9773d3127271a1b"
|
| 34 |
+
language = "rust"
|
| 35 |
+
difficulty = "easy"
|
| 36 |
+
difficulty_score = 1.5461723683169426
|
| 37 |
+
test_branches = 4
|
| 38 |
+
test_count = 680
|
| 39 |
+
|
| 40 |
+
[agent]
|
| 41 |
+
timeout_sec = 14400
|
| 42 |
+
user = "agent"
|
| 43 |
+
network_mode = "allowlist"
|
| 44 |
+
allowed_hosts = ["api.anthropic.com", "api.openai.com"]
|
| 45 |
+
|
| 46 |
+
[verifier]
|
| 47 |
+
timeout_sec = 7200
|
| 48 |
+
user = "root"
|
| 49 |
+
environment_mode = "separate"
|
| 50 |
+
|
| 51 |
+
[verifier.env]
|
| 52 |
+
PROGRAMGYM_XDIST_WORKERS = "8"
|
| 53 |
+
|
| 54 |
+
[verifier.environment]
|
| 55 |
+
build_timeout_sec = 1800
|
| 56 |
+
cpus = 8
|
| 57 |
+
memory_mb = 16384
|
| 58 |
+
storage_mb = 30720
|
| 59 |
+
gpus = 0
|
| 60 |
+
workdir = "/workspace"
|
| 61 |
+
|
| 62 |
+
[environment]
|
| 63 |
+
network_mode = "public"
|
| 64 |
+
build_timeout_sec = 1800
|
| 65 |
+
cpus = 8
|
| 66 |
+
memory_mb = 16384
|
| 67 |
+
storage_mb = 30720
|
| 68 |
+
gpus = 0
|
| 69 |
+
workdir = "/workspace"
|
yobix-ai--extractous.818d94c/tests/Dockerfile
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM rust:1.97.1-bookworm
|
| 2 |
+
ARG PROGRAMGYM_APT_REPOSITORY_BASE_URL=""
|
| 3 |
+
ARG PROGRAMGYM_GOPROXY="https://proxy.golang.org,direct"
|
| 4 |
+
ARG PROGRAMGYM_GOSUMDB="sum.golang.org"
|
| 5 |
+
ARG PROGRAMGYM_NPM_REGISTRY="https://registry.npmjs.org/"
|
| 6 |
+
ARG PROGRAMGYM_NPM_STRICT_SSL="true"
|
| 7 |
+
ARG PROGRAMGYM_PYPI_INDEX_URL="https://pypi.org/simple"
|
| 8 |
+
ARG PROGRAMGYM_PYPI_TRUSTED_HOST=""
|
| 9 |
+
ARG PROGRAMGYM_UV_INSECURE_HOST=""
|
| 10 |
+
ARG PROGRAMGYM_RUSTUP_DIST_SERVER="https://static.rust-lang.org"
|
| 11 |
+
ARG PROGRAMGYM_RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
|
| 12 |
+
ARG PROGRAMGYM_CARGO_INDEX="sparse+https://index.crates.io/"
|
| 13 |
+
ARG PROGRAMGYM_CARGO_NET_RETRY="10"
|
| 14 |
+
ARG PROGRAMGYM_CARGO_HTTP_TIMEOUT="600"
|
| 15 |
+
ARG PROGRAMGYM_CARGO_HTTP_MULTIPLEXING="false"
|
| 16 |
+
ARG PROGRAMGYM_MAVEN_MIRROR_URL=""
|
| 17 |
+
ARG PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL=""
|
| 18 |
+
ARG PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL="https://services.gradle.org/distributions"
|
| 19 |
+
ARG PROGRAMGYM_JITPACK_REPOSITORY_URL="https://jitpack.io"
|
| 20 |
+
ENV GOPROXY=${PROGRAMGYM_GOPROXY}
|
| 21 |
+
ENV GOSUMDB=${PROGRAMGYM_GOSUMDB}
|
| 22 |
+
ENV PIP_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
|
| 23 |
+
ENV PIP_TRUSTED_HOST=${PROGRAMGYM_PYPI_TRUSTED_HOST}
|
| 24 |
+
ENV UV_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
|
| 25 |
+
ENV UV_INSECURE_HOST=${PROGRAMGYM_UV_INSECURE_HOST}
|
| 26 |
+
ENV npm_config_registry=${PROGRAMGYM_NPM_REGISTRY}
|
| 27 |
+
ENV npm_config_strict_ssl=${PROGRAMGYM_NPM_STRICT_SSL}
|
| 28 |
+
ENV RUSTUP_DIST_SERVER=${PROGRAMGYM_RUSTUP_DIST_SERVER}
|
| 29 |
+
ENV RUSTUP_UPDATE_ROOT=${PROGRAMGYM_RUSTUP_UPDATE_ROOT}
|
| 30 |
+
ENV CARGO_REGISTRIES_CRATES_IO_INDEX=${PROGRAMGYM_CARGO_INDEX}
|
| 31 |
+
ENV CARGO_NET_RETRY=${PROGRAMGYM_CARGO_NET_RETRY}
|
| 32 |
+
ENV CARGO_HTTP_TIMEOUT=${PROGRAMGYM_CARGO_HTTP_TIMEOUT}
|
| 33 |
+
ENV CARGO_HTTP_MULTIPLEXING=${PROGRAMGYM_CARGO_HTTP_MULTIPLEXING}
|
| 34 |
+
ENV PROGRAMGYM_MAVEN_MIRROR_URL=${PROGRAMGYM_MAVEN_MIRROR_URL}
|
| 35 |
+
ENV PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL=${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL}
|
| 36 |
+
ENV PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL=${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL}
|
| 37 |
+
ENV PROGRAMGYM_JITPACK_REPOSITORY_URL=${PROGRAMGYM_JITPACK_REPOSITORY_URL}
|
| 38 |
+
COPY harbor_configure_apt_mirror.sh /tmp/harbor_configure_apt_mirror.sh
|
| 39 |
+
RUN chmod 0755 /tmp/harbor_configure_apt_mirror.sh \
|
| 40 |
+
&& /bin/bash /tmp/harbor_configure_apt_mirror.sh "${PROGRAMGYM_APT_REPOSITORY_BASE_URL}" \
|
| 41 |
+
&& rm -f /tmp/harbor_configure_apt_mirror.sh
|
| 42 |
+
COPY harbor_configure_java_mirrors.sh /tmp/harbor_configure_java_mirrors.sh
|
| 43 |
+
RUN chmod 0755 /tmp/harbor_configure_java_mirrors.sh \
|
| 44 |
+
&& /bin/bash /tmp/harbor_configure_java_mirrors.sh "${PROGRAMGYM_MAVEN_MIRROR_URL}" "${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL}" "${PROGRAMGYM_JITPACK_REPOSITORY_URL}" \
|
| 45 |
+
&& rm -f /tmp/harbor_configure_java_mirrors.sh
|
| 46 |
+
ENV DEBIAN_FRONTEND=noninteractive
|
| 47 |
+
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
|
| 48 |
+
ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
|
| 49 |
+
ENV GOTOOLCHAIN=auto
|
| 50 |
+
ENV UV_CACHE_DIR=/workspace/.cache/uv
|
| 51 |
+
ENV npm_config_cache=/workspace/.cache/npm
|
| 52 |
+
ENV HOME=/workspace
|
| 53 |
+
ENV XDG_CACHE_HOME=/workspace/.cache
|
| 54 |
+
ENV PIP_CACHE_DIR=/workspace/.cache/pip
|
| 55 |
+
ENV PYTHONUSERBASE=/workspace/.local
|
| 56 |
+
ENV CARGO_HOME=/usr/local/cargo
|
| 57 |
+
ENV RUSTUP_HOME=/usr/local/rustup
|
| 58 |
+
ENV RUSTUP_TOOLCHAIN=1.97.1
|
| 59 |
+
ENV PROGRAMGYM_RUST_TOOLCHAIN=1.97.1
|
| 60 |
+
ENV PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
| 61 |
+
ENV PAGER=cat
|
| 62 |
+
ENV MANPAGER=cat
|
| 63 |
+
ENV LESS=-R
|
| 64 |
+
ENV TQDM_DISABLE=1
|
| 65 |
+
RUN apt-get update && apt-get install -y --no-install-recommends apt=2.6.1 bash=5.2.15-2+b13 build-essential=12.9 ca-certificates=20250419~deb12u1 cmake=3.25.1-1 git=1:2.39.5-0+deb12u3 make=4.3-4.1 pkg-config=1.8.1-1 python3=3.11.2-1+b1 python3-pip=23.0.1+dfsg-1 python3-dev=3.11.2-1+b1 autoconf=2.71-3 automake=1:1.16.5-1.3 gettext=0.21-12 file=1:5.44-3 binutils=2.40-2 libtool=2.4.7-7~deb12u1 libncurses-dev=6.4-4 meson=1.0.1-5 ninja-build=1.11.1-2~deb12u1 curl=7.88.1-10+deb12u15 wget=1.21.3-1+deb12u1 xz-utils=5.4.1-1+deb12u1 zstd=1.5.4+dfsg2-5 bzip2=1.0.8-5+b1 zip=3.0-13 unzip=6.0-28+deb12u1 patch=2.7.6-7 grep=3.8-5 python3-pytest python3-pytest-xdist python3-coverage && rm -rf /var/lib/apt/lists/*
|
| 66 |
+
RUN set -eux; for attempt in 1 2 3 4 5; do rustup component add llvm-tools-preview --toolchain 1.97.1 && break; [ "$attempt" -lt 5 ] || exit 1; sleep $((attempt * 2)); done
|
| 67 |
+
RUN RUST_SYSROOT="$(rustc --print sysroot)"; RUST_HOST="$(rustc -vV | sed -n 's/^host: //p')"; test -x "$RUST_SYSROOT/lib/rustlib/$RUST_HOST/bin/llvm-profdata"; test -x "$RUST_SYSROOT/lib/rustlib/$RUST_HOST/bin/llvm-cov"
|
| 68 |
+
RUN rustc --version && cargo --version && rustup show active-toolchain
|
| 69 |
+
WORKDIR /workspace
|
| 70 |
+
ADD workspace.tar.gz /workspace/
|
| 71 |
+
COPY executable /workspace/executable
|
| 72 |
+
COPY download.sh /tmp/programgym-download.sh
|
| 73 |
+
RUN chmod 755 /tmp/programgym-download.sh
|
| 74 |
+
COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
|
| 75 |
+
RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
|
| 76 |
+
&& /bin/bash /tmp/harbor_prepare_download_env.sh \
|
| 77 |
+
&& rm -f /tmp/programgym-download.sh \
|
| 78 |
+
&& rm -f /tmp/harbor_prepare_download_env.sh
|
| 79 |
+
ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
|
| 80 |
+
RUN chmod 111 /workspace/executable
|
| 81 |
+
WORKDIR /workspace
|
| 82 |
+
# Harbor uses tests/ as the separate verifier build context. Start with the
|
| 83 |
+
# same toolchain as the agent, then remove every cleanroom workspace artifact.
|
| 84 |
+
RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
|
| 85 |
+
&& mkdir -p /workspace /tests
|
| 86 |
+
|
| 87 |
+
# Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
|
| 88 |
+
# Installing a newer pytest alone leaves that apt package importable and creates
|
| 89 |
+
# an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
|
| 90 |
+
# Install and constrain the verifier test runner as one coherent pip toolchain.
|
| 91 |
+
RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
|
| 92 |
+
ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
|
| 93 |
+
RUN set -eu; \
|
| 94 |
+
pip_break_system_packages=""; \
|
| 95 |
+
if python3 -m pip install --help | grep -q -- '--break-system-packages'; then \
|
| 96 |
+
pip_break_system_packages="--break-system-packages"; \
|
| 97 |
+
fi; \
|
| 98 |
+
python3 -m pip install ${pip_break_system_packages} \
|
| 99 |
+
--no-cache-dir --disable-pip-version-check --retries 10 --timeout 120 \
|
| 100 |
+
'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
|
| 101 |
+
|
| 102 |
+
COPY test.sh /tests/test.sh
|
| 103 |
+
COPY programgym_evaluator.py /tests/programgym_evaluator.py
|
| 104 |
+
COPY programgym_task.json /tests/programgym_task.json
|
| 105 |
+
COPY blobs/ /tests/blobs/
|
| 106 |
+
RUN chmod +x /tests/test.sh
|
| 107 |
+
RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
|
yobix-ai--extractous.818d94c/tests/blobs/tests/generated_module_01.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:edbdc35e253ac60706b391372c94b7bbaaf6a6aa1bbb55205ada19966e4ee512
|
| 3 |
+
size 2397212
|
yobix-ai--extractous.818d94c/tests/blobs/tests/generated_module_02.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e2869eb23be3d27b9142424f11726f0f832beadaca4b88f07e05e3584b6ba8d5
|
| 3 |
+
size 50597
|
yobix-ai--extractous.818d94c/tests/blobs/tests/generated_module_03.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d14ac51f1cb95d1aab97bf79da6f5a9feebaab016668742d308098d89c1ca23e
|
| 3 |
+
size 459586
|
yobix-ai--extractous.818d94c/tests/blobs/tests/generated_module_04.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1c4de789a652547530bb5ab6c7e14e5184f0251119700f5112e82bda533c4c82
|
| 3 |
+
size 2684776
|
yobix-ai--extractous.818d94c/tests/docker-compose.yaml
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
services:
|
| 2 |
+
main:
|
| 3 |
+
build:
|
| 4 |
+
args:
|
| 5 |
+
PROGRAMGYM_APT_REPOSITORY_BASE_URL: ${PROGRAMGYM_APT_REPOSITORY_BASE_URL:-}
|
| 6 |
+
PROGRAMGYM_GOPROXY: ${PROGRAMGYM_GOPROXY:-https://proxy.golang.org,direct}
|
| 7 |
+
PROGRAMGYM_GOSUMDB: ${PROGRAMGYM_GOSUMDB:-sum.golang.org}
|
| 8 |
+
PROGRAMGYM_NPM_REGISTRY: ${PROGRAMGYM_NPM_REGISTRY:-https://registry.npmjs.org/}
|
| 9 |
+
PROGRAMGYM_NPM_STRICT_SSL: ${PROGRAMGYM_NPM_STRICT_SSL:-true}
|
| 10 |
+
PROGRAMGYM_PYPI_INDEX_URL: ${PROGRAMGYM_PYPI_INDEX_URL:-https://pypi.org/simple}
|
| 11 |
+
PROGRAMGYM_PYPI_TRUSTED_HOST: ${PROGRAMGYM_PYPI_TRUSTED_HOST:-}
|
| 12 |
+
PROGRAMGYM_UV_INSECURE_HOST: ${PROGRAMGYM_UV_INSECURE_HOST:-}
|
| 13 |
+
PROGRAMGYM_RUSTUP_DIST_SERVER: ${PROGRAMGYM_RUSTUP_DIST_SERVER:-https://static.rust-lang.org}
|
| 14 |
+
PROGRAMGYM_RUSTUP_UPDATE_ROOT: ${PROGRAMGYM_RUSTUP_UPDATE_ROOT:-https://static.rust-lang.org/rustup}
|
| 15 |
+
PROGRAMGYM_CARGO_INDEX: ${PROGRAMGYM_CARGO_INDEX:-sparse+https://index.crates.io/}
|
| 16 |
+
PROGRAMGYM_CARGO_NET_RETRY: ${PROGRAMGYM_CARGO_NET_RETRY:-10}
|
| 17 |
+
PROGRAMGYM_CARGO_HTTP_TIMEOUT: ${PROGRAMGYM_CARGO_HTTP_TIMEOUT:-600}
|
| 18 |
+
PROGRAMGYM_CARGO_HTTP_MULTIPLEXING: ${PROGRAMGYM_CARGO_HTTP_MULTIPLEXING:-false}
|
| 19 |
+
PROGRAMGYM_MAVEN_MIRROR_URL: ${PROGRAMGYM_MAVEN_MIRROR_URL:-}
|
| 20 |
+
PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL: ${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL:-}
|
| 21 |
+
PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL: ${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL:-https://services.gradle.org/distributions}
|
| 22 |
+
PROGRAMGYM_JITPACK_REPOSITORY_URL: ${PROGRAMGYM_JITPACK_REPOSITORY_URL:-https://jitpack.io}
|
yobix-ai--extractous.818d94c/tests/download.sh
ADDED
|
@@ -0,0 +1,2697 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
#
|
| 3 |
+
# ProgramGym download stage for the yobix-ai/extractous repository.
|
| 4 |
+
#
|
| 5 |
+
# This script is STANDALONE: it is sourced (via `source /source_ro/download.sh`)
|
| 6 |
+
# while only this file is present (the repository tree is not mounted). It must
|
| 7 |
+
# not read any repository file (Cargo.toml, Cargo.lock, *.rs, ...). All
|
| 8 |
+
# dependency information needed here is embedded inline below.
|
| 9 |
+
#
|
| 10 |
+
# It is download-only: it never compiles, links, tests, packages, or installs
|
| 11 |
+
# built artifacts. It performs two prefetch phases:
|
| 12 |
+
#
|
| 13 |
+
# PHASE 1 - Native runtime: fetch the official Extractous manylinux wheel and
|
| 14 |
+
# extract the prebuilt native runtime (libtika_native.so plus the embedded
|
| 15 |
+
# GraalVM JVM shared libraries libjvm.so, libawt.so, ...) into
|
| 16 |
+
# ${CARGO_HOME}/extractous-prebuilt. The crate links against
|
| 17 |
+
# libtika_native.so; the repository's own build.rs normally compiles that
|
| 18 |
+
# library with a GraalVM native-image + Gradle build that requires network,
|
| 19 |
+
# which is impossible in the offline build stage. build.sh links instead
|
| 20 |
+
# against this prebuilt library, which implements the same public ABI.
|
| 21 |
+
#
|
| 22 |
+
# PHASE 2 - Rust closure: generate an inline Cargo.toml + the repository's
|
| 23 |
+
# exact committed Cargo.lock (embedded below) and run a single explicit
|
| 24 |
+
# dependency prefetch against the generated manifest path to seed the cargo
|
| 25 |
+
# cache with exactly the crate versions the offline compile step in
|
| 26 |
+
# build.sh (invoked against the repository's own locked manifest) resolves
|
| 27 |
+
# to. Using the identical lock guarantees the fetched closure matches the
|
| 28 |
+
# build closure.
|
| 29 |
+
#
|
| 30 |
+
# It is safe to source from the repository root, is idempotent, and exports
|
| 31 |
+
# the environment variables build.sh relies on (TIKA_LIB_DIR).
|
| 32 |
+
|
| 33 |
+
# Fail-stop helper that works both when sourced and when executed directly.
|
| 34 |
+
_extractous_ran=0
|
| 35 |
+
if [ "${BASH_SOURCE[0]}" != "$0" ]; then
|
| 36 |
+
_extractous_ran=1
|
| 37 |
+
fi
|
| 38 |
+
_extractous_die() {
|
| 39 |
+
echo "[programgym:download.sh] ERROR: $*" >&2
|
| 40 |
+
if [ "${_extractous_ran}" = "1" ]; then
|
| 41 |
+
return 1
|
| 42 |
+
fi
|
| 43 |
+
exit 1
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
# ---------------------------------------------------------------------------
|
| 47 |
+
# PHASE 1: prebuilt native runtime library (libtika_native.so + JVM libs)
|
| 48 |
+
# ---------------------------------------------------------------------------
|
| 49 |
+
if [ -z "${CARGO_HOME:-}" ]; then
|
| 50 |
+
export CARGO_HOME="$HOME/.cargo"
|
| 51 |
+
fi
|
| 52 |
+
_ex_dest="${CARGO_HOME}/extractous-prebuilt"
|
| 53 |
+
mkdir -p "${_ex_dest}"
|
| 54 |
+
|
| 55 |
+
# Only stage the wheel contents once; this keeps the script idempotent.
|
| 56 |
+
if [ ! -f "${_ex_dest}/libtika_native.so" ]; then
|
| 57 |
+
_work="$(mktemp -d)"
|
| 58 |
+
# Fetch the Extractous manylinux wheel via pip (uses the configured index).
|
| 59 |
+
# The wheel ships the already-compiled native runtime for the same Linux
|
| 60 |
+
# glibc ABI that this validator's base image (Debian 12, x86_64) uses.
|
| 61 |
+
if ! pip download "extractous==0.3.0" --no-deps --only-binary=:all: \
|
| 62 |
+
--platform manylinux_2_28_x86_64 --python-version 3.11 \
|
| 63 |
+
--implementation cp --abi cp38 --dest "${_work}"; then
|
| 64 |
+
rm -rf "${_work}"
|
| 65 |
+
_extractous_die "could not fetch the extractous manylinux wheel (extractous==0.3.0)"
|
| 66 |
+
return 1
|
| 67 |
+
fi
|
| 68 |
+
_whl="$(ls "${_work}"/*.whl | head -n 1)"
|
| 69 |
+
if [ -z "${_whl}" ] || [ ! -f "${_whl}" ]; then
|
| 70 |
+
rm -rf "${_work}"
|
| 71 |
+
_extractous_die "no .whl produced by pip download"
|
| 72 |
+
return 1
|
| 73 |
+
fi
|
| 74 |
+
# Extract only the native shared objects (the python glue is not needed).
|
| 75 |
+
if ! unzip -o -q "${_whl}" 'extractous/*.so' -d "${_work}/unpacked"; then
|
| 76 |
+
rm -rf "${_work}"
|
| 77 |
+
_extractous_die "failed to unpack the extractous wheel"
|
| 78 |
+
return 1
|
| 79 |
+
fi
|
| 80 |
+
cp "${_work}"/unpacked/extractous/*.so "${_ex_dest}/"
|
| 81 |
+
rm -rf "${_work}"
|
| 82 |
+
if [ ! -s "${_ex_dest}/libtika_native.so" ]; then
|
| 83 |
+
_extractous_die "extracted libtika_native.so is empty or missing"
|
| 84 |
+
return 1
|
| 85 |
+
fi
|
| 86 |
+
fi
|
| 87 |
+
|
| 88 |
+
# Export the directory for build.sh / the stubbed build.rs to consume.
|
| 89 |
+
export TIKA_LIB_DIR="${_ex_dest}"
|
| 90 |
+
|
| 91 |
+
# ---------------------------------------------------------------------------
|
| 92 |
+
# PHASE 2: exact Rust dependency closure via an inline manifest + lock
|
| 93 |
+
# ---------------------------------------------------------------------------
|
| 94 |
+
_ex_fetch_dir="$(mktemp -d)"
|
| 95 |
+
mkdir -p "${_ex_fetch_dir}/src"
|
| 96 |
+
# Cargo requires at least one source file to resolve a lib package.
|
| 97 |
+
echo 'pub fn _extractous_noop() {}' > "${_ex_fetch_dir}/src/lib.rs"
|
| 98 |
+
|
| 99 |
+
cat > "${_ex_fetch_dir}/Cargo.toml" <<'TOML'
|
| 100 |
+
[package]
|
| 101 |
+
name = "extractous"
|
| 102 |
+
version = "0.2.1"
|
| 103 |
+
edition = "2021"
|
| 104 |
+
|
| 105 |
+
[dependencies]
|
| 106 |
+
libc = { version = "0.2.158" }
|
| 107 |
+
jni = { version = "0.21.1", features = ["invocation"] }
|
| 108 |
+
thiserror = { version = "1.0.63" }
|
| 109 |
+
bytemuck = { version = "1.17.1" }
|
| 110 |
+
strum = { version = "0.26.2" }
|
| 111 |
+
strum_macros = { version = "0.26.2" }
|
| 112 |
+
|
| 113 |
+
[dev-dependencies]
|
| 114 |
+
textdistance = "1.1.0"
|
| 115 |
+
test-case = "3.0"
|
| 116 |
+
criterion = "0.5.1"
|
| 117 |
+
serde = { version = "1.0", features = ["derive"] }
|
| 118 |
+
serde_json = "1.0"
|
| 119 |
+
quick-xml = "0.37.1"
|
| 120 |
+
|
| 121 |
+
[build-dependencies]
|
| 122 |
+
fs_extra = { version = "1.3.0" }
|
| 123 |
+
reqwest = { version = "0.12.7", features = ["blocking", "json"] }
|
| 124 |
+
zip = "2.2.0"
|
| 125 |
+
flate2 = "1.0.33"
|
| 126 |
+
tar = "0.4.41"
|
| 127 |
+
walkdir = "2.5.0"
|
| 128 |
+
TOML
|
| 129 |
+
|
| 130 |
+
# Reproduce the repository's exact committed Cargo.lock so that the fetch
|
| 131 |
+
# populates the cache with exactly the versions that the offline compile step
|
| 132 |
+
# in build.sh (against the repository's locked manifest) resolves to.
|
| 133 |
+
cat > "${_ex_fetch_dir}/Cargo.lock" <<'LOCK'
|
| 134 |
+
# This file is automatically @generated by Cargo.
|
| 135 |
+
# It is not intended for manual editing.
|
| 136 |
+
version = 3
|
| 137 |
+
|
| 138 |
+
[[package]]
|
| 139 |
+
name = "addr2line"
|
| 140 |
+
version = "0.24.2"
|
| 141 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 142 |
+
checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1"
|
| 143 |
+
dependencies = [
|
| 144 |
+
"gimli",
|
| 145 |
+
]
|
| 146 |
+
|
| 147 |
+
[[package]]
|
| 148 |
+
name = "adler2"
|
| 149 |
+
version = "2.0.0"
|
| 150 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 151 |
+
checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
|
| 152 |
+
|
| 153 |
+
[[package]]
|
| 154 |
+
name = "aes"
|
| 155 |
+
version = "0.8.4"
|
| 156 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 157 |
+
checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0"
|
| 158 |
+
dependencies = [
|
| 159 |
+
"cfg-if",
|
| 160 |
+
"cipher",
|
| 161 |
+
"cpufeatures",
|
| 162 |
+
]
|
| 163 |
+
|
| 164 |
+
[[package]]
|
| 165 |
+
name = "aho-corasick"
|
| 166 |
+
version = "1.1.3"
|
| 167 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 168 |
+
checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
|
| 169 |
+
dependencies = [
|
| 170 |
+
"memchr",
|
| 171 |
+
]
|
| 172 |
+
|
| 173 |
+
[[package]]
|
| 174 |
+
name = "anes"
|
| 175 |
+
version = "0.1.6"
|
| 176 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 177 |
+
checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
|
| 178 |
+
|
| 179 |
+
[[package]]
|
| 180 |
+
name = "anstyle"
|
| 181 |
+
version = "1.0.10"
|
| 182 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 183 |
+
checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9"
|
| 184 |
+
|
| 185 |
+
[[package]]
|
| 186 |
+
name = "arbitrary"
|
| 187 |
+
version = "1.4.1"
|
| 188 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 189 |
+
checksum = "dde20b3d026af13f561bdd0f15edf01fc734f0dafcedbaf42bba506a9517f223"
|
| 190 |
+
dependencies = [
|
| 191 |
+
"derive_arbitrary",
|
| 192 |
+
]
|
| 193 |
+
|
| 194 |
+
[[package]]
|
| 195 |
+
name = "atomic-waker"
|
| 196 |
+
version = "1.1.2"
|
| 197 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 198 |
+
checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
|
| 199 |
+
|
| 200 |
+
[[package]]
|
| 201 |
+
name = "autocfg"
|
| 202 |
+
version = "1.4.0"
|
| 203 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 204 |
+
checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
|
| 205 |
+
|
| 206 |
+
[[package]]
|
| 207 |
+
name = "backtrace"
|
| 208 |
+
version = "0.3.74"
|
| 209 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 210 |
+
checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a"
|
| 211 |
+
dependencies = [
|
| 212 |
+
"addr2line",
|
| 213 |
+
"cfg-if",
|
| 214 |
+
"libc",
|
| 215 |
+
"miniz_oxide",
|
| 216 |
+
"object",
|
| 217 |
+
"rustc-demangle",
|
| 218 |
+
"windows-targets 0.52.6",
|
| 219 |
+
]
|
| 220 |
+
|
| 221 |
+
[[package]]
|
| 222 |
+
name = "base64"
|
| 223 |
+
version = "0.22.1"
|
| 224 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 225 |
+
checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
|
| 226 |
+
|
| 227 |
+
[[package]]
|
| 228 |
+
name = "bitflags"
|
| 229 |
+
version = "2.6.0"
|
| 230 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 231 |
+
checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
|
| 232 |
+
|
| 233 |
+
[[package]]
|
| 234 |
+
name = "block-buffer"
|
| 235 |
+
version = "0.10.4"
|
| 236 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 237 |
+
checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
|
| 238 |
+
dependencies = [
|
| 239 |
+
"generic-array",
|
| 240 |
+
]
|
| 241 |
+
|
| 242 |
+
[[package]]
|
| 243 |
+
name = "bumpalo"
|
| 244 |
+
version = "3.16.0"
|
| 245 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 246 |
+
checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
|
| 247 |
+
|
| 248 |
+
[[package]]
|
| 249 |
+
name = "bytemuck"
|
| 250 |
+
version = "1.19.0"
|
| 251 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 252 |
+
checksum = "8334215b81e418a0a7bdb8ef0849474f40bb10c8b71f1c4ed315cff49f32494d"
|
| 253 |
+
|
| 254 |
+
[[package]]
|
| 255 |
+
name = "byteorder"
|
| 256 |
+
version = "1.5.0"
|
| 257 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 258 |
+
checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
|
| 259 |
+
|
| 260 |
+
[[package]]
|
| 261 |
+
name = "bytes"
|
| 262 |
+
version = "1.8.0"
|
| 263 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 264 |
+
checksum = "9ac0150caa2ae65ca5bd83f25c7de183dea78d4d366469f148435e2acfbad0da"
|
| 265 |
+
|
| 266 |
+
[[package]]
|
| 267 |
+
name = "bzip2"
|
| 268 |
+
version = "0.4.4"
|
| 269 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 270 |
+
checksum = "bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8"
|
| 271 |
+
dependencies = [
|
| 272 |
+
"bzip2-sys",
|
| 273 |
+
"libc",
|
| 274 |
+
]
|
| 275 |
+
|
| 276 |
+
[[package]]
|
| 277 |
+
name = "bzip2-sys"
|
| 278 |
+
version = "0.1.11+1.0.8"
|
| 279 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 280 |
+
checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc"
|
| 281 |
+
dependencies = [
|
| 282 |
+
"cc",
|
| 283 |
+
"libc",
|
| 284 |
+
"pkg-config",
|
| 285 |
+
]
|
| 286 |
+
|
| 287 |
+
[[package]]
|
| 288 |
+
name = "cast"
|
| 289 |
+
version = "0.3.0"
|
| 290 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 291 |
+
checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
|
| 292 |
+
|
| 293 |
+
[[package]]
|
| 294 |
+
name = "cc"
|
| 295 |
+
version = "1.2.1"
|
| 296 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 297 |
+
checksum = "fd9de9f2205d5ef3fd67e685b0df337994ddd4495e2a28d185500d0e1edfea47"
|
| 298 |
+
dependencies = [
|
| 299 |
+
"jobserver",
|
| 300 |
+
"libc",
|
| 301 |
+
"shlex",
|
| 302 |
+
]
|
| 303 |
+
|
| 304 |
+
[[package]]
|
| 305 |
+
name = "cesu8"
|
| 306 |
+
version = "1.1.0"
|
| 307 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 308 |
+
checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c"
|
| 309 |
+
|
| 310 |
+
[[package]]
|
| 311 |
+
name = "cfg-if"
|
| 312 |
+
version = "1.0.0"
|
| 313 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 314 |
+
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
| 315 |
+
|
| 316 |
+
[[package]]
|
| 317 |
+
name = "ciborium"
|
| 318 |
+
version = "0.2.2"
|
| 319 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 320 |
+
checksum = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e"
|
| 321 |
+
dependencies = [
|
| 322 |
+
"ciborium-io",
|
| 323 |
+
"ciborium-ll",
|
| 324 |
+
"serde",
|
| 325 |
+
]
|
| 326 |
+
|
| 327 |
+
[[package]]
|
| 328 |
+
name = "ciborium-io"
|
| 329 |
+
version = "0.2.2"
|
| 330 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 331 |
+
checksum = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757"
|
| 332 |
+
|
| 333 |
+
[[package]]
|
| 334 |
+
name = "ciborium-ll"
|
| 335 |
+
version = "0.2.2"
|
| 336 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 337 |
+
checksum = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9"
|
| 338 |
+
dependencies = [
|
| 339 |
+
"ciborium-io",
|
| 340 |
+
"half",
|
| 341 |
+
]
|
| 342 |
+
|
| 343 |
+
[[package]]
|
| 344 |
+
name = "cipher"
|
| 345 |
+
version = "0.4.4"
|
| 346 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 347 |
+
checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad"
|
| 348 |
+
dependencies = [
|
| 349 |
+
"crypto-common",
|
| 350 |
+
"inout",
|
| 351 |
+
]
|
| 352 |
+
|
| 353 |
+
[[package]]
|
| 354 |
+
name = "clap"
|
| 355 |
+
version = "4.5.21"
|
| 356 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 357 |
+
checksum = "fb3b4b9e5a7c7514dfa52869339ee98b3156b0bfb4e8a77c4ff4babb64b1604f"
|
| 358 |
+
dependencies = [
|
| 359 |
+
"clap_builder",
|
| 360 |
+
]
|
| 361 |
+
|
| 362 |
+
[[package]]
|
| 363 |
+
name = "clap_builder"
|
| 364 |
+
version = "4.5.21"
|
| 365 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 366 |
+
checksum = "b17a95aa67cc7b5ebd32aa5370189aa0d79069ef1c64ce893bd30fb24bff20ec"
|
| 367 |
+
dependencies = [
|
| 368 |
+
"anstyle",
|
| 369 |
+
"clap_lex",
|
| 370 |
+
]
|
| 371 |
+
|
| 372 |
+
[[package]]
|
| 373 |
+
name = "clap_lex"
|
| 374 |
+
version = "0.7.3"
|
| 375 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 376 |
+
checksum = "afb84c814227b90d6895e01398aee0d8033c00e7466aca416fb6a8e0eb19d8a7"
|
| 377 |
+
|
| 378 |
+
[[package]]
|
| 379 |
+
name = "combine"
|
| 380 |
+
version = "4.6.7"
|
| 381 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 382 |
+
checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd"
|
| 383 |
+
dependencies = [
|
| 384 |
+
"bytes",
|
| 385 |
+
"memchr",
|
| 386 |
+
]
|
| 387 |
+
|
| 388 |
+
[[package]]
|
| 389 |
+
name = "constant_time_eq"
|
| 390 |
+
version = "0.3.1"
|
| 391 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 392 |
+
checksum = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6"
|
| 393 |
+
|
| 394 |
+
[[package]]
|
| 395 |
+
name = "core-foundation"
|
| 396 |
+
version = "0.9.4"
|
| 397 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 398 |
+
checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f"
|
| 399 |
+
dependencies = [
|
| 400 |
+
"core-foundation-sys",
|
| 401 |
+
"libc",
|
| 402 |
+
]
|
| 403 |
+
|
| 404 |
+
[[package]]
|
| 405 |
+
name = "core-foundation-sys"
|
| 406 |
+
version = "0.8.7"
|
| 407 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 408 |
+
checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
|
| 409 |
+
|
| 410 |
+
[[package]]
|
| 411 |
+
name = "cpufeatures"
|
| 412 |
+
version = "0.2.15"
|
| 413 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 414 |
+
checksum = "0ca741a962e1b0bff6d724a1a0958b686406e853bb14061f218562e1896f95e6"
|
| 415 |
+
dependencies = [
|
| 416 |
+
"libc",
|
| 417 |
+
]
|
| 418 |
+
|
| 419 |
+
[[package]]
|
| 420 |
+
name = "crc"
|
| 421 |
+
version = "3.2.1"
|
| 422 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 423 |
+
checksum = "69e6e4d7b33a94f0991c26729976b10ebde1d34c3ee82408fb536164fa10d636"
|
| 424 |
+
dependencies = [
|
| 425 |
+
"crc-catalog",
|
| 426 |
+
]
|
| 427 |
+
|
| 428 |
+
[[package]]
|
| 429 |
+
name = "crc-catalog"
|
| 430 |
+
version = "2.4.0"
|
| 431 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 432 |
+
checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5"
|
| 433 |
+
|
| 434 |
+
[[package]]
|
| 435 |
+
name = "crc32fast"
|
| 436 |
+
version = "1.4.2"
|
| 437 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 438 |
+
checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
|
| 439 |
+
dependencies = [
|
| 440 |
+
"cfg-if",
|
| 441 |
+
]
|
| 442 |
+
|
| 443 |
+
[[package]]
|
| 444 |
+
name = "criterion"
|
| 445 |
+
version = "0.5.1"
|
| 446 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 447 |
+
checksum = "f2b12d017a929603d80db1831cd3a24082f8137ce19c69e6447f54f5fc8d692f"
|
| 448 |
+
dependencies = [
|
| 449 |
+
"anes",
|
| 450 |
+
"cast",
|
| 451 |
+
"ciborium",
|
| 452 |
+
"clap",
|
| 453 |
+
"criterion-plot",
|
| 454 |
+
"is-terminal",
|
| 455 |
+
"itertools",
|
| 456 |
+
"num-traits",
|
| 457 |
+
"once_cell",
|
| 458 |
+
"oorandom",
|
| 459 |
+
"plotters",
|
| 460 |
+
"rayon",
|
| 461 |
+
"regex",
|
| 462 |
+
"serde",
|
| 463 |
+
"serde_derive",
|
| 464 |
+
"serde_json",
|
| 465 |
+
"tinytemplate",
|
| 466 |
+
"walkdir",
|
| 467 |
+
]
|
| 468 |
+
|
| 469 |
+
[[package]]
|
| 470 |
+
name = "criterion-plot"
|
| 471 |
+
version = "0.5.0"
|
| 472 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 473 |
+
checksum = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1"
|
| 474 |
+
dependencies = [
|
| 475 |
+
"cast",
|
| 476 |
+
"itertools",
|
| 477 |
+
]
|
| 478 |
+
|
| 479 |
+
[[package]]
|
| 480 |
+
name = "crossbeam-deque"
|
| 481 |
+
version = "0.8.5"
|
| 482 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 483 |
+
checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d"
|
| 484 |
+
dependencies = [
|
| 485 |
+
"crossbeam-epoch",
|
| 486 |
+
"crossbeam-utils",
|
| 487 |
+
]
|
| 488 |
+
|
| 489 |
+
[[package]]
|
| 490 |
+
name = "crossbeam-epoch"
|
| 491 |
+
version = "0.9.18"
|
| 492 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 493 |
+
checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
|
| 494 |
+
dependencies = [
|
| 495 |
+
"crossbeam-utils",
|
| 496 |
+
]
|
| 497 |
+
|
| 498 |
+
[[package]]
|
| 499 |
+
name = "crossbeam-utils"
|
| 500 |
+
version = "0.8.20"
|
| 501 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 502 |
+
checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80"
|
| 503 |
+
|
| 504 |
+
[[package]]
|
| 505 |
+
name = "crunchy"
|
| 506 |
+
version = "0.2.2"
|
| 507 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 508 |
+
checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
|
| 509 |
+
|
| 510 |
+
[[package]]
|
| 511 |
+
name = "crypto-common"
|
| 512 |
+
version = "0.1.6"
|
| 513 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 514 |
+
checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
|
| 515 |
+
dependencies = [
|
| 516 |
+
"generic-array",
|
| 517 |
+
"typenum",
|
| 518 |
+
]
|
| 519 |
+
|
| 520 |
+
[[package]]
|
| 521 |
+
name = "deflate64"
|
| 522 |
+
version = "0.1.9"
|
| 523 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 524 |
+
checksum = "da692b8d1080ea3045efaab14434d40468c3d8657e42abddfffca87b428f4c1b"
|
| 525 |
+
|
| 526 |
+
[[package]]
|
| 527 |
+
name = "deranged"
|
| 528 |
+
version = "0.3.11"
|
| 529 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 530 |
+
checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4"
|
| 531 |
+
dependencies = [
|
| 532 |
+
"powerfmt",
|
| 533 |
+
]
|
| 534 |
+
|
| 535 |
+
[[package]]
|
| 536 |
+
name = "derive_arbitrary"
|
| 537 |
+
version = "1.4.1"
|
| 538 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 539 |
+
checksum = "30542c1ad912e0e3d22a1935c290e12e8a29d704a420177a31faad4a601a0800"
|
| 540 |
+
dependencies = [
|
| 541 |
+
"proc-macro2",
|
| 542 |
+
"quote",
|
| 543 |
+
"syn",
|
| 544 |
+
]
|
| 545 |
+
|
| 546 |
+
[[package]]
|
| 547 |
+
name = "digest"
|
| 548 |
+
version = "0.10.7"
|
| 549 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 550 |
+
checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
|
| 551 |
+
dependencies = [
|
| 552 |
+
"block-buffer",
|
| 553 |
+
"crypto-common",
|
| 554 |
+
"subtle",
|
| 555 |
+
]
|
| 556 |
+
|
| 557 |
+
[[package]]
|
| 558 |
+
name = "displaydoc"
|
| 559 |
+
version = "0.2.5"
|
| 560 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 561 |
+
checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
|
| 562 |
+
dependencies = [
|
| 563 |
+
"proc-macro2",
|
| 564 |
+
"quote",
|
| 565 |
+
"syn",
|
| 566 |
+
]
|
| 567 |
+
|
| 568 |
+
[[package]]
|
| 569 |
+
name = "either"
|
| 570 |
+
version = "1.13.0"
|
| 571 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 572 |
+
checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
|
| 573 |
+
|
| 574 |
+
[[package]]
|
| 575 |
+
name = "encoding_rs"
|
| 576 |
+
version = "0.8.35"
|
| 577 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 578 |
+
checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3"
|
| 579 |
+
dependencies = [
|
| 580 |
+
"cfg-if",
|
| 581 |
+
]
|
| 582 |
+
|
| 583 |
+
[[package]]
|
| 584 |
+
name = "equivalent"
|
| 585 |
+
version = "1.0.1"
|
| 586 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 587 |
+
checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
|
| 588 |
+
|
| 589 |
+
[[package]]
|
| 590 |
+
name = "errno"
|
| 591 |
+
version = "0.3.9"
|
| 592 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 593 |
+
checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba"
|
| 594 |
+
dependencies = [
|
| 595 |
+
"libc",
|
| 596 |
+
"windows-sys 0.52.0",
|
| 597 |
+
]
|
| 598 |
+
|
| 599 |
+
[[package]]
|
| 600 |
+
name = "extractous"
|
| 601 |
+
version = "0.2.1"
|
| 602 |
+
dependencies = [
|
| 603 |
+
"bytemuck",
|
| 604 |
+
"criterion",
|
| 605 |
+
"flate2",
|
| 606 |
+
"fs_extra",
|
| 607 |
+
"jni",
|
| 608 |
+
"libc",
|
| 609 |
+
"quick-xml",
|
| 610 |
+
"reqwest",
|
| 611 |
+
"serde",
|
| 612 |
+
"serde_json",
|
| 613 |
+
"strum",
|
| 614 |
+
"strum_macros",
|
| 615 |
+
"tar",
|
| 616 |
+
"test-case",
|
| 617 |
+
"textdistance",
|
| 618 |
+
"thiserror",
|
| 619 |
+
"walkdir",
|
| 620 |
+
"zip",
|
| 621 |
+
]
|
| 622 |
+
|
| 623 |
+
[[package]]
|
| 624 |
+
name = "fastrand"
|
| 625 |
+
version = "2.2.0"
|
| 626 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 627 |
+
checksum = "486f806e73c5707928240ddc295403b1b93c96a02038563881c4a2fd84b81ac4"
|
| 628 |
+
|
| 629 |
+
[[package]]
|
| 630 |
+
name = "filetime"
|
| 631 |
+
version = "0.2.25"
|
| 632 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 633 |
+
checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586"
|
| 634 |
+
dependencies = [
|
| 635 |
+
"cfg-if",
|
| 636 |
+
"libc",
|
| 637 |
+
"libredox",
|
| 638 |
+
"windows-sys 0.59.0",
|
| 639 |
+
]
|
| 640 |
+
|
| 641 |
+
[[package]]
|
| 642 |
+
name = "flate2"
|
| 643 |
+
version = "1.0.35"
|
| 644 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 645 |
+
checksum = "c936bfdafb507ebbf50b8074c54fa31c5be9a1e7e5f467dd659697041407d07c"
|
| 646 |
+
dependencies = [
|
| 647 |
+
"crc32fast",
|
| 648 |
+
"miniz_oxide",
|
| 649 |
+
]
|
| 650 |
+
|
| 651 |
+
[[package]]
|
| 652 |
+
name = "fnv"
|
| 653 |
+
version = "1.0.7"
|
| 654 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 655 |
+
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
|
| 656 |
+
|
| 657 |
+
[[package]]
|
| 658 |
+
name = "foreign-types"
|
| 659 |
+
version = "0.3.2"
|
| 660 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 661 |
+
checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
|
| 662 |
+
dependencies = [
|
| 663 |
+
"foreign-types-shared",
|
| 664 |
+
]
|
| 665 |
+
|
| 666 |
+
[[package]]
|
| 667 |
+
name = "foreign-types-shared"
|
| 668 |
+
version = "0.1.1"
|
| 669 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 670 |
+
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
|
| 671 |
+
|
| 672 |
+
[[package]]
|
| 673 |
+
name = "form_urlencoded"
|
| 674 |
+
version = "1.2.1"
|
| 675 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 676 |
+
checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456"
|
| 677 |
+
dependencies = [
|
| 678 |
+
"percent-encoding",
|
| 679 |
+
]
|
| 680 |
+
|
| 681 |
+
[[package]]
|
| 682 |
+
name = "fs_extra"
|
| 683 |
+
version = "1.3.0"
|
| 684 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 685 |
+
checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c"
|
| 686 |
+
|
| 687 |
+
[[package]]
|
| 688 |
+
name = "futures-channel"
|
| 689 |
+
version = "0.3.31"
|
| 690 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 691 |
+
checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10"
|
| 692 |
+
dependencies = [
|
| 693 |
+
"futures-core",
|
| 694 |
+
"futures-sink",
|
| 695 |
+
]
|
| 696 |
+
|
| 697 |
+
[[package]]
|
| 698 |
+
name = "futures-core"
|
| 699 |
+
version = "0.3.31"
|
| 700 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 701 |
+
checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e"
|
| 702 |
+
|
| 703 |
+
[[package]]
|
| 704 |
+
name = "futures-io"
|
| 705 |
+
version = "0.3.31"
|
| 706 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 707 |
+
checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6"
|
| 708 |
+
|
| 709 |
+
[[package]]
|
| 710 |
+
name = "futures-sink"
|
| 711 |
+
version = "0.3.31"
|
| 712 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 713 |
+
checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7"
|
| 714 |
+
|
| 715 |
+
[[package]]
|
| 716 |
+
name = "futures-task"
|
| 717 |
+
version = "0.3.31"
|
| 718 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 719 |
+
checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988"
|
| 720 |
+
|
| 721 |
+
[[package]]
|
| 722 |
+
name = "futures-util"
|
| 723 |
+
version = "0.3.31"
|
| 724 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 725 |
+
checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81"
|
| 726 |
+
dependencies = [
|
| 727 |
+
"futures-core",
|
| 728 |
+
"futures-io",
|
| 729 |
+
"futures-sink",
|
| 730 |
+
"futures-task",
|
| 731 |
+
"memchr",
|
| 732 |
+
"pin-project-lite",
|
| 733 |
+
"pin-utils",
|
| 734 |
+
"slab",
|
| 735 |
+
]
|
| 736 |
+
|
| 737 |
+
[[package]]
|
| 738 |
+
name = "generic-array"
|
| 739 |
+
version = "0.14.7"
|
| 740 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 741 |
+
checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
|
| 742 |
+
dependencies = [
|
| 743 |
+
"typenum",
|
| 744 |
+
"version_check",
|
| 745 |
+
]
|
| 746 |
+
|
| 747 |
+
[[package]]
|
| 748 |
+
name = "getrandom"
|
| 749 |
+
version = "0.2.15"
|
| 750 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 751 |
+
checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
|
| 752 |
+
dependencies = [
|
| 753 |
+
"cfg-if",
|
| 754 |
+
"libc",
|
| 755 |
+
"wasi",
|
| 756 |
+
]
|
| 757 |
+
|
| 758 |
+
[[package]]
|
| 759 |
+
name = "gimli"
|
| 760 |
+
version = "0.31.1"
|
| 761 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 762 |
+
checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f"
|
| 763 |
+
|
| 764 |
+
[[package]]
|
| 765 |
+
name = "glob"
|
| 766 |
+
version = "0.3.1"
|
| 767 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 768 |
+
checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
|
| 769 |
+
|
| 770 |
+
[[package]]
|
| 771 |
+
name = "h2"
|
| 772 |
+
version = "0.4.6"
|
| 773 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 774 |
+
checksum = "524e8ac6999421f49a846c2d4411f337e53497d8ec55d67753beffa43c5d9205"
|
| 775 |
+
dependencies = [
|
| 776 |
+
"atomic-waker",
|
| 777 |
+
"bytes",
|
| 778 |
+
"fnv",
|
| 779 |
+
"futures-core",
|
| 780 |
+
"futures-sink",
|
| 781 |
+
"http",
|
| 782 |
+
"indexmap",
|
| 783 |
+
"slab",
|
| 784 |
+
"tokio",
|
| 785 |
+
"tokio-util",
|
| 786 |
+
"tracing",
|
| 787 |
+
]
|
| 788 |
+
|
| 789 |
+
[[package]]
|
| 790 |
+
name = "half"
|
| 791 |
+
version = "2.4.1"
|
| 792 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 793 |
+
checksum = "6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888"
|
| 794 |
+
dependencies = [
|
| 795 |
+
"cfg-if",
|
| 796 |
+
"crunchy",
|
| 797 |
+
]
|
| 798 |
+
|
| 799 |
+
[[package]]
|
| 800 |
+
name = "hashbrown"
|
| 801 |
+
version = "0.15.1"
|
| 802 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 803 |
+
checksum = "3a9bfc1af68b1726ea47d3d5109de126281def866b33970e10fbab11b5dafab3"
|
| 804 |
+
|
| 805 |
+
[[package]]
|
| 806 |
+
name = "heck"
|
| 807 |
+
version = "0.5.0"
|
| 808 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 809 |
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
| 810 |
+
|
| 811 |
+
[[package]]
|
| 812 |
+
name = "hermit-abi"
|
| 813 |
+
version = "0.3.9"
|
| 814 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 815 |
+
checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
|
| 816 |
+
|
| 817 |
+
[[package]]
|
| 818 |
+
name = "hermit-abi"
|
| 819 |
+
version = "0.4.0"
|
| 820 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 821 |
+
checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc"
|
| 822 |
+
|
| 823 |
+
[[package]]
|
| 824 |
+
name = "hmac"
|
| 825 |
+
version = "0.12.1"
|
| 826 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 827 |
+
checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e"
|
| 828 |
+
dependencies = [
|
| 829 |
+
"digest",
|
| 830 |
+
]
|
| 831 |
+
|
| 832 |
+
[[package]]
|
| 833 |
+
name = "http"
|
| 834 |
+
version = "1.1.0"
|
| 835 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 836 |
+
checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258"
|
| 837 |
+
dependencies = [
|
| 838 |
+
"bytes",
|
| 839 |
+
"fnv",
|
| 840 |
+
"itoa",
|
| 841 |
+
]
|
| 842 |
+
|
| 843 |
+
[[package]]
|
| 844 |
+
name = "http-body"
|
| 845 |
+
version = "1.0.1"
|
| 846 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 847 |
+
checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184"
|
| 848 |
+
dependencies = [
|
| 849 |
+
"bytes",
|
| 850 |
+
"http",
|
| 851 |
+
]
|
| 852 |
+
|
| 853 |
+
[[package]]
|
| 854 |
+
name = "http-body-util"
|
| 855 |
+
version = "0.1.2"
|
| 856 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 857 |
+
checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f"
|
| 858 |
+
dependencies = [
|
| 859 |
+
"bytes",
|
| 860 |
+
"futures-util",
|
| 861 |
+
"http",
|
| 862 |
+
"http-body",
|
| 863 |
+
"pin-project-lite",
|
| 864 |
+
]
|
| 865 |
+
|
| 866 |
+
[[package]]
|
| 867 |
+
name = "httparse"
|
| 868 |
+
version = "1.9.5"
|
| 869 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 870 |
+
checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946"
|
| 871 |
+
|
| 872 |
+
[[package]]
|
| 873 |
+
name = "hyper"
|
| 874 |
+
version = "1.5.0"
|
| 875 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 876 |
+
checksum = "bbbff0a806a4728c99295b254c8838933b5b082d75e3cb70c8dab21fdfbcfa9a"
|
| 877 |
+
dependencies = [
|
| 878 |
+
"bytes",
|
| 879 |
+
"futures-channel",
|
| 880 |
+
"futures-util",
|
| 881 |
+
"h2",
|
| 882 |
+
"http",
|
| 883 |
+
"http-body",
|
| 884 |
+
"httparse",
|
| 885 |
+
"itoa",
|
| 886 |
+
"pin-project-lite",
|
| 887 |
+
"smallvec",
|
| 888 |
+
"tokio",
|
| 889 |
+
"want",
|
| 890 |
+
]
|
| 891 |
+
|
| 892 |
+
[[package]]
|
| 893 |
+
name = "hyper-rustls"
|
| 894 |
+
version = "0.27.3"
|
| 895 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 896 |
+
checksum = "08afdbb5c31130e3034af566421053ab03787c640246a446327f550d11bcb333"
|
| 897 |
+
dependencies = [
|
| 898 |
+
"futures-util",
|
| 899 |
+
"http",
|
| 900 |
+
"hyper",
|
| 901 |
+
"hyper-util",
|
| 902 |
+
"rustls",
|
| 903 |
+
"rustls-pki-types",
|
| 904 |
+
"tokio",
|
| 905 |
+
"tokio-rustls",
|
| 906 |
+
"tower-service",
|
| 907 |
+
]
|
| 908 |
+
|
| 909 |
+
[[package]]
|
| 910 |
+
name = "hyper-tls"
|
| 911 |
+
version = "0.6.0"
|
| 912 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 913 |
+
checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0"
|
| 914 |
+
dependencies = [
|
| 915 |
+
"bytes",
|
| 916 |
+
"http-body-util",
|
| 917 |
+
"hyper",
|
| 918 |
+
"hyper-util",
|
| 919 |
+
"native-tls",
|
| 920 |
+
"tokio",
|
| 921 |
+
"tokio-native-tls",
|
| 922 |
+
"tower-service",
|
| 923 |
+
]
|
| 924 |
+
|
| 925 |
+
[[package]]
|
| 926 |
+
name = "hyper-util"
|
| 927 |
+
version = "0.1.10"
|
| 928 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 929 |
+
checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4"
|
| 930 |
+
dependencies = [
|
| 931 |
+
"bytes",
|
| 932 |
+
"futures-channel",
|
| 933 |
+
"futures-util",
|
| 934 |
+
"http",
|
| 935 |
+
"http-body",
|
| 936 |
+
"hyper",
|
| 937 |
+
"pin-project-lite",
|
| 938 |
+
"socket2",
|
| 939 |
+
"tokio",
|
| 940 |
+
"tower-service",
|
| 941 |
+
"tracing",
|
| 942 |
+
]
|
| 943 |
+
|
| 944 |
+
[[package]]
|
| 945 |
+
name = "icu_collections"
|
| 946 |
+
version = "1.5.0"
|
| 947 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 948 |
+
checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526"
|
| 949 |
+
dependencies = [
|
| 950 |
+
"displaydoc",
|
| 951 |
+
"yoke",
|
| 952 |
+
"zerofrom",
|
| 953 |
+
"zerovec",
|
| 954 |
+
]
|
| 955 |
+
|
| 956 |
+
[[package]]
|
| 957 |
+
name = "icu_locid"
|
| 958 |
+
version = "1.5.0"
|
| 959 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 960 |
+
checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637"
|
| 961 |
+
dependencies = [
|
| 962 |
+
"displaydoc",
|
| 963 |
+
"litemap",
|
| 964 |
+
"tinystr",
|
| 965 |
+
"writeable",
|
| 966 |
+
"zerovec",
|
| 967 |
+
]
|
| 968 |
+
|
| 969 |
+
[[package]]
|
| 970 |
+
name = "icu_locid_transform"
|
| 971 |
+
version = "1.5.0"
|
| 972 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 973 |
+
checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e"
|
| 974 |
+
dependencies = [
|
| 975 |
+
"displaydoc",
|
| 976 |
+
"icu_locid",
|
| 977 |
+
"icu_locid_transform_data",
|
| 978 |
+
"icu_provider",
|
| 979 |
+
"tinystr",
|
| 980 |
+
"zerovec",
|
| 981 |
+
]
|
| 982 |
+
|
| 983 |
+
[[package]]
|
| 984 |
+
name = "icu_locid_transform_data"
|
| 985 |
+
version = "1.5.0"
|
| 986 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 987 |
+
checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e"
|
| 988 |
+
|
| 989 |
+
[[package]]
|
| 990 |
+
name = "icu_normalizer"
|
| 991 |
+
version = "1.5.0"
|
| 992 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 993 |
+
checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f"
|
| 994 |
+
dependencies = [
|
| 995 |
+
"displaydoc",
|
| 996 |
+
"icu_collections",
|
| 997 |
+
"icu_normalizer_data",
|
| 998 |
+
"icu_properties",
|
| 999 |
+
"icu_provider",
|
| 1000 |
+
"smallvec",
|
| 1001 |
+
"utf16_iter",
|
| 1002 |
+
"utf8_iter",
|
| 1003 |
+
"write16",
|
| 1004 |
+
"zerovec",
|
| 1005 |
+
]
|
| 1006 |
+
|
| 1007 |
+
[[package]]
|
| 1008 |
+
name = "icu_normalizer_data"
|
| 1009 |
+
version = "1.5.0"
|
| 1010 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1011 |
+
checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516"
|
| 1012 |
+
|
| 1013 |
+
[[package]]
|
| 1014 |
+
name = "icu_properties"
|
| 1015 |
+
version = "1.5.1"
|
| 1016 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1017 |
+
checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5"
|
| 1018 |
+
dependencies = [
|
| 1019 |
+
"displaydoc",
|
| 1020 |
+
"icu_collections",
|
| 1021 |
+
"icu_locid_transform",
|
| 1022 |
+
"icu_properties_data",
|
| 1023 |
+
"icu_provider",
|
| 1024 |
+
"tinystr",
|
| 1025 |
+
"zerovec",
|
| 1026 |
+
]
|
| 1027 |
+
|
| 1028 |
+
[[package]]
|
| 1029 |
+
name = "icu_properties_data"
|
| 1030 |
+
version = "1.5.0"
|
| 1031 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1032 |
+
checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569"
|
| 1033 |
+
|
| 1034 |
+
[[package]]
|
| 1035 |
+
name = "icu_provider"
|
| 1036 |
+
version = "1.5.0"
|
| 1037 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1038 |
+
checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9"
|
| 1039 |
+
dependencies = [
|
| 1040 |
+
"displaydoc",
|
| 1041 |
+
"icu_locid",
|
| 1042 |
+
"icu_provider_macros",
|
| 1043 |
+
"stable_deref_trait",
|
| 1044 |
+
"tinystr",
|
| 1045 |
+
"writeable",
|
| 1046 |
+
"yoke",
|
| 1047 |
+
"zerofrom",
|
| 1048 |
+
"zerovec",
|
| 1049 |
+
]
|
| 1050 |
+
|
| 1051 |
+
[[package]]
|
| 1052 |
+
name = "icu_provider_macros"
|
| 1053 |
+
version = "1.5.0"
|
| 1054 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1055 |
+
checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
|
| 1056 |
+
dependencies = [
|
| 1057 |
+
"proc-macro2",
|
| 1058 |
+
"quote",
|
| 1059 |
+
"syn",
|
| 1060 |
+
]
|
| 1061 |
+
|
| 1062 |
+
[[package]]
|
| 1063 |
+
name = "idna"
|
| 1064 |
+
version = "1.0.3"
|
| 1065 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1066 |
+
checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e"
|
| 1067 |
+
dependencies = [
|
| 1068 |
+
"idna_adapter",
|
| 1069 |
+
"smallvec",
|
| 1070 |
+
"utf8_iter",
|
| 1071 |
+
]
|
| 1072 |
+
|
| 1073 |
+
[[package]]
|
| 1074 |
+
name = "idna_adapter"
|
| 1075 |
+
version = "1.2.0"
|
| 1076 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1077 |
+
checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71"
|
| 1078 |
+
dependencies = [
|
| 1079 |
+
"icu_normalizer",
|
| 1080 |
+
"icu_properties",
|
| 1081 |
+
]
|
| 1082 |
+
|
| 1083 |
+
[[package]]
|
| 1084 |
+
name = "indexmap"
|
| 1085 |
+
version = "2.6.0"
|
| 1086 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1087 |
+
checksum = "707907fe3c25f5424cce2cb7e1cbcafee6bdbe735ca90ef77c29e84591e5b9da"
|
| 1088 |
+
dependencies = [
|
| 1089 |
+
"equivalent",
|
| 1090 |
+
"hashbrown",
|
| 1091 |
+
]
|
| 1092 |
+
|
| 1093 |
+
[[package]]
|
| 1094 |
+
name = "inout"
|
| 1095 |
+
version = "0.1.3"
|
| 1096 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1097 |
+
checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5"
|
| 1098 |
+
dependencies = [
|
| 1099 |
+
"generic-array",
|
| 1100 |
+
]
|
| 1101 |
+
|
| 1102 |
+
[[package]]
|
| 1103 |
+
name = "ipnet"
|
| 1104 |
+
version = "2.10.1"
|
| 1105 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1106 |
+
checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708"
|
| 1107 |
+
|
| 1108 |
+
[[package]]
|
| 1109 |
+
name = "is-terminal"
|
| 1110 |
+
version = "0.4.13"
|
| 1111 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1112 |
+
checksum = "261f68e344040fbd0edea105bef17c66edf46f984ddb1115b775ce31be948f4b"
|
| 1113 |
+
dependencies = [
|
| 1114 |
+
"hermit-abi 0.4.0",
|
| 1115 |
+
"libc",
|
| 1116 |
+
"windows-sys 0.52.0",
|
| 1117 |
+
]
|
| 1118 |
+
|
| 1119 |
+
[[package]]
|
| 1120 |
+
name = "itertools"
|
| 1121 |
+
version = "0.10.5"
|
| 1122 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1123 |
+
checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
|
| 1124 |
+
dependencies = [
|
| 1125 |
+
"either",
|
| 1126 |
+
]
|
| 1127 |
+
|
| 1128 |
+
[[package]]
|
| 1129 |
+
name = "itoa"
|
| 1130 |
+
version = "1.0.11"
|
| 1131 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1132 |
+
checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
|
| 1133 |
+
|
| 1134 |
+
[[package]]
|
| 1135 |
+
name = "java-locator"
|
| 1136 |
+
version = "0.1.8"
|
| 1137 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1138 |
+
checksum = "6f25f28894af6a5dd349ed5ec46e178654e75f62edb6717ac74007102a57deb5"
|
| 1139 |
+
dependencies = [
|
| 1140 |
+
"glob",
|
| 1141 |
+
]
|
| 1142 |
+
|
| 1143 |
+
[[package]]
|
| 1144 |
+
name = "jni"
|
| 1145 |
+
version = "0.21.1"
|
| 1146 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1147 |
+
checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97"
|
| 1148 |
+
dependencies = [
|
| 1149 |
+
"cesu8",
|
| 1150 |
+
"cfg-if",
|
| 1151 |
+
"combine",
|
| 1152 |
+
"java-locator",
|
| 1153 |
+
"jni-sys",
|
| 1154 |
+
"libloading",
|
| 1155 |
+
"log",
|
| 1156 |
+
"thiserror",
|
| 1157 |
+
"walkdir",
|
| 1158 |
+
"windows-sys 0.45.0",
|
| 1159 |
+
]
|
| 1160 |
+
|
| 1161 |
+
[[package]]
|
| 1162 |
+
name = "jni-sys"
|
| 1163 |
+
version = "0.3.0"
|
| 1164 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1165 |
+
checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130"
|
| 1166 |
+
|
| 1167 |
+
[[package]]
|
| 1168 |
+
name = "jobserver"
|
| 1169 |
+
version = "0.1.32"
|
| 1170 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1171 |
+
checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0"
|
| 1172 |
+
dependencies = [
|
| 1173 |
+
"libc",
|
| 1174 |
+
]
|
| 1175 |
+
|
| 1176 |
+
[[package]]
|
| 1177 |
+
name = "js-sys"
|
| 1178 |
+
version = "0.3.72"
|
| 1179 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1180 |
+
checksum = "6a88f1bda2bd75b0452a14784937d796722fdebfe50df998aeb3f0b7603019a9"
|
| 1181 |
+
dependencies = [
|
| 1182 |
+
"wasm-bindgen",
|
| 1183 |
+
]
|
| 1184 |
+
|
| 1185 |
+
[[package]]
|
| 1186 |
+
name = "libc"
|
| 1187 |
+
version = "0.2.162"
|
| 1188 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1189 |
+
checksum = "18d287de67fe55fd7e1581fe933d965a5a9477b38e949cfa9f8574ef01506398"
|
| 1190 |
+
|
| 1191 |
+
[[package]]
|
| 1192 |
+
name = "libloading"
|
| 1193 |
+
version = "0.7.4"
|
| 1194 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1195 |
+
checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f"
|
| 1196 |
+
dependencies = [
|
| 1197 |
+
"cfg-if",
|
| 1198 |
+
"winapi",
|
| 1199 |
+
]
|
| 1200 |
+
|
| 1201 |
+
[[package]]
|
| 1202 |
+
name = "libredox"
|
| 1203 |
+
version = "0.1.3"
|
| 1204 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1205 |
+
checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d"
|
| 1206 |
+
dependencies = [
|
| 1207 |
+
"bitflags",
|
| 1208 |
+
"libc",
|
| 1209 |
+
"redox_syscall",
|
| 1210 |
+
]
|
| 1211 |
+
|
| 1212 |
+
[[package]]
|
| 1213 |
+
name = "linux-raw-sys"
|
| 1214 |
+
version = "0.4.14"
|
| 1215 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1216 |
+
checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
|
| 1217 |
+
|
| 1218 |
+
[[package]]
|
| 1219 |
+
name = "litemap"
|
| 1220 |
+
version = "0.7.3"
|
| 1221 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1222 |
+
checksum = "643cb0b8d4fcc284004d5fd0d67ccf61dfffadb7f75e1e71bc420f4688a3a704"
|
| 1223 |
+
|
| 1224 |
+
[[package]]
|
| 1225 |
+
name = "lockfree-object-pool"
|
| 1226 |
+
version = "0.1.6"
|
| 1227 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1228 |
+
checksum = "9374ef4228402d4b7e403e5838cb880d9ee663314b0a900d5a6aabf0c213552e"
|
| 1229 |
+
|
| 1230 |
+
[[package]]
|
| 1231 |
+
name = "log"
|
| 1232 |
+
version = "0.4.22"
|
| 1233 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1234 |
+
checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
|
| 1235 |
+
|
| 1236 |
+
[[package]]
|
| 1237 |
+
name = "lzma-rs"
|
| 1238 |
+
version = "0.3.0"
|
| 1239 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1240 |
+
checksum = "297e814c836ae64db86b36cf2a557ba54368d03f6afcd7d947c266692f71115e"
|
| 1241 |
+
dependencies = [
|
| 1242 |
+
"byteorder",
|
| 1243 |
+
"crc",
|
| 1244 |
+
]
|
| 1245 |
+
|
| 1246 |
+
[[package]]
|
| 1247 |
+
name = "memchr"
|
| 1248 |
+
version = "2.7.4"
|
| 1249 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1250 |
+
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
|
| 1251 |
+
|
| 1252 |
+
[[package]]
|
| 1253 |
+
name = "mime"
|
| 1254 |
+
version = "0.3.17"
|
| 1255 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1256 |
+
checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
|
| 1257 |
+
|
| 1258 |
+
[[package]]
|
| 1259 |
+
name = "miniz_oxide"
|
| 1260 |
+
version = "0.8.0"
|
| 1261 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1262 |
+
checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1"
|
| 1263 |
+
dependencies = [
|
| 1264 |
+
"adler2",
|
| 1265 |
+
]
|
| 1266 |
+
|
| 1267 |
+
[[package]]
|
| 1268 |
+
name = "mio"
|
| 1269 |
+
version = "1.0.2"
|
| 1270 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1271 |
+
checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec"
|
| 1272 |
+
dependencies = [
|
| 1273 |
+
"hermit-abi 0.3.9",
|
| 1274 |
+
"libc",
|
| 1275 |
+
"wasi",
|
| 1276 |
+
"windows-sys 0.52.0",
|
| 1277 |
+
]
|
| 1278 |
+
|
| 1279 |
+
[[package]]
|
| 1280 |
+
name = "native-tls"
|
| 1281 |
+
version = "0.2.12"
|
| 1282 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1283 |
+
checksum = "a8614eb2c83d59d1c8cc974dd3f920198647674a0a035e1af1fa58707e317466"
|
| 1284 |
+
dependencies = [
|
| 1285 |
+
"libc",
|
| 1286 |
+
"log",
|
| 1287 |
+
"openssl",
|
| 1288 |
+
"openssl-probe",
|
| 1289 |
+
"openssl-sys",
|
| 1290 |
+
"schannel",
|
| 1291 |
+
"security-framework",
|
| 1292 |
+
"security-framework-sys",
|
| 1293 |
+
"tempfile",
|
| 1294 |
+
]
|
| 1295 |
+
|
| 1296 |
+
[[package]]
|
| 1297 |
+
name = "num-conv"
|
| 1298 |
+
version = "0.1.0"
|
| 1299 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1300 |
+
checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
|
| 1301 |
+
|
| 1302 |
+
[[package]]
|
| 1303 |
+
name = "num-traits"
|
| 1304 |
+
version = "0.2.19"
|
| 1305 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1306 |
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
| 1307 |
+
dependencies = [
|
| 1308 |
+
"autocfg",
|
| 1309 |
+
]
|
| 1310 |
+
|
| 1311 |
+
[[package]]
|
| 1312 |
+
name = "object"
|
| 1313 |
+
version = "0.36.5"
|
| 1314 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1315 |
+
checksum = "aedf0a2d09c573ed1d8d85b30c119153926a2b36dce0ab28322c09a117a4683e"
|
| 1316 |
+
dependencies = [
|
| 1317 |
+
"memchr",
|
| 1318 |
+
]
|
| 1319 |
+
|
| 1320 |
+
[[package]]
|
| 1321 |
+
name = "once_cell"
|
| 1322 |
+
version = "1.20.2"
|
| 1323 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1324 |
+
checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
|
| 1325 |
+
|
| 1326 |
+
[[package]]
|
| 1327 |
+
name = "oorandom"
|
| 1328 |
+
version = "11.1.4"
|
| 1329 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1330 |
+
checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9"
|
| 1331 |
+
|
| 1332 |
+
[[package]]
|
| 1333 |
+
name = "openssl"
|
| 1334 |
+
version = "0.10.68"
|
| 1335 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1336 |
+
checksum = "6174bc48f102d208783c2c84bf931bb75927a617866870de8a4ea85597f871f5"
|
| 1337 |
+
dependencies = [
|
| 1338 |
+
"bitflags",
|
| 1339 |
+
"cfg-if",
|
| 1340 |
+
"foreign-types",
|
| 1341 |
+
"libc",
|
| 1342 |
+
"once_cell",
|
| 1343 |
+
"openssl-macros",
|
| 1344 |
+
"openssl-sys",
|
| 1345 |
+
]
|
| 1346 |
+
|
| 1347 |
+
[[package]]
|
| 1348 |
+
name = "openssl-macros"
|
| 1349 |
+
version = "0.1.1"
|
| 1350 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1351 |
+
checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
|
| 1352 |
+
dependencies = [
|
| 1353 |
+
"proc-macro2",
|
| 1354 |
+
"quote",
|
| 1355 |
+
"syn",
|
| 1356 |
+
]
|
| 1357 |
+
|
| 1358 |
+
[[package]]
|
| 1359 |
+
name = "openssl-probe"
|
| 1360 |
+
version = "0.1.5"
|
| 1361 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1362 |
+
checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
|
| 1363 |
+
|
| 1364 |
+
[[package]]
|
| 1365 |
+
name = "openssl-sys"
|
| 1366 |
+
version = "0.9.104"
|
| 1367 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1368 |
+
checksum = "45abf306cbf99debc8195b66b7346498d7b10c210de50418b5ccd7ceba08c741"
|
| 1369 |
+
dependencies = [
|
| 1370 |
+
"cc",
|
| 1371 |
+
"libc",
|
| 1372 |
+
"pkg-config",
|
| 1373 |
+
"vcpkg",
|
| 1374 |
+
]
|
| 1375 |
+
|
| 1376 |
+
[[package]]
|
| 1377 |
+
name = "pbkdf2"
|
| 1378 |
+
version = "0.12.2"
|
| 1379 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1380 |
+
checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2"
|
| 1381 |
+
dependencies = [
|
| 1382 |
+
"digest",
|
| 1383 |
+
"hmac",
|
| 1384 |
+
]
|
| 1385 |
+
|
| 1386 |
+
[[package]]
|
| 1387 |
+
name = "percent-encoding"
|
| 1388 |
+
version = "2.3.1"
|
| 1389 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1390 |
+
checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
|
| 1391 |
+
|
| 1392 |
+
[[package]]
|
| 1393 |
+
name = "pin-project-lite"
|
| 1394 |
+
version = "0.2.15"
|
| 1395 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1396 |
+
checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff"
|
| 1397 |
+
|
| 1398 |
+
[[package]]
|
| 1399 |
+
name = "pin-utils"
|
| 1400 |
+
version = "0.1.0"
|
| 1401 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1402 |
+
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
|
| 1403 |
+
|
| 1404 |
+
[[package]]
|
| 1405 |
+
name = "pkg-config"
|
| 1406 |
+
version = "0.3.31"
|
| 1407 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1408 |
+
checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2"
|
| 1409 |
+
|
| 1410 |
+
[[package]]
|
| 1411 |
+
name = "plotters"
|
| 1412 |
+
version = "0.3.7"
|
| 1413 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1414 |
+
checksum = "5aeb6f403d7a4911efb1e33402027fc44f29b5bf6def3effcc22d7bb75f2b747"
|
| 1415 |
+
dependencies = [
|
| 1416 |
+
"num-traits",
|
| 1417 |
+
"plotters-backend",
|
| 1418 |
+
"plotters-svg",
|
| 1419 |
+
"wasm-bindgen",
|
| 1420 |
+
"web-sys",
|
| 1421 |
+
]
|
| 1422 |
+
|
| 1423 |
+
[[package]]
|
| 1424 |
+
name = "plotters-backend"
|
| 1425 |
+
version = "0.3.7"
|
| 1426 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1427 |
+
checksum = "df42e13c12958a16b3f7f4386b9ab1f3e7933914ecea48da7139435263a4172a"
|
| 1428 |
+
|
| 1429 |
+
[[package]]
|
| 1430 |
+
name = "plotters-svg"
|
| 1431 |
+
version = "0.3.7"
|
| 1432 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1433 |
+
checksum = "51bae2ac328883f7acdfea3d66a7c35751187f870bc81f94563733a154d7a670"
|
| 1434 |
+
dependencies = [
|
| 1435 |
+
"plotters-backend",
|
| 1436 |
+
]
|
| 1437 |
+
|
| 1438 |
+
[[package]]
|
| 1439 |
+
name = "powerfmt"
|
| 1440 |
+
version = "0.2.0"
|
| 1441 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1442 |
+
checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
|
| 1443 |
+
|
| 1444 |
+
[[package]]
|
| 1445 |
+
name = "ppv-lite86"
|
| 1446 |
+
version = "0.2.20"
|
| 1447 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1448 |
+
checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04"
|
| 1449 |
+
dependencies = [
|
| 1450 |
+
"zerocopy",
|
| 1451 |
+
]
|
| 1452 |
+
|
| 1453 |
+
[[package]]
|
| 1454 |
+
name = "proc-macro2"
|
| 1455 |
+
version = "1.0.89"
|
| 1456 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1457 |
+
checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e"
|
| 1458 |
+
dependencies = [
|
| 1459 |
+
"unicode-ident",
|
| 1460 |
+
]
|
| 1461 |
+
|
| 1462 |
+
[[package]]
|
| 1463 |
+
name = "quick-xml"
|
| 1464 |
+
version = "0.37.1"
|
| 1465 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1466 |
+
checksum = "f22f29bdff3987b4d8632ef95fd6424ec7e4e0a57e2f4fc63e489e75357f6a03"
|
| 1467 |
+
dependencies = [
|
| 1468 |
+
"memchr",
|
| 1469 |
+
]
|
| 1470 |
+
|
| 1471 |
+
[[package]]
|
| 1472 |
+
name = "quote"
|
| 1473 |
+
version = "1.0.37"
|
| 1474 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1475 |
+
checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
|
| 1476 |
+
dependencies = [
|
| 1477 |
+
"proc-macro2",
|
| 1478 |
+
]
|
| 1479 |
+
|
| 1480 |
+
[[package]]
|
| 1481 |
+
name = "rand"
|
| 1482 |
+
version = "0.8.5"
|
| 1483 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1484 |
+
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
|
| 1485 |
+
dependencies = [
|
| 1486 |
+
"libc",
|
| 1487 |
+
"rand_chacha",
|
| 1488 |
+
"rand_core",
|
| 1489 |
+
]
|
| 1490 |
+
|
| 1491 |
+
[[package]]
|
| 1492 |
+
name = "rand_chacha"
|
| 1493 |
+
version = "0.3.1"
|
| 1494 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1495 |
+
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
|
| 1496 |
+
dependencies = [
|
| 1497 |
+
"ppv-lite86",
|
| 1498 |
+
"rand_core",
|
| 1499 |
+
]
|
| 1500 |
+
|
| 1501 |
+
[[package]]
|
| 1502 |
+
name = "rand_core"
|
| 1503 |
+
version = "0.6.4"
|
| 1504 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1505 |
+
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
|
| 1506 |
+
dependencies = [
|
| 1507 |
+
"getrandom",
|
| 1508 |
+
]
|
| 1509 |
+
|
| 1510 |
+
[[package]]
|
| 1511 |
+
name = "rayon"
|
| 1512 |
+
version = "1.10.0"
|
| 1513 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1514 |
+
checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa"
|
| 1515 |
+
dependencies = [
|
| 1516 |
+
"either",
|
| 1517 |
+
"rayon-core",
|
| 1518 |
+
]
|
| 1519 |
+
|
| 1520 |
+
[[package]]
|
| 1521 |
+
name = "rayon-core"
|
| 1522 |
+
version = "1.12.1"
|
| 1523 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1524 |
+
checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"
|
| 1525 |
+
dependencies = [
|
| 1526 |
+
"crossbeam-deque",
|
| 1527 |
+
"crossbeam-utils",
|
| 1528 |
+
]
|
| 1529 |
+
|
| 1530 |
+
[[package]]
|
| 1531 |
+
name = "redox_syscall"
|
| 1532 |
+
version = "0.5.7"
|
| 1533 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1534 |
+
checksum = "9b6dfecf2c74bce2466cabf93f6664d6998a69eb21e39f4207930065b27b771f"
|
| 1535 |
+
dependencies = [
|
| 1536 |
+
"bitflags",
|
| 1537 |
+
]
|
| 1538 |
+
|
| 1539 |
+
[[package]]
|
| 1540 |
+
name = "regex"
|
| 1541 |
+
version = "1.11.1"
|
| 1542 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1543 |
+
checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
|
| 1544 |
+
dependencies = [
|
| 1545 |
+
"aho-corasick",
|
| 1546 |
+
"memchr",
|
| 1547 |
+
"regex-automata",
|
| 1548 |
+
"regex-syntax",
|
| 1549 |
+
]
|
| 1550 |
+
|
| 1551 |
+
[[package]]
|
| 1552 |
+
name = "regex-automata"
|
| 1553 |
+
version = "0.4.9"
|
| 1554 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1555 |
+
checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
|
| 1556 |
+
dependencies = [
|
| 1557 |
+
"aho-corasick",
|
| 1558 |
+
"memchr",
|
| 1559 |
+
"regex-syntax",
|
| 1560 |
+
]
|
| 1561 |
+
|
| 1562 |
+
[[package]]
|
| 1563 |
+
name = "regex-syntax"
|
| 1564 |
+
version = "0.8.5"
|
| 1565 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1566 |
+
checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
|
| 1567 |
+
|
| 1568 |
+
[[package]]
|
| 1569 |
+
name = "reqwest"
|
| 1570 |
+
version = "0.12.9"
|
| 1571 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1572 |
+
checksum = "a77c62af46e79de0a562e1a9849205ffcb7fc1238876e9bd743357570e04046f"
|
| 1573 |
+
dependencies = [
|
| 1574 |
+
"base64",
|
| 1575 |
+
"bytes",
|
| 1576 |
+
"encoding_rs",
|
| 1577 |
+
"futures-channel",
|
| 1578 |
+
"futures-core",
|
| 1579 |
+
"futures-util",
|
| 1580 |
+
"h2",
|
| 1581 |
+
"http",
|
| 1582 |
+
"http-body",
|
| 1583 |
+
"http-body-util",
|
| 1584 |
+
"hyper",
|
| 1585 |
+
"hyper-rustls",
|
| 1586 |
+
"hyper-tls",
|
| 1587 |
+
"hyper-util",
|
| 1588 |
+
"ipnet",
|
| 1589 |
+
"js-sys",
|
| 1590 |
+
"log",
|
| 1591 |
+
"mime",
|
| 1592 |
+
"native-tls",
|
| 1593 |
+
"once_cell",
|
| 1594 |
+
"percent-encoding",
|
| 1595 |
+
"pin-project-lite",
|
| 1596 |
+
"rustls-pemfile",
|
| 1597 |
+
"serde",
|
| 1598 |
+
"serde_json",
|
| 1599 |
+
"serde_urlencoded",
|
| 1600 |
+
"sync_wrapper",
|
| 1601 |
+
"system-configuration",
|
| 1602 |
+
"tokio",
|
| 1603 |
+
"tokio-native-tls",
|
| 1604 |
+
"tower-service",
|
| 1605 |
+
"url",
|
| 1606 |
+
"wasm-bindgen",
|
| 1607 |
+
"wasm-bindgen-futures",
|
| 1608 |
+
"web-sys",
|
| 1609 |
+
"windows-registry",
|
| 1610 |
+
]
|
| 1611 |
+
|
| 1612 |
+
[[package]]
|
| 1613 |
+
name = "ring"
|
| 1614 |
+
version = "0.17.8"
|
| 1615 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1616 |
+
checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d"
|
| 1617 |
+
dependencies = [
|
| 1618 |
+
"cc",
|
| 1619 |
+
"cfg-if",
|
| 1620 |
+
"getrandom",
|
| 1621 |
+
"libc",
|
| 1622 |
+
"spin",
|
| 1623 |
+
"untrusted",
|
| 1624 |
+
"windows-sys 0.52.0",
|
| 1625 |
+
]
|
| 1626 |
+
|
| 1627 |
+
[[package]]
|
| 1628 |
+
name = "rustc-demangle"
|
| 1629 |
+
version = "0.1.24"
|
| 1630 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1631 |
+
checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f"
|
| 1632 |
+
|
| 1633 |
+
[[package]]
|
| 1634 |
+
name = "rustix"
|
| 1635 |
+
version = "0.38.40"
|
| 1636 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1637 |
+
checksum = "99e4ea3e1cdc4b559b8e5650f9c8e5998e3e5c1343b4eaf034565f32318d63c0"
|
| 1638 |
+
dependencies = [
|
| 1639 |
+
"bitflags",
|
| 1640 |
+
"errno",
|
| 1641 |
+
"libc",
|
| 1642 |
+
"linux-raw-sys",
|
| 1643 |
+
"windows-sys 0.52.0",
|
| 1644 |
+
]
|
| 1645 |
+
|
| 1646 |
+
[[package]]
|
| 1647 |
+
name = "rustls"
|
| 1648 |
+
version = "0.23.16"
|
| 1649 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1650 |
+
checksum = "eee87ff5d9b36712a58574e12e9f0ea80f915a5b0ac518d322b24a465617925e"
|
| 1651 |
+
dependencies = [
|
| 1652 |
+
"once_cell",
|
| 1653 |
+
"rustls-pki-types",
|
| 1654 |
+
"rustls-webpki",
|
| 1655 |
+
"subtle",
|
| 1656 |
+
"zeroize",
|
| 1657 |
+
]
|
| 1658 |
+
|
| 1659 |
+
[[package]]
|
| 1660 |
+
name = "rustls-pemfile"
|
| 1661 |
+
version = "2.2.0"
|
| 1662 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1663 |
+
checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50"
|
| 1664 |
+
dependencies = [
|
| 1665 |
+
"rustls-pki-types",
|
| 1666 |
+
]
|
| 1667 |
+
|
| 1668 |
+
[[package]]
|
| 1669 |
+
name = "rustls-pki-types"
|
| 1670 |
+
version = "1.10.0"
|
| 1671 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1672 |
+
checksum = "16f1201b3c9a7ee8039bcadc17b7e605e2945b27eee7631788c1bd2b0643674b"
|
| 1673 |
+
|
| 1674 |
+
[[package]]
|
| 1675 |
+
name = "rustls-webpki"
|
| 1676 |
+
version = "0.102.8"
|
| 1677 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1678 |
+
checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9"
|
| 1679 |
+
dependencies = [
|
| 1680 |
+
"ring",
|
| 1681 |
+
"rustls-pki-types",
|
| 1682 |
+
"untrusted",
|
| 1683 |
+
]
|
| 1684 |
+
|
| 1685 |
+
[[package]]
|
| 1686 |
+
name = "rustversion"
|
| 1687 |
+
version = "1.0.18"
|
| 1688 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1689 |
+
checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248"
|
| 1690 |
+
|
| 1691 |
+
[[package]]
|
| 1692 |
+
name = "ryu"
|
| 1693 |
+
version = "1.0.18"
|
| 1694 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1695 |
+
checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
|
| 1696 |
+
|
| 1697 |
+
[[package]]
|
| 1698 |
+
name = "same-file"
|
| 1699 |
+
version = "1.0.6"
|
| 1700 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1701 |
+
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
|
| 1702 |
+
dependencies = [
|
| 1703 |
+
"winapi-util",
|
| 1704 |
+
]
|
| 1705 |
+
|
| 1706 |
+
[[package]]
|
| 1707 |
+
name = "schannel"
|
| 1708 |
+
version = "0.1.26"
|
| 1709 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1710 |
+
checksum = "01227be5826fa0690321a2ba6c5cd57a19cf3f6a09e76973b58e61de6ab9d1c1"
|
| 1711 |
+
dependencies = [
|
| 1712 |
+
"windows-sys 0.59.0",
|
| 1713 |
+
]
|
| 1714 |
+
|
| 1715 |
+
[[package]]
|
| 1716 |
+
name = "security-framework"
|
| 1717 |
+
version = "2.11.1"
|
| 1718 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1719 |
+
checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02"
|
| 1720 |
+
dependencies = [
|
| 1721 |
+
"bitflags",
|
| 1722 |
+
"core-foundation",
|
| 1723 |
+
"core-foundation-sys",
|
| 1724 |
+
"libc",
|
| 1725 |
+
"security-framework-sys",
|
| 1726 |
+
]
|
| 1727 |
+
|
| 1728 |
+
[[package]]
|
| 1729 |
+
name = "security-framework-sys"
|
| 1730 |
+
version = "2.12.1"
|
| 1731 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1732 |
+
checksum = "fa39c7303dc58b5543c94d22c1766b0d31f2ee58306363ea622b10bbc075eaa2"
|
| 1733 |
+
dependencies = [
|
| 1734 |
+
"core-foundation-sys",
|
| 1735 |
+
"libc",
|
| 1736 |
+
]
|
| 1737 |
+
|
| 1738 |
+
[[package]]
|
| 1739 |
+
name = "serde"
|
| 1740 |
+
version = "1.0.215"
|
| 1741 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1742 |
+
checksum = "6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f"
|
| 1743 |
+
dependencies = [
|
| 1744 |
+
"serde_derive",
|
| 1745 |
+
]
|
| 1746 |
+
|
| 1747 |
+
[[package]]
|
| 1748 |
+
name = "serde_derive"
|
| 1749 |
+
version = "1.0.215"
|
| 1750 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1751 |
+
checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0"
|
| 1752 |
+
dependencies = [
|
| 1753 |
+
"proc-macro2",
|
| 1754 |
+
"quote",
|
| 1755 |
+
"syn",
|
| 1756 |
+
]
|
| 1757 |
+
|
| 1758 |
+
[[package]]
|
| 1759 |
+
name = "serde_json"
|
| 1760 |
+
version = "1.0.132"
|
| 1761 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1762 |
+
checksum = "d726bfaff4b320266d395898905d0eba0345aae23b54aee3a737e260fd46db03"
|
| 1763 |
+
dependencies = [
|
| 1764 |
+
"itoa",
|
| 1765 |
+
"memchr",
|
| 1766 |
+
"ryu",
|
| 1767 |
+
"serde",
|
| 1768 |
+
]
|
| 1769 |
+
|
| 1770 |
+
[[package]]
|
| 1771 |
+
name = "serde_urlencoded"
|
| 1772 |
+
version = "0.7.1"
|
| 1773 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1774 |
+
checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd"
|
| 1775 |
+
dependencies = [
|
| 1776 |
+
"form_urlencoded",
|
| 1777 |
+
"itoa",
|
| 1778 |
+
"ryu",
|
| 1779 |
+
"serde",
|
| 1780 |
+
]
|
| 1781 |
+
|
| 1782 |
+
[[package]]
|
| 1783 |
+
name = "sha1"
|
| 1784 |
+
version = "0.10.6"
|
| 1785 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1786 |
+
checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"
|
| 1787 |
+
dependencies = [
|
| 1788 |
+
"cfg-if",
|
| 1789 |
+
"cpufeatures",
|
| 1790 |
+
"digest",
|
| 1791 |
+
]
|
| 1792 |
+
|
| 1793 |
+
[[package]]
|
| 1794 |
+
name = "shlex"
|
| 1795 |
+
version = "1.3.0"
|
| 1796 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1797 |
+
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
| 1798 |
+
|
| 1799 |
+
[[package]]
|
| 1800 |
+
name = "simd-adler32"
|
| 1801 |
+
version = "0.3.7"
|
| 1802 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1803 |
+
checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe"
|
| 1804 |
+
|
| 1805 |
+
[[package]]
|
| 1806 |
+
name = "slab"
|
| 1807 |
+
version = "0.4.9"
|
| 1808 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1809 |
+
checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67"
|
| 1810 |
+
dependencies = [
|
| 1811 |
+
"autocfg",
|
| 1812 |
+
]
|
| 1813 |
+
|
| 1814 |
+
[[package]]
|
| 1815 |
+
name = "smallvec"
|
| 1816 |
+
version = "1.13.2"
|
| 1817 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1818 |
+
checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
|
| 1819 |
+
|
| 1820 |
+
[[package]]
|
| 1821 |
+
name = "socket2"
|
| 1822 |
+
version = "0.5.7"
|
| 1823 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1824 |
+
checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c"
|
| 1825 |
+
dependencies = [
|
| 1826 |
+
"libc",
|
| 1827 |
+
"windows-sys 0.52.0",
|
| 1828 |
+
]
|
| 1829 |
+
|
| 1830 |
+
[[package]]
|
| 1831 |
+
name = "spin"
|
| 1832 |
+
version = "0.9.8"
|
| 1833 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1834 |
+
checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
|
| 1835 |
+
|
| 1836 |
+
[[package]]
|
| 1837 |
+
name = "stable_deref_trait"
|
| 1838 |
+
version = "1.2.0"
|
| 1839 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1840 |
+
checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
|
| 1841 |
+
|
| 1842 |
+
[[package]]
|
| 1843 |
+
name = "strum"
|
| 1844 |
+
version = "0.26.3"
|
| 1845 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1846 |
+
checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06"
|
| 1847 |
+
|
| 1848 |
+
[[package]]
|
| 1849 |
+
name = "strum_macros"
|
| 1850 |
+
version = "0.26.4"
|
| 1851 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1852 |
+
checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be"
|
| 1853 |
+
dependencies = [
|
| 1854 |
+
"heck",
|
| 1855 |
+
"proc-macro2",
|
| 1856 |
+
"quote",
|
| 1857 |
+
"rustversion",
|
| 1858 |
+
"syn",
|
| 1859 |
+
]
|
| 1860 |
+
|
| 1861 |
+
[[package]]
|
| 1862 |
+
name = "subtle"
|
| 1863 |
+
version = "2.6.1"
|
| 1864 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1865 |
+
checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
|
| 1866 |
+
|
| 1867 |
+
[[package]]
|
| 1868 |
+
name = "syn"
|
| 1869 |
+
version = "2.0.87"
|
| 1870 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1871 |
+
checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d"
|
| 1872 |
+
dependencies = [
|
| 1873 |
+
"proc-macro2",
|
| 1874 |
+
"quote",
|
| 1875 |
+
"unicode-ident",
|
| 1876 |
+
]
|
| 1877 |
+
|
| 1878 |
+
[[package]]
|
| 1879 |
+
name = "sync_wrapper"
|
| 1880 |
+
version = "1.0.1"
|
| 1881 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1882 |
+
checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394"
|
| 1883 |
+
dependencies = [
|
| 1884 |
+
"futures-core",
|
| 1885 |
+
]
|
| 1886 |
+
|
| 1887 |
+
[[package]]
|
| 1888 |
+
name = "synstructure"
|
| 1889 |
+
version = "0.13.1"
|
| 1890 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1891 |
+
checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
|
| 1892 |
+
dependencies = [
|
| 1893 |
+
"proc-macro2",
|
| 1894 |
+
"quote",
|
| 1895 |
+
"syn",
|
| 1896 |
+
]
|
| 1897 |
+
|
| 1898 |
+
[[package]]
|
| 1899 |
+
name = "system-configuration"
|
| 1900 |
+
version = "0.6.1"
|
| 1901 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1902 |
+
checksum = "3c879d448e9d986b661742763247d3693ed13609438cf3d006f51f5368a5ba6b"
|
| 1903 |
+
dependencies = [
|
| 1904 |
+
"bitflags",
|
| 1905 |
+
"core-foundation",
|
| 1906 |
+
"system-configuration-sys",
|
| 1907 |
+
]
|
| 1908 |
+
|
| 1909 |
+
[[package]]
|
| 1910 |
+
name = "system-configuration-sys"
|
| 1911 |
+
version = "0.6.0"
|
| 1912 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1913 |
+
checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4"
|
| 1914 |
+
dependencies = [
|
| 1915 |
+
"core-foundation-sys",
|
| 1916 |
+
"libc",
|
| 1917 |
+
]
|
| 1918 |
+
|
| 1919 |
+
[[package]]
|
| 1920 |
+
name = "tar"
|
| 1921 |
+
version = "0.4.43"
|
| 1922 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1923 |
+
checksum = "c65998313f8e17d0d553d28f91a0df93e4dbbbf770279c7bc21ca0f09ea1a1f6"
|
| 1924 |
+
dependencies = [
|
| 1925 |
+
"filetime",
|
| 1926 |
+
"libc",
|
| 1927 |
+
"xattr",
|
| 1928 |
+
]
|
| 1929 |
+
|
| 1930 |
+
[[package]]
|
| 1931 |
+
name = "tempfile"
|
| 1932 |
+
version = "3.14.0"
|
| 1933 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1934 |
+
checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c"
|
| 1935 |
+
dependencies = [
|
| 1936 |
+
"cfg-if",
|
| 1937 |
+
"fastrand",
|
| 1938 |
+
"once_cell",
|
| 1939 |
+
"rustix",
|
| 1940 |
+
"windows-sys 0.59.0",
|
| 1941 |
+
]
|
| 1942 |
+
|
| 1943 |
+
[[package]]
|
| 1944 |
+
name = "test-case"
|
| 1945 |
+
version = "3.3.1"
|
| 1946 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1947 |
+
checksum = "eb2550dd13afcd286853192af8601920d959b14c401fcece38071d53bf0768a8"
|
| 1948 |
+
dependencies = [
|
| 1949 |
+
"test-case-macros",
|
| 1950 |
+
]
|
| 1951 |
+
|
| 1952 |
+
[[package]]
|
| 1953 |
+
name = "test-case-core"
|
| 1954 |
+
version = "3.3.1"
|
| 1955 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1956 |
+
checksum = "adcb7fd841cd518e279be3d5a3eb0636409487998a4aff22f3de87b81e88384f"
|
| 1957 |
+
dependencies = [
|
| 1958 |
+
"cfg-if",
|
| 1959 |
+
"proc-macro2",
|
| 1960 |
+
"quote",
|
| 1961 |
+
"syn",
|
| 1962 |
+
]
|
| 1963 |
+
|
| 1964 |
+
[[package]]
|
| 1965 |
+
name = "test-case-macros"
|
| 1966 |
+
version = "3.3.1"
|
| 1967 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1968 |
+
checksum = "5c89e72a01ed4c579669add59014b9a524d609c0c88c6a585ce37485879f6ffb"
|
| 1969 |
+
dependencies = [
|
| 1970 |
+
"proc-macro2",
|
| 1971 |
+
"quote",
|
| 1972 |
+
"syn",
|
| 1973 |
+
"test-case-core",
|
| 1974 |
+
]
|
| 1975 |
+
|
| 1976 |
+
[[package]]
|
| 1977 |
+
name = "textdistance"
|
| 1978 |
+
version = "1.1.0"
|
| 1979 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1980 |
+
checksum = "7f1835c76a9d443834c04539860f3ce46b9d93ef8c260057f939e967ca81180a"
|
| 1981 |
+
|
| 1982 |
+
[[package]]
|
| 1983 |
+
name = "thiserror"
|
| 1984 |
+
version = "1.0.69"
|
| 1985 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1986 |
+
checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
|
| 1987 |
+
dependencies = [
|
| 1988 |
+
"thiserror-impl",
|
| 1989 |
+
]
|
| 1990 |
+
|
| 1991 |
+
[[package]]
|
| 1992 |
+
name = "thiserror-impl"
|
| 1993 |
+
version = "1.0.69"
|
| 1994 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1995 |
+
checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
|
| 1996 |
+
dependencies = [
|
| 1997 |
+
"proc-macro2",
|
| 1998 |
+
"quote",
|
| 1999 |
+
"syn",
|
| 2000 |
+
]
|
| 2001 |
+
|
| 2002 |
+
[[package]]
|
| 2003 |
+
name = "time"
|
| 2004 |
+
version = "0.3.36"
|
| 2005 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2006 |
+
checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
|
| 2007 |
+
dependencies = [
|
| 2008 |
+
"deranged",
|
| 2009 |
+
"num-conv",
|
| 2010 |
+
"powerfmt",
|
| 2011 |
+
"serde",
|
| 2012 |
+
"time-core",
|
| 2013 |
+
]
|
| 2014 |
+
|
| 2015 |
+
[[package]]
|
| 2016 |
+
name = "time-core"
|
| 2017 |
+
version = "0.1.2"
|
| 2018 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2019 |
+
checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
|
| 2020 |
+
|
| 2021 |
+
[[package]]
|
| 2022 |
+
name = "tinystr"
|
| 2023 |
+
version = "0.7.6"
|
| 2024 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2025 |
+
checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f"
|
| 2026 |
+
dependencies = [
|
| 2027 |
+
"displaydoc",
|
| 2028 |
+
"zerovec",
|
| 2029 |
+
]
|
| 2030 |
+
|
| 2031 |
+
[[package]]
|
| 2032 |
+
name = "tinytemplate"
|
| 2033 |
+
version = "1.2.1"
|
| 2034 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2035 |
+
checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc"
|
| 2036 |
+
dependencies = [
|
| 2037 |
+
"serde",
|
| 2038 |
+
"serde_json",
|
| 2039 |
+
]
|
| 2040 |
+
|
| 2041 |
+
[[package]]
|
| 2042 |
+
name = "tokio"
|
| 2043 |
+
version = "1.41.1"
|
| 2044 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2045 |
+
checksum = "22cfb5bee7a6a52939ca9224d6ac897bb669134078daa8735560897f69de4d33"
|
| 2046 |
+
dependencies = [
|
| 2047 |
+
"backtrace",
|
| 2048 |
+
"bytes",
|
| 2049 |
+
"libc",
|
| 2050 |
+
"mio",
|
| 2051 |
+
"pin-project-lite",
|
| 2052 |
+
"socket2",
|
| 2053 |
+
"windows-sys 0.52.0",
|
| 2054 |
+
]
|
| 2055 |
+
|
| 2056 |
+
[[package]]
|
| 2057 |
+
name = "tokio-native-tls"
|
| 2058 |
+
version = "0.3.1"
|
| 2059 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2060 |
+
checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2"
|
| 2061 |
+
dependencies = [
|
| 2062 |
+
"native-tls",
|
| 2063 |
+
"tokio",
|
| 2064 |
+
]
|
| 2065 |
+
|
| 2066 |
+
[[package]]
|
| 2067 |
+
name = "tokio-rustls"
|
| 2068 |
+
version = "0.26.0"
|
| 2069 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2070 |
+
checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4"
|
| 2071 |
+
dependencies = [
|
| 2072 |
+
"rustls",
|
| 2073 |
+
"rustls-pki-types",
|
| 2074 |
+
"tokio",
|
| 2075 |
+
]
|
| 2076 |
+
|
| 2077 |
+
[[package]]
|
| 2078 |
+
name = "tokio-util"
|
| 2079 |
+
version = "0.7.12"
|
| 2080 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2081 |
+
checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a"
|
| 2082 |
+
dependencies = [
|
| 2083 |
+
"bytes",
|
| 2084 |
+
"futures-core",
|
| 2085 |
+
"futures-sink",
|
| 2086 |
+
"pin-project-lite",
|
| 2087 |
+
"tokio",
|
| 2088 |
+
]
|
| 2089 |
+
|
| 2090 |
+
[[package]]
|
| 2091 |
+
name = "tower-service"
|
| 2092 |
+
version = "0.3.3"
|
| 2093 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2094 |
+
checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3"
|
| 2095 |
+
|
| 2096 |
+
[[package]]
|
| 2097 |
+
name = "tracing"
|
| 2098 |
+
version = "0.1.40"
|
| 2099 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2100 |
+
checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef"
|
| 2101 |
+
dependencies = [
|
| 2102 |
+
"pin-project-lite",
|
| 2103 |
+
"tracing-core",
|
| 2104 |
+
]
|
| 2105 |
+
|
| 2106 |
+
[[package]]
|
| 2107 |
+
name = "tracing-core"
|
| 2108 |
+
version = "0.1.32"
|
| 2109 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2110 |
+
checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54"
|
| 2111 |
+
dependencies = [
|
| 2112 |
+
"once_cell",
|
| 2113 |
+
]
|
| 2114 |
+
|
| 2115 |
+
[[package]]
|
| 2116 |
+
name = "try-lock"
|
| 2117 |
+
version = "0.2.5"
|
| 2118 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2119 |
+
checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
|
| 2120 |
+
|
| 2121 |
+
[[package]]
|
| 2122 |
+
name = "typenum"
|
| 2123 |
+
version = "1.17.0"
|
| 2124 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2125 |
+
checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
|
| 2126 |
+
|
| 2127 |
+
[[package]]
|
| 2128 |
+
name = "unicode-ident"
|
| 2129 |
+
version = "1.0.13"
|
| 2130 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2131 |
+
checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe"
|
| 2132 |
+
|
| 2133 |
+
[[package]]
|
| 2134 |
+
name = "untrusted"
|
| 2135 |
+
version = "0.9.0"
|
| 2136 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2137 |
+
checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
|
| 2138 |
+
|
| 2139 |
+
[[package]]
|
| 2140 |
+
name = "url"
|
| 2141 |
+
version = "2.5.3"
|
| 2142 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2143 |
+
checksum = "8d157f1b96d14500ffdc1f10ba712e780825526c03d9a49b4d0324b0d9113ada"
|
| 2144 |
+
dependencies = [
|
| 2145 |
+
"form_urlencoded",
|
| 2146 |
+
"idna",
|
| 2147 |
+
"percent-encoding",
|
| 2148 |
+
]
|
| 2149 |
+
|
| 2150 |
+
[[package]]
|
| 2151 |
+
name = "utf16_iter"
|
| 2152 |
+
version = "1.0.5"
|
| 2153 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2154 |
+
checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246"
|
| 2155 |
+
|
| 2156 |
+
[[package]]
|
| 2157 |
+
name = "utf8_iter"
|
| 2158 |
+
version = "1.0.4"
|
| 2159 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2160 |
+
checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
|
| 2161 |
+
|
| 2162 |
+
[[package]]
|
| 2163 |
+
name = "vcpkg"
|
| 2164 |
+
version = "0.2.15"
|
| 2165 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2166 |
+
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
|
| 2167 |
+
|
| 2168 |
+
[[package]]
|
| 2169 |
+
name = "version_check"
|
| 2170 |
+
version = "0.9.5"
|
| 2171 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2172 |
+
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
|
| 2173 |
+
|
| 2174 |
+
[[package]]
|
| 2175 |
+
name = "walkdir"
|
| 2176 |
+
version = "2.5.0"
|
| 2177 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2178 |
+
checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
|
| 2179 |
+
dependencies = [
|
| 2180 |
+
"same-file",
|
| 2181 |
+
"winapi-util",
|
| 2182 |
+
]
|
| 2183 |
+
|
| 2184 |
+
[[package]]
|
| 2185 |
+
name = "want"
|
| 2186 |
+
version = "0.3.1"
|
| 2187 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2188 |
+
checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e"
|
| 2189 |
+
dependencies = [
|
| 2190 |
+
"try-lock",
|
| 2191 |
+
]
|
| 2192 |
+
|
| 2193 |
+
[[package]]
|
| 2194 |
+
name = "wasi"
|
| 2195 |
+
version = "0.11.0+wasi-snapshot-preview1"
|
| 2196 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2197 |
+
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
|
| 2198 |
+
|
| 2199 |
+
[[package]]
|
| 2200 |
+
name = "wasm-bindgen"
|
| 2201 |
+
version = "0.2.95"
|
| 2202 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2203 |
+
checksum = "128d1e363af62632b8eb57219c8fd7877144af57558fb2ef0368d0087bddeb2e"
|
| 2204 |
+
dependencies = [
|
| 2205 |
+
"cfg-if",
|
| 2206 |
+
"once_cell",
|
| 2207 |
+
"wasm-bindgen-macro",
|
| 2208 |
+
]
|
| 2209 |
+
|
| 2210 |
+
[[package]]
|
| 2211 |
+
name = "wasm-bindgen-backend"
|
| 2212 |
+
version = "0.2.95"
|
| 2213 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2214 |
+
checksum = "cb6dd4d3ca0ddffd1dd1c9c04f94b868c37ff5fac97c30b97cff2d74fce3a358"
|
| 2215 |
+
dependencies = [
|
| 2216 |
+
"bumpalo",
|
| 2217 |
+
"log",
|
| 2218 |
+
"once_cell",
|
| 2219 |
+
"proc-macro2",
|
| 2220 |
+
"quote",
|
| 2221 |
+
"syn",
|
| 2222 |
+
"wasm-bindgen-shared",
|
| 2223 |
+
]
|
| 2224 |
+
|
| 2225 |
+
[[package]]
|
| 2226 |
+
name = "wasm-bindgen-futures"
|
| 2227 |
+
version = "0.4.45"
|
| 2228 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2229 |
+
checksum = "cc7ec4f8827a71586374db3e87abdb5a2bb3a15afed140221307c3ec06b1f63b"
|
| 2230 |
+
dependencies = [
|
| 2231 |
+
"cfg-if",
|
| 2232 |
+
"js-sys",
|
| 2233 |
+
"wasm-bindgen",
|
| 2234 |
+
"web-sys",
|
| 2235 |
+
]
|
| 2236 |
+
|
| 2237 |
+
[[package]]
|
| 2238 |
+
name = "wasm-bindgen-macro"
|
| 2239 |
+
version = "0.2.95"
|
| 2240 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2241 |
+
checksum = "e79384be7f8f5a9dd5d7167216f022090cf1f9ec128e6e6a482a2cb5c5422c56"
|
| 2242 |
+
dependencies = [
|
| 2243 |
+
"quote",
|
| 2244 |
+
"wasm-bindgen-macro-support",
|
| 2245 |
+
]
|
| 2246 |
+
|
| 2247 |
+
[[package]]
|
| 2248 |
+
name = "wasm-bindgen-macro-support"
|
| 2249 |
+
version = "0.2.95"
|
| 2250 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2251 |
+
checksum = "26c6ab57572f7a24a4985830b120de1594465e5d500f24afe89e16b4e833ef68"
|
| 2252 |
+
dependencies = [
|
| 2253 |
+
"proc-macro2",
|
| 2254 |
+
"quote",
|
| 2255 |
+
"syn",
|
| 2256 |
+
"wasm-bindgen-backend",
|
| 2257 |
+
"wasm-bindgen-shared",
|
| 2258 |
+
]
|
| 2259 |
+
|
| 2260 |
+
[[package]]
|
| 2261 |
+
name = "wasm-bindgen-shared"
|
| 2262 |
+
version = "0.2.95"
|
| 2263 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2264 |
+
checksum = "65fc09f10666a9f147042251e0dda9c18f166ff7de300607007e96bdebc1068d"
|
| 2265 |
+
|
| 2266 |
+
[[package]]
|
| 2267 |
+
name = "web-sys"
|
| 2268 |
+
version = "0.3.72"
|
| 2269 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2270 |
+
checksum = "f6488b90108c040df0fe62fa815cbdee25124641df01814dd7282749234c6112"
|
| 2271 |
+
dependencies = [
|
| 2272 |
+
"js-sys",
|
| 2273 |
+
"wasm-bindgen",
|
| 2274 |
+
]
|
| 2275 |
+
|
| 2276 |
+
[[package]]
|
| 2277 |
+
name = "winapi"
|
| 2278 |
+
version = "0.3.9"
|
| 2279 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2280 |
+
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
| 2281 |
+
dependencies = [
|
| 2282 |
+
"winapi-i686-pc-windows-gnu",
|
| 2283 |
+
"winapi-x86_64-pc-windows-gnu",
|
| 2284 |
+
]
|
| 2285 |
+
|
| 2286 |
+
[[package]]
|
| 2287 |
+
name = "winapi-i686-pc-windows-gnu"
|
| 2288 |
+
version = "0.4.0"
|
| 2289 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2290 |
+
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
| 2291 |
+
|
| 2292 |
+
[[package]]
|
| 2293 |
+
name = "winapi-util"
|
| 2294 |
+
version = "0.1.9"
|
| 2295 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2296 |
+
checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
|
| 2297 |
+
dependencies = [
|
| 2298 |
+
"windows-sys 0.59.0",
|
| 2299 |
+
]
|
| 2300 |
+
|
| 2301 |
+
[[package]]
|
| 2302 |
+
name = "winapi-x86_64-pc-windows-gnu"
|
| 2303 |
+
version = "0.4.0"
|
| 2304 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2305 |
+
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
| 2306 |
+
|
| 2307 |
+
[[package]]
|
| 2308 |
+
name = "windows-registry"
|
| 2309 |
+
version = "0.2.0"
|
| 2310 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2311 |
+
checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0"
|
| 2312 |
+
dependencies = [
|
| 2313 |
+
"windows-result",
|
| 2314 |
+
"windows-strings",
|
| 2315 |
+
"windows-targets 0.52.6",
|
| 2316 |
+
]
|
| 2317 |
+
|
| 2318 |
+
[[package]]
|
| 2319 |
+
name = "windows-result"
|
| 2320 |
+
version = "0.2.0"
|
| 2321 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2322 |
+
checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e"
|
| 2323 |
+
dependencies = [
|
| 2324 |
+
"windows-targets 0.52.6",
|
| 2325 |
+
]
|
| 2326 |
+
|
| 2327 |
+
[[package]]
|
| 2328 |
+
name = "windows-strings"
|
| 2329 |
+
version = "0.1.0"
|
| 2330 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2331 |
+
checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10"
|
| 2332 |
+
dependencies = [
|
| 2333 |
+
"windows-result",
|
| 2334 |
+
"windows-targets 0.52.6",
|
| 2335 |
+
]
|
| 2336 |
+
|
| 2337 |
+
[[package]]
|
| 2338 |
+
name = "windows-sys"
|
| 2339 |
+
version = "0.45.0"
|
| 2340 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2341 |
+
checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0"
|
| 2342 |
+
dependencies = [
|
| 2343 |
+
"windows-targets 0.42.2",
|
| 2344 |
+
]
|
| 2345 |
+
|
| 2346 |
+
[[package]]
|
| 2347 |
+
name = "windows-sys"
|
| 2348 |
+
version = "0.52.0"
|
| 2349 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2350 |
+
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
|
| 2351 |
+
dependencies = [
|
| 2352 |
+
"windows-targets 0.52.6",
|
| 2353 |
+
]
|
| 2354 |
+
|
| 2355 |
+
[[package]]
|
| 2356 |
+
name = "windows-sys"
|
| 2357 |
+
version = "0.59.0"
|
| 2358 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2359 |
+
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
|
| 2360 |
+
dependencies = [
|
| 2361 |
+
"windows-targets 0.52.6",
|
| 2362 |
+
]
|
| 2363 |
+
|
| 2364 |
+
[[package]]
|
| 2365 |
+
name = "windows-targets"
|
| 2366 |
+
version = "0.42.2"
|
| 2367 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2368 |
+
checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071"
|
| 2369 |
+
dependencies = [
|
| 2370 |
+
"windows_aarch64_gnullvm 0.42.2",
|
| 2371 |
+
"windows_aarch64_msvc 0.42.2",
|
| 2372 |
+
"windows_i686_gnu 0.42.2",
|
| 2373 |
+
"windows_i686_msvc 0.42.2",
|
| 2374 |
+
"windows_x86_64_gnu 0.42.2",
|
| 2375 |
+
"windows_x86_64_gnullvm 0.42.2",
|
| 2376 |
+
"windows_x86_64_msvc 0.42.2",
|
| 2377 |
+
]
|
| 2378 |
+
|
| 2379 |
+
[[package]]
|
| 2380 |
+
name = "windows-targets"
|
| 2381 |
+
version = "0.52.6"
|
| 2382 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2383 |
+
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
|
| 2384 |
+
dependencies = [
|
| 2385 |
+
"windows_aarch64_gnullvm 0.52.6",
|
| 2386 |
+
"windows_aarch64_msvc 0.52.6",
|
| 2387 |
+
"windows_i686_gnu 0.52.6",
|
| 2388 |
+
"windows_i686_gnullvm",
|
| 2389 |
+
"windows_i686_msvc 0.52.6",
|
| 2390 |
+
"windows_x86_64_gnu 0.52.6",
|
| 2391 |
+
"windows_x86_64_gnullvm 0.52.6",
|
| 2392 |
+
"windows_x86_64_msvc 0.52.6",
|
| 2393 |
+
]
|
| 2394 |
+
|
| 2395 |
+
[[package]]
|
| 2396 |
+
name = "windows_aarch64_gnullvm"
|
| 2397 |
+
version = "0.42.2"
|
| 2398 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2399 |
+
checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8"
|
| 2400 |
+
|
| 2401 |
+
[[package]]
|
| 2402 |
+
name = "windows_aarch64_gnullvm"
|
| 2403 |
+
version = "0.52.6"
|
| 2404 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2405 |
+
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
|
| 2406 |
+
|
| 2407 |
+
[[package]]
|
| 2408 |
+
name = "windows_aarch64_msvc"
|
| 2409 |
+
version = "0.42.2"
|
| 2410 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2411 |
+
checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43"
|
| 2412 |
+
|
| 2413 |
+
[[package]]
|
| 2414 |
+
name = "windows_aarch64_msvc"
|
| 2415 |
+
version = "0.52.6"
|
| 2416 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2417 |
+
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
|
| 2418 |
+
|
| 2419 |
+
[[package]]
|
| 2420 |
+
name = "windows_i686_gnu"
|
| 2421 |
+
version = "0.42.2"
|
| 2422 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2423 |
+
checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f"
|
| 2424 |
+
|
| 2425 |
+
[[package]]
|
| 2426 |
+
name = "windows_i686_gnu"
|
| 2427 |
+
version = "0.52.6"
|
| 2428 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2429 |
+
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
|
| 2430 |
+
|
| 2431 |
+
[[package]]
|
| 2432 |
+
name = "windows_i686_gnullvm"
|
| 2433 |
+
version = "0.52.6"
|
| 2434 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2435 |
+
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
|
| 2436 |
+
|
| 2437 |
+
[[package]]
|
| 2438 |
+
name = "windows_i686_msvc"
|
| 2439 |
+
version = "0.42.2"
|
| 2440 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2441 |
+
checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060"
|
| 2442 |
+
|
| 2443 |
+
[[package]]
|
| 2444 |
+
name = "windows_i686_msvc"
|
| 2445 |
+
version = "0.52.6"
|
| 2446 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2447 |
+
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
|
| 2448 |
+
|
| 2449 |
+
[[package]]
|
| 2450 |
+
name = "windows_x86_64_gnu"
|
| 2451 |
+
version = "0.42.2"
|
| 2452 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2453 |
+
checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36"
|
| 2454 |
+
|
| 2455 |
+
[[package]]
|
| 2456 |
+
name = "windows_x86_64_gnu"
|
| 2457 |
+
version = "0.52.6"
|
| 2458 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2459 |
+
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
|
| 2460 |
+
|
| 2461 |
+
[[package]]
|
| 2462 |
+
name = "windows_x86_64_gnullvm"
|
| 2463 |
+
version = "0.42.2"
|
| 2464 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2465 |
+
checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3"
|
| 2466 |
+
|
| 2467 |
+
[[package]]
|
| 2468 |
+
name = "windows_x86_64_gnullvm"
|
| 2469 |
+
version = "0.52.6"
|
| 2470 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2471 |
+
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
|
| 2472 |
+
|
| 2473 |
+
[[package]]
|
| 2474 |
+
name = "windows_x86_64_msvc"
|
| 2475 |
+
version = "0.42.2"
|
| 2476 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2477 |
+
checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
|
| 2478 |
+
|
| 2479 |
+
[[package]]
|
| 2480 |
+
name = "windows_x86_64_msvc"
|
| 2481 |
+
version = "0.52.6"
|
| 2482 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2483 |
+
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
| 2484 |
+
|
| 2485 |
+
[[package]]
|
| 2486 |
+
name = "write16"
|
| 2487 |
+
version = "1.0.0"
|
| 2488 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2489 |
+
checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936"
|
| 2490 |
+
|
| 2491 |
+
[[package]]
|
| 2492 |
+
name = "writeable"
|
| 2493 |
+
version = "0.5.5"
|
| 2494 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2495 |
+
checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51"
|
| 2496 |
+
|
| 2497 |
+
[[package]]
|
| 2498 |
+
name = "xattr"
|
| 2499 |
+
version = "1.3.1"
|
| 2500 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2501 |
+
checksum = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f"
|
| 2502 |
+
dependencies = [
|
| 2503 |
+
"libc",
|
| 2504 |
+
"linux-raw-sys",
|
| 2505 |
+
"rustix",
|
| 2506 |
+
]
|
| 2507 |
+
|
| 2508 |
+
[[package]]
|
| 2509 |
+
name = "yoke"
|
| 2510 |
+
version = "0.7.4"
|
| 2511 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2512 |
+
checksum = "6c5b1314b079b0930c31e3af543d8ee1757b1951ae1e1565ec704403a7240ca5"
|
| 2513 |
+
dependencies = [
|
| 2514 |
+
"serde",
|
| 2515 |
+
"stable_deref_trait",
|
| 2516 |
+
"yoke-derive",
|
| 2517 |
+
"zerofrom",
|
| 2518 |
+
]
|
| 2519 |
+
|
| 2520 |
+
[[package]]
|
| 2521 |
+
name = "yoke-derive"
|
| 2522 |
+
version = "0.7.4"
|
| 2523 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2524 |
+
checksum = "28cc31741b18cb6f1d5ff12f5b7523e3d6eb0852bbbad19d73905511d9849b95"
|
| 2525 |
+
dependencies = [
|
| 2526 |
+
"proc-macro2",
|
| 2527 |
+
"quote",
|
| 2528 |
+
"syn",
|
| 2529 |
+
"synstructure",
|
| 2530 |
+
]
|
| 2531 |
+
|
| 2532 |
+
[[package]]
|
| 2533 |
+
name = "zerocopy"
|
| 2534 |
+
version = "0.7.35"
|
| 2535 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2536 |
+
checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
|
| 2537 |
+
dependencies = [
|
| 2538 |
+
"byteorder",
|
| 2539 |
+
"zerocopy-derive",
|
| 2540 |
+
]
|
| 2541 |
+
|
| 2542 |
+
[[package]]
|
| 2543 |
+
name = "zerocopy-derive"
|
| 2544 |
+
version = "0.7.35"
|
| 2545 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2546 |
+
checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
|
| 2547 |
+
dependencies = [
|
| 2548 |
+
"proc-macro2",
|
| 2549 |
+
"quote",
|
| 2550 |
+
"syn",
|
| 2551 |
+
]
|
| 2552 |
+
|
| 2553 |
+
[[package]]
|
| 2554 |
+
name = "zerofrom"
|
| 2555 |
+
version = "0.1.4"
|
| 2556 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2557 |
+
checksum = "91ec111ce797d0e0784a1116d0ddcdbea84322cd79e5d5ad173daeba4f93ab55"
|
| 2558 |
+
dependencies = [
|
| 2559 |
+
"zerofrom-derive",
|
| 2560 |
+
]
|
| 2561 |
+
|
| 2562 |
+
[[package]]
|
| 2563 |
+
name = "zerofrom-derive"
|
| 2564 |
+
version = "0.1.4"
|
| 2565 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2566 |
+
checksum = "0ea7b4a3637ea8669cedf0f1fd5c286a17f3de97b8dd5a70a6c167a1730e63a5"
|
| 2567 |
+
dependencies = [
|
| 2568 |
+
"proc-macro2",
|
| 2569 |
+
"quote",
|
| 2570 |
+
"syn",
|
| 2571 |
+
"synstructure",
|
| 2572 |
+
]
|
| 2573 |
+
|
| 2574 |
+
[[package]]
|
| 2575 |
+
name = "zeroize"
|
| 2576 |
+
version = "1.8.1"
|
| 2577 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2578 |
+
checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
|
| 2579 |
+
dependencies = [
|
| 2580 |
+
"zeroize_derive",
|
| 2581 |
+
]
|
| 2582 |
+
|
| 2583 |
+
[[package]]
|
| 2584 |
+
name = "zeroize_derive"
|
| 2585 |
+
version = "1.4.2"
|
| 2586 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2587 |
+
checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69"
|
| 2588 |
+
dependencies = [
|
| 2589 |
+
"proc-macro2",
|
| 2590 |
+
"quote",
|
| 2591 |
+
"syn",
|
| 2592 |
+
]
|
| 2593 |
+
|
| 2594 |
+
[[package]]
|
| 2595 |
+
name = "zerovec"
|
| 2596 |
+
version = "0.10.4"
|
| 2597 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2598 |
+
checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079"
|
| 2599 |
+
dependencies = [
|
| 2600 |
+
"yoke",
|
| 2601 |
+
"zerofrom",
|
| 2602 |
+
"zerovec-derive",
|
| 2603 |
+
]
|
| 2604 |
+
|
| 2605 |
+
[[package]]
|
| 2606 |
+
name = "zerovec-derive"
|
| 2607 |
+
version = "0.10.3"
|
| 2608 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2609 |
+
checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6"
|
| 2610 |
+
dependencies = [
|
| 2611 |
+
"proc-macro2",
|
| 2612 |
+
"quote",
|
| 2613 |
+
"syn",
|
| 2614 |
+
]
|
| 2615 |
+
|
| 2616 |
+
[[package]]
|
| 2617 |
+
name = "zip"
|
| 2618 |
+
version = "2.2.0"
|
| 2619 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2620 |
+
checksum = "dc5e4288ea4057ae23afc69a4472434a87a2495cafce6632fd1c4ec9f5cf3494"
|
| 2621 |
+
dependencies = [
|
| 2622 |
+
"aes",
|
| 2623 |
+
"arbitrary",
|
| 2624 |
+
"bzip2",
|
| 2625 |
+
"constant_time_eq",
|
| 2626 |
+
"crc32fast",
|
| 2627 |
+
"crossbeam-utils",
|
| 2628 |
+
"deflate64",
|
| 2629 |
+
"displaydoc",
|
| 2630 |
+
"flate2",
|
| 2631 |
+
"hmac",
|
| 2632 |
+
"indexmap",
|
| 2633 |
+
"lzma-rs",
|
| 2634 |
+
"memchr",
|
| 2635 |
+
"pbkdf2",
|
| 2636 |
+
"rand",
|
| 2637 |
+
"sha1",
|
| 2638 |
+
"thiserror",
|
| 2639 |
+
"time",
|
| 2640 |
+
"zeroize",
|
| 2641 |
+
"zopfli",
|
| 2642 |
+
"zstd",
|
| 2643 |
+
]
|
| 2644 |
+
|
| 2645 |
+
[[package]]
|
| 2646 |
+
name = "zopfli"
|
| 2647 |
+
version = "0.8.1"
|
| 2648 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2649 |
+
checksum = "e5019f391bac5cf252e93bbcc53d039ffd62c7bfb7c150414d61369afe57e946"
|
| 2650 |
+
dependencies = [
|
| 2651 |
+
"bumpalo",
|
| 2652 |
+
"crc32fast",
|
| 2653 |
+
"lockfree-object-pool",
|
| 2654 |
+
"log",
|
| 2655 |
+
"once_cell",
|
| 2656 |
+
"simd-adler32",
|
| 2657 |
+
]
|
| 2658 |
+
|
| 2659 |
+
[[package]]
|
| 2660 |
+
name = "zstd"
|
| 2661 |
+
version = "0.13.2"
|
| 2662 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2663 |
+
checksum = "fcf2b778a664581e31e389454a7072dab1647606d44f7feea22cd5abb9c9f3f9"
|
| 2664 |
+
dependencies = [
|
| 2665 |
+
"zstd-safe",
|
| 2666 |
+
]
|
| 2667 |
+
|
| 2668 |
+
[[package]]
|
| 2669 |
+
name = "zstd-safe"
|
| 2670 |
+
version = "7.2.1"
|
| 2671 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2672 |
+
checksum = "54a3ab4db68cea366acc5c897c7b4d4d1b8994a9cd6e6f841f8964566a419059"
|
| 2673 |
+
dependencies = [
|
| 2674 |
+
"zstd-sys",
|
| 2675 |
+
]
|
| 2676 |
+
|
| 2677 |
+
[[package]]
|
| 2678 |
+
name = "zstd-sys"
|
| 2679 |
+
version = "2.0.13+zstd.1.5.6"
|
| 2680 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2681 |
+
checksum = "38ff0f21cfee8f97d94cef41359e0c89aa6113028ab0291aa8ca0038995a95aa"
|
| 2682 |
+
dependencies = [
|
| 2683 |
+
"cc",
|
| 2684 |
+
"pkg-config",
|
| 2685 |
+
]
|
| 2686 |
+
LOCK
|
| 2687 |
+
|
| 2688 |
+
# One explicit fetch against the generated manifest. Using --manifest-path keeps
|
| 2689 |
+
# Cargo pointing at the temporary generated manifest, never at /source_ro or the
|
| 2690 |
+
# repository root, and never at a bare Cargo invocation.
|
| 2691 |
+
if ! cargo fetch --manifest-path "${_ex_fetch_dir}/Cargo.toml" --locked; then
|
| 2692 |
+
rm -rf "${_ex_fetch_dir}"
|
| 2693 |
+
_extractous_die "could not seed the locked crate dependency cache from the generated manifest"
|
| 2694 |
+
return 1
|
| 2695 |
+
fi
|
| 2696 |
+
|
| 2697 |
+
rm -rf "${_ex_fetch_dir}"
|
yobix-ai--extractous.818d94c/tests/executable
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:390cb3a0656ec60e3d51b38af5b51316cd161b8951682e03968ce2b9f14866fa
|
| 3 |
+
size 9939664
|
yobix-ai--extractous.818d94c/tests/harbor_configure_apt_mirror.sh
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
|
| 4 |
+
repository_base="${1%/}"
|
| 5 |
+
if [[ -z "$repository_base" ]]; then
|
| 6 |
+
exit 0
|
| 7 |
+
fi
|
| 8 |
+
|
| 9 |
+
. /etc/os-release
|
| 10 |
+
codename="${VERSION_CODENAME:-}"
|
| 11 |
+
if [[ -z "$codename" ]]; then
|
| 12 |
+
echo "VERSION_CODENAME is not set" >&2
|
| 13 |
+
exit 1
|
| 14 |
+
fi
|
| 15 |
+
|
| 16 |
+
if [[ "$ID" == "ubuntu" ]]; then
|
| 17 |
+
repository_name="apt-proxy"
|
| 18 |
+
components="main universe restricted multiverse"
|
| 19 |
+
else
|
| 20 |
+
repository_name="debian-proxy"
|
| 21 |
+
components="main contrib non-free non-free-firmware"
|
| 22 |
+
fi
|
| 23 |
+
|
| 24 |
+
install -d /etc/apt/sources.list.d
|
| 25 |
+
rm -f /etc/apt/sources.list /etc/apt/sources.list.d/*
|
| 26 |
+
printf 'deb [trusted=yes] %s/%s %s %s\n' \
|
| 27 |
+
"$repository_base" "$repository_name" "$codename" "$components" \
|
| 28 |
+
>/etc/apt/sources.list
|
| 29 |
+
printf 'deb [trusted=yes] %s/%s %s-updates %s\n' \
|
| 30 |
+
"$repository_base" "$repository_name" "$codename" "$components" \
|
| 31 |
+
>>/etc/apt/sources.list
|
| 32 |
+
|
| 33 |
+
if [[ "$ID" != "ubuntu" ]]; then
|
| 34 |
+
printf 'deb [trusted=yes] %s/%s %s-security %s\n' \
|
| 35 |
+
"$repository_base" "debian-proxy-security" "$codename" "$components" \
|
| 36 |
+
>>/etc/apt/sources.list
|
| 37 |
+
fi
|
yobix-ai--extractous.818d94c/tests/harbor_configure_java_mirrors.sh
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
|
| 4 |
+
maven_url="${1%/}"
|
| 5 |
+
plugin_url="${2%/}"
|
| 6 |
+
jitpack_url="${3%/}"
|
| 7 |
+
|
| 8 |
+
install -d /workspace/.m2 /workspace/.gradle/init.d /opt/programgym/gradle-init
|
| 9 |
+
if [[ -n "$maven_url" ]]; then
|
| 10 |
+
cat >/workspace/.m2/settings.xml <<EOF
|
| 11 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 12 |
+
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0">
|
| 13 |
+
<mirrors>
|
| 14 |
+
<mirror>
|
| 15 |
+
<id>programgym-maven</id>
|
| 16 |
+
<name>ProgramGym Maven mirror</name>
|
| 17 |
+
<url>${maven_url}</url>
|
| 18 |
+
<mirrorOf>*</mirrorOf>
|
| 19 |
+
</mirror>
|
| 20 |
+
</mirrors>
|
| 21 |
+
</settings>
|
| 22 |
+
EOF
|
| 23 |
+
fi
|
| 24 |
+
|
| 25 |
+
cat >/opt/programgym/gradle-init/programgym-mirrors.gradle <<'EOF'
|
| 26 |
+
def pbMaven = System.getenv('PROGRAMGYM_MAVEN_MIRROR_URL')
|
| 27 |
+
def pbPlugins = System.getenv('PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL')
|
| 28 |
+
def pbJitpack = System.getenv('PROGRAMGYM_JITPACK_REPOSITORY_URL')
|
| 29 |
+
|
| 30 |
+
settingsEvaluated { settings ->
|
| 31 |
+
settings.pluginManagement.repositories {
|
| 32 |
+
if (pbPlugins) { maven { url = uri(pbPlugins) } }
|
| 33 |
+
if (pbMaven) { maven { url = uri(pbMaven) } }
|
| 34 |
+
}
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
allprojects {
|
| 38 |
+
buildscript.repositories {
|
| 39 |
+
if (pbPlugins) { maven { url = uri(pbPlugins) } }
|
| 40 |
+
if (pbMaven) { maven { url = uri(pbMaven) } }
|
| 41 |
+
if (pbJitpack) { maven { url = uri(pbJitpack) } }
|
| 42 |
+
}
|
| 43 |
+
repositories {
|
| 44 |
+
if (pbMaven) { maven { url = uri(pbMaven) } }
|
| 45 |
+
if (pbJitpack) { maven { url = uri(pbJitpack) } }
|
| 46 |
+
}
|
| 47 |
+
}
|
| 48 |
+
EOF
|
| 49 |
+
cp /opt/programgym/gradle-init/programgym-mirrors.gradle \
|
| 50 |
+
/workspace/.gradle/init.d/programgym-mirrors.gradle
|
yobix-ai--extractous.818d94c/tests/harbor_prepare_download_env.sh
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
command -v cargo
|
| 4 |
+
command -v rustc
|
| 5 |
+
command -v rustup
|
| 6 |
+
cd /workspace
|
| 7 |
+
set -a
|
| 8 |
+
if [[ -n "${PROGRAMGYM_MAVEN_MIRROR_URL:-}" ]]; then
|
| 9 |
+
sed -i -e "s|https://repo.maven.apache.org/maven2|${PROGRAMGYM_MAVEN_MIRROR_URL%/}|g" -e "s|https://repo1.maven.org/maven2|${PROGRAMGYM_MAVEN_MIRROR_URL%/}|g" /tmp/programgym-download.sh
|
| 10 |
+
fi
|
| 11 |
+
if [[ -n "${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL:-}" ]]; then
|
| 12 |
+
sed -i -e "s|https://services.gradle.org/distributions|${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL%/}|g" -e "s|https://downloads.gradle.org/distributions|${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL%/}|g" /tmp/programgym-download.sh
|
| 13 |
+
fi
|
| 14 |
+
if [[ -n "${PROGRAMGYM_JITPACK_REPOSITORY_URL:-}" ]]; then
|
| 15 |
+
sed -i -e "s|https://jitpack.io|${PROGRAMGYM_JITPACK_REPOSITORY_URL%/}|g" /tmp/programgym-download.sh
|
| 16 |
+
fi
|
| 17 |
+
source /tmp/programgym-download.sh
|
| 18 |
+
set +a
|
| 19 |
+
python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
|
| 20 |
+
import os
|
| 21 |
+
import shlex
|
| 22 |
+
|
| 23 |
+
ignored = {
|
| 24 |
+
"ALL_PROXY",
|
| 25 |
+
"HTTP_PROXY",
|
| 26 |
+
"HTTPS_PROXY",
|
| 27 |
+
"NO_PROXY",
|
| 28 |
+
"OLDPWD",
|
| 29 |
+
"PIP_PROXY",
|
| 30 |
+
"PWD",
|
| 31 |
+
"SHLVL",
|
| 32 |
+
"_",
|
| 33 |
+
"all_proxy",
|
| 34 |
+
"http_proxy",
|
| 35 |
+
"https_proxy",
|
| 36 |
+
"no_proxy",
|
| 37 |
+
"pip_proxy",
|
| 38 |
+
}
|
| 39 |
+
for key in sorted(os.environ):
|
| 40 |
+
if key in ignored or key.startswith("BASH_FUNC_"):
|
| 41 |
+
continue
|
| 42 |
+
value = os.environ[key]
|
| 43 |
+
if "\n" in value:
|
| 44 |
+
continue
|
| 45 |
+
print(f"export {key}={shlex.quote(value)}")
|
| 46 |
+
PY
|
| 47 |
+
chmod 0644 /etc/profile.d/programgym_download_env.sh
|
yobix-ai--extractous.818d94c/tests/programgym_evaluator.py
ADDED
|
@@ -0,0 +1,1201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""In-place ProgramGym evaluator.
|
| 3 |
+
|
| 4 |
+
Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
|
| 5 |
+
no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
|
| 6 |
+
cleanroom container after Harbor flips the verifier-phase network policy.
|
| 7 |
+
|
| 8 |
+
Differences from ``programgym.eval.eval.Evaluator`` that are structural to
|
| 9 |
+
running in one container:
|
| 10 |
+
|
| 11 |
+
* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
|
| 12 |
+
copy a post-compile workspace snapshot to a temp directory and restore it
|
| 13 |
+
before each branch; ``cleanup_lingering_processes`` kills leftover branch
|
| 14 |
+
processes between attempts to approximate the fresh-container boundary.
|
| 15 |
+
* No ``docker commit``. The post-compile workspace snapshot serves the same
|
| 16 |
+
role as the committed image upstream.
|
| 17 |
+
* Hidden test blobs are fetched on demand from HuggingFace via
|
| 18 |
+
``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
|
| 19 |
+
rather than being pre-staged into ``/tests/blobs/``. Override with
|
| 20 |
+
``PROGRAMGYM_BLOB_DIR`` for offline reruns.
|
| 21 |
+
|
| 22 |
+
Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
|
| 23 |
+
``compile.sh`` then stash + hash the executable, best-effort
|
| 24 |
+
``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
|
| 25 |
+
``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
|
| 26 |
+
best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
|
| 27 |
+
preserved.
|
| 28 |
+
"""
|
| 29 |
+
|
| 30 |
+
from __future__ import annotations
|
| 31 |
+
|
| 32 |
+
import hashlib
|
| 33 |
+
import json
|
| 34 |
+
import os
|
| 35 |
+
import re
|
| 36 |
+
import shlex
|
| 37 |
+
import shutil
|
| 38 |
+
import signal
|
| 39 |
+
import subprocess
|
| 40 |
+
import tempfile
|
| 41 |
+
import time
|
| 42 |
+
import traceback
|
| 43 |
+
import xml.etree.ElementTree as ET
|
| 44 |
+
from pathlib import Path
|
| 45 |
+
from typing import Any
|
| 46 |
+
|
| 47 |
+
WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
|
| 48 |
+
STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
|
| 49 |
+
METADATA_PATH = Path(
|
| 50 |
+
os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
|
| 51 |
+
)
|
| 52 |
+
LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
|
| 53 |
+
WORKER_CRASH_PHRASE = "worker '"
|
| 54 |
+
XDIST_COLLAPSE_MARKERS = (
|
| 55 |
+
"maximum crashed workers reached",
|
| 56 |
+
"xdist: maximum crashed",
|
| 57 |
+
)
|
| 58 |
+
|
| 59 |
+
DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
|
| 60 |
+
DEFAULT_HF_REVISION = "main"
|
| 61 |
+
|
| 62 |
+
# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
|
| 63 |
+
# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
|
| 64 |
+
_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
|
| 65 |
+
|
| 66 |
+
_TOOLCHAIN_BIN_DIR_CANDIDATES = (
|
| 67 |
+
"/usr/local/go/bin",
|
| 68 |
+
"/go/bin",
|
| 69 |
+
"/usr/local/cargo/bin",
|
| 70 |
+
"/root/.cargo/bin",
|
| 71 |
+
"/root/.ghcup/bin",
|
| 72 |
+
)
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
def toolchain_bin_dirs() -> list[str]:
|
| 76 |
+
"""Return toolchain bin directories that exist on this image."""
|
| 77 |
+
candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
|
| 78 |
+
candidates.extend(
|
| 79 |
+
str(path)
|
| 80 |
+
for path in sorted(Path("/usr/lib").glob("go-*/bin"))
|
| 81 |
+
if _is_accessible_dir(path)
|
| 82 |
+
)
|
| 83 |
+
seen: set[str] = set()
|
| 84 |
+
present: list[str] = []
|
| 85 |
+
for path in candidates:
|
| 86 |
+
if path in seen:
|
| 87 |
+
continue
|
| 88 |
+
seen.add(path)
|
| 89 |
+
if _is_accessible_dir(path):
|
| 90 |
+
present.append(path)
|
| 91 |
+
return present
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
def _is_accessible_dir(path: str | Path) -> bool:
|
| 95 |
+
"""Return whether path is a directory without failing on protected homes."""
|
| 96 |
+
try:
|
| 97 |
+
return Path(path).is_dir()
|
| 98 |
+
except OSError:
|
| 99 |
+
return False
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
def bootstrap_toolchain_path() -> str:
|
| 103 |
+
"""Prepend discovered toolchain dirs to PATH (idempotent)."""
|
| 104 |
+
prepend = toolchain_bin_dirs()
|
| 105 |
+
current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
|
| 106 |
+
merged: list[str] = []
|
| 107 |
+
for path in prepend + current_parts:
|
| 108 |
+
if path not in merged:
|
| 109 |
+
merged.append(path)
|
| 110 |
+
new_path = ":".join(merged)
|
| 111 |
+
os.environ["PATH"] = new_path
|
| 112 |
+
return new_path
|
| 113 |
+
|
| 114 |
+
|
| 115 |
+
def _bash_login_command(command: str) -> str:
|
| 116 |
+
"""Run ``command`` under bash -lc with an explicit PATH export."""
|
| 117 |
+
path = bootstrap_toolchain_path()
|
| 118 |
+
return f"export PATH={shlex.quote(path)}; {command}"
|
| 119 |
+
|
| 120 |
+
|
| 121 |
+
def sha256(path: Path) -> str:
|
| 122 |
+
h = hashlib.sha256()
|
| 123 |
+
with path.open("rb") as f:
|
| 124 |
+
for chunk in iter(lambda: f.read(1024 * 1024), b""):
|
| 125 |
+
h.update(chunk)
|
| 126 |
+
return h.hexdigest()
|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
def write_json(path: Path, data: dict[str, Any]) -> None:
|
| 130 |
+
tmp = path.with_suffix(path.suffix + ".tmp")
|
| 131 |
+
tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
|
| 132 |
+
tmp.replace(path)
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
|
| 136 |
+
if path is None or not path.exists():
|
| 137 |
+
return ""
|
| 138 |
+
data = path.read_bytes()
|
| 139 |
+
if len(data) <= max_bytes:
|
| 140 |
+
return data.decode(errors="replace")
|
| 141 |
+
return data[-max_bytes:].decode(errors="replace")
|
| 142 |
+
|
| 143 |
+
|
| 144 |
+
def _close_pipes(proc: subprocess.Popen[Any]) -> None:
|
| 145 |
+
for stream in (proc.stdout, proc.stderr):
|
| 146 |
+
if stream is not None:
|
| 147 |
+
try:
|
| 148 |
+
stream.close()
|
| 149 |
+
except OSError:
|
| 150 |
+
pass
|
| 151 |
+
|
| 152 |
+
|
| 153 |
+
def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
|
| 154 |
+
try:
|
| 155 |
+
os.killpg(proc.pid, signal.SIGKILL)
|
| 156 |
+
except ProcessLookupError:
|
| 157 |
+
pass
|
| 158 |
+
try:
|
| 159 |
+
proc.kill()
|
| 160 |
+
except ProcessLookupError:
|
| 161 |
+
pass
|
| 162 |
+
|
| 163 |
+
|
| 164 |
+
_PKILL_PATTERNS = (
|
| 165 |
+
f"{WORKSPACE}/eval/",
|
| 166 |
+
f"{WORKSPACE}/tests/",
|
| 167 |
+
"tail -f",
|
| 168 |
+
"development.log",
|
| 169 |
+
" less ",
|
| 170 |
+
" less$",
|
| 171 |
+
"/less ",
|
| 172 |
+
)
|
| 173 |
+
|
| 174 |
+
|
| 175 |
+
def _pkill_aggressive() -> str:
|
| 176 |
+
"""Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
|
| 177 |
+
notes: list[str] = []
|
| 178 |
+
workspace = str(WORKSPACE)
|
| 179 |
+
patterns = list(_PKILL_PATTERNS) + [
|
| 180 |
+
f"pytest.*{workspace}",
|
| 181 |
+
f"xdist.*{workspace}",
|
| 182 |
+
]
|
| 183 |
+
for pattern in patterns:
|
| 184 |
+
result = subprocess.run(
|
| 185 |
+
["pkill", "-9", "-f", pattern],
|
| 186 |
+
capture_output=True,
|
| 187 |
+
text=True,
|
| 188 |
+
)
|
| 189 |
+
notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
|
| 190 |
+
return "\n".join(notes)
|
| 191 |
+
|
| 192 |
+
|
| 193 |
+
def run_step(
|
| 194 |
+
command: str,
|
| 195 |
+
cwd: Path,
|
| 196 |
+
*,
|
| 197 |
+
timeout: int,
|
| 198 |
+
env: dict[str, str] | None = None,
|
| 199 |
+
step: str,
|
| 200 |
+
accept_failure: bool = False,
|
| 201 |
+
log_output: bool | None = None,
|
| 202 |
+
max_output_bytes: int = 65536,
|
| 203 |
+
) -> dict[str, Any]:
|
| 204 |
+
if log_output is None:
|
| 205 |
+
log_output = step == "run_tests" or timeout >= 60
|
| 206 |
+
|
| 207 |
+
started = time.monotonic()
|
| 208 |
+
stdout_path: Path | None = None
|
| 209 |
+
stderr_path: Path | None = None
|
| 210 |
+
stdout_f = None
|
| 211 |
+
stderr_f = None
|
| 212 |
+
|
| 213 |
+
if log_output:
|
| 214 |
+
LOG_DIR.mkdir(parents=True, exist_ok=True)
|
| 215 |
+
log_id = f"{step}-{int(started * 1000)}"
|
| 216 |
+
stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
|
| 217 |
+
stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
|
| 218 |
+
stdout_f = stdout_path.open("w", encoding="utf-8")
|
| 219 |
+
stderr_f = stderr_path.open("w", encoding="utf-8")
|
| 220 |
+
popen_stdout: Any = stdout_f
|
| 221 |
+
popen_stderr: Any = stderr_f
|
| 222 |
+
else:
|
| 223 |
+
popen_stdout = subprocess.PIPE
|
| 224 |
+
popen_stderr = subprocess.PIPE
|
| 225 |
+
|
| 226 |
+
proc = subprocess.Popen(
|
| 227 |
+
["bash", "-lc", _bash_login_command(command)],
|
| 228 |
+
cwd=cwd,
|
| 229 |
+
env={**os.environ, **(env or {})},
|
| 230 |
+
stdout=popen_stdout,
|
| 231 |
+
stderr=popen_stderr,
|
| 232 |
+
start_new_session=True,
|
| 233 |
+
text=True,
|
| 234 |
+
)
|
| 235 |
+
timed_out = False
|
| 236 |
+
stdout = ""
|
| 237 |
+
stderr = ""
|
| 238 |
+
try:
|
| 239 |
+
if log_output:
|
| 240 |
+
proc.wait(timeout=timeout)
|
| 241 |
+
else:
|
| 242 |
+
stdout, stderr = proc.communicate(timeout=timeout)
|
| 243 |
+
except subprocess.TimeoutExpired:
|
| 244 |
+
timed_out = True
|
| 245 |
+
_terminate_process_tree(proc)
|
| 246 |
+
cleanup_lingering_processes(aggressive=True)
|
| 247 |
+
try:
|
| 248 |
+
proc.wait(timeout=5)
|
| 249 |
+
except subprocess.TimeoutExpired:
|
| 250 |
+
proc.kill()
|
| 251 |
+
if not log_output:
|
| 252 |
+
_close_pipes(proc)
|
| 253 |
+
finally:
|
| 254 |
+
if stdout_f is not None:
|
| 255 |
+
stdout_f.close()
|
| 256 |
+
if stderr_f is not None:
|
| 257 |
+
stderr_f.close()
|
| 258 |
+
|
| 259 |
+
if timed_out:
|
| 260 |
+
if log_output:
|
| 261 |
+
output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
|
| 262 |
+
stderr_path, max_output_bytes
|
| 263 |
+
)
|
| 264 |
+
else:
|
| 265 |
+
output = ""
|
| 266 |
+
entry = {
|
| 267 |
+
"step": step,
|
| 268 |
+
"command": command,
|
| 269 |
+
"wall_time": time.monotonic() - started,
|
| 270 |
+
"output": output,
|
| 271 |
+
"returncode": 124,
|
| 272 |
+
"exception_info": f"timed out after {timeout}s",
|
| 273 |
+
}
|
| 274 |
+
else:
|
| 275 |
+
if log_output:
|
| 276 |
+
output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
|
| 277 |
+
stderr_path, max_output_bytes
|
| 278 |
+
)
|
| 279 |
+
else:
|
| 280 |
+
output = stdout + stderr
|
| 281 |
+
entry = {
|
| 282 |
+
"step": step,
|
| 283 |
+
"command": command,
|
| 284 |
+
"wall_time": time.monotonic() - started,
|
| 285 |
+
"output": output,
|
| 286 |
+
"returncode": proc.returncode,
|
| 287 |
+
"exception_info": "",
|
| 288 |
+
}
|
| 289 |
+
if entry["returncode"] and not accept_failure:
|
| 290 |
+
raise RuntimeError(
|
| 291 |
+
f"{step} failed: {entry['exception_info'] or entry['output']}"
|
| 292 |
+
)
|
| 293 |
+
return entry
|
| 294 |
+
|
| 295 |
+
|
| 296 |
+
def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
|
| 297 |
+
started = time.monotonic()
|
| 298 |
+
patterns = [
|
| 299 |
+
str(WORKSPACE / "executable"),
|
| 300 |
+
f"{WORKSPACE}/eval/",
|
| 301 |
+
f"{WORKSPACE}/tests/",
|
| 302 |
+
# lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
|
| 303 |
+
"tail -f",
|
| 304 |
+
"development.log",
|
| 305 |
+
]
|
| 306 |
+
killed: list[int] = []
|
| 307 |
+
proc_root = Path("/proc")
|
| 308 |
+
proc_available = proc_root.exists()
|
| 309 |
+
if proc_available:
|
| 310 |
+
for proc_dir in proc_root.iterdir():
|
| 311 |
+
if not proc_dir.name.isdigit():
|
| 312 |
+
continue
|
| 313 |
+
pid = int(proc_dir.name)
|
| 314 |
+
if pid in {os.getpid(), os.getppid()}:
|
| 315 |
+
continue
|
| 316 |
+
try:
|
| 317 |
+
raw = (proc_dir / "cmdline").read_bytes()
|
| 318 |
+
except (FileNotFoundError, PermissionError, ProcessLookupError):
|
| 319 |
+
continue
|
| 320 |
+
cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
|
| 321 |
+
if not any(pattern in cmdline for pattern in patterns):
|
| 322 |
+
continue
|
| 323 |
+
try:
|
| 324 |
+
os.kill(pid, signal.SIGKILL)
|
| 325 |
+
except (PermissionError, ProcessLookupError):
|
| 326 |
+
continue
|
| 327 |
+
killed.append(pid)
|
| 328 |
+
pkill_output = ""
|
| 329 |
+
if aggressive or not proc_available:
|
| 330 |
+
pkill_output = _pkill_aggressive()
|
| 331 |
+
output_parts = []
|
| 332 |
+
if killed:
|
| 333 |
+
output_parts.append("\n".join(str(pid) for pid in killed))
|
| 334 |
+
if pkill_output:
|
| 335 |
+
output_parts.append(pkill_output)
|
| 336 |
+
return {
|
| 337 |
+
"step": "cleanup_lingering_processes",
|
| 338 |
+
"command": "kill leftover branch processes referencing the workspace",
|
| 339 |
+
"wall_time": time.monotonic() - started,
|
| 340 |
+
"output": "\n".join(output_parts),
|
| 341 |
+
"returncode": 0,
|
| 342 |
+
"exception_info": "",
|
| 343 |
+
}
|
| 344 |
+
|
| 345 |
+
|
| 346 |
+
def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
|
| 347 |
+
import tarfile
|
| 348 |
+
|
| 349 |
+
with tarfile.open(tar_path, "r:gz") as tf:
|
| 350 |
+
try:
|
| 351 |
+
tf.extractall(dest, filter="fully_trusted")
|
| 352 |
+
except TypeError:
|
| 353 |
+
tf.extractall(dest)
|
| 354 |
+
|
| 355 |
+
|
| 356 |
+
def find_results_xml() -> Path | None:
|
| 357 |
+
"""Return the junit xml path if pytest wrote one."""
|
| 358 |
+
for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
|
| 359 |
+
if candidate.exists():
|
| 360 |
+
return candidate
|
| 361 |
+
return None
|
| 362 |
+
|
| 363 |
+
|
| 364 |
+
def remove_oracle_handoff_artifacts() -> list[str]:
|
| 365 |
+
"""Drop oracle-agent handoff files from /workspace before snapshot/restore."""
|
| 366 |
+
removed: list[str] = []
|
| 367 |
+
for name in _ORACLE_HANDOFF_NAMES:
|
| 368 |
+
path = WORKSPACE / name
|
| 369 |
+
if path.exists():
|
| 370 |
+
if path.is_dir():
|
| 371 |
+
shutil.rmtree(path)
|
| 372 |
+
else:
|
| 373 |
+
path.unlink()
|
| 374 |
+
removed.append(name)
|
| 375 |
+
return removed
|
| 376 |
+
|
| 377 |
+
|
| 378 |
+
def _remove_tree(path: Path) -> None:
|
| 379 |
+
"""Remove a file or directory tree, with a shell fallback for overlay races."""
|
| 380 |
+
if path.is_symlink() or path.is_file():
|
| 381 |
+
path.unlink(missing_ok=True)
|
| 382 |
+
return
|
| 383 |
+
if not path.is_dir():
|
| 384 |
+
path.unlink(missing_ok=True)
|
| 385 |
+
return
|
| 386 |
+
for attempt in range(3):
|
| 387 |
+
try:
|
| 388 |
+
shutil.rmtree(path)
|
| 389 |
+
if not path.exists():
|
| 390 |
+
return
|
| 391 |
+
except OSError:
|
| 392 |
+
if attempt == 2:
|
| 393 |
+
run_step(
|
| 394 |
+
f"rm -rf {shlex.quote(str(path))}",
|
| 395 |
+
path.parent,
|
| 396 |
+
timeout=120,
|
| 397 |
+
step="clear_workspace_fallback",
|
| 398 |
+
accept_failure=True,
|
| 399 |
+
)
|
| 400 |
+
if not path.exists():
|
| 401 |
+
return
|
| 402 |
+
raise
|
| 403 |
+
|
| 404 |
+
|
| 405 |
+
def ensure_workspace_dir() -> None:
|
| 406 |
+
"""Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
|
| 407 |
+
if WORKSPACE.exists() and not WORKSPACE.is_dir():
|
| 408 |
+
if WORKSPACE.is_symlink() or WORKSPACE.is_file():
|
| 409 |
+
WORKSPACE.unlink()
|
| 410 |
+
else:
|
| 411 |
+
shutil.rmtree(WORKSPACE)
|
| 412 |
+
WORKSPACE.mkdir(parents=True, exist_ok=True)
|
| 413 |
+
|
| 414 |
+
|
| 415 |
+
def clear_workspace() -> None:
|
| 416 |
+
ensure_workspace_dir()
|
| 417 |
+
for path in list(WORKSPACE.iterdir()):
|
| 418 |
+
_remove_tree(path)
|
| 419 |
+
|
| 420 |
+
|
| 421 |
+
def restore_reference_executable() -> None:
|
| 422 |
+
"""Write the stashed reference binary into /workspace after a branch overlay.
|
| 423 |
+
|
| 424 |
+
Branch blobs may ship ``executable`` as a dangling symlink into
|
| 425 |
+
``target/release/...``; ``shutil.copy2`` would follow it and raise
|
| 426 |
+
``FileNotFoundError``. Drop whatever the blob left and copy the stashed
|
| 427 |
+
reference as a regular file.
|
| 428 |
+
"""
|
| 429 |
+
ensure_workspace_dir()
|
| 430 |
+
if not STASHED_EXECUTABLE.is_file():
|
| 431 |
+
raise FileNotFoundError(
|
| 432 |
+
f"missing stashed reference executable at {STASHED_EXECUTABLE}"
|
| 433 |
+
)
|
| 434 |
+
dest = WORKSPACE / "executable"
|
| 435 |
+
if dest.exists() or dest.is_symlink():
|
| 436 |
+
if dest.is_dir():
|
| 437 |
+
shutil.rmtree(dest)
|
| 438 |
+
else:
|
| 439 |
+
dest.unlink(missing_ok=True)
|
| 440 |
+
shutil.copy2(STASHED_EXECUTABLE, dest)
|
| 441 |
+
dest.chmod(0o755)
|
| 442 |
+
|
| 443 |
+
|
| 444 |
+
def snapshot_workspace(dest: Path) -> None:
|
| 445 |
+
if dest.exists():
|
| 446 |
+
shutil.rmtree(dest)
|
| 447 |
+
shutil.copytree(WORKSPACE, dest, symlinks=True)
|
| 448 |
+
|
| 449 |
+
|
| 450 |
+
def restore_workspace(source: Path) -> None:
|
| 451 |
+
clear_workspace()
|
| 452 |
+
shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
|
| 453 |
+
ensure_workspace_dir()
|
| 454 |
+
|
| 455 |
+
|
| 456 |
+
def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
|
| 457 |
+
removed: list[str] = []
|
| 458 |
+
for path in root.rglob("*"):
|
| 459 |
+
if path.is_file() and not path.is_symlink():
|
| 460 |
+
try:
|
| 461 |
+
if sha256(path) in hashes:
|
| 462 |
+
path.unlink()
|
| 463 |
+
removed.append(str(path.relative_to(root)))
|
| 464 |
+
except OSError:
|
| 465 |
+
continue
|
| 466 |
+
return removed
|
| 467 |
+
|
| 468 |
+
|
| 469 |
+
def branch_tests(branch_info: dict[str, Any]) -> list[str]:
|
| 470 |
+
ignored = {
|
| 471 |
+
item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
|
| 472 |
+
}
|
| 473 |
+
return [name for name in branch_info.get("tests", []) if name not in ignored]
|
| 474 |
+
|
| 475 |
+
|
| 476 |
+
def ignored_tests(metadata: dict[str, Any]) -> set[str]:
|
| 477 |
+
result: set[str] = set()
|
| 478 |
+
for branch, info in metadata.get("branches", {}).items():
|
| 479 |
+
result.update(
|
| 480 |
+
f"{branch}/{item['name']}"
|
| 481 |
+
for item in info.get("ignored_tests", [])
|
| 482 |
+
if "name" in item
|
| 483 |
+
)
|
| 484 |
+
return result
|
| 485 |
+
|
| 486 |
+
|
| 487 |
+
def active_tests(metadata: dict[str, Any]) -> set[str]:
|
| 488 |
+
active: set[str] = set()
|
| 489 |
+
for branch, info in metadata.get("branches", {}).items():
|
| 490 |
+
if info.get("ignored"):
|
| 491 |
+
continue
|
| 492 |
+
ignored = {
|
| 493 |
+
item["name"] for item in info.get("ignored_tests", []) if "name" in item
|
| 494 |
+
}
|
| 495 |
+
active.update(
|
| 496 |
+
f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
|
| 497 |
+
)
|
| 498 |
+
return active
|
| 499 |
+
|
| 500 |
+
|
| 501 |
+
def inject_not_run(
|
| 502 |
+
result: dict[str, Any], branch: str, tests: list[str], error_code: str
|
| 503 |
+
) -> None:
|
| 504 |
+
result["test_results"].extend(
|
| 505 |
+
{
|
| 506 |
+
"name": name,
|
| 507 |
+
"branch": branch,
|
| 508 |
+
"status": "not_run",
|
| 509 |
+
"extra": {"error_code": error_code},
|
| 510 |
+
}
|
| 511 |
+
for name in tests
|
| 512 |
+
)
|
| 513 |
+
|
| 514 |
+
|
| 515 |
+
def testcase_name(case: ET.Element) -> str:
|
| 516 |
+
classname = case.attrib.get("classname", "")
|
| 517 |
+
name = case.attrib.get("name", "")
|
| 518 |
+
return f"{classname}.{name}" if classname else name
|
| 519 |
+
|
| 520 |
+
|
| 521 |
+
# Only these tags under <testcase> represent a result. <system-out> /
|
| 522 |
+
# <system-err> are stdout/stderr captures and must not be treated as results
|
| 523 |
+
# (a leading <system-out> followed by <failure> would otherwise be classified
|
| 524 |
+
# as a stdout-only "passed").
|
| 525 |
+
JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
|
| 526 |
+
|
| 527 |
+
|
| 528 |
+
def parse_junit(
|
| 529 |
+
raw_xml: str, branch: str, expected: list[str], ignored: set[str]
|
| 530 |
+
) -> tuple[list[dict[str, Any]], list[str]]:
|
| 531 |
+
root = ET.fromstring(raw_xml)
|
| 532 |
+
got: set[str] = set()
|
| 533 |
+
results: list[dict[str, Any]] = []
|
| 534 |
+
for case in root.iter("testcase"):
|
| 535 |
+
name = testcase_name(case)
|
| 536 |
+
got.add(name)
|
| 537 |
+
extra: dict[str, Any] = {}
|
| 538 |
+
if "time" in case.attrib:
|
| 539 |
+
try:
|
| 540 |
+
extra["time"] = float(case.attrib["time"])
|
| 541 |
+
except ValueError:
|
| 542 |
+
extra["time"] = case.attrib["time"]
|
| 543 |
+
result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
|
| 544 |
+
# Collapse duplicate same-tag result children. Pytest's
|
| 545 |
+
# "pytest.internal" pseudo-test sometimes emits two identical <error>
|
| 546 |
+
# entries; treating that as a system_error would over-flag a real
|
| 547 |
+
# single failure. Mirrors upstream eval.py:816-820.
|
| 548 |
+
if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
|
| 549 |
+
result_children = [result_children[0]]
|
| 550 |
+
if not result_children:
|
| 551 |
+
status = "passed"
|
| 552 |
+
elif len(result_children) != 1:
|
| 553 |
+
status = "system_error"
|
| 554 |
+
extra["error_details"] = (
|
| 555 |
+
f"Expected 1 result for {name}, got {len(result_children)}: "
|
| 556 |
+
f"{[c.tag for c in result_children]}"
|
| 557 |
+
)
|
| 558 |
+
else:
|
| 559 |
+
first = result_children[0]
|
| 560 |
+
status = first.tag # "skipped" | "failure" | "error"
|
| 561 |
+
extra["message"] = first.attrib.get("message") or ""
|
| 562 |
+
if first.text:
|
| 563 |
+
extra["text"] = first.text
|
| 564 |
+
results.append(
|
| 565 |
+
{"name": name, "branch": branch, "status": status, "extra": extra}
|
| 566 |
+
)
|
| 567 |
+
|
| 568 |
+
active_expected = [name for name in expected if name not in ignored]
|
| 569 |
+
missing = [name for name in active_expected if name not in got]
|
| 570 |
+
results.extend(
|
| 571 |
+
{
|
| 572 |
+
"name": name,
|
| 573 |
+
"branch": branch,
|
| 574 |
+
"status": "not_run",
|
| 575 |
+
"extra": {"error_code": "missing_from_junit_xml"},
|
| 576 |
+
}
|
| 577 |
+
for name in missing
|
| 578 |
+
)
|
| 579 |
+
unexpected = got - set(expected) - ignored
|
| 580 |
+
warnings = (
|
| 581 |
+
[f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
|
| 582 |
+
if unexpected
|
| 583 |
+
else []
|
| 584 |
+
)
|
| 585 |
+
return results, warnings
|
| 586 |
+
|
| 587 |
+
|
| 588 |
+
def count_worker_crashes(raw_xml: str) -> int:
|
| 589 |
+
if WORKER_CRASH_PHRASE not in raw_xml:
|
| 590 |
+
return 0
|
| 591 |
+
try:
|
| 592 |
+
root = ET.fromstring(raw_xml)
|
| 593 |
+
except ET.ParseError:
|
| 594 |
+
return 0
|
| 595 |
+
crashes = 0
|
| 596 |
+
for case in root.iter("testcase"):
|
| 597 |
+
for child in case:
|
| 598 |
+
text = (child.get("message") or "") + " " + (child.text or "")
|
| 599 |
+
if (
|
| 600 |
+
child.tag in {"error", "failure"}
|
| 601 |
+
and WORKER_CRASH_PHRASE in text
|
| 602 |
+
and "crashed" in text
|
| 603 |
+
):
|
| 604 |
+
crashes += 1
|
| 605 |
+
break
|
| 606 |
+
return crashes
|
| 607 |
+
|
| 608 |
+
|
| 609 |
+
def run_output_indicates_xdist_collapse(output: str) -> bool:
|
| 610 |
+
lower = output.lower()
|
| 611 |
+
return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
|
| 612 |
+
|
| 613 |
+
|
| 614 |
+
def count_junit_failures(raw_xml: str) -> int:
|
| 615 |
+
try:
|
| 616 |
+
root = ET.fromstring(raw_xml)
|
| 617 |
+
except ET.ParseError:
|
| 618 |
+
return 0
|
| 619 |
+
failures = 0
|
| 620 |
+
for case in root.iter("testcase"):
|
| 621 |
+
for child in case:
|
| 622 |
+
if child.tag in {"failure", "error"}:
|
| 623 |
+
failures += 1
|
| 624 |
+
break
|
| 625 |
+
return failures
|
| 626 |
+
|
| 627 |
+
|
| 628 |
+
def count_junit_passed(raw_xml: str) -> int:
|
| 629 |
+
try:
|
| 630 |
+
root = ET.fromstring(raw_xml)
|
| 631 |
+
except ET.ParseError:
|
| 632 |
+
return 0
|
| 633 |
+
passed = 0
|
| 634 |
+
for case in root.iter("testcase"):
|
| 635 |
+
if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
|
| 636 |
+
passed += 1
|
| 637 |
+
return passed
|
| 638 |
+
|
| 639 |
+
|
| 640 |
+
def branch_attempt_metrics(
|
| 641 |
+
raw_xml: str, *, run_output: str, expected_tests: int
|
| 642 |
+
) -> tuple[int, int, int, int]:
|
| 643 |
+
"""Return (crashes, n_testcases, failures, missing_from_xml)."""
|
| 644 |
+
crashes = count_worker_crashes(raw_xml)
|
| 645 |
+
if run_output_indicates_xdist_collapse(run_output):
|
| 646 |
+
crashes = max(crashes, 1)
|
| 647 |
+
n_tests = count_testcases(raw_xml)
|
| 648 |
+
failures = count_junit_failures(raw_xml)
|
| 649 |
+
missing = max(0, expected_tests - n_tests)
|
| 650 |
+
return crashes, n_tests, failures, missing
|
| 651 |
+
|
| 652 |
+
|
| 653 |
+
def needs_serial_retry(
|
| 654 |
+
*,
|
| 655 |
+
serial: bool,
|
| 656 |
+
crashes: int,
|
| 657 |
+
missing: int,
|
| 658 |
+
failures: int,
|
| 659 |
+
n_tests: int,
|
| 660 |
+
expected_tests: int,
|
| 661 |
+
run_output: str,
|
| 662 |
+
) -> bool:
|
| 663 |
+
if serial:
|
| 664 |
+
return False
|
| 665 |
+
high_failure_rate = (
|
| 666 |
+
expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
|
| 667 |
+
)
|
| 668 |
+
return (
|
| 669 |
+
crashes > 0
|
| 670 |
+
or missing > 0
|
| 671 |
+
or high_failure_rate
|
| 672 |
+
or run_output_indicates_xdist_collapse(run_output)
|
| 673 |
+
)
|
| 674 |
+
|
| 675 |
+
|
| 676 |
+
def count_testcases(raw_xml: str) -> int:
|
| 677 |
+
try:
|
| 678 |
+
return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
|
| 679 |
+
except ET.ParseError:
|
| 680 |
+
return 0
|
| 681 |
+
|
| 682 |
+
|
| 683 |
+
def scored_results(
|
| 684 |
+
result: dict[str, Any], metadata: dict[str, Any]
|
| 685 |
+
) -> list[dict[str, Any]]:
|
| 686 |
+
active = active_tests(metadata)
|
| 687 |
+
by_key = {
|
| 688 |
+
f"{test['branch']}/{test['name']}": test
|
| 689 |
+
for test in result["test_results"]
|
| 690 |
+
if f"{test['branch']}/{test['name']}" in active
|
| 691 |
+
}
|
| 692 |
+
return [
|
| 693 |
+
by_key.get(
|
| 694 |
+
key,
|
| 695 |
+
{
|
| 696 |
+
"branch": key.split("/", 1)[0],
|
| 697 |
+
"name": key.split("/", 1)[1],
|
| 698 |
+
"status": "not_run",
|
| 699 |
+
"extra": {"error_code": "missing_from_results"},
|
| 700 |
+
},
|
| 701 |
+
)
|
| 702 |
+
for key in sorted(active)
|
| 703 |
+
]
|
| 704 |
+
|
| 705 |
+
|
| 706 |
+
def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
|
| 707 |
+
scored = scored_results(result, metadata)
|
| 708 |
+
n_passed = sum(t["status"] == "passed" for t in scored)
|
| 709 |
+
n_tests = len(scored)
|
| 710 |
+
pass_rate = n_passed / n_tests if n_tests else 0.0
|
| 711 |
+
# Multi-key reward: Harbor's default Mean aggregates each key independently
|
| 712 |
+
# (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
|
| 713 |
+
# the proportion of tasks scoring a perfect pass-rate and mean of
|
| 714 |
+
# "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
|
| 715 |
+
# per-task pass-rate whose mean is the overall mean reward.
|
| 716 |
+
return {
|
| 717 |
+
"reward": pass_rate,
|
| 718 |
+
"resolved": 1.0 if pass_rate >= 1.0 else 0.0,
|
| 719 |
+
"almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
|
| 720 |
+
}
|
| 721 |
+
|
| 722 |
+
|
| 723 |
+
def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
|
| 724 |
+
scored = scored_results(result, metadata)
|
| 725 |
+
n_passed = sum(t["status"] == "passed" for t in scored)
|
| 726 |
+
n_tests = len(scored)
|
| 727 |
+
pass_rate = n_passed / n_tests if n_tests else 0.0
|
| 728 |
+
return {
|
| 729 |
+
"pass_rate": pass_rate,
|
| 730 |
+
"resolved": int(
|
| 731 |
+
bool(
|
| 732 |
+
n_tests
|
| 733 |
+
and n_passed == n_tests
|
| 734 |
+
and not result["test_branch_errors"]
|
| 735 |
+
and not result["error_code"]
|
| 736 |
+
)
|
| 737 |
+
),
|
| 738 |
+
"n_passed": n_passed,
|
| 739 |
+
"n_tests": n_tests,
|
| 740 |
+
"n_branch_errors": len(result["test_branch_errors"]),
|
| 741 |
+
"infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
|
| 742 |
+
"executable_hash_present": int(bool(result.get("executable_hash"))),
|
| 743 |
+
}
|
| 744 |
+
|
| 745 |
+
|
| 746 |
+
def use_script_pty() -> bool:
|
| 747 |
+
return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
|
| 748 |
+
|
| 749 |
+
|
| 750 |
+
def script_pty_available() -> bool:
|
| 751 |
+
return shutil.which("script") is not None
|
| 752 |
+
|
| 753 |
+
|
| 754 |
+
def branch_env(
|
| 755 |
+
*,
|
| 756 |
+
serial: bool,
|
| 757 |
+
has_rerunfailures: bool,
|
| 758 |
+
extras: dict[str, str] | None = None,
|
| 759 |
+
) -> dict[str, str]:
|
| 760 |
+
addopts = ["--max-worker-restart=4"]
|
| 761 |
+
# A serial fallback is already a complete second execution. Re-running each
|
| 762 |
+
# failing test two more times makes large, failure-heavy suites prohibitively
|
| 763 |
+
# slow and adds little signal.
|
| 764 |
+
if has_rerunfailures and not serial:
|
| 765 |
+
addopts.extend(["--reruns=2", "--reruns-delay=1"])
|
| 766 |
+
env = {
|
| 767 |
+
"PYTEST_ADDOPTS": " ".join(addopts),
|
| 768 |
+
# Match upstream non-TTY regression environments (dirble log format, etc.).
|
| 769 |
+
"NO_COLOR": "1",
|
| 770 |
+
"TERM": "dumb",
|
| 771 |
+
"CLICOLOR": "0",
|
| 772 |
+
"CLICOLOR_FORCE": "0",
|
| 773 |
+
"COLORTERM": "",
|
| 774 |
+
}
|
| 775 |
+
if extras:
|
| 776 |
+
env.update(extras)
|
| 777 |
+
xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
|
| 778 |
+
if serial:
|
| 779 |
+
xdist_workers = "1"
|
| 780 |
+
if xdist_workers:
|
| 781 |
+
env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
|
| 782 |
+
return env
|
| 783 |
+
|
| 784 |
+
|
| 785 |
+
_SERIAL_RUN_SH = ".programgym_run_serial.sh"
|
| 786 |
+
# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
|
| 787 |
+
# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
|
| 788 |
+
_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
|
| 789 |
+
|
| 790 |
+
|
| 791 |
+
def prepare_serial_run_sh(run_sh: Path) -> Path:
|
| 792 |
+
"""Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
|
| 793 |
+
serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
|
| 794 |
+
patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
|
| 795 |
+
serial_sh.write_text(patched)
|
| 796 |
+
serial_sh.chmod(0o755)
|
| 797 |
+
return serial_sh
|
| 798 |
+
|
| 799 |
+
|
| 800 |
+
def run_tests_command(*, serial: bool) -> str:
|
| 801 |
+
if serial:
|
| 802 |
+
inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
|
| 803 |
+
else:
|
| 804 |
+
inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
|
| 805 |
+
if use_script_pty() and script_pty_available():
|
| 806 |
+
return f"script -q -c {shlex.quote(inner)} /dev/null"
|
| 807 |
+
return inner
|
| 808 |
+
|
| 809 |
+
|
| 810 |
+
BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
|
| 811 |
+
|
| 812 |
+
|
| 813 |
+
def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
|
| 814 |
+
"""Locate the per-instance blob directory.
|
| 815 |
+
|
| 816 |
+
Resolution order:
|
| 817 |
+
|
| 818 |
+
1. ``/tests/blobs/`` if pre-fetched into the task at generation time
|
| 819 |
+
(``programgym-adapter --download-blobs``). Verifier-only mount, so
|
| 820 |
+
agent never sees these.
|
| 821 |
+
2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
|
| 822 |
+
tree on disk (``<dir>/<instance_id>/tests/<branch>.tar.gz``). Useful
|
| 823 |
+
for offline reruns sharing a cache across many tasks.
|
| 824 |
+
3. ``huggingface_hub.snapshot_download`` from
|
| 825 |
+
``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
|
| 826 |
+
|
| 827 |
+
The returned directory contains ``tests/<branch>.tar.gz`` per active
|
| 828 |
+
branch — same shape as ``programgym/ProgramGym-Tests/<instance_id>/``
|
| 829 |
+
on HF.
|
| 830 |
+
"""
|
| 831 |
+
if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
|
| 832 |
+
return BAKED_BLOB_DIR
|
| 833 |
+
|
| 834 |
+
local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
|
| 835 |
+
if local:
|
| 836 |
+
candidate = Path(local) / instance_id
|
| 837 |
+
if candidate.exists():
|
| 838 |
+
return candidate
|
| 839 |
+
raise FileNotFoundError(
|
| 840 |
+
f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
|
| 841 |
+
)
|
| 842 |
+
|
| 843 |
+
repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
|
| 844 |
+
"hf_repo_id", DEFAULT_HF_REPO_ID
|
| 845 |
+
)
|
| 846 |
+
revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
|
| 847 |
+
"hf_revision", DEFAULT_HF_REVISION
|
| 848 |
+
)
|
| 849 |
+
|
| 850 |
+
from huggingface_hub import snapshot_download
|
| 851 |
+
|
| 852 |
+
cache_root = Path(
|
| 853 |
+
snapshot_download(
|
| 854 |
+
repo_id,
|
| 855 |
+
repo_type="dataset",
|
| 856 |
+
revision=revision,
|
| 857 |
+
allow_patterns=f"{instance_id}/**",
|
| 858 |
+
)
|
| 859 |
+
)
|
| 860 |
+
blob_dir = cache_root / instance_id
|
| 861 |
+
if not blob_dir.exists():
|
| 862 |
+
raise FileNotFoundError(
|
| 863 |
+
f"HF blob directory missing for {instance_id} at {blob_dir}"
|
| 864 |
+
)
|
| 865 |
+
return blob_dir
|
| 866 |
+
|
| 867 |
+
|
| 868 |
+
def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
|
| 869 |
+
bootstrap_toolchain_path()
|
| 870 |
+
branches = metadata.get("branches", {})
|
| 871 |
+
active_branch_items = [
|
| 872 |
+
(name, info) for name, info in branches.items() if not info.get("ignored")
|
| 873 |
+
]
|
| 874 |
+
result: dict[str, Any] = {
|
| 875 |
+
"test_results": [],
|
| 876 |
+
"error_code": None,
|
| 877 |
+
"error_details": None,
|
| 878 |
+
"log": [],
|
| 879 |
+
"solution_branch": "submission",
|
| 880 |
+
"test_branches": [name for name, _ in active_branch_items],
|
| 881 |
+
"test_branch_errors": {},
|
| 882 |
+
"executable_hash": None,
|
| 883 |
+
"warnings": [],
|
| 884 |
+
}
|
| 885 |
+
|
| 886 |
+
instance_id = metadata["instance_id"]
|
| 887 |
+
|
| 888 |
+
compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
|
| 889 |
+
branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
|
| 890 |
+
|
| 891 |
+
def fail_all(error_code: str, details: str) -> dict[str, Any]:
|
| 892 |
+
result["error_code"] = error_code
|
| 893 |
+
result["error_details"] = details
|
| 894 |
+
for branch, info in active_branch_items:
|
| 895 |
+
inject_not_run(result, branch, branch_tests(info), error_code)
|
| 896 |
+
return result
|
| 897 |
+
|
| 898 |
+
with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
|
| 899 |
+
compiled_snapshot = Path(tmp) / "compiled"
|
| 900 |
+
|
| 901 |
+
started = time.monotonic()
|
| 902 |
+
removed = remove_hashed_files(
|
| 903 |
+
WORKSPACE, set(metadata.get("eval_clean_hashes", []))
|
| 904 |
+
)
|
| 905 |
+
result["log"].append(
|
| 906 |
+
{
|
| 907 |
+
"step": "remove_hashed_files",
|
| 908 |
+
"command": "remove files matching eval_clean_hashes",
|
| 909 |
+
"wall_time": time.monotonic() - started,
|
| 910 |
+
"output": "".join(f"removed '{path}'\n" for path in removed),
|
| 911 |
+
"returncode": 0,
|
| 912 |
+
"exception_info": "",
|
| 913 |
+
}
|
| 914 |
+
)
|
| 915 |
+
|
| 916 |
+
compile_sh = WORKSPACE / "compile.sh"
|
| 917 |
+
if not compile_sh.exists():
|
| 918 |
+
return fail_all(
|
| 919 |
+
"missing_compile_sh", "submission did not contain compile.sh"
|
| 920 |
+
)
|
| 921 |
+
|
| 922 |
+
seed = (
|
| 923 |
+
"if [ ! -d .git ]; then "
|
| 924 |
+
"GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
|
| 925 |
+
"GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
|
| 926 |
+
"git -c init.defaultBranch=gold init -q && "
|
| 927 |
+
"git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
|
| 928 |
+
"GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
|
| 929 |
+
"GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
|
| 930 |
+
"git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
|
| 931 |
+
"fi"
|
| 932 |
+
)
|
| 933 |
+
try:
|
| 934 |
+
result["log"].append(
|
| 935 |
+
run_step(seed, WORKSPACE, timeout=300, step="seed_git")
|
| 936 |
+
)
|
| 937 |
+
compile_log = run_step(
|
| 938 |
+
"chmod +x ./compile.sh && ./compile.sh",
|
| 939 |
+
WORKSPACE,
|
| 940 |
+
timeout=compile_timeout,
|
| 941 |
+
step="compile",
|
| 942 |
+
accept_failure=True,
|
| 943 |
+
)
|
| 944 |
+
result["log"].append(compile_log)
|
| 945 |
+
if compile_log["returncode"]:
|
| 946 |
+
return fail_all("compile_failed", compile_log["output"])
|
| 947 |
+
executable = WORKSPACE / "executable"
|
| 948 |
+
if not executable.exists():
|
| 949 |
+
return fail_all(
|
| 950 |
+
"missing_executable",
|
| 951 |
+
"compile.sh completed but did not create ./executable",
|
| 952 |
+
)
|
| 953 |
+
STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
|
| 954 |
+
# `move` (not copy) so /workspace doesn't keep a parallel copy of
|
| 955 |
+
# the agent's executable during the stash→restore window. Mirrors
|
| 956 |
+
# upstream `mv ./executable {STASHED}` (eval.py:472).
|
| 957 |
+
shutil.move(str(executable), STASHED_EXECUTABLE)
|
| 958 |
+
result["executable_hash"] = sha256(STASHED_EXECUTABLE)
|
| 959 |
+
result["log"].append(
|
| 960 |
+
run_step(
|
| 961 |
+
"pip3 install -q --disable-pip-version-check pytest-rerunfailures",
|
| 962 |
+
WORKSPACE,
|
| 963 |
+
timeout=120,
|
| 964 |
+
step="install_rerunfailures",
|
| 965 |
+
accept_failure=True,
|
| 966 |
+
)
|
| 967 |
+
)
|
| 968 |
+
has_rerunfailures = result["log"][-1]["returncode"] == 0
|
| 969 |
+
handoff_removed = remove_oracle_handoff_artifacts()
|
| 970 |
+
if handoff_removed:
|
| 971 |
+
result["log"].append(
|
| 972 |
+
{
|
| 973 |
+
"step": "remove_oracle_handoff",
|
| 974 |
+
"command": "remove oracle handoff artifacts from workspace",
|
| 975 |
+
"wall_time": 0.0,
|
| 976 |
+
"output": "".join(
|
| 977 |
+
f"removed '{name}'\n" for name in handoff_removed
|
| 978 |
+
),
|
| 979 |
+
"returncode": 0,
|
| 980 |
+
"exception_info": "",
|
| 981 |
+
}
|
| 982 |
+
)
|
| 983 |
+
snapshot_workspace(compiled_snapshot)
|
| 984 |
+
except Exception as exc:
|
| 985 |
+
return fail_all(type(exc).__name__, str(exc))
|
| 986 |
+
|
| 987 |
+
try:
|
| 988 |
+
blob_dir = resolve_blob_dir(instance_id, metadata)
|
| 989 |
+
except Exception as exc:
|
| 990 |
+
details = f"{type(exc).__name__}: {exc}"
|
| 991 |
+
for branch, info in active_branch_items:
|
| 992 |
+
result["test_branch_errors"][branch] = [
|
| 993 |
+
{
|
| 994 |
+
"error_code": "blob_resolution_failed",
|
| 995 |
+
"error_details": details,
|
| 996 |
+
}
|
| 997 |
+
]
|
| 998 |
+
inject_not_run(
|
| 999 |
+
result, branch, branch_tests(info), "blob_resolution_failed"
|
| 1000 |
+
)
|
| 1001 |
+
return result
|
| 1002 |
+
|
| 1003 |
+
for branch, info in active_branch_items:
|
| 1004 |
+
tests = branch_tests(info)
|
| 1005 |
+
blob = blob_dir / "tests" / f"{branch}.tar.gz"
|
| 1006 |
+
if not blob.exists():
|
| 1007 |
+
result["test_branch_errors"][branch] = [
|
| 1008 |
+
{"error_code": "missing_test_blob", "error_details": blob.name}
|
| 1009 |
+
]
|
| 1010 |
+
inject_not_run(result, branch, tests, "missing_test_blob")
|
| 1011 |
+
continue
|
| 1012 |
+
|
| 1013 |
+
best_xml = ""
|
| 1014 |
+
# Prefer a complete, clean XML result, then the result covering the
|
| 1015 |
+
# most expected tests, and only then the one with the most passes.
|
| 1016 |
+
# Pass-count-only ranking can retain a partial xdist result over a
|
| 1017 |
+
# complete serial result.
|
| 1018 |
+
best_quality = (-1, -1, -1)
|
| 1019 |
+
serial = bool(metadata.get("force_serial_branches"))
|
| 1020 |
+
branch_log: list[dict[str, Any]] = []
|
| 1021 |
+
branch_ignored = {
|
| 1022 |
+
item["name"] for item in info.get("ignored_tests", []) if "name" in item
|
| 1023 |
+
}
|
| 1024 |
+
n_expected = len([name for name in tests if name not in branch_ignored])
|
| 1025 |
+
|
| 1026 |
+
def merge_best_xml(raw_xml: str) -> None:
|
| 1027 |
+
try:
|
| 1028 |
+
parsed, warnings = parse_junit(
|
| 1029 |
+
raw_xml, branch, list(info.get("tests", [])), branch_ignored
|
| 1030 |
+
)
|
| 1031 |
+
except Exception as exc:
|
| 1032 |
+
result["test_branch_errors"][branch] = [
|
| 1033 |
+
{"error_code": "xml_parse_error", "error_details": str(exc)}
|
| 1034 |
+
]
|
| 1035 |
+
inject_not_run(result, branch, tests, "xml_parse_error")
|
| 1036 |
+
else:
|
| 1037 |
+
result["test_results"].extend(parsed)
|
| 1038 |
+
result["warnings"].extend(warnings)
|
| 1039 |
+
|
| 1040 |
+
while True:
|
| 1041 |
+
branch_log.append(cleanup_lingering_processes())
|
| 1042 |
+
restore_workspace(compiled_snapshot)
|
| 1043 |
+
extract_trusted_blob(blob, WORKSPACE)
|
| 1044 |
+
restore_reference_executable()
|
| 1045 |
+
actual_hash = sha256(WORKSPACE / "executable")
|
| 1046 |
+
if actual_hash != result["executable_hash"]:
|
| 1047 |
+
result["test_branch_errors"][branch] = [
|
| 1048 |
+
{
|
| 1049 |
+
"error_code": "executable_hash_mismatch",
|
| 1050 |
+
"error_details": (
|
| 1051 |
+
f"expected {result['executable_hash']}, got {actual_hash}"
|
| 1052 |
+
),
|
| 1053 |
+
}
|
| 1054 |
+
]
|
| 1055 |
+
inject_not_run(result, branch, tests, "executable_hash_mismatch")
|
| 1056 |
+
break
|
| 1057 |
+
run_sh = WORKSPACE / "eval" / "run.sh"
|
| 1058 |
+
if not run_sh.exists():
|
| 1059 |
+
result["test_branch_errors"][branch] = [
|
| 1060 |
+
{
|
| 1061 |
+
"error_code": "missing_run_sh",
|
| 1062 |
+
"error_details": "eval/run.sh missing",
|
| 1063 |
+
}
|
| 1064 |
+
]
|
| 1065 |
+
inject_not_run(result, branch, tests, "missing_run_sh")
|
| 1066 |
+
break
|
| 1067 |
+
# Upstream rewrites thread→signal so xdist workers fail cleanly
|
| 1068 |
+
# instead of os._exit(1) on timeout. That works in fresh
|
| 1069 |
+
# containers per branch; here we reuse one container and
|
| 1070 |
+
# signal timeouts leave TUI/log-watcher subprocesses alive
|
| 1071 |
+
# (e.g. lazygit --logs + tail -f), wedging pytest for up to
|
| 1072 |
+
# branch_timeout. Keep the blob's thread method and rely on
|
| 1073 |
+
# cleanup_lingering_processes + serial fallback after crashes.
|
| 1074 |
+
env = branch_env(
|
| 1075 |
+
serial=serial,
|
| 1076 |
+
has_rerunfailures=has_rerunfailures,
|
| 1077 |
+
extras=metadata.get("branch_env"),
|
| 1078 |
+
)
|
| 1079 |
+
branch_log.append(
|
| 1080 |
+
run_step(
|
| 1081 |
+
"rm -f eval/results.xml results.xml",
|
| 1082 |
+
WORKSPACE,
|
| 1083 |
+
timeout=120,
|
| 1084 |
+
step="clean_stale_results",
|
| 1085 |
+
accept_failure=True,
|
| 1086 |
+
)
|
| 1087 |
+
)
|
| 1088 |
+
if serial:
|
| 1089 |
+
prepare_serial_run_sh(run_sh)
|
| 1090 |
+
run_entry = run_step(
|
| 1091 |
+
run_tests_command(serial=serial),
|
| 1092 |
+
WORKSPACE,
|
| 1093 |
+
timeout=branch_timeout,
|
| 1094 |
+
env=env,
|
| 1095 |
+
step="run_tests",
|
| 1096 |
+
accept_failure=True,
|
| 1097 |
+
)
|
| 1098 |
+
branch_log.append(run_entry)
|
| 1099 |
+
branch_log.append(cleanup_lingering_processes())
|
| 1100 |
+
xml_path = find_results_xml()
|
| 1101 |
+
if xml_path is None:
|
| 1102 |
+
if best_xml:
|
| 1103 |
+
merge_best_xml(best_xml)
|
| 1104 |
+
break
|
| 1105 |
+
if serial:
|
| 1106 |
+
result["test_branch_errors"][branch] = [
|
| 1107 |
+
{
|
| 1108 |
+
"error_code": "missing_results_xml",
|
| 1109 |
+
"error_details": "eval/results.xml was not produced",
|
| 1110 |
+
}
|
| 1111 |
+
]
|
| 1112 |
+
inject_not_run(result, branch, tests, "missing_results_xml")
|
| 1113 |
+
break
|
| 1114 |
+
serial = True
|
| 1115 |
+
continue
|
| 1116 |
+
raw_xml = xml_path.read_text(errors="replace")
|
| 1117 |
+
crashes, n_tests, failures, missing = branch_attempt_metrics(
|
| 1118 |
+
raw_xml,
|
| 1119 |
+
run_output=run_entry.get("output", ""),
|
| 1120 |
+
expected_tests=n_expected,
|
| 1121 |
+
)
|
| 1122 |
+
useful = count_junit_passed(raw_xml)
|
| 1123 |
+
quality = (
|
| 1124 |
+
int(crashes == 0 and missing == 0),
|
| 1125 |
+
n_tests,
|
| 1126 |
+
useful,
|
| 1127 |
+
)
|
| 1128 |
+
if quality > best_quality:
|
| 1129 |
+
best_xml = raw_xml
|
| 1130 |
+
best_quality = quality
|
| 1131 |
+
retry = needs_serial_retry(
|
| 1132 |
+
serial=serial,
|
| 1133 |
+
crashes=crashes,
|
| 1134 |
+
missing=missing,
|
| 1135 |
+
failures=failures,
|
| 1136 |
+
n_tests=n_tests,
|
| 1137 |
+
expected_tests=n_expected,
|
| 1138 |
+
run_output=run_entry.get("output", ""),
|
| 1139 |
+
)
|
| 1140 |
+
if not retry:
|
| 1141 |
+
merge_best_xml(best_xml)
|
| 1142 |
+
break
|
| 1143 |
+
serial = True
|
| 1144 |
+
for entry in branch_log:
|
| 1145 |
+
entry["branch"] = branch
|
| 1146 |
+
result["log"].extend(branch_log)
|
| 1147 |
+
|
| 1148 |
+
return result
|
| 1149 |
+
|
| 1150 |
+
|
| 1151 |
+
def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
|
| 1152 |
+
LOG_DIR.mkdir(parents=True, exist_ok=True)
|
| 1153 |
+
write_json(LOG_DIR / "programgym_eval.json", result)
|
| 1154 |
+
write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
|
| 1155 |
+
rewards = summarize(result, metadata)
|
| 1156 |
+
write_json(LOG_DIR / "reward.json", rewards)
|
| 1157 |
+
(LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
|
| 1158 |
+
|
| 1159 |
+
|
| 1160 |
+
def main() -> None:
|
| 1161 |
+
LOG_DIR.mkdir(parents=True, exist_ok=True)
|
| 1162 |
+
log_path = LOG_DIR / "programgym_eval.log"
|
| 1163 |
+
metadata = json.loads(METADATA_PATH.read_text())
|
| 1164 |
+
branches = metadata.get("branches", {})
|
| 1165 |
+
try:
|
| 1166 |
+
result = evaluate(metadata)
|
| 1167 |
+
except Exception as exc:
|
| 1168 |
+
error_code = type(exc).__name__
|
| 1169 |
+
result = {
|
| 1170 |
+
"test_results": [],
|
| 1171 |
+
"error_code": error_code,
|
| 1172 |
+
"error_details": str(exc),
|
| 1173 |
+
"log": [
|
| 1174 |
+
{
|
| 1175 |
+
"step": "evaluator_exception",
|
| 1176 |
+
"exception_info": traceback.format_exc(),
|
| 1177 |
+
"returncode": 1,
|
| 1178 |
+
}
|
| 1179 |
+
],
|
| 1180 |
+
"solution_branch": "submission",
|
| 1181 |
+
"test_branches": [
|
| 1182 |
+
name for name, info in branches.items() if not info.get("ignored")
|
| 1183 |
+
],
|
| 1184 |
+
"test_branch_errors": {
|
| 1185 |
+
"__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
|
| 1186 |
+
},
|
| 1187 |
+
"executable_hash": None,
|
| 1188 |
+
"warnings": [],
|
| 1189 |
+
}
|
| 1190 |
+
for branch, info in branches.items():
|
| 1191 |
+
if info.get("ignored"):
|
| 1192 |
+
continue
|
| 1193 |
+
inject_not_run(result, branch, branch_tests(info), error_code)
|
| 1194 |
+
log_path.write_text(traceback.format_exc())
|
| 1195 |
+
else:
|
| 1196 |
+
log_path.write_text("")
|
| 1197 |
+
write_outputs(result, metadata)
|
| 1198 |
+
|
| 1199 |
+
|
| 1200 |
+
if __name__ == "__main__":
|
| 1201 |
+
main()
|
yobix-ai--extractous.818d94c/tests/programgym_task.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
yobix-ai--extractous.818d94c/tests/test.sh
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
|
| 4 |
+
# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
|
| 5 |
+
export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
|
| 6 |
+
|
| 7 |
+
mkdir -p /logs/verifier /logs/artifacts
|
| 8 |
+
|
| 9 |
+
write_failure() {
|
| 10 |
+
local code="$1"
|
| 11 |
+
local details="$2"
|
| 12 |
+
python3 - "$code" "$details" <<'PY'
|
| 13 |
+
import json
|
| 14 |
+
import sys
|
| 15 |
+
from pathlib import Path
|
| 16 |
+
|
| 17 |
+
code, details = sys.argv[1:3]
|
| 18 |
+
try:
|
| 19 |
+
metadata = json.loads(Path("/tests/programgym_task.json").read_text())
|
| 20 |
+
n_tests = sum(
|
| 21 |
+
len([
|
| 22 |
+
name for name in info.get("tests", [])
|
| 23 |
+
if name not in {item.get("name") for item in info.get("ignored_tests", [])}
|
| 24 |
+
])
|
| 25 |
+
for branch, info in metadata.get("branches", {}).items()
|
| 26 |
+
if not info.get("ignored")
|
| 27 |
+
)
|
| 28 |
+
except Exception:
|
| 29 |
+
n_tests = 0
|
| 30 |
+
result = {
|
| 31 |
+
"test_results": [],
|
| 32 |
+
"error_code": code,
|
| 33 |
+
"error_details": details,
|
| 34 |
+
"log": [],
|
| 35 |
+
"solution_branch": "submission",
|
| 36 |
+
"test_branches": [],
|
| 37 |
+
"test_branch_errors": {
|
| 38 |
+
"__infra__": [{"error_code": code, "error_details": details}]
|
| 39 |
+
},
|
| 40 |
+
"executable_hash": None,
|
| 41 |
+
"warnings": [],
|
| 42 |
+
}
|
| 43 |
+
diagnostics = {
|
| 44 |
+
"pass_rate": 0.0,
|
| 45 |
+
"resolved": 0,
|
| 46 |
+
"n_passed": 0,
|
| 47 |
+
"n_tests": n_tests,
|
| 48 |
+
"n_branch_errors": 1,
|
| 49 |
+
"infra_error": 1,
|
| 50 |
+
"executable_hash_present": 0,
|
| 51 |
+
}
|
| 52 |
+
Path("/logs/verifier/programgym_eval.json").write_text(
|
| 53 |
+
json.dumps(result, indent=2, sort_keys=True)
|
| 54 |
+
)
|
| 55 |
+
Path("/logs/verifier/harbor_diagnostics.json").write_text(
|
| 56 |
+
json.dumps(diagnostics, indent=2, sort_keys=True)
|
| 57 |
+
)
|
| 58 |
+
Path("/logs/verifier/reward.json").write_text(
|
| 59 |
+
json.dumps(
|
| 60 |
+
{"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
|
| 61 |
+
indent=2,
|
| 62 |
+
sort_keys=True,
|
| 63 |
+
)
|
| 64 |
+
)
|
| 65 |
+
Path("/logs/verifier/reward.txt").write_text("0.0")
|
| 66 |
+
Path("/logs/verifier/programgym_eval.log").write_text(details)
|
| 67 |
+
PY
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
if ! command -v python3 >/dev/null 2>&1; then
|
| 71 |
+
write_failure "missing_python3" "python3 is required in the cleanroom image"
|
| 72 |
+
exit 0
|
| 73 |
+
fi
|
| 74 |
+
|
| 75 |
+
if ! python3 /tests/programgym_evaluator.py; then
|
| 76 |
+
if [ ! -s /logs/verifier/reward.txt ]; then
|
| 77 |
+
write_failure "evaluator_crashed" \
|
| 78 |
+
"programgym_evaluator.py exited non-zero with no reward written"
|
| 79 |
+
fi
|
| 80 |
+
fi
|
| 81 |
+
|
| 82 |
+
exit 0
|
yobix-ai--extractous.818d94c/tests/workspace.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d618f0f5705308dc6bffe227ef9973b2f6746d5f7de020734ee491e13028a59a
|
| 3 |
+
size 277220
|
yoheimuta--go-protoparser.b54018d/environment/Dockerfile
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM ubuntu:24.04
|
| 2 |
+
ARG PROGRAMGYM_APT_REPOSITORY_BASE_URL=""
|
| 3 |
+
ARG PROGRAMGYM_GOPROXY="https://proxy.golang.org,direct"
|
| 4 |
+
ARG PROGRAMGYM_GOSUMDB="sum.golang.org"
|
| 5 |
+
ARG PROGRAMGYM_NPM_REGISTRY="https://registry.npmjs.org/"
|
| 6 |
+
ARG PROGRAMGYM_NPM_STRICT_SSL="true"
|
| 7 |
+
ARG PROGRAMGYM_PYPI_INDEX_URL="https://pypi.org/simple"
|
| 8 |
+
ARG PROGRAMGYM_PYPI_TRUSTED_HOST=""
|
| 9 |
+
ARG PROGRAMGYM_UV_INSECURE_HOST=""
|
| 10 |
+
ARG PROGRAMGYM_RUSTUP_DIST_SERVER="https://static.rust-lang.org"
|
| 11 |
+
ARG PROGRAMGYM_RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
|
| 12 |
+
ARG PROGRAMGYM_CARGO_INDEX="sparse+https://index.crates.io/"
|
| 13 |
+
ARG PROGRAMGYM_CARGO_NET_RETRY="10"
|
| 14 |
+
ARG PROGRAMGYM_CARGO_HTTP_TIMEOUT="600"
|
| 15 |
+
ARG PROGRAMGYM_CARGO_HTTP_MULTIPLEXING="false"
|
| 16 |
+
ARG PROGRAMGYM_MAVEN_MIRROR_URL=""
|
| 17 |
+
ARG PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL=""
|
| 18 |
+
ARG PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL="https://services.gradle.org/distributions"
|
| 19 |
+
ARG PROGRAMGYM_JITPACK_REPOSITORY_URL="https://jitpack.io"
|
| 20 |
+
ENV GOPROXY=${PROGRAMGYM_GOPROXY}
|
| 21 |
+
ENV GOSUMDB=${PROGRAMGYM_GOSUMDB}
|
| 22 |
+
ENV PIP_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
|
| 23 |
+
ENV PIP_TRUSTED_HOST=${PROGRAMGYM_PYPI_TRUSTED_HOST}
|
| 24 |
+
ENV UV_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
|
| 25 |
+
ENV UV_INSECURE_HOST=${PROGRAMGYM_UV_INSECURE_HOST}
|
| 26 |
+
ENV npm_config_registry=${PROGRAMGYM_NPM_REGISTRY}
|
| 27 |
+
ENV npm_config_strict_ssl=${PROGRAMGYM_NPM_STRICT_SSL}
|
| 28 |
+
ENV RUSTUP_DIST_SERVER=${PROGRAMGYM_RUSTUP_DIST_SERVER}
|
| 29 |
+
ENV RUSTUP_UPDATE_ROOT=${PROGRAMGYM_RUSTUP_UPDATE_ROOT}
|
| 30 |
+
ENV CARGO_REGISTRIES_CRATES_IO_INDEX=${PROGRAMGYM_CARGO_INDEX}
|
| 31 |
+
ENV CARGO_NET_RETRY=${PROGRAMGYM_CARGO_NET_RETRY}
|
| 32 |
+
ENV CARGO_HTTP_TIMEOUT=${PROGRAMGYM_CARGO_HTTP_TIMEOUT}
|
| 33 |
+
ENV CARGO_HTTP_MULTIPLEXING=${PROGRAMGYM_CARGO_HTTP_MULTIPLEXING}
|
| 34 |
+
ENV PROGRAMGYM_MAVEN_MIRROR_URL=${PROGRAMGYM_MAVEN_MIRROR_URL}
|
| 35 |
+
ENV PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL=${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL}
|
| 36 |
+
ENV PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL=${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL}
|
| 37 |
+
ENV PROGRAMGYM_JITPACK_REPOSITORY_URL=${PROGRAMGYM_JITPACK_REPOSITORY_URL}
|
| 38 |
+
COPY harbor_configure_apt_mirror.sh /tmp/harbor_configure_apt_mirror.sh
|
| 39 |
+
RUN chmod 0755 /tmp/harbor_configure_apt_mirror.sh \
|
| 40 |
+
&& /bin/bash /tmp/harbor_configure_apt_mirror.sh "${PROGRAMGYM_APT_REPOSITORY_BASE_URL}" \
|
| 41 |
+
&& rm -f /tmp/harbor_configure_apt_mirror.sh
|
| 42 |
+
COPY harbor_configure_java_mirrors.sh /tmp/harbor_configure_java_mirrors.sh
|
| 43 |
+
RUN chmod 0755 /tmp/harbor_configure_java_mirrors.sh \
|
| 44 |
+
&& /bin/bash /tmp/harbor_configure_java_mirrors.sh "${PROGRAMGYM_MAVEN_MIRROR_URL}" "${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL}" "${PROGRAMGYM_JITPACK_REPOSITORY_URL}" \
|
| 45 |
+
&& rm -f /tmp/harbor_configure_java_mirrors.sh
|
| 46 |
+
ENV DEBIAN_FRONTEND=noninteractive
|
| 47 |
+
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
|
| 48 |
+
ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
|
| 49 |
+
ENV GOTOOLCHAIN=auto
|
| 50 |
+
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
|
| 51 |
+
ENV UV_CACHE_DIR=/workspace/.cache/uv
|
| 52 |
+
ENV npm_config_cache=/workspace/.cache/npm
|
| 53 |
+
ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
|
| 54 |
+
ENV HOME=/workspace
|
| 55 |
+
ENV XDG_CACHE_HOME=/workspace/.cache
|
| 56 |
+
ENV PIP_CACHE_DIR=/workspace/.cache/pip
|
| 57 |
+
ENV PYTHONUSERBASE=/workspace/.local
|
| 58 |
+
ENV GOROOT=/usr/local/go
|
| 59 |
+
ENV GOPATH=/workspace/.go
|
| 60 |
+
ENV GOCACHE=/workspace/.cache/go-build
|
| 61 |
+
ENV PIP_BREAK_SYSTEM_PACKAGES=1
|
| 62 |
+
ENV PATH=/opt/programgym-venv/bin:/usr/local/go/bin:/workspace/.go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
| 63 |
+
ENV PAGER=cat
|
| 64 |
+
ENV MANPAGER=cat
|
| 65 |
+
ENV LESS=-R
|
| 66 |
+
ENV TQDM_DISABLE=1
|
| 67 |
+
ENV VIRTUAL_ENV=/opt/programgym-venv
|
| 68 |
+
RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip curl wget xz-utils unzip zip bzip2 zstd patch file binutils python3-venv tar && rm -rf /var/lib/apt/lists/*
|
| 69 |
+
COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
|
| 70 |
+
RUN set -eux; rm -rf /usr/local/go; tar -C /usr/local -xzf /tmp/programgym-go.tar.gz; rm -f /tmp/programgym-go.tar.gz; if [ ! -x /usr/local/go/bin/go ]; then echo "official Go tarball did not create /usr/local/go/bin/go" >&2; exit 1; fi; /usr/local/go/bin/go version
|
| 71 |
+
RUN python3 -m venv /opt/programgym-venv && /opt/programgym-venv/bin/python -m pip install --no-cache-dir --only-binary=:all: pytest pytest-xdist coverage
|
| 72 |
+
WORKDIR /workspace
|
| 73 |
+
ADD workspace.tar.gz /workspace/
|
| 74 |
+
COPY executable /workspace/executable
|
| 75 |
+
COPY download.sh /workspace/download.sh
|
| 76 |
+
RUN chmod 755 /workspace/download.sh
|
| 77 |
+
COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
|
| 78 |
+
RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
|
| 79 |
+
&& /bin/bash /tmp/harbor_prepare_download_env.sh \
|
| 80 |
+
&& rm -f /workspace/download.sh \
|
| 81 |
+
&& rm -f /tmp/harbor_prepare_download_env.sh
|
| 82 |
+
ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
|
| 83 |
+
RUN chmod 111 /workspace/executable
|
| 84 |
+
WORKDIR /workspace
|
| 85 |
+
# programgym-runtime-workspace-cleanup: v1
|
| 86 |
+
RUN ["bash","-lc","rm -f -- /workspace/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
|
| 87 |
+
# Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
|
| 88 |
+
# Keep tool/runtime state under /home/agent and reserve /workspace for the
|
| 89 |
+
# submission handed to the separate verifier. Keep the reference executable
|
| 90 |
+
# execute-only; the oracle temporarily restores owner read permission.
|
| 91 |
+
RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
|
| 92 |
+
RUN mkdir -p /home/agent \
|
| 93 |
+
&& chown -R agent:agent /home/agent /workspace \
|
| 94 |
+
&& chown agent:agent /workspace/executable \
|
| 95 |
+
&& chmod 111 /workspace/executable
|
| 96 |
+
ENV HOME=/home/agent
|
| 97 |
+
WORKDIR /workspace
|
| 98 |
+
RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
|
yoheimuta--go-protoparser.b54018d/environment/docker-compose.yaml
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
services:
|
| 2 |
+
main:
|
| 3 |
+
build:
|
| 4 |
+
args:
|
| 5 |
+
PROGRAMGYM_APT_REPOSITORY_BASE_URL: ${PROGRAMGYM_APT_REPOSITORY_BASE_URL:-}
|
| 6 |
+
PROGRAMGYM_GOPROXY: ${PROGRAMGYM_GOPROXY:-https://proxy.golang.org,direct}
|
| 7 |
+
PROGRAMGYM_GOSUMDB: ${PROGRAMGYM_GOSUMDB:-sum.golang.org}
|
| 8 |
+
PROGRAMGYM_NPM_REGISTRY: ${PROGRAMGYM_NPM_REGISTRY:-https://registry.npmjs.org/}
|
| 9 |
+
PROGRAMGYM_NPM_STRICT_SSL: ${PROGRAMGYM_NPM_STRICT_SSL:-true}
|
| 10 |
+
PROGRAMGYM_PYPI_INDEX_URL: ${PROGRAMGYM_PYPI_INDEX_URL:-https://pypi.org/simple}
|
| 11 |
+
PROGRAMGYM_PYPI_TRUSTED_HOST: ${PROGRAMGYM_PYPI_TRUSTED_HOST:-}
|
| 12 |
+
PROGRAMGYM_UV_INSECURE_HOST: ${PROGRAMGYM_UV_INSECURE_HOST:-}
|
| 13 |
+
PROGRAMGYM_RUSTUP_DIST_SERVER: ${PROGRAMGYM_RUSTUP_DIST_SERVER:-https://static.rust-lang.org}
|
| 14 |
+
PROGRAMGYM_RUSTUP_UPDATE_ROOT: ${PROGRAMGYM_RUSTUP_UPDATE_ROOT:-https://static.rust-lang.org/rustup}
|
| 15 |
+
PROGRAMGYM_CARGO_INDEX: ${PROGRAMGYM_CARGO_INDEX:-sparse+https://index.crates.io/}
|
| 16 |
+
PROGRAMGYM_CARGO_NET_RETRY: ${PROGRAMGYM_CARGO_NET_RETRY:-10}
|
| 17 |
+
PROGRAMGYM_CARGO_HTTP_TIMEOUT: ${PROGRAMGYM_CARGO_HTTP_TIMEOUT:-600}
|
| 18 |
+
PROGRAMGYM_CARGO_HTTP_MULTIPLEXING: ${PROGRAMGYM_CARGO_HTTP_MULTIPLEXING:-false}
|
| 19 |
+
PROGRAMGYM_MAVEN_MIRROR_URL: ${PROGRAMGYM_MAVEN_MIRROR_URL:-}
|
| 20 |
+
PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL: ${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL:-}
|
| 21 |
+
PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL: ${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL:-https://services.gradle.org/distributions}
|
| 22 |
+
PROGRAMGYM_JITPACK_REPOSITORY_URL: ${PROGRAMGYM_JITPACK_REPOSITORY_URL:-https://jitpack.io}
|
yoheimuta--go-protoparser.b54018d/environment/download.sh
ADDED
|
@@ -0,0 +1,145 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
# PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
|
| 3 |
+
# Generated deterministically from repository module metadata; do not edit.
|
| 4 |
+
set -u
|
| 5 |
+
export GOTOOLCHAIN=auto
|
| 6 |
+
mkdir -p /workspace/.programgym_build_env/go-prefetch
|
| 7 |
+
cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
|
| 8 |
+
module github.com/yoheimuta/go-protoparser/v4
|
| 9 |
+
|
| 10 |
+
go 1.13
|
| 11 |
+
PROGRAMGYM_GO_MOD_EOF
|
| 12 |
+
PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY="${GOPROXY:-direct}"
|
| 13 |
+
PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
|
| 14 |
+
case "$PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY" in
|
| 15 |
+
*"|"*|*","*)
|
| 16 |
+
PROGRAMGYM_INTERNAL_GO_FIRST_PROXY="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY%%[,|]*}"
|
| 17 |
+
PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY#*[,|]}"
|
| 18 |
+
if [[ "$PROGRAMGYM_INTERNAL_GO_FIRST_PROXY" =~ [^[:space:]] ]] && [[ "$PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER" =~ [^[:space:]] ]]; then
|
| 19 |
+
PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY="${PROGRAMGYM_GO_PUBLIC_FALLBACK_PROXY:-${PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER}}"
|
| 20 |
+
fi
|
| 21 |
+
;;
|
| 22 |
+
esac
|
| 23 |
+
if ! [[ "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" =~ [^[:space:]] ]]; then
|
| 24 |
+
PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
|
| 25 |
+
fi
|
| 26 |
+
cat > /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py <<'PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF'
|
| 27 |
+
import os
|
| 28 |
+
import signal
|
| 29 |
+
import subprocess
|
| 30 |
+
import sys
|
| 31 |
+
import time
|
| 32 |
+
|
| 33 |
+
sentinel_path, timeout_text, grace_text, proxy, *command = sys.argv[1:]
|
| 34 |
+
if not command:
|
| 35 |
+
raise SystemExit(125)
|
| 36 |
+
environment = os.environ.copy()
|
| 37 |
+
environment["GOPROXY"] = proxy
|
| 38 |
+
process = subprocess.Popen(command, env=environment, start_new_session=True)
|
| 39 |
+
try:
|
| 40 |
+
returncode = process.wait(timeout=float(timeout_text))
|
| 41 |
+
except subprocess.TimeoutExpired:
|
| 42 |
+
with open(sentinel_path, "w", encoding="utf-8") as sentinel:
|
| 43 |
+
sentinel.write("expired\n")
|
| 44 |
+
try:
|
| 45 |
+
os.killpg(process.pid, signal.SIGTERM)
|
| 46 |
+
except ProcessLookupError:
|
| 47 |
+
pass
|
| 48 |
+
deadline = time.monotonic() + float(grace_text)
|
| 49 |
+
group_alive = True
|
| 50 |
+
while time.monotonic() < deadline:
|
| 51 |
+
process.poll()
|
| 52 |
+
try:
|
| 53 |
+
os.killpg(process.pid, 0)
|
| 54 |
+
except ProcessLookupError:
|
| 55 |
+
group_alive = False
|
| 56 |
+
break
|
| 57 |
+
time.sleep(0.05)
|
| 58 |
+
if group_alive:
|
| 59 |
+
try:
|
| 60 |
+
os.killpg(process.pid, signal.SIGKILL)
|
| 61 |
+
except ProcessLookupError:
|
| 62 |
+
pass
|
| 63 |
+
process.wait()
|
| 64 |
+
raise SystemExit(124)
|
| 65 |
+
if returncode < 0:
|
| 66 |
+
returncode = 128 - returncode
|
| 67 |
+
raise SystemExit(returncode)
|
| 68 |
+
PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF
|
| 69 |
+
PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS="${PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS:-90}"
|
| 70 |
+
if ! [[ "$PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS" =~ ^[1-9][0-9]*$ ]]; then
|
| 71 |
+
printf '%s\n' "download.sh: invalid PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS=${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}" >&2
|
| 72 |
+
rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
|
| 73 |
+
if [ "${BASH_SOURCE[0]}" != "$0" ]; then
|
| 74 |
+
return 1
|
| 75 |
+
else
|
| 76 |
+
exit 1
|
| 77 |
+
fi
|
| 78 |
+
fi
|
| 79 |
+
if ! command -v python3 >/dev/null 2>&1; then
|
| 80 |
+
printf '%s\n' 'download.sh: python3 is required for bounded Nexus Go downloads' >&2
|
| 81 |
+
rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
|
| 82 |
+
if [ "${BASH_SOURCE[0]}" != "$0" ]; then
|
| 83 |
+
return 1
|
| 84 |
+
else
|
| 85 |
+
exit 1
|
| 86 |
+
fi
|
| 87 |
+
fi
|
| 88 |
+
_programgym_go_with_nexus_timeout() {
|
| 89 |
+
local programgym_go_rc
|
| 90 |
+
local programgym_go_timeout_sentinel
|
| 91 |
+
if ! programgym_go_timeout_sentinel="$(mktemp "${TMPDIR:-/tmp}/programgym-go-timeout.XXXXXX")"; then
|
| 92 |
+
return 1
|
| 93 |
+
fi
|
| 94 |
+
if python3 /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py "$programgym_go_timeout_sentinel" "$PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS" "5" "$PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY" "$@"; then
|
| 95 |
+
programgym_go_rc=0
|
| 96 |
+
else
|
| 97 |
+
programgym_go_rc=$?
|
| 98 |
+
fi
|
| 99 |
+
programgym_go_timed_out=0
|
| 100 |
+
if [ -s "$programgym_go_timeout_sentinel" ]; then
|
| 101 |
+
programgym_go_timed_out=1
|
| 102 |
+
fi
|
| 103 |
+
rm -f "$programgym_go_timeout_sentinel"
|
| 104 |
+
if [ "$programgym_go_rc" -eq 0 ]; then
|
| 105 |
+
return 0
|
| 106 |
+
fi
|
| 107 |
+
if [ -z "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" ]; then
|
| 108 |
+
printf '%s\n' "download.sh: primary Go request failed with rc=${programgym_go_rc}; GOPROXY has no explicit non-empty fallback remainder" >&2
|
| 109 |
+
return "$programgym_go_rc"
|
| 110 |
+
fi
|
| 111 |
+
if [ "$programgym_go_timed_out" -eq 1 ]; then
|
| 112 |
+
printf '%s\n' "download.sh: primary Go request exceeded ${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}s; retrying with GOPROXY=${PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY}" >&2
|
| 113 |
+
else
|
| 114 |
+
printf '%s\n' "download.sh: primary Go request failed with rc=${programgym_go_rc}; retrying with GOPROXY=${PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY}" >&2
|
| 115 |
+
fi
|
| 116 |
+
env GOPROXY="$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" "$@"
|
| 117 |
+
}
|
| 118 |
+
PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
|
| 119 |
+
if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && _programgym_go_with_nexus_timeout env GOTOOLCHAIN=auto go env GOROOT)"; then
|
| 120 |
+
printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
|
| 121 |
+
rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
|
| 122 |
+
if [ "${BASH_SOURCE[0]}" != "$0" ]; then
|
| 123 |
+
return 1
|
| 124 |
+
else
|
| 125 |
+
exit 1
|
| 126 |
+
fi
|
| 127 |
+
fi
|
| 128 |
+
if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
|
| 129 |
+
PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
|
| 130 |
+
mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
|
| 131 |
+
cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
|
| 132 |
+
export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
|
| 133 |
+
else
|
| 134 |
+
export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
|
| 135 |
+
fi
|
| 136 |
+
export PATH="$GOROOT/bin:$PATH"
|
| 137 |
+
export GOTOOLCHAIN=local
|
| 138 |
+
# No external Go module dependencies to prefetch.
|
| 139 |
+
rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
|
| 140 |
+
unset -f _programgym_go_with_nexus_timeout
|
| 141 |
+
unset PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY
|
| 142 |
+
unset PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY
|
| 143 |
+
unset PROGRAMGYM_INTERNAL_GO_FIRST_PROXY
|
| 144 |
+
unset PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER
|
| 145 |
+
unset PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS
|
yoheimuta--go-protoparser.b54018d/environment/executable
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f3dd2f7422ee6b0d3084865b9cfdb903976228e557dd1f7b94948377acf5538c
|
| 3 |
+
size 3106027
|
yoheimuta--go-protoparser.b54018d/environment/harbor_configure_apt_mirror.sh
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
|
| 4 |
+
repository_base="${1%/}"
|
| 5 |
+
if [[ -z "$repository_base" ]]; then
|
| 6 |
+
exit 0
|
| 7 |
+
fi
|
| 8 |
+
|
| 9 |
+
. /etc/os-release
|
| 10 |
+
codename="${VERSION_CODENAME:-}"
|
| 11 |
+
if [[ -z "$codename" ]]; then
|
| 12 |
+
echo "VERSION_CODENAME is not set" >&2
|
| 13 |
+
exit 1
|
| 14 |
+
fi
|
| 15 |
+
|
| 16 |
+
if [[ "$ID" == "ubuntu" ]]; then
|
| 17 |
+
repository_name="apt-proxy"
|
| 18 |
+
components="main universe restricted multiverse"
|
| 19 |
+
else
|
| 20 |
+
repository_name="debian-proxy"
|
| 21 |
+
components="main contrib non-free non-free-firmware"
|
| 22 |
+
fi
|
| 23 |
+
|
| 24 |
+
install -d /etc/apt/sources.list.d
|
| 25 |
+
rm -f /etc/apt/sources.list /etc/apt/sources.list.d/*
|
| 26 |
+
printf 'deb [trusted=yes] %s/%s %s %s\n' \
|
| 27 |
+
"$repository_base" "$repository_name" "$codename" "$components" \
|
| 28 |
+
>/etc/apt/sources.list
|
| 29 |
+
printf 'deb [trusted=yes] %s/%s %s-updates %s\n' \
|
| 30 |
+
"$repository_base" "$repository_name" "$codename" "$components" \
|
| 31 |
+
>>/etc/apt/sources.list
|
| 32 |
+
|
| 33 |
+
if [[ "$ID" != "ubuntu" ]]; then
|
| 34 |
+
printf 'deb [trusted=yes] %s/%s %s-security %s\n' \
|
| 35 |
+
"$repository_base" "debian-proxy-security" "$codename" "$components" \
|
| 36 |
+
>>/etc/apt/sources.list
|
| 37 |
+
fi
|
yoheimuta--go-protoparser.b54018d/environment/harbor_configure_java_mirrors.sh
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
|
| 4 |
+
maven_url="${1%/}"
|
| 5 |
+
plugin_url="${2%/}"
|
| 6 |
+
jitpack_url="${3%/}"
|
| 7 |
+
|
| 8 |
+
install -d /workspace/.m2 /workspace/.gradle/init.d /opt/programgym/gradle-init
|
| 9 |
+
if [[ -n "$maven_url" ]]; then
|
| 10 |
+
cat >/workspace/.m2/settings.xml <<EOF
|
| 11 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 12 |
+
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0">
|
| 13 |
+
<mirrors>
|
| 14 |
+
<mirror>
|
| 15 |
+
<id>programgym-maven</id>
|
| 16 |
+
<name>ProgramGym Maven mirror</name>
|
| 17 |
+
<url>${maven_url}</url>
|
| 18 |
+
<mirrorOf>*</mirrorOf>
|
| 19 |
+
</mirror>
|
| 20 |
+
</mirrors>
|
| 21 |
+
</settings>
|
| 22 |
+
EOF
|
| 23 |
+
fi
|
| 24 |
+
|
| 25 |
+
cat >/opt/programgym/gradle-init/programgym-mirrors.gradle <<'EOF'
|
| 26 |
+
def pbMaven = System.getenv('PROGRAMGYM_MAVEN_MIRROR_URL')
|
| 27 |
+
def pbPlugins = System.getenv('PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL')
|
| 28 |
+
def pbJitpack = System.getenv('PROGRAMGYM_JITPACK_REPOSITORY_URL')
|
| 29 |
+
|
| 30 |
+
settingsEvaluated { settings ->
|
| 31 |
+
settings.pluginManagement.repositories {
|
| 32 |
+
if (pbPlugins) { maven { url = uri(pbPlugins) } }
|
| 33 |
+
if (pbMaven) { maven { url = uri(pbMaven) } }
|
| 34 |
+
}
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
allprojects {
|
| 38 |
+
buildscript.repositories {
|
| 39 |
+
if (pbPlugins) { maven { url = uri(pbPlugins) } }
|
| 40 |
+
if (pbMaven) { maven { url = uri(pbMaven) } }
|
| 41 |
+
if (pbJitpack) { maven { url = uri(pbJitpack) } }
|
| 42 |
+
}
|
| 43 |
+
repositories {
|
| 44 |
+
if (pbMaven) { maven { url = uri(pbMaven) } }
|
| 45 |
+
if (pbJitpack) { maven { url = uri(pbJitpack) } }
|
| 46 |
+
}
|
| 47 |
+
}
|
| 48 |
+
EOF
|
| 49 |
+
cp /opt/programgym/gradle-init/programgym-mirrors.gradle \
|
| 50 |
+
/workspace/.gradle/init.d/programgym-mirrors.gradle
|
yoheimuta--go-protoparser.b54018d/environment/harbor_prepare_download_env.sh
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
cd /workspace
|
| 4 |
+
set -a
|
| 5 |
+
if [[ -n "${PROGRAMGYM_MAVEN_MIRROR_URL:-}" ]]; then
|
| 6 |
+
sed -i -e "s|https://repo.maven.apache.org/maven2|${PROGRAMGYM_MAVEN_MIRROR_URL%/}|g" -e "s|https://repo1.maven.org/maven2|${PROGRAMGYM_MAVEN_MIRROR_URL%/}|g" /workspace/download.sh
|
| 7 |
+
fi
|
| 8 |
+
if [[ -n "${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL:-}" ]]; then
|
| 9 |
+
sed -i -e "s|https://services.gradle.org/distributions|${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL%/}|g" -e "s|https://downloads.gradle.org/distributions|${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL%/}|g" /workspace/download.sh
|
| 10 |
+
fi
|
| 11 |
+
if [[ -n "${PROGRAMGYM_JITPACK_REPOSITORY_URL:-}" ]]; then
|
| 12 |
+
sed -i -e "s|https://jitpack.io|${PROGRAMGYM_JITPACK_REPOSITORY_URL%/}|g" /workspace/download.sh
|
| 13 |
+
fi
|
| 14 |
+
source /workspace/download.sh
|
| 15 |
+
set +a
|
| 16 |
+
python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
|
| 17 |
+
import os
|
| 18 |
+
import shlex
|
| 19 |
+
|
| 20 |
+
ignored = {
|
| 21 |
+
"ALL_PROXY",
|
| 22 |
+
"HTTP_PROXY",
|
| 23 |
+
"HTTPS_PROXY",
|
| 24 |
+
"NO_PROXY",
|
| 25 |
+
"OLDPWD",
|
| 26 |
+
"PIP_PROXY",
|
| 27 |
+
"PWD",
|
| 28 |
+
"SHLVL",
|
| 29 |
+
"_",
|
| 30 |
+
"all_proxy",
|
| 31 |
+
"http_proxy",
|
| 32 |
+
"https_proxy",
|
| 33 |
+
"no_proxy",
|
| 34 |
+
"pip_proxy",
|
| 35 |
+
}
|
| 36 |
+
for key in sorted(os.environ):
|
| 37 |
+
if key in ignored or key.startswith("BASH_FUNC_"):
|
| 38 |
+
continue
|
| 39 |
+
value = os.environ[key]
|
| 40 |
+
if "\n" in value:
|
| 41 |
+
continue
|
| 42 |
+
print(f"export {key}={shlex.quote(value)}")
|
| 43 |
+
PY
|
| 44 |
+
chmod 0644 /etc/profile.d/programgym_download_env.sh
|
yoheimuta--go-protoparser.b54018d/environment/programgym-go.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
|
| 3 |
+
size 59908810
|
yoheimuta--go-protoparser.b54018d/environment/workspace.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:34f57ca80229f489f99f7063f0c62df760009393ea1a43e94b52e3693e1650bd
|
| 3 |
+
size 4714
|
yoheimuta--go-protoparser.b54018d/instruction.md
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
You are a helpful assistant that can interact with a computer.
|
| 2 |
+
|
| 3 |
+
This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
|
| 4 |
+
Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
|
| 5 |
+
You must figure out the behavior solely by running and interacting with the provided binary.
|
| 6 |
+
Writing original code based on observed behavior is the entire point of this benchmark.
|
| 7 |
+
|
| 8 |
+
Any approach that shortcuts this — finding existing source code, wrapping the binary,
|
| 9 |
+
or installing the original tool — does not count as a solution. It will be detected by an
|
| 10 |
+
automated judge, marked as a disqualification, and scored as a failure.
|
| 11 |
+
The trace will be posted to an online wall of shame.
|
| 12 |
+
|
| 13 |
+
<RULES>
|
| 14 |
+
## What is not allowed
|
| 15 |
+
|
| 16 |
+
### 1. Obtaining source code
|
| 17 |
+
|
| 18 |
+
The only source of truth about what the executable does is the executable itself and its
|
| 19 |
+
bundled documentation. You must not search the internet, package registries, or any external
|
| 20 |
+
source for information about this project's source code. Even if you recognize what the
|
| 21 |
+
executable is, you must reimplement it from behavioral observation alone.
|
| 22 |
+
|
| 23 |
+
This includes but is not limited to:
|
| 24 |
+
- Cloning or browsing the original GitHub repository, its forks, or mirrors
|
| 25 |
+
- Downloading the project from package registries: `cargo install <project>`, `go get github.com/<org>/<project>`, `pip install <project>`, `apt-get source <project>`, `npm install <project>`, etc.
|
| 26 |
+
- Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
|
| 27 |
+
- Using a package manager to download the project as a dependency and then reading its cached source (e.g., navigating into `~/.cargo/registry/src/` or `$(go env GOPATH)/pkg/mod/`)
|
| 28 |
+
- Searching the web for the project's source code or implementation details
|
| 29 |
+
|
| 30 |
+
### 2. Wrapping or reusing the original binary
|
| 31 |
+
|
| 32 |
+
Your submission must be a genuine reimplementation. The provided `./executable` is for
|
| 33 |
+
observation only — your final solution must not depend on it or any other pre-built version
|
| 34 |
+
of the same tool at runtime.
|
| 35 |
+
|
| 36 |
+
This includes but is not limited to:
|
| 37 |
+
- Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
|
| 38 |
+
- Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
|
| 39 |
+
- Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
|
| 40 |
+
- Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
|
| 41 |
+
- Re-linking prebuilt `.o` object files found in the workspace without writing new source code
|
| 42 |
+
|
| 43 |
+
### 3. Binary analysis of the provided executable
|
| 44 |
+
|
| 45 |
+
All information about the provided `./executable` must be obtained by interacting with it
|
| 46 |
+
through its normal user interface (CLI flags, stdin/stdout, etc.).
|
| 47 |
+
- You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
|
| 48 |
+
- You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
|
| 49 |
+
|
| 50 |
+
Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
|
| 51 |
+
analysis tools on binaries that you produce yourself during development.
|
| 52 |
+
|
| 53 |
+
## What IS allowed
|
| 54 |
+
|
| 55 |
+
- Running the executable with any inputs, flags, and arguments to observe its behavior
|
| 56 |
+
- Reading any documentation files bundled in the workspace
|
| 57 |
+
</RULES>
|
| 58 |
+
|
| 59 |
+
## Task context
|
| 60 |
+
|
| 61 |
+
We want to write the source code for a given executable.
|
| 62 |
+
The executable is located at `./executable` in the workspace root.
|
| 63 |
+
|
| 64 |
+
You also have access to the existing documentation.
|
| 65 |
+
|
| 66 |
+
## Your task
|
| 67 |
+
|
| 68 |
+
Implement the source code to generate an executable of exactly identical behavior as the original.
|
| 69 |
+
|
| 70 |
+
No project-specific dependencies are pre-installed.
|
| 71 |
+
You do NOT have access to the internet.
|
| 72 |
+
**IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
|
| 73 |
+
Finally, commit your changes.
|
| 74 |
+
|
| 75 |
+
Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
|
| 76 |
+
`compile.sh` should be executable and should install any dependencies needed to compile the executable.
|
| 77 |
+
If your compile.sh fails to compile on a fresh checkout, your task has failed.
|
| 78 |
+
|
| 79 |
+
## Important: This is a reverse-engineering benchmark
|
| 80 |
+
|
| 81 |
+
Your goal is to write original code from scratch that reproduces the executable's behavior.
|
| 82 |
+
The only way to learn what the executable does is to run it and read its bundled documentation.
|
| 83 |
+
|
| 84 |
+
Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
|
| 85 |
+
provided binary will be detected by an automated judge, disqualified, and scored as zero.
|
| 86 |
+
See the full rules in the system prompt above. Key points:
|
| 87 |
+
|
| 88 |
+
- Do NOT search the internet, clone repos, or download the project from any package registry
|
| 89 |
+
- Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
|
| 90 |
+
- Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
|
| 91 |
+
- You SHOULD extensively test the executable to understand its behavior before writing code.
|
| 92 |
+
If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
|
| 93 |
+
|
| 94 |
+
## Recommended Workflow
|
| 95 |
+
|
| 96 |
+
1. Explore all documentation files
|
| 97 |
+
2. Play with the executable to understand its behavior (however, you MUST NOT decompile `./executable` or perform any other form of binary or strace/ltrace analysis on it)
|
| 98 |
+
3. Write the source code to implement the behavior
|
yoheimuta--go-protoparser.b54018d/solution/solve.sh
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
# Oracle-only ceiling check. The reference is execute-only for normal agents;
|
| 3 |
+
# because the oracle runs as the owning `agent` user it can temporarily add read
|
| 4 |
+
# permission and encode the binary for Harbor's normal artifact handoff.
|
| 5 |
+
set -euo pipefail
|
| 6 |
+
test -f ./executable
|
| 7 |
+
chmod u+r ./executable
|
| 8 |
+
python3 - <<'PY'
|
| 9 |
+
import base64
|
| 10 |
+
from pathlib import Path
|
| 11 |
+
|
| 12 |
+
Path(".programgym_oracle_reference").write_bytes(
|
| 13 |
+
base64.b64encode(Path("executable").read_bytes())
|
| 14 |
+
)
|
| 15 |
+
PY
|
| 16 |
+
chmod u-r ./executable
|
| 17 |
+
cat > compile.sh <<'EOF'
|
| 18 |
+
#!/usr/bin/env bash
|
| 19 |
+
set -euo pipefail
|
| 20 |
+
if [ -f ./.programgym_oracle_reference ]; then
|
| 21 |
+
python3 - <<'PY'
|
| 22 |
+
import base64
|
| 23 |
+
from pathlib import Path
|
| 24 |
+
|
| 25 |
+
Path("executable").write_bytes(
|
| 26 |
+
base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
|
| 27 |
+
)
|
| 28 |
+
PY
|
| 29 |
+
fi
|
| 30 |
+
test -f ./executable
|
| 31 |
+
chmod +x ./executable
|
| 32 |
+
EOF
|
| 33 |
+
chmod +x compile.sh
|