Marquis03 commited on
Commit
22e9c57
·
verified ·
1 Parent(s): f645138

commit (part 79)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +7 -0
  2. mattn--goreman.6e0d688/tests/download.sh +183 -0
  3. mattn--goreman.6e0d688/tests/executable +3 -0
  4. mattn--goreman.6e0d688/tests/harbor_configure_apt_mirror.sh +37 -0
  5. mattn--goreman.6e0d688/tests/harbor_configure_java_mirrors.sh +50 -0
  6. mattn--goreman.6e0d688/tests/harbor_prepare_download_env.sh +44 -0
  7. mattn--goreman.6e0d688/tests/programgym-go.tar.gz +3 -0
  8. mattn--goreman.6e0d688/tests/programgym_evaluator.py +1201 -0
  9. mattn--goreman.6e0d688/tests/programgym_task.json +300 -0
  10. mattn--goreman.6e0d688/tests/test.sh +82 -0
  11. mattn--goreman.6e0d688/tests/workspace.tar.gz +3 -0
  12. mattolenik--hclq.5b31af0/environment/Dockerfile +1 -0
  13. mattolenik--hclq.5b31af0/tests/Dockerfile +1 -0
  14. matze--wastebin.b494662/environment/Dockerfile +93 -0
  15. matze--wastebin.b494662/environment/docker-compose.yaml +22 -0
  16. matze--wastebin.b494662/environment/download.sh +3279 -0
  17. matze--wastebin.b494662/environment/executable +3 -0
  18. matze--wastebin.b494662/environment/harbor_configure_apt_mirror.sh +37 -0
  19. matze--wastebin.b494662/environment/harbor_configure_java_mirrors.sh +50 -0
  20. matze--wastebin.b494662/environment/harbor_prepare_download_env.sh +47 -0
  21. matze--wastebin.b494662/environment/workspace.tar.gz +3 -0
  22. matze--wastebin.b494662/instruction.md +98 -0
  23. matze--wastebin.b494662/solution/solve.sh +33 -0
  24. matze--wastebin.b494662/task.toml +69 -0
  25. matze--wastebin.b494662/tests/Dockerfile +107 -0
  26. matze--wastebin.b494662/tests/blobs/tests/generated_module_01.tar.gz +3 -0
  27. matze--wastebin.b494662/tests/blobs/tests/generated_module_02.tar.gz +3 -0
  28. matze--wastebin.b494662/tests/blobs/tests/generated_module_03.tar.gz +3 -0
  29. matze--wastebin.b494662/tests/blobs/tests/generated_module_04.tar.gz +3 -0
  30. matze--wastebin.b494662/tests/docker-compose.yaml +22 -0
  31. matze--wastebin.b494662/tests/download.sh +3279 -0
  32. matze--wastebin.b494662/tests/executable +3 -0
  33. matze--wastebin.b494662/tests/harbor_configure_apt_mirror.sh +37 -0
  34. matze--wastebin.b494662/tests/harbor_configure_java_mirrors.sh +50 -0
  35. matze--wastebin.b494662/tests/harbor_prepare_download_env.sh +47 -0
  36. matze--wastebin.b494662/tests/programgym_evaluator.py +1201 -0
  37. matze--wastebin.b494662/tests/programgym_task.json +0 -0
  38. matze--wastebin.b494662/tests/test.sh +82 -0
  39. matze--wastebin.b494662/tests/workspace.tar.gz +3 -0
  40. mavam--libbf.4c9efc1/environment/Dockerfile +1 -0
  41. mavam--libbf.4c9efc1/tests/Dockerfile +1 -0
  42. max-rocket-internet--k8s-event-logger.caab565/environment/Dockerfile +61 -0
  43. max-rocket-internet--k8s-event-logger.caab565/environment/download.sh +230 -0
  44. max-rocket-internet--k8s-event-logger.caab565/environment/executable +3 -0
  45. max-rocket-internet--k8s-event-logger.caab565/environment/programgym-go.tar.gz +3 -0
  46. max-rocket-internet--k8s-event-logger.caab565/environment/workspace.tar.gz +3 -0
  47. max-rocket-internet--k8s-event-logger.caab565/instruction.md +98 -0
  48. max-rocket-internet--k8s-event-logger.caab565/solution/solve.sh +33 -0
  49. max-rocket-internet--k8s-event-logger.caab565/task.toml +69 -0
  50. max-rocket-internet--k8s-event-logger.caab565/tests/Dockerfile +69 -0
.gitattributes CHANGED
@@ -3441,3 +3441,10 @@ marcusbuffett--pipe-rename.be217f1/tests/executable filter=lfs diff=lfs merge=lf
3441
  mateidavid--zstr.7dc6570/environment/executable filter=lfs diff=lfs merge=lfs -text
3442
  mateidavid--zstr.7dc6570/tests/executable filter=lfs diff=lfs merge=lfs -text
3443
  mattn--goreman.6e0d688/environment/executable filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
3441
  mateidavid--zstr.7dc6570/environment/executable filter=lfs diff=lfs merge=lfs -text
3442
  mateidavid--zstr.7dc6570/tests/executable filter=lfs diff=lfs merge=lfs -text
3443
  mattn--goreman.6e0d688/environment/executable filter=lfs diff=lfs merge=lfs -text
3444
+ mattn--goreman.6e0d688/tests/executable filter=lfs diff=lfs merge=lfs -text
3445
+ matze--wastebin.b494662/environment/executable filter=lfs diff=lfs merge=lfs -text
3446
+ matze--wastebin.b494662/tests/executable filter=lfs diff=lfs merge=lfs -text
3447
+ max-rocket-internet--k8s-event-logger.caab565/environment/executable filter=lfs diff=lfs merge=lfs -text
3448
+ max-rocket-internet--k8s-event-logger.caab565/tests/executable filter=lfs diff=lfs merge=lfs -text
3449
+ maxmind--geoip2-csv-converter.ee705d4/environment/executable filter=lfs diff=lfs merge=lfs -text
3450
+ maxmind--geoip2-csv-converter.ee705d4/tests/executable filter=lfs diff=lfs merge=lfs -text
mattn--goreman.6e0d688/tests/download.sh ADDED
@@ -0,0 +1,183 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/mattn/goreman
9
+
10
+ go 1.24.0
11
+
12
+ require (
13
+ github.com/joho/godotenv v1.5.1
14
+ github.com/mattn/go-colorable v0.1.14
15
+ golang.org/x/sys v0.41.0
16
+ gopkg.in/yaml.v3 v3.0.1
17
+ )
18
+
19
+ require github.com/mattn/go-isatty v0.0.20 // indirect
20
+ PROGRAMGYM_GO_MOD_EOF
21
+ cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
22
+ github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0=
23
+ github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=
24
+ github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
25
+ github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
26
+ github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE=
27
+ github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8=
28
+ github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
29
+ github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
30
+ github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
31
+ golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
32
+ golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
33
+ golang.org/x/sys v0.27.0 h1:wBqf8DvsY9Y/2P8gAfPDEYNuS30J4lPHJxXSb/nJZ+s=
34
+ golang.org/x/sys v0.27.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
35
+ golang.org/x/sys v0.41.0 h1:Ivj+2Cp/ylzLiEU89QhWblYnOE9zerudt9Ftecq2C6k=
36
+ golang.org/x/sys v0.41.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
37
+ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
38
+ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
39
+ gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
40
+ gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
41
+ PROGRAMGYM_GO_SUM_EOF
42
+ PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY="${GOPROXY:-direct}"
43
+ PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
44
+ case "$PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY" in
45
+ *"|"*|*","*)
46
+ PROGRAMGYM_INTERNAL_GO_FIRST_PROXY="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY%%[,|]*}"
47
+ PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY#*[,|]}"
48
+ if [[ "$PROGRAMGYM_INTERNAL_GO_FIRST_PROXY" =~ [^[:space:]] ]] && [[ "$PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER" =~ [^[:space:]] ]]; then
49
+ PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY="${PROGRAMGYM_GO_PUBLIC_FALLBACK_PROXY:-${PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER}}"
50
+ fi
51
+ ;;
52
+ esac
53
+ if ! [[ "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" =~ [^[:space:]] ]]; then
54
+ PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
55
+ fi
56
+ cat > /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py <<'PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF'
57
+ import os
58
+ import signal
59
+ import subprocess
60
+ import sys
61
+ import time
62
+
63
+ sentinel_path, timeout_text, grace_text, proxy, *command = sys.argv[1:]
64
+ if not command:
65
+ raise SystemExit(125)
66
+ environment = os.environ.copy()
67
+ environment["GOPROXY"] = proxy
68
+ process = subprocess.Popen(command, env=environment, start_new_session=True)
69
+ try:
70
+ returncode = process.wait(timeout=float(timeout_text))
71
+ except subprocess.TimeoutExpired:
72
+ with open(sentinel_path, "w", encoding="utf-8") as sentinel:
73
+ sentinel.write("expired\n")
74
+ try:
75
+ os.killpg(process.pid, signal.SIGTERM)
76
+ except ProcessLookupError:
77
+ pass
78
+ deadline = time.monotonic() + float(grace_text)
79
+ group_alive = True
80
+ while time.monotonic() < deadline:
81
+ process.poll()
82
+ try:
83
+ os.killpg(process.pid, 0)
84
+ except ProcessLookupError:
85
+ group_alive = False
86
+ break
87
+ time.sleep(0.05)
88
+ if group_alive:
89
+ try:
90
+ os.killpg(process.pid, signal.SIGKILL)
91
+ except ProcessLookupError:
92
+ pass
93
+ process.wait()
94
+ raise SystemExit(124)
95
+ if returncode < 0:
96
+ returncode = 128 - returncode
97
+ raise SystemExit(returncode)
98
+ PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF
99
+ PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS="${PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS:-90}"
100
+ if ! [[ "$PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS" =~ ^[1-9][0-9]*$ ]]; then
101
+ printf '%s\n' "download.sh: invalid PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS=${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}" >&2
102
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
103
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
104
+ return 1
105
+ else
106
+ exit 1
107
+ fi
108
+ fi
109
+ if ! command -v python3 >/dev/null 2>&1; then
110
+ printf '%s\n' 'download.sh: python3 is required for bounded Nexus Go downloads' >&2
111
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
112
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
113
+ return 1
114
+ else
115
+ exit 1
116
+ fi
117
+ fi
118
+ _programgym_go_with_nexus_timeout() {
119
+ local programgym_go_rc
120
+ local programgym_go_timeout_sentinel
121
+ if ! programgym_go_timeout_sentinel="$(mktemp "${TMPDIR:-/tmp}/programgym-go-timeout.XXXXXX")"; then
122
+ return 1
123
+ fi
124
+ 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
125
+ programgym_go_rc=0
126
+ else
127
+ programgym_go_rc=$?
128
+ fi
129
+ programgym_go_timed_out=0
130
+ if [ -s "$programgym_go_timeout_sentinel" ]; then
131
+ programgym_go_timed_out=1
132
+ fi
133
+ rm -f "$programgym_go_timeout_sentinel"
134
+ if [ "$programgym_go_rc" -eq 0 ]; then
135
+ return 0
136
+ fi
137
+ if [ -z "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" ]; then
138
+ printf '%s\n' "download.sh: primary Go request failed with rc=${programgym_go_rc}; GOPROXY has no explicit non-empty fallback remainder" >&2
139
+ return "$programgym_go_rc"
140
+ fi
141
+ if [ "$programgym_go_timed_out" -eq 1 ]; then
142
+ 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
143
+ else
144
+ printf '%s\n' "download.sh: primary Go request failed with rc=${programgym_go_rc}; retrying with GOPROXY=${PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY}" >&2
145
+ fi
146
+ env GOPROXY="$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" "$@"
147
+ }
148
+ PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
149
+ if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && _programgym_go_with_nexus_timeout env GOTOOLCHAIN=auto go env GOROOT)"; then
150
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
151
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
152
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
153
+ return 1
154
+ else
155
+ exit 1
156
+ fi
157
+ fi
158
+ if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
159
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
160
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
161
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
162
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
163
+ else
164
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
165
+ fi
166
+ export PATH="$GOROOT/bin:$PATH"
167
+ export GOTOOLCHAIN=local
168
+ if ! (cd /workspace/.programgym_build_env/go-prefetch && _programgym_go_with_nexus_timeout go mod download -modfile=/workspace/.programgym_build_env/go-prefetch/go.mod all); then
169
+ printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
170
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
171
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
172
+ return 1
173
+ else
174
+ exit 1
175
+ fi
176
+ fi
177
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
178
+ unset -f _programgym_go_with_nexus_timeout
179
+ unset PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY
180
+ unset PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY
181
+ unset PROGRAMGYM_INTERNAL_GO_FIRST_PROXY
182
+ unset PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER
183
+ unset PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS
mattn--goreman.6e0d688/tests/executable ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ab6fd1db49f95a214f443bf6effbe5104908d71e3e8938b629b42de1d9bc13d
3
+ size 9142330
mattn--goreman.6e0d688/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
mattn--goreman.6e0d688/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
mattn--goreman.6e0d688/tests/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
mattn--goreman.6e0d688/tests/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
mattn--goreman.6e0d688/tests/programgym_evaluator.py ADDED
@@ -0,0 +1,1201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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()
mattn--goreman.6e0d688/tests/programgym_task.json ADDED
@@ -0,0 +1,300 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "branches": {
3
+ "generated_module_01": {
4
+ "ignore_reason": "",
5
+ "ignored": false,
6
+ "ignored_tests": [],
7
+ "tests": [
8
+ "eval.tests.test_01_dispatch_help_version.test_help_subcommand_prints_usage",
9
+ "eval.tests.test_01_dispatch_help_version.test_help_with_task_argument_still_usage",
10
+ "eval.tests.test_01_dispatch_help_version.test_long_help_flag_prints_flag_usage",
11
+ "eval.tests.test_01_dispatch_help_version.test_no_args_prints_usage_to_stderr",
12
+ "eval.tests.test_01_dispatch_help_version.test_short_h_flag_prints_flag_usage",
13
+ "eval.tests.test_01_dispatch_help_version.test_unknown_subcommand_empty_stdout",
14
+ "eval.tests.test_01_dispatch_help_version.test_unknown_subcommand_reaches_usage",
15
+ "eval.tests.test_01_dispatch_help_version.test_usage_includes_flag_defaults",
16
+ "eval.tests.test_01_dispatch_help_version.test_version_output_is_single_line",
17
+ "eval.tests.test_01_dispatch_help_version.test_version_prints_exact_version",
18
+ "eval.tests.test_02_check.test_check_case_sensitive_sort",
19
+ "eval.tests.test_02_check.test_check_custom_procfile_flag",
20
+ "eval.tests.test_02_check.test_check_does_not_print_commands",
21
+ "eval.tests.test_02_check.test_check_empty_command_is_valid_entry",
22
+ "eval.tests.test_02_check.test_check_empty_procfile_no_valid_entry",
23
+ "eval.tests.test_02_check.test_check_ignores_comments_and_blank_lines",
24
+ "eval.tests.test_02_check.test_check_missing_procfile_error",
25
+ "eval.tests.test_02_check.test_check_missing_procfile_flag_error",
26
+ "eval.tests.test_02_check.test_check_numeric_names_string_sort",
27
+ "eval.tests.test_02_check.test_check_single_proc",
28
+ "eval.tests.test_02_check.test_check_trim_names_and_command",
29
+ "eval.tests.test_02_check.test_check_valid_procfile_sorted",
30
+ "eval.tests.test_03_export.test_export_baseport_flag_shifts_ports",
31
+ "eval.tests.test_03_export.test_export_command_line_preserves_arguments",
32
+ "eval.tests.test_03_export.test_export_conf_boilerplate",
33
+ "eval.tests.test_03_export.test_export_conf_chdir_is_procfile_dir",
34
+ "eval.tests.test_03_export.test_export_creates_nested_output_dir",
35
+ "eval.tests.test_03_export.test_export_creates_one_conf_per_proc",
36
+ "eval.tests.test_03_export.test_export_dotenv_export_prefix_stripped",
37
+ "eval.tests.test_03_export.test_export_dotenv_single_quote_escape",
38
+ "eval.tests.test_03_export.test_export_dotenv_skips_lines_without_equals",
39
+ "eval.tests.test_03_export.test_export_dotenv_trims_whitespace",
40
+ "eval.tests.test_03_export.test_export_env_vars_from_dotenv",
41
+ "eval.tests.test_03_export.test_export_extra_positional_usage",
42
+ "eval.tests.test_03_export.test_export_port_first_proc_single",
43
+ "eval.tests.test_03_export.test_export_port_two_procs_increment",
44
+ "eval.tests.test_03_export.test_export_to_file_path_fails",
45
+ "eval.tests.test_03_export.test_export_unknown_format_no_confs",
46
+ "eval.tests.test_03_export.test_export_wrong_arg_count_usage",
47
+ "eval.tests.test_04_config_flags.test_basedir_flag_invalid_path_error",
48
+ "eval.tests.test_04_config_flags.test_basedir_flag_reads_procfile_in_dir",
49
+ "eval.tests.test_04_config_flags.test_flag_after_subcommand_is_positional",
50
+ "eval.tests.test_04_config_flags.test_goreman_config_basedir",
51
+ "eval.tests.test_04_config_flags.test_goreman_config_basedir_invalid_error",
52
+ "eval.tests.test_04_config_flags.test_goreman_config_baseport_affects_export",
53
+ "eval.tests.test_04_config_flags.test_goreman_config_flag_baseport_wins",
54
+ "eval.tests.test_04_config_flags.test_goreman_config_malformed_ignored",
55
+ "eval.tests.test_04_config_flags.test_goreman_config_overrides_f_flag",
56
+ "eval.tests.test_04_config_flags.test_goreman_config_procfile_override",
57
+ "eval.tests.test_04_config_flags.test_help_lists_logtime_flag_default",
58
+ "eval.tests.test_04_config_flags.test_no_goreman_config_defaults_used",
59
+ "eval.tests.test_05_run.test_run_goreman_config_port",
60
+ "eval.tests.test_05_run.test_run_goreman_rpc_port_env",
61
+ "eval.tests.test_05_run.test_run_goreman_rpc_port_invalid_env_falls_back",
62
+ "eval.tests.test_05_run.test_run_goreman_rpc_server_env",
63
+ "eval.tests.test_05_run.test_run_no_server_connection_refused[list]",
64
+ "eval.tests.test_05_run.test_run_no_server_connection_refused[restart-all]",
65
+ "eval.tests.test_05_run.test_run_no_server_connection_refused[restart]",
66
+ "eval.tests.test_05_run.test_run_no_server_connection_refused[start]",
67
+ "eval.tests.test_05_run.test_run_no_server_connection_refused[status]",
68
+ "eval.tests.test_05_run.test_run_no_server_connection_refused[stop-all]",
69
+ "eval.tests.test_05_run.test_run_no_server_connection_refused[stop]",
70
+ "eval.tests.test_05_run.test_run_port_flag_selects_target",
71
+ "eval.tests.test_05_run.test_run_single_argument_usage",
72
+ "eval.tests.test_05_run.test_run_unknown_command_still_dials",
73
+ "eval.tests.test_06_start.test_start_assigns_incrementing_ports",
74
+ "eval.tests.test_06_start.test_start_dotenv_applies_to_named_subset",
75
+ "eval.tests.test_06_start.test_start_exit_on_error",
76
+ "eval.tests.test_06_start.test_start_limits_to_named_procs",
77
+ "eval.tests.test_06_start.test_start_loads_dotenv_into_subprocess",
78
+ "eval.tests.test_06_start.test_start_logs_starting_and_terminating",
79
+ "eval.tests.test_06_start.test_start_runs_short_procs_and_exits",
80
+ "eval.tests.test_06_start.test_start_set_ports_false_no_port_env",
81
+ "eval.tests.test_06_start.test_start_sets_port_env_for_subprocess",
82
+ "eval.tests.test_06_start.test_start_sets_port_env_incremented_second_proc",
83
+ "eval.tests.test_06_start.test_start_unknown_proc_fails"
84
+ ]
85
+ },
86
+ "generated_module_02": {
87
+ "ignore_reason": "",
88
+ "ignored": false,
89
+ "ignored_tests": [],
90
+ "tests": [
91
+ "eval.tests.test_proc_lifecycle.test_basedir_changes_procfile_resolution",
92
+ "eval.tests.test_proc_lifecycle.test_check_empty_procfile_reports_no_valid_entry",
93
+ "eval.tests.test_proc_lifecycle.test_check_lists_procfile_entries[web: echo hi\\n-web]",
94
+ "eval.tests.test_proc_lifecycle.test_check_lists_procfile_entries[web: echo hi\\ndb: echo db\\n# comment\\n : ignored\\n-, db, web]",
95
+ "eval.tests.test_proc_lifecycle.test_check_lists_procfile_entries[web: echo hi\\ndb: echo db\\n-db, web]",
96
+ "eval.tests.test_proc_lifecycle.test_check_missing_procfile_reports_open_error",
97
+ "eval.tests.test_proc_lifecycle.test_cli_port_flag_overrides_env",
98
+ "eval.tests.test_proc_lifecycle.test_dot_goreman_config_overrides_procfile",
99
+ "eval.tests.test_proc_lifecycle.test_help_lists_tasks_and_options",
100
+ "eval.tests.test_proc_lifecycle.test_no_args_prints_usage",
101
+ "eval.tests.test_proc_lifecycle.test_rpc_port_from_env_var",
102
+ "eval.tests.test_proc_lifecycle.test_rpc_server_disabled_refuses_connection",
103
+ "eval.tests.test_proc_lifecycle.test_run_list_lists_proc_names",
104
+ "eval.tests.test_proc_lifecycle.test_run_restart_all_keeps_procs_but_reports_restart",
105
+ "eval.tests.test_proc_lifecycle.test_run_restart_keeps_proc_running",
106
+ "eval.tests.test_proc_lifecycle.test_run_restart_unknown_proc_reports_unknown",
107
+ "eval.tests.test_proc_lifecycle.test_run_start_after_stop_respawns",
108
+ "eval.tests.test_proc_lifecycle.test_run_start_already_running_is_noop",
109
+ "eval.tests.test_proc_lifecycle.test_run_status_marks_running_proc",
110
+ "eval.tests.test_proc_lifecycle.test_run_stop_all_stops_all",
111
+ "eval.tests.test_proc_lifecycle.test_run_stop_already_stopped_returns_success",
112
+ "eval.tests.test_proc_lifecycle.test_run_stop_then_status_shows_stopped",
113
+ "eval.tests.test_proc_lifecycle.test_run_stop_unknown_proc_reports_unknown",
114
+ "eval.tests.test_proc_lifecycle.test_run_unknown_lifecycle_command_fails",
115
+ "eval.tests.test_proc_lifecycle.test_run_without_supervisor_dial_refused",
116
+ "eval.tests.test_proc_lifecycle.test_start_applies_baseport_and_port_env_increment",
117
+ "eval.tests.test_proc_lifecycle.test_start_exit_on_error_fails_with_subprocess_status",
118
+ "eval.tests.test_proc_lifecycle.test_start_exit_on_stop_false_blocks_supervisor_exit",
119
+ "eval.tests.test_proc_lifecycle.test_start_select_subset_only_spawns_listed_procs",
120
+ "eval.tests.test_proc_lifecycle.test_start_set_ports_false_skips_port_env_and_startup_log",
121
+ "eval.tests.test_proc_lifecycle.test_start_sighup_terminates_supervisor",
122
+ "eval.tests.test_proc_lifecycle.test_start_sigtint_terminates_all_procs",
123
+ "eval.tests.test_proc_lifecycle.test_start_spawns_and_terminates_each_managed_proc",
124
+ "eval.tests.test_proc_lifecycle.test_start_terminates_on_sigterm",
125
+ "eval.tests.test_proc_lifecycle.test_start_unknown_proc_subset_reports_unknown_proc",
126
+ "eval.tests.test_proc_lifecycle.test_stop_kills_stubborn_proc_via_sigkill_fallback",
127
+ "eval.tests.test_proc_lifecycle.test_stop_terminates_background_grandchild_group",
128
+ "eval.tests.test_proc_lifecycle.test_unknown_subcommand_prints_usage",
129
+ "eval.tests.test_proc_lifecycle.test_version_prints_semver"
130
+ ]
131
+ },
132
+ "generated_module_03": {
133
+ "ignore_reason": "",
134
+ "ignored": false,
135
+ "ignored_tests": [],
136
+ "tests": [
137
+ "eval.tests.test_rpc.test_comments_and_blanks_ignored_in_list",
138
+ "eval.tests.test_rpc.test_help_subcommand_prints_usage",
139
+ "eval.tests.test_rpc.test_list_after_start_same_as_before",
140
+ "eval.tests.test_rpc.test_list_prints_names_in_declaration_order",
141
+ "eval.tests.test_rpc.test_proc_names_with_compound_characters",
142
+ "eval.tests.test_rpc.test_restart_all_brings_all_back_to_running",
143
+ "eval.tests.test_rpc.test_restart_all_keeps_running_when_already_running",
144
+ "eval.tests.test_rpc.test_restart_brings_stopped_proc_back_to_running",
145
+ "eval.tests.test_rpc.test_restart_command_keeps_running_proc_running",
146
+ "eval.tests.test_rpc.test_restart_multiple_procs",
147
+ "eval.tests.test_rpc.test_restart_unknown_proc_reports_error",
148
+ "eval.tests.test_rpc.test_rpc_port_env_selects_server",
149
+ "eval.tests.test_rpc.test_rpc_server_env_override_refused",
150
+ "eval.tests.test_rpc.test_rpc_server_env_selects_server",
151
+ "eval.tests.test_rpc.test_run_command_dials_refused_without_server[list]",
152
+ "eval.tests.test_rpc.test_run_command_dials_refused_without_server[restart]",
153
+ "eval.tests.test_rpc.test_run_command_dials_refused_without_server[restart_all]",
154
+ "eval.tests.test_rpc.test_run_command_dials_refused_without_server[start]",
155
+ "eval.tests.test_rpc.test_run_command_dials_refused_without_server[status]",
156
+ "eval.tests.test_rpc.test_run_command_dials_refused_without_server[stop]",
157
+ "eval.tests.test_rpc.test_run_command_dials_refused_without_server[stop_all]",
158
+ "eval.tests.test_rpc.test_run_unknown_command_dials_first_without_server",
159
+ "eval.tests.test_rpc.test_start_command_idempotent_when_already_running",
160
+ "eval.tests.test_rpc.test_start_command_starts_stopped_proc",
161
+ "eval.tests.test_rpc.test_start_command_with_no_procs_is_noop",
162
+ "eval.tests.test_rpc.test_start_multiple_procs_at_once",
163
+ "eval.tests.test_rpc.test_start_unknown_proc_reports_error",
164
+ "eval.tests.test_rpc.test_status_exact_output_after_stop",
165
+ "eval.tests.test_rpc.test_status_marks_running_procs",
166
+ "eval.tests.test_rpc.test_stop_command_is_idempotent_for_stopped_proc",
167
+ "eval.tests.test_rpc.test_stop_command_marks_proc_stopped",
168
+ "eval.tests.test_rpc.test_stop_multiple_procs_at_once",
169
+ "eval.tests.test_rpc.test_stop_targets_proc_by_name_not_position",
170
+ "eval.tests.test_rpc.test_stop_unknown_proc_reports_error",
171
+ "eval.tests.test_rpc.test_stopall_marks_all_procs_stopped",
172
+ "eval.tests.test_rpc.test_unknown_run_command_against_live_server",
173
+ "eval.tests.test_rpc.test_usage_without_valid_subcommand[no-args]",
174
+ "eval.tests.test_rpc.test_usage_without_valid_subcommand[run-no-args]",
175
+ "eval.tests.test_rpc.test_version_output"
176
+ ]
177
+ },
178
+ "generated_module_04": {
179
+ "ignore_reason": "",
180
+ "ignored": false,
181
+ "ignored_tests": [],
182
+ "tests": [
183
+ "eval.tests.test_export.test_export_basic_structure",
184
+ "eval.tests.test_export.test_export_chdir_is_procfile_dir",
185
+ "eval.tests.test_export.test_export_creates_parent_dirs",
186
+ "eval.tests.test_export.test_export_custom_baseport",
187
+ "eval.tests.test_export.test_export_default_procfile_chdir",
188
+ "eval.tests.test_export.test_export_dotenv_equals_in_value",
189
+ "eval.tests.test_export.test_export_dotenv_export_prefix_stripped",
190
+ "eval.tests.test_export.test_export_dotenv_malformed_lines_skipped",
191
+ "eval.tests.test_export.test_export_dotenv_plain_keys",
192
+ "eval.tests.test_export.test_export_dotenv_single_quote_escaped",
193
+ "eval.tests.test_export.test_export_dotenv_values_with_spaces",
194
+ "eval.tests.test_export.test_export_empty_procfile_errors",
195
+ "eval.tests.test_export.test_export_missing_dotenv_no_env_lines",
196
+ "eval.tests.test_export.test_export_missing_procfile_errors",
197
+ "eval.tests.test_export.test_export_multiple_env_vars_present",
198
+ "eval.tests.test_export.test_export_port_assignment_sequential",
199
+ "eval.tests.test_export.test_export_proc_name_with_dash_used_in_filename",
200
+ "eval.tests.test_export.test_export_procfile_comments_and_blank_skipped",
201
+ "eval.tests.test_export.test_export_runs_from_any_cwd_with_fpro",
202
+ "eval.tests.test_export.test_export_unknown_format_writes_nothing",
203
+ "eval.tests.test_export.test_export_unwritable_dir_errors",
204
+ "eval.tests.test_export.test_export_whitespace_name_yields_empty_named_unit",
205
+ "eval.tests.test_export.test_export_wrong_arg_count_prints_usage",
206
+ "eval.tests.test_log_module.test_start_aligns_proc_names_to_max_width",
207
+ "eval.tests.test_log_module.test_start_color_cycles_per_proc",
208
+ "eval.tests.test_log_module.test_start_color_wraps_after_six",
209
+ "eval.tests.test_log_module.test_start_custom_baseport_affects_port_log",
210
+ "eval.tests.test_log_module.test_start_emits_ansi_color_prefix",
211
+ "eval.tests.test_log_module.test_start_empty_procfile_errors",
212
+ "eval.tests.test_log_module.test_start_exit_nonzero_propagates",
213
+ "eval.tests.test_log_module.test_start_logtime_false_omits_timestamp",
214
+ "eval.tests.test_log_module.test_start_missing_procfile_errors",
215
+ "eval.tests.test_log_module.test_start_multiline_output_gets_prefix_per_line",
216
+ "eval.tests.test_log_module.test_start_prints_starting_on_port",
217
+ "eval.tests.test_log_module.test_start_prints_terminating",
218
+ "eval.tests.test_log_module.test_start_proc_nonzero_default_exit_zero",
219
+ "eval.tests.test_log_module.test_start_single_proc_selection",
220
+ "eval.tests.test_log_module.test_start_stdout_and_stderr_both_logged",
221
+ "eval.tests.test_log_module.test_start_timestamp_by_default",
222
+ "eval.tests.test_log_module.test_start_unknown_proc_errors"
223
+ ]
224
+ }
225
+ },
226
+ "commit": "6e0d688617908d9751abfe285ed6dfa2f672bbce",
227
+ "data_source": "synthetic_programgym",
228
+ "difficulty": "easy",
229
+ "difficulty_score": 1.8139810756364714,
230
+ "eval_clean_hashes": [
231
+ "7ab6fd1db49f95a214f443bf6effbe5104908d71e3e8938b629b42de1d9bc13d"
232
+ ],
233
+ "input_record": {
234
+ "commit": "6e0d688617908d9751abfe285ed6dfa2f672bbce",
235
+ "commits": 334,
236
+ "contributors": 29,
237
+ "difficulty": "easy",
238
+ "difficulty_code_lines": 1086,
239
+ "difficulty_has_tests": false,
240
+ "difficulty_product_code_lines": 1086,
241
+ "difficulty_runtime_deps": 5,
242
+ "difficulty_score": 1.8139810756364714,
243
+ "difficulty_test_code_lines": 183,
244
+ "full_name": "mattn/goreman",
245
+ "github_stars": 2644,
246
+ "input_joern_zip": "go_joern/mattn__goreman.zip",
247
+ "joern_status": true,
248
+ "joern_time": 5.198483498999849,
249
+ "language": "go",
250
+ "pb_match": [
251
+ {
252
+ "pb_fullname": "incu6us/goimports-reviser",
253
+ "rank": 961,
254
+ "similarity": 0.4779438376426697
255
+ }
256
+ ],
257
+ "repo_age": 13.89,
258
+ "repo_path": "go/mattn__goreman",
259
+ "source": "commit:6e0d688617908d9751abfe285ed6dfa2f672bbce",
260
+ "status": "done",
261
+ "url": "https://github.com/mattn/goreman"
262
+ },
263
+ "instance_id": "mattn__goreman.6e0d688",
264
+ "language": "go",
265
+ "module_iterations": [
266
+ {
267
+ "actual_iterations": 3,
268
+ "branch_name": "generated_module_01",
269
+ "iteration_limit": 5,
270
+ "module_index": 1,
271
+ "module_kind": "source",
272
+ "termination_reason": "module_coverage_threshold_reached"
273
+ },
274
+ {
275
+ "actual_iterations": 5,
276
+ "branch_name": "generated_module_02",
277
+ "iteration_limit": 5,
278
+ "module_index": 2,
279
+ "module_kind": "source",
280
+ "termination_reason": "module_coverage_threshold_reached"
281
+ },
282
+ {
283
+ "actual_iterations": 1,
284
+ "branch_name": "generated_module_03",
285
+ "iteration_limit": 5,
286
+ "module_index": 3,
287
+ "module_kind": "source",
288
+ "termination_reason": "module_coverage_threshold_reached"
289
+ },
290
+ {
291
+ "actual_iterations": 2,
292
+ "branch_name": "generated_module_04",
293
+ "iteration_limit": 5,
294
+ "module_index": 4,
295
+ "module_kind": "source",
296
+ "termination_reason": "module_coverage_threshold_reached"
297
+ }
298
+ ],
299
+ "repository": "mattn/goreman"
300
+ }
mattn--goreman.6e0d688/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
mattn--goreman.6e0d688/tests/workspace.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7dc4faf717d8c22732c4441b46962dcd29edcff763ee482c454801c56f33b180
3
+ size 40865
mattolenik--hclq.5b31af0/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"]
mattolenik--hclq.5b31af0/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"]
matze--wastebin.b494662/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"]
matze--wastebin.b494662/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}
matze--wastebin.b494662/environment/download.sh ADDED
@@ -0,0 +1,3279 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ #
3
+ # download.sh — ProgramGym offline dependency prefetch for `wastebin`.
4
+ #
5
+ # This script runs in a networked container as `source /source_ro/download.sh`.
6
+ # The repository source tree is NOT available (only this file is mounted), so
7
+ # every Cargo manifest needed for dependency resolution is written explicitly
8
+ # below from the repository's committed manifests, and the repository's committed
9
+ # Cargo.lock is embedded verbatim so that the prefetch can be run with `--locked`.
10
+ #
11
+ # It only prefetches the Rust dependency graph into the shared CARGO_HOME stash
12
+ # so the later offline `build.sh` never needs network access. It does NOT compile,
13
+ # link, test, package, or otherwise build anything, and it never reads repository
14
+ # source files. It is idempotent and safe to `source` from any directory.
15
+
16
+ # All commands rely on the preinstalled Rust 1.97.1 toolchain and an existing
17
+ # CARGO_HOME. We make CARGO_HOME explicit so the populated cache is shared with
18
+ # the offline build stage (build.sh runs with the same variable).
19
+ export CARGO_HOME="${CARGO_HOME:-/usr/local/cargo}"
20
+
21
+ _pb_fail() {
22
+ # Fail loudly whether we were sourced or executed.
23
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
24
+ return 1
25
+ else
26
+ exit 1
27
+ fi
28
+ }
29
+
30
+ # Scratch directory for the generated (throwaway) mirror workspace. A temp dir
31
+ # keeps us off the repository root and /source_ro as required by the Rust skill.
32
+ _mirror="$(mktemp -d /tmp/wastebin-fetch.XXXXXX)" || _pb_fail
33
+
34
+ # ---------------------------------------------------------------------------
35
+ # Generate the mirror workspace. It replicates the real wastebin workspace's
36
+ # dependency graph (same workspace root, same five member manifests, and the
37
+ # repository's committed Cargo.lock embedded verbatim). Because the lock file is
38
+ # authoritative and byte-identical to /workspace/source/Cargo.lock, `cargo fetch
39
+ # --locked` prefetches exactly the crate set that the offline `build.sh` will
40
+ # resolve with `cargo build --locked --offline`. Stub source files satisfy
41
+ # cargo's target discovery.
42
+ # ---------------------------------------------------------------------------
43
+
44
+ # Workspace root manifest.
45
+ cat > "$_mirror/Cargo.toml" <<'EOF'
46
+ [workspace]
47
+ members = ["crates/*"]
48
+ resolver = "2"
49
+
50
+ [workspace.package]
51
+ version = "3.7.0"
52
+ edition = "2024"
53
+ rust-version = "1.95"
54
+
55
+ [workspace.dependencies]
56
+ askama = { version = "0.16.0" }
57
+ serde = { version = "1", features = ["derive"] }
58
+ syntect = { version = "5", default-features = false, features = ["html", "plist-load", "regex-fancy"] }
59
+ tokio = { version = "1", default-features = false }
60
+ two-face = { version = "0.5.0-rc1", default-features = false, features = ["syntect-fancy"] }
61
+ thiserror = "2"
62
+ tracing = "0.1"
63
+
64
+ [workspace.lints.rust]
65
+ unsafe_code = "forbid"
66
+
67
+ [profile.dev.package.rust-argon2]
68
+ opt-level = 3
69
+
70
+ [profile.release]
71
+ strip = "debuginfo"
72
+ lto = "fat"
73
+ EOF
74
+
75
+ mkdir -p "$_mirror/crates/wastebin_core/src"
76
+ mkdir -p "$_mirror/crates/wastebin_ctl/src"
77
+ mkdir -p "$_mirror/crates/wastebin_highlight/src"
78
+ mkdir -p "$_mirror/crates/wastebin_server/src"
79
+ mkdir -p "$_mirror/crates/wastebin_theme_showcase/src"
80
+
81
+ # Empty stubs are enough for cargo to discover the auto bin/lib targets.
82
+ : > "$_mirror/crates/wastebin_core/src/lib.rs"
83
+ : > "$_mirror/crates/wastebin_ctl/src/main.rs"
84
+ : > "$_mirror/crates/wastebin_highlight/src/lib.rs"
85
+ : > "$_mirror/crates/wastebin_server/src/main.rs"
86
+ : > "$_mirror/crates/wastebin_theme_showcase/src/main.rs"
87
+
88
+ # wastebin_core (library).
89
+ cat > "$_mirror/crates/wastebin_core/Cargo.toml" <<'EOF'
90
+ [package]
91
+ name = "wastebin_core"
92
+ version.workspace = true
93
+ edition.workspace = true
94
+ rust-version.workspace = true
95
+ publish = false
96
+
97
+ [dependencies]
98
+ async-compression = { version = "0.4", features = ["tokio", "zstd"] }
99
+ chacha20poly1305 = "0.11.0-rc.1"
100
+ kanal = "0.1.1"
101
+ rand = "0.10"
102
+ rusqlite = { version = "0.40", features = ["bundled"] }
103
+ rusqlite_migration = { version = "2", default-features = false }
104
+ rust-argon2 = "3.0.0"
105
+ serde = { workspace = true }
106
+ thiserror = { workspace = true }
107
+ tokio = { workspace = true, features = ["io-util", "macros", "rt-multi-thread", "sync", "time"] }
108
+ tracing = { workspace = true }
109
+ zstd = "0.13"
110
+
111
+ [lints]
112
+ workspace = true
113
+ EOF
114
+
115
+ # wastebin_ctl (binary tool).
116
+ cat > "$_mirror/crates/wastebin_ctl/Cargo.toml" <<'EOF'
117
+ [package]
118
+ name = "wastebin-ctl"
119
+ version.workspace = true
120
+ edition.workspace = true
121
+ rust-version.workspace = true
122
+ publish = false
123
+
124
+ [dependencies]
125
+ anyhow = "1.0.97"
126
+ clap = { version = "4.5.32", features = ["derive", "env"] }
127
+ clap_complete = { version = "4.5.50", optional = true }
128
+ tabled = "0.21.0"
129
+ tokio = { workspace = true, features = ["macros", "sync"] }
130
+ wastebin_core = { path = "../wastebin_core" }
131
+
132
+ [lints]
133
+ workspace = true
134
+
135
+ [features]
136
+ default = ["completion"]
137
+ completion = ["dep:clap_complete"]
138
+ EOF
139
+
140
+ # wastebin_highlight (library).
141
+ cat > "$_mirror/crates/wastebin_highlight/Cargo.toml" <<'EOF'
142
+ [package]
143
+ name = "wastebin_highlight"
144
+ version.workspace = true
145
+ edition.workspace = true
146
+ rust-version.workspace = true
147
+ publish = false
148
+
149
+ [dependencies]
150
+ ammonia = "4"
151
+ pulldown-cmark = { version = "0.13", default-features = false, features = ["html"] }
152
+ syntect = { workspace = true }
153
+ thiserror = { workspace = true }
154
+ two-face = { workspace = true }
155
+
156
+ [lints]
157
+ workspace = true
158
+ EOF
159
+
160
+ # wastebin server (primary product binary).
161
+ cat > "$_mirror/crates/wastebin_server/Cargo.toml" <<'EOF'
162
+ [package]
163
+ name = "wastebin"
164
+ version.workspace = true
165
+ edition.workspace = true
166
+ rust-version.workspace = true
167
+ publish = false
168
+
169
+ [dependencies]
170
+ askama = { workspace = true }
171
+ askama_web = { version = "0.16.0", features = ["axum-0.8"] }
172
+ axum = { version = "0.8", features = ["json", "query", "macros"] }
173
+ axum-extra = { version = "0.12", features = ["cookie-signed", "typed-header"] }
174
+ cached = { version = "2.0.0", default-features = false }
175
+ cookie = { version = "0.18", features = ["signed"] }
176
+ futures = "0.3.31"
177
+ hex = "0.4"
178
+ hostname = "0.4.0"
179
+ http = "1.3"
180
+ mime = "0.3"
181
+ phf = { version = "0.14", features = ["macros"] }
182
+ qrcodegen = "1"
183
+ sha2 = "0.11"
184
+ serde = { workspace = true }
185
+ thiserror = { workspace = true }
186
+ tokio = { workspace = true, features = ["rt-multi-thread", "signal"] }
187
+ tower = { version = "0.5", default-features = false }
188
+ tower-http = { version = "0.7", features = ["compression-full", "limit", "timeout", "trace"] }
189
+ tracing = { workspace = true }
190
+ tracing-subscriber = "0.3"
191
+ url = "2"
192
+ wastebin_core = { path = "../wastebin_core/" }
193
+ wastebin_highlight = { path = "../wastebin_highlight/" }
194
+ headers = "0.4.1"
195
+
196
+ [dev-dependencies]
197
+ itertools = "0.15.0"
198
+ reqwest = { version = "0.13", default-features = false, features = ["cookies", "form", "json", "query"] }
199
+ tower = { version = "0.5", default-features = false, features = ["util", "make"] }
200
+
201
+ [lints]
202
+ workspace = true
203
+ EOF
204
+
205
+ # wastebin-theme-showcase (binary demo).
206
+ cat > "$_mirror/crates/wastebin_theme_showcase/Cargo.toml" <<'EOF'
207
+ [package]
208
+ name = "wastebin-theme-showcase"
209
+ version.workspace = true
210
+ edition.workspace = true
211
+ rust-version.workspace = true
212
+ publish = false
213
+
214
+ [dependencies]
215
+ askama = { workspace = true }
216
+ syntect = { workspace = true }
217
+ two-face = { workspace = true }
218
+ wastebin_highlight = { path = "../wastebin_highlight/" }
219
+
220
+ [lints]
221
+ workspace = true
222
+ EOF
223
+
224
+ # The repository's committed Cargo.lock, embedded verbatim so that the prefetch
225
+ # graph is byte-identical to the offline build's locked resolution.
226
+ cat > "$_mirror/Cargo.lock" <<'LOCK_EOF'
227
+ # This file is automatically @generated by Cargo.
228
+ # It is not intended for manual editing.
229
+ version = 4
230
+
231
+ [[package]]
232
+ name = "adler2"
233
+ version = "2.0.1"
234
+ source = "registry+https://github.com/rust-lang/crates.io-index"
235
+ checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
236
+
237
+ [[package]]
238
+ name = "aead"
239
+ version = "0.6.1"
240
+ source = "registry+https://github.com/rust-lang/crates.io-index"
241
+ checksum = "1973cfbc1a2daf9cf550e74e1f088c28e7f7d8c1e1418fb6c9dc5184b7e84c99"
242
+ dependencies = [
243
+ "crypto-common 0.2.2",
244
+ "inout",
245
+ ]
246
+
247
+ [[package]]
248
+ name = "aho-corasick"
249
+ version = "1.1.4"
250
+ source = "registry+https://github.com/rust-lang/crates.io-index"
251
+ checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
252
+ dependencies = [
253
+ "memchr",
254
+ ]
255
+
256
+ [[package]]
257
+ name = "alloc-no-stdlib"
258
+ version = "2.0.4"
259
+ source = "registry+https://github.com/rust-lang/crates.io-index"
260
+ checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3"
261
+
262
+ [[package]]
263
+ name = "alloc-stdlib"
264
+ version = "0.2.4"
265
+ source = "registry+https://github.com/rust-lang/crates.io-index"
266
+ checksum = "0e76a019e91224d279006ff972f1e984179a6e9feb050adba6ce8274aef23195"
267
+ dependencies = [
268
+ "alloc-no-stdlib",
269
+ ]
270
+
271
+ [[package]]
272
+ name = "ammonia"
273
+ version = "4.1.2"
274
+ source = "registry+https://github.com/rust-lang/crates.io-index"
275
+ checksum = "17e913097e1a2124b46746c980134e8c954bc17a6a59bb3fde96f088d126dde6"
276
+ dependencies = [
277
+ "cssparser",
278
+ "html5ever",
279
+ "maplit",
280
+ "tendril",
281
+ "url",
282
+ ]
283
+
284
+ [[package]]
285
+ name = "anstream"
286
+ version = "1.0.0"
287
+ source = "registry+https://github.com/rust-lang/crates.io-index"
288
+ checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d"
289
+ dependencies = [
290
+ "anstyle",
291
+ "anstyle-parse",
292
+ "anstyle-query",
293
+ "anstyle-wincon",
294
+ "colorchoice",
295
+ "is_terminal_polyfill",
296
+ "utf8parse",
297
+ ]
298
+
299
+ [[package]]
300
+ name = "anstyle"
301
+ version = "1.0.14"
302
+ source = "registry+https://github.com/rust-lang/crates.io-index"
303
+ checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000"
304
+
305
+ [[package]]
306
+ name = "anstyle-parse"
307
+ version = "1.0.0"
308
+ source = "registry+https://github.com/rust-lang/crates.io-index"
309
+ checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e"
310
+ dependencies = [
311
+ "utf8parse",
312
+ ]
313
+
314
+ [[package]]
315
+ name = "anstyle-query"
316
+ version = "1.1.5"
317
+ source = "registry+https://github.com/rust-lang/crates.io-index"
318
+ checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
319
+ dependencies = [
320
+ "windows-sys",
321
+ ]
322
+
323
+ [[package]]
324
+ name = "anstyle-wincon"
325
+ version = "3.0.11"
326
+ source = "registry+https://github.com/rust-lang/crates.io-index"
327
+ checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
328
+ dependencies = [
329
+ "anstyle",
330
+ "once_cell_polyfill",
331
+ "windows-sys",
332
+ ]
333
+
334
+ [[package]]
335
+ name = "anyhow"
336
+ version = "1.0.102"
337
+ source = "registry+https://github.com/rust-lang/crates.io-index"
338
+ checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c"
339
+
340
+ [[package]]
341
+ name = "arrayref"
342
+ version = "0.3.9"
343
+ source = "registry+https://github.com/rust-lang/crates.io-index"
344
+ checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb"
345
+
346
+ [[package]]
347
+ name = "arrayvec"
348
+ version = "0.7.7"
349
+ source = "registry+https://github.com/rust-lang/crates.io-index"
350
+ checksum = "f02882884d3e1bc524fb12c79f107f6ad0e1cfd498c536ffb494301740995dfe"
351
+
352
+ [[package]]
353
+ name = "askama"
354
+ version = "0.16.0"
355
+ source = "registry+https://github.com/rust-lang/crates.io-index"
356
+ checksum = "f1bf825125edd887a019d0a3a837dcc5499a68b0d034cc3eb594070c3e18addc"
357
+ dependencies = [
358
+ "askama_macros",
359
+ "itoa",
360
+ "percent-encoding",
361
+ "serde",
362
+ "serde_json",
363
+ ]
364
+
365
+ [[package]]
366
+ name = "askama_derive"
367
+ version = "0.16.0"
368
+ source = "registry+https://github.com/rust-lang/crates.io-index"
369
+ checksum = "e1c7065972a130eafa84215f21352ae15b4a7393da48c1f5e103904490736738"
370
+ dependencies = [
371
+ "askama_parser",
372
+ "basic-toml",
373
+ "glob",
374
+ "memchr",
375
+ "proc-macro2",
376
+ "quote",
377
+ "rustc-hash",
378
+ "serde",
379
+ "serde_derive",
380
+ "syn",
381
+ ]
382
+
383
+ [[package]]
384
+ name = "askama_macros"
385
+ version = "0.16.0"
386
+ source = "registry+https://github.com/rust-lang/crates.io-index"
387
+ checksum = "0e23b1d2c4bd39a41971f6124cef4cc6fd0540913ecb90919b69ab3bbe44ae1a"
388
+ dependencies = [
389
+ "askama_derive",
390
+ ]
391
+
392
+ [[package]]
393
+ name = "askama_parser"
394
+ version = "0.16.0"
395
+ source = "registry+https://github.com/rust-lang/crates.io-index"
396
+ checksum = "7db09fde9143e7ac4513358fb32ee32847125b63b18ea715afd487956da715da"
397
+ dependencies = [
398
+ "rustc-hash",
399
+ "serde",
400
+ "serde_derive",
401
+ "unicode-ident",
402
+ "winnow",
403
+ ]
404
+
405
+ [[package]]
406
+ name = "askama_web"
407
+ version = "0.16.0"
408
+ source = "registry+https://github.com/rust-lang/crates.io-index"
409
+ checksum = "33d7972c9dc206f9832a16dbba72d589ce8cc313732bd82db36638e70a0b222c"
410
+ dependencies = [
411
+ "askama",
412
+ "askama_web_derive",
413
+ "axum-core",
414
+ "bytes",
415
+ "http",
416
+ ]
417
+
418
+ [[package]]
419
+ name = "askama_web_derive"
420
+ version = "0.3.0"
421
+ source = "registry+https://github.com/rust-lang/crates.io-index"
422
+ checksum = "940074e50ab8a902980dec23d265697dd1e8789e66be664d183dbb24c79b8e7c"
423
+ dependencies = [
424
+ "proc-macro2",
425
+ "quote",
426
+ "syn",
427
+ ]
428
+
429
+ [[package]]
430
+ name = "async-compression"
431
+ version = "0.4.42"
432
+ source = "registry+https://github.com/rust-lang/crates.io-index"
433
+ checksum = "e79b3f8a79cccc2898f31920fc69f304859b3bd567490f75ebf51ae1c792a9ac"
434
+ dependencies = [
435
+ "compression-codecs",
436
+ "compression-core",
437
+ "pin-project-lite",
438
+ "tokio",
439
+ ]
440
+
441
+ [[package]]
442
+ name = "atomic-waker"
443
+ version = "1.1.2"
444
+ source = "registry+https://github.com/rust-lang/crates.io-index"
445
+ checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
446
+
447
+ [[package]]
448
+ name = "axum"
449
+ version = "0.8.9"
450
+ source = "registry+https://github.com/rust-lang/crates.io-index"
451
+ checksum = "31b698c5f9a010f6573133b09e0de5408834d0c82f8d7475a89fc1867a71cd90"
452
+ dependencies = [
453
+ "axum-core",
454
+ "axum-macros",
455
+ "bytes",
456
+ "form_urlencoded",
457
+ "futures-util",
458
+ "http",
459
+ "http-body",
460
+ "http-body-util",
461
+ "hyper",
462
+ "hyper-util",
463
+ "itoa",
464
+ "matchit",
465
+ "memchr",
466
+ "mime",
467
+ "percent-encoding",
468
+ "pin-project-lite",
469
+ "serde_core",
470
+ "serde_json",
471
+ "serde_path_to_error",
472
+ "serde_urlencoded",
473
+ "sync_wrapper",
474
+ "tokio",
475
+ "tower",
476
+ "tower-layer",
477
+ "tower-service",
478
+ "tracing",
479
+ ]
480
+
481
+ [[package]]
482
+ name = "axum-core"
483
+ version = "0.5.6"
484
+ source = "registry+https://github.com/rust-lang/crates.io-index"
485
+ checksum = "08c78f31d7b1291f7ee735c1c6780ccde7785daae9a9206026862dab7d8792d1"
486
+ dependencies = [
487
+ "bytes",
488
+ "futures-core",
489
+ "http",
490
+ "http-body",
491
+ "http-body-util",
492
+ "mime",
493
+ "pin-project-lite",
494
+ "sync_wrapper",
495
+ "tower-layer",
496
+ "tower-service",
497
+ "tracing",
498
+ ]
499
+
500
+ [[package]]
501
+ name = "axum-extra"
502
+ version = "0.12.6"
503
+ source = "registry+https://github.com/rust-lang/crates.io-index"
504
+ checksum = "be44683b41ccb9ab2d23a5230015c9c3c55be97a25e4428366de8873103f7970"
505
+ dependencies = [
506
+ "axum",
507
+ "axum-core",
508
+ "bytes",
509
+ "cookie",
510
+ "futures-core",
511
+ "futures-util",
512
+ "headers",
513
+ "http",
514
+ "http-body",
515
+ "http-body-util",
516
+ "mime",
517
+ "pin-project-lite",
518
+ "tower-layer",
519
+ "tower-service",
520
+ "tracing",
521
+ ]
522
+
523
+ [[package]]
524
+ name = "axum-macros"
525
+ version = "0.5.1"
526
+ source = "registry+https://github.com/rust-lang/crates.io-index"
527
+ checksum = "7aa268c23bfbbd2c4363b9cd302a4f504fb2a9dfe7e3451d66f35dd392e20aca"
528
+ dependencies = [
529
+ "proc-macro2",
530
+ "quote",
531
+ "syn",
532
+ ]
533
+
534
+ [[package]]
535
+ name = "base64"
536
+ version = "0.22.1"
537
+ source = "registry+https://github.com/rust-lang/crates.io-index"
538
+ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
539
+
540
+ [[package]]
541
+ name = "basic-toml"
542
+ version = "0.1.10"
543
+ source = "registry+https://github.com/rust-lang/crates.io-index"
544
+ checksum = "ba62675e8242a4c4e806d12f11d136e626e6c8361d6b829310732241652a178a"
545
+ dependencies = [
546
+ "serde",
547
+ ]
548
+
549
+ [[package]]
550
+ name = "bincode"
551
+ version = "1.3.3"
552
+ source = "registry+https://github.com/rust-lang/crates.io-index"
553
+ checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad"
554
+ dependencies = [
555
+ "serde",
556
+ ]
557
+
558
+ [[package]]
559
+ name = "bit-set"
560
+ version = "0.8.0"
561
+ source = "registry+https://github.com/rust-lang/crates.io-index"
562
+ checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3"
563
+ dependencies = [
564
+ "bit-vec",
565
+ ]
566
+
567
+ [[package]]
568
+ name = "bit-vec"
569
+ version = "0.8.0"
570
+ source = "registry+https://github.com/rust-lang/crates.io-index"
571
+ checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7"
572
+
573
+ [[package]]
574
+ name = "bitflags"
575
+ version = "2.13.0"
576
+ source = "registry+https://github.com/rust-lang/crates.io-index"
577
+ checksum = "b4388bee8683e3d04af747c73422af53102d2bd24d9eadb6cbc100baef4b43f8"
578
+
579
+ [[package]]
580
+ name = "blake2b_simd"
581
+ version = "1.0.4"
582
+ source = "registry+https://github.com/rust-lang/crates.io-index"
583
+ checksum = "b79834656f71332577234b50bfc009996f7449e0c056884e6a02492ded0ca2f3"
584
+ dependencies = [
585
+ "arrayref",
586
+ "arrayvec",
587
+ "constant_time_eq",
588
+ ]
589
+
590
+ [[package]]
591
+ name = "block-buffer"
592
+ version = "0.10.4"
593
+ source = "registry+https://github.com/rust-lang/crates.io-index"
594
+ checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
595
+ dependencies = [
596
+ "generic-array",
597
+ ]
598
+
599
+ [[package]]
600
+ name = "block-buffer"
601
+ version = "0.12.1"
602
+ source = "registry+https://github.com/rust-lang/crates.io-index"
603
+ checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa"
604
+ dependencies = [
605
+ "hybrid-array",
606
+ ]
607
+
608
+ [[package]]
609
+ name = "brotli"
610
+ version = "8.0.4"
611
+ source = "registry+https://github.com/rust-lang/crates.io-index"
612
+ checksum = "5cc91aac060a7a1e25823bdccbfb6af1875b88f17c6daac97894eed8207166b3"
613
+ dependencies = [
614
+ "alloc-no-stdlib",
615
+ "alloc-stdlib",
616
+ "brotli-decompressor",
617
+ ]
618
+
619
+ [[package]]
620
+ name = "brotli-decompressor"
621
+ version = "5.0.3"
622
+ source = "registry+https://github.com/rust-lang/crates.io-index"
623
+ checksum = "3a32acac15fe1967bc3986b2a6347dffc965602354ea6f450ad07e8bfd253583"
624
+ dependencies = [
625
+ "alloc-no-stdlib",
626
+ "alloc-stdlib",
627
+ ]
628
+
629
+ [[package]]
630
+ name = "bumpalo"
631
+ version = "3.20.3"
632
+ source = "registry+https://github.com/rust-lang/crates.io-index"
633
+ checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
634
+
635
+ [[package]]
636
+ name = "bytecount"
637
+ version = "0.6.9"
638
+ source = "registry+https://github.com/rust-lang/crates.io-index"
639
+ checksum = "175812e0be2bccb6abe50bb8d566126198344f707e304f45c648fd8f2cc0365e"
640
+
641
+ [[package]]
642
+ name = "bytes"
643
+ version = "1.12.0"
644
+ source = "registry+https://github.com/rust-lang/crates.io-index"
645
+ checksum = "8ae3f5d315924270530207e2a68396c3cc547f6dca3fbdca317cfb1a51edb593"
646
+
647
+ [[package]]
648
+ name = "cached"
649
+ version = "2.0.2"
650
+ source = "registry+https://github.com/rust-lang/crates.io-index"
651
+ checksum = "dc0df7748fe2f601e376916ab19e7bfc2c74461b8abe3bce2ce20036ad8de38f"
652
+ dependencies = [
653
+ "hashbrown 0.16.1",
654
+ "parking_lot",
655
+ "thiserror",
656
+ "web-time",
657
+ ]
658
+
659
+ [[package]]
660
+ name = "cc"
661
+ version = "1.2.65"
662
+ source = "registry+https://github.com/rust-lang/crates.io-index"
663
+ checksum = "e228eec9be7c17ccb640b59b36a5cd805ea2a564a4c5e162c2f659fea30d3b96"
664
+ dependencies = [
665
+ "find-msvc-tools",
666
+ "jobserver",
667
+ "libc",
668
+ "shlex",
669
+ ]
670
+
671
+ [[package]]
672
+ name = "cfg-if"
673
+ version = "1.0.4"
674
+ source = "registry+https://github.com/rust-lang/crates.io-index"
675
+ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
676
+
677
+ [[package]]
678
+ name = "chacha20"
679
+ version = "0.10.0"
680
+ source = "registry+https://github.com/rust-lang/crates.io-index"
681
+ checksum = "6f8d983286843e49675a4b7a2d174efe136dc93a18d69130dd18198a6c167601"
682
+ dependencies = [
683
+ "cfg-if",
684
+ "cipher",
685
+ "cpufeatures 0.3.0",
686
+ "rand_core 0.10.1",
687
+ ]
688
+
689
+ [[package]]
690
+ name = "chacha20poly1305"
691
+ version = "0.11.0-rc.3"
692
+ source = "registry+https://github.com/rust-lang/crates.io-index"
693
+ checksum = "1c9ed179664f12fd6f155f6dd632edf5f3806d48c228c67ff78366f2a0eb6b5e"
694
+ dependencies = [
695
+ "aead",
696
+ "chacha20",
697
+ "cipher",
698
+ "poly1305",
699
+ ]
700
+
701
+ [[package]]
702
+ name = "cipher"
703
+ version = "0.5.2"
704
+ source = "registry+https://github.com/rust-lang/crates.io-index"
705
+ checksum = "e8cf2a2c93cd704877c0858356ed03480ff301ee950b43f1cbe4573b088bfa6c"
706
+ dependencies = [
707
+ "block-buffer 0.12.1",
708
+ "crypto-common 0.2.2",
709
+ "inout",
710
+ ]
711
+
712
+ [[package]]
713
+ name = "clap"
714
+ version = "4.6.1"
715
+ source = "registry+https://github.com/rust-lang/crates.io-index"
716
+ checksum = "1ddb117e43bbf7dacf0a4190fef4d345b9bad68dfc649cb349e7d17d28428e51"
717
+ dependencies = [
718
+ "clap_builder",
719
+ "clap_derive",
720
+ ]
721
+
722
+ [[package]]
723
+ name = "clap_builder"
724
+ version = "4.6.0"
725
+ source = "registry+https://github.com/rust-lang/crates.io-index"
726
+ checksum = "714a53001bf66416adb0e2ef5ac857140e7dc3a0c48fb28b2f10762fc4b5069f"
727
+ dependencies = [
728
+ "anstream",
729
+ "anstyle",
730
+ "clap_lex",
731
+ "strsim",
732
+ ]
733
+
734
+ [[package]]
735
+ name = "clap_complete"
736
+ version = "4.6.5"
737
+ source = "registry+https://github.com/rust-lang/crates.io-index"
738
+ checksum = "e0a7a9bfdb35811f9e59832f0f05975114d2251b415fb534108e6f34060fd772"
739
+ dependencies = [
740
+ "clap",
741
+ ]
742
+
743
+ [[package]]
744
+ name = "clap_derive"
745
+ version = "4.6.1"
746
+ source = "registry+https://github.com/rust-lang/crates.io-index"
747
+ checksum = "f2ce8604710f6733aa641a2b3731eaa1e8b3d9973d5e3565da11800813f997a9"
748
+ dependencies = [
749
+ "heck",
750
+ "proc-macro2",
751
+ "quote",
752
+ "syn",
753
+ ]
754
+
755
+ [[package]]
756
+ name = "clap_lex"
757
+ version = "1.1.0"
758
+ source = "registry+https://github.com/rust-lang/crates.io-index"
759
+ checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9"
760
+
761
+ [[package]]
762
+ name = "cmov"
763
+ version = "0.5.4"
764
+ source = "registry+https://github.com/rust-lang/crates.io-index"
765
+ checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a"
766
+
767
+ [[package]]
768
+ name = "colorchoice"
769
+ version = "1.0.5"
770
+ source = "registry+https://github.com/rust-lang/crates.io-index"
771
+ checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
772
+
773
+ [[package]]
774
+ name = "compression-codecs"
775
+ version = "0.4.38"
776
+ source = "registry+https://github.com/rust-lang/crates.io-index"
777
+ checksum = "ce2548391e9c1929c21bf6aa2680af86fe4c1b33e6cea9ac1cfeec0bd11218cf"
778
+ dependencies = [
779
+ "brotli",
780
+ "compression-core",
781
+ "flate2",
782
+ "memchr",
783
+ "zstd",
784
+ "zstd-safe",
785
+ ]
786
+
787
+ [[package]]
788
+ name = "compression-core"
789
+ version = "0.4.32"
790
+ source = "registry+https://github.com/rust-lang/crates.io-index"
791
+ checksum = "cc14f565cf027a105f7a44ccf9e5b424348421a1d8952a8fc9d499d313107789"
792
+
793
+ [[package]]
794
+ name = "const-oid"
795
+ version = "0.10.2"
796
+ source = "registry+https://github.com/rust-lang/crates.io-index"
797
+ checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c"
798
+
799
+ [[package]]
800
+ name = "constant_time_eq"
801
+ version = "0.4.2"
802
+ source = "registry+https://github.com/rust-lang/crates.io-index"
803
+ checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b"
804
+
805
+ [[package]]
806
+ name = "cookie"
807
+ version = "0.18.1"
808
+ source = "registry+https://github.com/rust-lang/crates.io-index"
809
+ checksum = "4ddef33a339a91ea89fb53151bd0a4689cfce27055c291dfa69945475d22c747"
810
+ dependencies = [
811
+ "base64",
812
+ "hmac",
813
+ "percent-encoding",
814
+ "rand 0.8.6",
815
+ "sha2 0.10.9",
816
+ "subtle",
817
+ "time",
818
+ "version_check",
819
+ ]
820
+
821
+ [[package]]
822
+ name = "cookie_store"
823
+ version = "0.22.1"
824
+ source = "registry+https://github.com/rust-lang/crates.io-index"
825
+ checksum = "15b2c103cf610ec6cae3da84a766285b42fd16aad564758459e6ecf128c75206"
826
+ dependencies = [
827
+ "cookie",
828
+ "document-features",
829
+ "idna",
830
+ "log",
831
+ "publicsuffix",
832
+ "serde",
833
+ "serde_derive",
834
+ "serde_json",
835
+ "time",
836
+ "url",
837
+ ]
838
+
839
+ [[package]]
840
+ name = "cpufeatures"
841
+ version = "0.2.17"
842
+ source = "registry+https://github.com/rust-lang/crates.io-index"
843
+ checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
844
+ dependencies = [
845
+ "libc",
846
+ ]
847
+
848
+ [[package]]
849
+ name = "cpufeatures"
850
+ version = "0.3.0"
851
+ source = "registry+https://github.com/rust-lang/crates.io-index"
852
+ checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201"
853
+ dependencies = [
854
+ "libc",
855
+ ]
856
+
857
+ [[package]]
858
+ name = "crc32fast"
859
+ version = "1.5.0"
860
+ source = "registry+https://github.com/rust-lang/crates.io-index"
861
+ checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511"
862
+ dependencies = [
863
+ "cfg-if",
864
+ ]
865
+
866
+ [[package]]
867
+ name = "crossbeam-utils"
868
+ version = "0.8.21"
869
+ source = "registry+https://github.com/rust-lang/crates.io-index"
870
+ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
871
+
872
+ [[package]]
873
+ name = "crypto-common"
874
+ version = "0.1.7"
875
+ source = "registry+https://github.com/rust-lang/crates.io-index"
876
+ checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
877
+ dependencies = [
878
+ "generic-array",
879
+ "typenum",
880
+ ]
881
+
882
+ [[package]]
883
+ name = "crypto-common"
884
+ version = "0.2.2"
885
+ source = "registry+https://github.com/rust-lang/crates.io-index"
886
+ checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453"
887
+ dependencies = [
888
+ "getrandom 0.4.3",
889
+ "hybrid-array",
890
+ "rand_core 0.10.1",
891
+ ]
892
+
893
+ [[package]]
894
+ name = "cssparser"
895
+ version = "0.35.0"
896
+ source = "registry+https://github.com/rust-lang/crates.io-index"
897
+ checksum = "4e901edd733a1472f944a45116df3f846f54d37e67e68640ac8bb69689aca2aa"
898
+ dependencies = [
899
+ "cssparser-macros",
900
+ "dtoa-short",
901
+ "itoa",
902
+ "phf 0.11.3",
903
+ "smallvec",
904
+ ]
905
+
906
+ [[package]]
907
+ name = "cssparser-macros"
908
+ version = "0.6.1"
909
+ source = "registry+https://github.com/rust-lang/crates.io-index"
910
+ checksum = "13b588ba4ac1a99f7f2964d24b3d896ddc6bf847ee3855dbd4366f058cfcd331"
911
+ dependencies = [
912
+ "quote",
913
+ "syn",
914
+ ]
915
+
916
+ [[package]]
917
+ name = "ctutils"
918
+ version = "0.4.2"
919
+ source = "registry+https://github.com/rust-lang/crates.io-index"
920
+ checksum = "7d5515a3834141de9eafb9717ad39eea8247b5674e6066c404e8c4b365d2a29e"
921
+ dependencies = [
922
+ "cmov",
923
+ ]
924
+
925
+ [[package]]
926
+ name = "deranged"
927
+ version = "0.5.8"
928
+ source = "registry+https://github.com/rust-lang/crates.io-index"
929
+ checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c"
930
+
931
+ [[package]]
932
+ name = "digest"
933
+ version = "0.10.7"
934
+ source = "registry+https://github.com/rust-lang/crates.io-index"
935
+ checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
936
+ dependencies = [
937
+ "block-buffer 0.10.4",
938
+ "crypto-common 0.1.7",
939
+ "subtle",
940
+ ]
941
+
942
+ [[package]]
943
+ name = "digest"
944
+ version = "0.11.3"
945
+ source = "registry+https://github.com/rust-lang/crates.io-index"
946
+ checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2"
947
+ dependencies = [
948
+ "block-buffer 0.12.1",
949
+ "const-oid",
950
+ "crypto-common 0.2.2",
951
+ ]
952
+
953
+ [[package]]
954
+ name = "displaydoc"
955
+ version = "0.2.6"
956
+ source = "registry+https://github.com/rust-lang/crates.io-index"
957
+ checksum = "1ac70aa55017e108007fbaf5aa0f54b021c98f92ff8af59d42eda9da96e3dd4f"
958
+ dependencies = [
959
+ "proc-macro2",
960
+ "quote",
961
+ "syn",
962
+ ]
963
+
964
+ [[package]]
965
+ name = "document-features"
966
+ version = "0.2.12"
967
+ source = "registry+https://github.com/rust-lang/crates.io-index"
968
+ checksum = "d4b8a88685455ed29a21542a33abd9cb6510b6b129abadabdcef0f4c55bc8f61"
969
+ dependencies = [
970
+ "litrs",
971
+ ]
972
+
973
+ [[package]]
974
+ name = "dtoa"
975
+ version = "1.0.11"
976
+ source = "registry+https://github.com/rust-lang/crates.io-index"
977
+ checksum = "4c3cf4824e2d5f025c7b531afcb2325364084a16806f6d47fbc1f5fbd9960590"
978
+
979
+ [[package]]
980
+ name = "dtoa-short"
981
+ version = "0.3.5"
982
+ source = "registry+https://github.com/rust-lang/crates.io-index"
983
+ checksum = "cd1511a7b6a56299bd043a9c167a6d2bfb37bf84a6dfceaba651168adfb43c87"
984
+ dependencies = [
985
+ "dtoa",
986
+ ]
987
+
988
+ [[package]]
989
+ name = "either"
990
+ version = "1.16.0"
991
+ source = "registry+https://github.com/rust-lang/crates.io-index"
992
+ checksum = "91622ff5e7162018101f2fea40d6ebf4a78bbe5a49736a2020649edf9693679e"
993
+
994
+ [[package]]
995
+ name = "equivalent"
996
+ version = "1.0.2"
997
+ source = "registry+https://github.com/rust-lang/crates.io-index"
998
+ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
999
+
1000
+ [[package]]
1001
+ name = "errno"
1002
+ version = "0.3.14"
1003
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1004
+ checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
1005
+ dependencies = [
1006
+ "libc",
1007
+ "windows-sys",
1008
+ ]
1009
+
1010
+ [[package]]
1011
+ name = "fallible-iterator"
1012
+ version = "0.3.0"
1013
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1014
+ checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649"
1015
+
1016
+ [[package]]
1017
+ name = "fallible-streaming-iterator"
1018
+ version = "0.1.9"
1019
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1020
+ checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a"
1021
+
1022
+ [[package]]
1023
+ name = "fancy-regex"
1024
+ version = "0.16.2"
1025
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1026
+ checksum = "998b056554fbe42e03ae0e152895cd1a7e1002aec800fdc6635d20270260c46f"
1027
+ dependencies = [
1028
+ "bit-set",
1029
+ "regex-automata",
1030
+ "regex-syntax",
1031
+ ]
1032
+
1033
+ [[package]]
1034
+ name = "fastrand"
1035
+ version = "2.4.1"
1036
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1037
+ checksum = "9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6"
1038
+
1039
+ [[package]]
1040
+ name = "find-msvc-tools"
1041
+ version = "0.1.9"
1042
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1043
+ checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
1044
+
1045
+ [[package]]
1046
+ name = "flate2"
1047
+ version = "1.1.9"
1048
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1049
+ checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c"
1050
+ dependencies = [
1051
+ "crc32fast",
1052
+ "miniz_oxide",
1053
+ ]
1054
+
1055
+ [[package]]
1056
+ name = "fnv"
1057
+ version = "1.0.7"
1058
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1059
+ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
1060
+
1061
+ [[package]]
1062
+ name = "foldhash"
1063
+ version = "0.2.0"
1064
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1065
+ checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
1066
+
1067
+ [[package]]
1068
+ name = "form_urlencoded"
1069
+ version = "1.2.2"
1070
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1071
+ checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf"
1072
+ dependencies = [
1073
+ "percent-encoding",
1074
+ ]
1075
+
1076
+ [[package]]
1077
+ name = "futf"
1078
+ version = "0.1.5"
1079
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1080
+ checksum = "df420e2e84819663797d1ec6544b13c5be84629e7bb00dc960d6917db2987843"
1081
+ dependencies = [
1082
+ "mac",
1083
+ "new_debug_unreachable",
1084
+ ]
1085
+
1086
+ [[package]]
1087
+ name = "futures"
1088
+ version = "0.3.32"
1089
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1090
+ checksum = "8b147ee9d1f6d097cef9ce628cd2ee62288d963e16fb287bd9286455b241382d"
1091
+ dependencies = [
1092
+ "futures-channel",
1093
+ "futures-core",
1094
+ "futures-executor",
1095
+ "futures-io",
1096
+ "futures-sink",
1097
+ "futures-task",
1098
+ "futures-util",
1099
+ ]
1100
+
1101
+ [[package]]
1102
+ name = "futures-channel"
1103
+ version = "0.3.32"
1104
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1105
+ checksum = "07bbe89c50d7a535e539b8c17bc0b49bdb77747034daa8087407d655f3f7cc1d"
1106
+ dependencies = [
1107
+ "futures-core",
1108
+ "futures-sink",
1109
+ ]
1110
+
1111
+ [[package]]
1112
+ name = "futures-core"
1113
+ version = "0.3.32"
1114
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1115
+ checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d"
1116
+
1117
+ [[package]]
1118
+ name = "futures-executor"
1119
+ version = "0.3.32"
1120
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1121
+ checksum = "baf29c38818342a3b26b5b923639e7b1f4a61fc5e76102d4b1981c6dc7a7579d"
1122
+ dependencies = [
1123
+ "futures-core",
1124
+ "futures-task",
1125
+ "futures-util",
1126
+ ]
1127
+
1128
+ [[package]]
1129
+ name = "futures-io"
1130
+ version = "0.3.32"
1131
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1132
+ checksum = "cecba35d7ad927e23624b22ad55235f2239cfa44fd10428eecbeba6d6a717718"
1133
+
1134
+ [[package]]
1135
+ name = "futures-macro"
1136
+ version = "0.3.32"
1137
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1138
+ checksum = "e835b70203e41293343137df5c0664546da5745f82ec9b84d40be8336958447b"
1139
+ dependencies = [
1140
+ "proc-macro2",
1141
+ "quote",
1142
+ "syn",
1143
+ ]
1144
+
1145
+ [[package]]
1146
+ name = "futures-sink"
1147
+ version = "0.3.32"
1148
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1149
+ checksum = "c39754e157331b013978ec91992bde1ac089843443c49cbc7f46150b0fad0893"
1150
+
1151
+ [[package]]
1152
+ name = "futures-task"
1153
+ version = "0.3.32"
1154
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1155
+ checksum = "037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393"
1156
+
1157
+ [[package]]
1158
+ name = "futures-util"
1159
+ version = "0.3.32"
1160
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1161
+ checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6"
1162
+ dependencies = [
1163
+ "futures-channel",
1164
+ "futures-core",
1165
+ "futures-io",
1166
+ "futures-macro",
1167
+ "futures-sink",
1168
+ "futures-task",
1169
+ "memchr",
1170
+ "pin-project-lite",
1171
+ "slab",
1172
+ ]
1173
+
1174
+ [[package]]
1175
+ name = "generic-array"
1176
+ version = "0.14.7"
1177
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1178
+ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
1179
+ dependencies = [
1180
+ "typenum",
1181
+ "version_check",
1182
+ ]
1183
+
1184
+ [[package]]
1185
+ name = "getrandom"
1186
+ version = "0.2.17"
1187
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1188
+ checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
1189
+ dependencies = [
1190
+ "cfg-if",
1191
+ "libc",
1192
+ "wasi",
1193
+ ]
1194
+
1195
+ [[package]]
1196
+ name = "getrandom"
1197
+ version = "0.3.4"
1198
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1199
+ checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
1200
+ dependencies = [
1201
+ "cfg-if",
1202
+ "libc",
1203
+ "r-efi 5.3.0",
1204
+ "wasip2",
1205
+ ]
1206
+
1207
+ [[package]]
1208
+ name = "getrandom"
1209
+ version = "0.4.3"
1210
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1211
+ checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
1212
+ dependencies = [
1213
+ "cfg-if",
1214
+ "libc",
1215
+ "r-efi 6.0.0",
1216
+ "rand_core 0.10.1",
1217
+ ]
1218
+
1219
+ [[package]]
1220
+ name = "glob"
1221
+ version = "0.3.3"
1222
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1223
+ checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
1224
+
1225
+ [[package]]
1226
+ name = "hashbrown"
1227
+ version = "0.16.1"
1228
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1229
+ checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"
1230
+ dependencies = [
1231
+ "foldhash",
1232
+ ]
1233
+
1234
+ [[package]]
1235
+ name = "hashbrown"
1236
+ version = "0.17.1"
1237
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1238
+ checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
1239
+ dependencies = [
1240
+ "foldhash",
1241
+ ]
1242
+
1243
+ [[package]]
1244
+ name = "hashlink"
1245
+ version = "0.12.0"
1246
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1247
+ checksum = "a5081f264ed7adee96ea4b4778b6bb9da0a7228b084587aa3bd3ff05da7c5a3b"
1248
+ dependencies = [
1249
+ "hashbrown 0.17.1",
1250
+ ]
1251
+
1252
+ [[package]]
1253
+ name = "headers"
1254
+ version = "0.4.1"
1255
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1256
+ checksum = "b3314d5adb5d94bcdf56771f2e50dbbc80bb4bdf88967526706205ac9eff24eb"
1257
+ dependencies = [
1258
+ "base64",
1259
+ "bytes",
1260
+ "headers-core",
1261
+ "http",
1262
+ "httpdate",
1263
+ "mime",
1264
+ "sha1",
1265
+ ]
1266
+
1267
+ [[package]]
1268
+ name = "headers-core"
1269
+ version = "0.3.0"
1270
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1271
+ checksum = "54b4a22553d4242c49fddb9ba998a99962b5cc6f22cb5a3482bec22522403ce4"
1272
+ dependencies = [
1273
+ "http",
1274
+ ]
1275
+
1276
+ [[package]]
1277
+ name = "heck"
1278
+ version = "0.5.0"
1279
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1280
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
1281
+
1282
+ [[package]]
1283
+ name = "hex"
1284
+ version = "0.4.3"
1285
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1286
+ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
1287
+
1288
+ [[package]]
1289
+ name = "hmac"
1290
+ version = "0.12.1"
1291
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1292
+ checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e"
1293
+ dependencies = [
1294
+ "digest 0.10.7",
1295
+ ]
1296
+
1297
+ [[package]]
1298
+ name = "hostname"
1299
+ version = "0.4.2"
1300
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1301
+ checksum = "617aaa3557aef3810a6369d0a99fac8a080891b68bd9f9812a1eeda0c0730cbd"
1302
+ dependencies = [
1303
+ "cfg-if",
1304
+ "libc",
1305
+ "windows-link",
1306
+ ]
1307
+
1308
+ [[package]]
1309
+ name = "html5ever"
1310
+ version = "0.35.0"
1311
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1312
+ checksum = "55d958c2f74b664487a2035fe1dadb032c48718a03b63f3ab0b8537db8549ed4"
1313
+ dependencies = [
1314
+ "log",
1315
+ "markup5ever",
1316
+ "match_token",
1317
+ ]
1318
+
1319
+ [[package]]
1320
+ name = "http"
1321
+ version = "1.4.2"
1322
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1323
+ checksum = "6970f50e31d6fc17d3fa27329444bfa74e196cf62e95052a3f6fee181dba6425"
1324
+ dependencies = [
1325
+ "bytes",
1326
+ "itoa",
1327
+ ]
1328
+
1329
+ [[package]]
1330
+ name = "http-body"
1331
+ version = "1.0.1"
1332
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1333
+ checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184"
1334
+ dependencies = [
1335
+ "bytes",
1336
+ "http",
1337
+ ]
1338
+
1339
+ [[package]]
1340
+ name = "http-body-util"
1341
+ version = "0.1.3"
1342
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1343
+ checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a"
1344
+ dependencies = [
1345
+ "bytes",
1346
+ "futures-core",
1347
+ "http",
1348
+ "http-body",
1349
+ "pin-project-lite",
1350
+ ]
1351
+
1352
+ [[package]]
1353
+ name = "httparse"
1354
+ version = "1.10.1"
1355
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1356
+ checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
1357
+
1358
+ [[package]]
1359
+ name = "httpdate"
1360
+ version = "1.0.3"
1361
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1362
+ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
1363
+
1364
+ [[package]]
1365
+ name = "hybrid-array"
1366
+ version = "0.4.12"
1367
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1368
+ checksum = "9155a582abd142abc056962c29e3ce5ff2ad5469f4246b537ed42c5deba857da"
1369
+ dependencies = [
1370
+ "typenum",
1371
+ ]
1372
+
1373
+ [[package]]
1374
+ name = "hyper"
1375
+ version = "1.10.1"
1376
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1377
+ checksum = "55281c53a1894c864990125767da440a4e630446785086f52523b20033b74498"
1378
+ dependencies = [
1379
+ "atomic-waker",
1380
+ "bytes",
1381
+ "futures-channel",
1382
+ "futures-core",
1383
+ "http",
1384
+ "http-body",
1385
+ "httparse",
1386
+ "httpdate",
1387
+ "itoa",
1388
+ "pin-project-lite",
1389
+ "smallvec",
1390
+ "tokio",
1391
+ "want",
1392
+ ]
1393
+
1394
+ [[package]]
1395
+ name = "hyper-util"
1396
+ version = "0.1.20"
1397
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1398
+ checksum = "96547c2556ec9d12fb1578c4eaf448b04993e7fb79cbaad930a656880a6bdfa0"
1399
+ dependencies = [
1400
+ "base64",
1401
+ "bytes",
1402
+ "futures-channel",
1403
+ "futures-util",
1404
+ "http",
1405
+ "http-body",
1406
+ "hyper",
1407
+ "ipnet",
1408
+ "libc",
1409
+ "percent-encoding",
1410
+ "pin-project-lite",
1411
+ "socket2",
1412
+ "tokio",
1413
+ "tower-service",
1414
+ "tracing",
1415
+ ]
1416
+
1417
+ [[package]]
1418
+ name = "icu_collections"
1419
+ version = "2.2.0"
1420
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1421
+ checksum = "2984d1cd16c883d7935b9e07e44071dca8d917fd52ecc02c04d5fa0b5a3f191c"
1422
+ dependencies = [
1423
+ "displaydoc",
1424
+ "potential_utf",
1425
+ "utf8_iter",
1426
+ "yoke",
1427
+ "zerofrom",
1428
+ "zerovec",
1429
+ ]
1430
+
1431
+ [[package]]
1432
+ name = "icu_locale_core"
1433
+ version = "2.2.0"
1434
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1435
+ checksum = "92219b62b3e2b4d88ac5119f8904c10f8f61bf7e95b640d25ba3075e6cac2c29"
1436
+ dependencies = [
1437
+ "displaydoc",
1438
+ "litemap",
1439
+ "tinystr",
1440
+ "writeable",
1441
+ "zerovec",
1442
+ ]
1443
+
1444
+ [[package]]
1445
+ name = "icu_normalizer"
1446
+ version = "2.2.0"
1447
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1448
+ checksum = "c56e5ee99d6e3d33bd91c5d85458b6005a22140021cc324cea84dd0e72cff3b4"
1449
+ dependencies = [
1450
+ "icu_collections",
1451
+ "icu_normalizer_data",
1452
+ "icu_properties",
1453
+ "icu_provider",
1454
+ "smallvec",
1455
+ "zerovec",
1456
+ ]
1457
+
1458
+ [[package]]
1459
+ name = "icu_normalizer_data"
1460
+ version = "2.2.0"
1461
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1462
+ checksum = "da3be0ae77ea334f4da67c12f149704f19f81d1adf7c51cf482943e84a2bad38"
1463
+
1464
+ [[package]]
1465
+ name = "icu_properties"
1466
+ version = "2.2.0"
1467
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1468
+ checksum = "bee3b67d0ea5c2cca5003417989af8996f8604e34fb9ddf96208a033901e70de"
1469
+ dependencies = [
1470
+ "icu_collections",
1471
+ "icu_locale_core",
1472
+ "icu_properties_data",
1473
+ "icu_provider",
1474
+ "zerotrie",
1475
+ "zerovec",
1476
+ ]
1477
+
1478
+ [[package]]
1479
+ name = "icu_properties_data"
1480
+ version = "2.2.0"
1481
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1482
+ checksum = "8e2bbb201e0c04f7b4b3e14382af113e17ba4f63e2c9d2ee626b720cbce54a14"
1483
+
1484
+ [[package]]
1485
+ name = "icu_provider"
1486
+ version = "2.2.0"
1487
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1488
+ checksum = "139c4cf31c8b5f33d7e199446eff9c1e02decfc2f0eec2c8d71f65befa45b421"
1489
+ dependencies = [
1490
+ "displaydoc",
1491
+ "icu_locale_core",
1492
+ "writeable",
1493
+ "yoke",
1494
+ "zerofrom",
1495
+ "zerotrie",
1496
+ "zerovec",
1497
+ ]
1498
+
1499
+ [[package]]
1500
+ name = "idna"
1501
+ version = "1.1.0"
1502
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1503
+ checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de"
1504
+ dependencies = [
1505
+ "idna_adapter",
1506
+ "smallvec",
1507
+ "utf8_iter",
1508
+ ]
1509
+
1510
+ [[package]]
1511
+ name = "idna_adapter"
1512
+ version = "1.2.2"
1513
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1514
+ checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714"
1515
+ dependencies = [
1516
+ "icu_normalizer",
1517
+ "icu_properties",
1518
+ ]
1519
+
1520
+ [[package]]
1521
+ name = "indexmap"
1522
+ version = "2.14.0"
1523
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1524
+ checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9"
1525
+ dependencies = [
1526
+ "equivalent",
1527
+ "hashbrown 0.17.1",
1528
+ ]
1529
+
1530
+ [[package]]
1531
+ name = "inout"
1532
+ version = "0.2.2"
1533
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1534
+ checksum = "4250ce6452e92010fdf7268ccc5d14faa80bb12fc741938534c58f16804e03c7"
1535
+ dependencies = [
1536
+ "hybrid-array",
1537
+ ]
1538
+
1539
+ [[package]]
1540
+ name = "ipnet"
1541
+ version = "2.12.0"
1542
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1543
+ checksum = "d98f6fed1fde3f8c21bc40a1abb88dd75e67924f9cffc3ef95607bad8017f8e2"
1544
+
1545
+ [[package]]
1546
+ name = "is_terminal_polyfill"
1547
+ version = "1.70.2"
1548
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1549
+ checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
1550
+
1551
+ [[package]]
1552
+ name = "itertools"
1553
+ version = "0.15.0"
1554
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1555
+ checksum = "8b4baf93f58d4425749ca49a51c50ebab072c5df6994d08fed93541c331481dc"
1556
+ dependencies = [
1557
+ "either",
1558
+ ]
1559
+
1560
+ [[package]]
1561
+ name = "itoa"
1562
+ version = "1.0.18"
1563
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1564
+ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
1565
+
1566
+ [[package]]
1567
+ name = "jobserver"
1568
+ version = "0.1.34"
1569
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1570
+ checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33"
1571
+ dependencies = [
1572
+ "getrandom 0.3.4",
1573
+ "libc",
1574
+ ]
1575
+
1576
+ [[package]]
1577
+ name = "js-sys"
1578
+ version = "0.3.102"
1579
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1580
+ checksum = "03d04c30968dffe80775bd4d7fb676131cd04a1fb46d2686dbffbaec2d9dfd31"
1581
+ dependencies = [
1582
+ "cfg-if",
1583
+ "futures-util",
1584
+ "wasm-bindgen",
1585
+ ]
1586
+
1587
+ [[package]]
1588
+ name = "kanal"
1589
+ version = "0.1.1"
1590
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1591
+ checksum = "9e3953adf0cd667798b396c2fa13552d6d9b3269d7dd1154c4c416442d1ff574"
1592
+ dependencies = [
1593
+ "futures-core",
1594
+ "lock_api",
1595
+ ]
1596
+
1597
+ [[package]]
1598
+ name = "lazy_static"
1599
+ version = "1.5.0"
1600
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1601
+ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
1602
+
1603
+ [[package]]
1604
+ name = "libc"
1605
+ version = "0.2.186"
1606
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1607
+ checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
1608
+
1609
+ [[package]]
1610
+ name = "libsqlite3-sys"
1611
+ version = "0.38.1"
1612
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1613
+ checksum = "f6c19a05435c21ac299d71b6a9c13db3e3f47c520517d58990a462a1397a61db"
1614
+ dependencies = [
1615
+ "cc",
1616
+ "pkg-config",
1617
+ "vcpkg",
1618
+ ]
1619
+
1620
+ [[package]]
1621
+ name = "litemap"
1622
+ version = "0.8.2"
1623
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1624
+ checksum = "92daf443525c4cce67b150400bc2316076100ce0b3686209eb8cf3c31612e6f0"
1625
+
1626
+ [[package]]
1627
+ name = "litrs"
1628
+ version = "1.0.0"
1629
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1630
+ checksum = "11d3d7f243d5c5a8b9bb5d6dd2b1602c0cb0b9db1621bafc7ed66e35ff9fe092"
1631
+
1632
+ [[package]]
1633
+ name = "lock_api"
1634
+ version = "0.4.14"
1635
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1636
+ checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965"
1637
+ dependencies = [
1638
+ "scopeguard",
1639
+ ]
1640
+
1641
+ [[package]]
1642
+ name = "log"
1643
+ version = "0.4.33"
1644
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1645
+ checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad"
1646
+
1647
+ [[package]]
1648
+ name = "mac"
1649
+ version = "0.1.1"
1650
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1651
+ checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4"
1652
+
1653
+ [[package]]
1654
+ name = "maplit"
1655
+ version = "1.0.2"
1656
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1657
+ checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d"
1658
+
1659
+ [[package]]
1660
+ name = "markup5ever"
1661
+ version = "0.35.0"
1662
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1663
+ checksum = "311fe69c934650f8f19652b3946075f0fc41ad8757dbb68f1ca14e7900ecc1c3"
1664
+ dependencies = [
1665
+ "log",
1666
+ "tendril",
1667
+ "web_atoms",
1668
+ ]
1669
+
1670
+ [[package]]
1671
+ name = "match_token"
1672
+ version = "0.35.0"
1673
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1674
+ checksum = "ac84fd3f360fcc43dc5f5d186f02a94192761a080e8bc58621ad4d12296a58cf"
1675
+ dependencies = [
1676
+ "proc-macro2",
1677
+ "quote",
1678
+ "syn",
1679
+ ]
1680
+
1681
+ [[package]]
1682
+ name = "matchit"
1683
+ version = "0.8.4"
1684
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1685
+ checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3"
1686
+
1687
+ [[package]]
1688
+ name = "memchr"
1689
+ version = "2.8.2"
1690
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1691
+ checksum = "88904434abc2901f197fe8cc55f0445e7ded921dba5911dad2e2b39b48e663c4"
1692
+
1693
+ [[package]]
1694
+ name = "mime"
1695
+ version = "0.3.17"
1696
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1697
+ checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
1698
+
1699
+ [[package]]
1700
+ name = "miniz_oxide"
1701
+ version = "0.8.9"
1702
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1703
+ checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
1704
+ dependencies = [
1705
+ "adler2",
1706
+ "simd-adler32",
1707
+ ]
1708
+
1709
+ [[package]]
1710
+ name = "mio"
1711
+ version = "1.2.1"
1712
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1713
+ checksum = "02bd0af71c67b473010cbbc60715ee815645a4dc942899111f494b4b737d6fda"
1714
+ dependencies = [
1715
+ "libc",
1716
+ "wasi",
1717
+ "windows-sys",
1718
+ ]
1719
+
1720
+ [[package]]
1721
+ name = "new_debug_unreachable"
1722
+ version = "1.0.6"
1723
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1724
+ checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086"
1725
+
1726
+ [[package]]
1727
+ name = "nu-ansi-term"
1728
+ version = "0.50.3"
1729
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1730
+ checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5"
1731
+ dependencies = [
1732
+ "windows-sys",
1733
+ ]
1734
+
1735
+ [[package]]
1736
+ name = "num-conv"
1737
+ version = "0.2.2"
1738
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1739
+ checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441"
1740
+
1741
+ [[package]]
1742
+ name = "once_cell"
1743
+ version = "1.21.4"
1744
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1745
+ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
1746
+
1747
+ [[package]]
1748
+ name = "once_cell_polyfill"
1749
+ version = "1.70.2"
1750
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1751
+ checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
1752
+
1753
+ [[package]]
1754
+ name = "papergrid"
1755
+ version = "0.18.0"
1756
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1757
+ checksum = "d0984e668274d34691bc2b262ef0d115de5fa9973bcdee7ae32213f93099153e"
1758
+ dependencies = [
1759
+ "bytecount",
1760
+ "fnv",
1761
+ "unicode-width",
1762
+ ]
1763
+
1764
+ [[package]]
1765
+ name = "parking_lot"
1766
+ version = "0.12.5"
1767
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1768
+ checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
1769
+ dependencies = [
1770
+ "lock_api",
1771
+ "parking_lot_core",
1772
+ ]
1773
+
1774
+ [[package]]
1775
+ name = "parking_lot_core"
1776
+ version = "0.9.12"
1777
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1778
+ checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
1779
+ dependencies = [
1780
+ "cfg-if",
1781
+ "libc",
1782
+ "redox_syscall",
1783
+ "smallvec",
1784
+ "windows-link",
1785
+ ]
1786
+
1787
+ [[package]]
1788
+ name = "percent-encoding"
1789
+ version = "2.3.2"
1790
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1791
+ checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
1792
+
1793
+ [[package]]
1794
+ name = "phf"
1795
+ version = "0.11.3"
1796
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1797
+ checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078"
1798
+ dependencies = [
1799
+ "phf_macros 0.11.3",
1800
+ "phf_shared 0.11.3",
1801
+ ]
1802
+
1803
+ [[package]]
1804
+ name = "phf"
1805
+ version = "0.14.0"
1806
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1807
+ checksum = "010378780309880b08997fae13be7834dba947d36393bd372f2b1556deb2a2f6"
1808
+ dependencies = [
1809
+ "phf_macros 0.14.0",
1810
+ "phf_shared 0.14.0",
1811
+ "serde",
1812
+ ]
1813
+
1814
+ [[package]]
1815
+ name = "phf_codegen"
1816
+ version = "0.11.3"
1817
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1818
+ checksum = "aef8048c789fa5e851558d709946d6d79a8ff88c0440c587967f8e94bfb1216a"
1819
+ dependencies = [
1820
+ "phf_generator 0.11.3",
1821
+ "phf_shared 0.11.3",
1822
+ ]
1823
+
1824
+ [[package]]
1825
+ name = "phf_generator"
1826
+ version = "0.11.3"
1827
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1828
+ checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d"
1829
+ dependencies = [
1830
+ "phf_shared 0.11.3",
1831
+ "rand 0.8.6",
1832
+ ]
1833
+
1834
+ [[package]]
1835
+ name = "phf_generator"
1836
+ version = "0.14.0"
1837
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1838
+ checksum = "aeb62e0959d5a1bebc965f4d15d9e2b7cea002b6b0f5ba8cde6cc26738467100"
1839
+ dependencies = [
1840
+ "fastrand",
1841
+ "phf_shared 0.14.0",
1842
+ ]
1843
+
1844
+ [[package]]
1845
+ name = "phf_macros"
1846
+ version = "0.11.3"
1847
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1848
+ checksum = "f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216"
1849
+ dependencies = [
1850
+ "phf_generator 0.11.3",
1851
+ "phf_shared 0.11.3",
1852
+ "proc-macro2",
1853
+ "quote",
1854
+ "syn",
1855
+ ]
1856
+
1857
+ [[package]]
1858
+ name = "phf_macros"
1859
+ version = "0.14.0"
1860
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1861
+ checksum = "5fa8d0ca26d424d27630da600c6624696e7dec8bf7b3b492b383c5dc49e5e085"
1862
+ dependencies = [
1863
+ "phf_generator 0.14.0",
1864
+ "phf_shared 0.14.0",
1865
+ "proc-macro2",
1866
+ "quote",
1867
+ "syn",
1868
+ ]
1869
+
1870
+ [[package]]
1871
+ name = "phf_shared"
1872
+ version = "0.11.3"
1873
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1874
+ checksum = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5"
1875
+ dependencies = [
1876
+ "siphasher",
1877
+ ]
1878
+
1879
+ [[package]]
1880
+ name = "phf_shared"
1881
+ version = "0.14.0"
1882
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1883
+ checksum = "c6fd9027e2d9319be6349febd1db4e8d02aa544921200c9b777720ac34a3aa89"
1884
+ dependencies = [
1885
+ "siphasher",
1886
+ ]
1887
+
1888
+ [[package]]
1889
+ name = "pin-project-lite"
1890
+ version = "0.2.17"
1891
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1892
+ checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
1893
+
1894
+ [[package]]
1895
+ name = "pkg-config"
1896
+ version = "0.3.33"
1897
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1898
+ checksum = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e"
1899
+
1900
+ [[package]]
1901
+ name = "plist"
1902
+ version = "1.9.0"
1903
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1904
+ checksum = "092791278e026273c1b65bbdcfbba3a300f2994c896bd01ab01da613c29c46f1"
1905
+ dependencies = [
1906
+ "base64",
1907
+ "indexmap",
1908
+ "quick-xml",
1909
+ "serde",
1910
+ "time",
1911
+ ]
1912
+
1913
+ [[package]]
1914
+ name = "poly1305"
1915
+ version = "0.9.0"
1916
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1917
+ checksum = "a00baa632505d05512f48a963e16051c54fda9a95cc9acea1a4e3c90991c4a2e"
1918
+ dependencies = [
1919
+ "cpufeatures 0.3.0",
1920
+ "universal-hash",
1921
+ ]
1922
+
1923
+ [[package]]
1924
+ name = "potential_utf"
1925
+ version = "0.1.5"
1926
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1927
+ checksum = "0103b1cef7ec0cf76490e969665504990193874ea05c85ff9bab8b911d0a0564"
1928
+ dependencies = [
1929
+ "zerovec",
1930
+ ]
1931
+
1932
+ [[package]]
1933
+ name = "powerfmt"
1934
+ version = "0.2.0"
1935
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1936
+ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
1937
+
1938
+ [[package]]
1939
+ name = "ppv-lite86"
1940
+ version = "0.2.21"
1941
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1942
+ checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
1943
+ dependencies = [
1944
+ "zerocopy",
1945
+ ]
1946
+
1947
+ [[package]]
1948
+ name = "precomputed-hash"
1949
+ version = "0.1.1"
1950
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1951
+ checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
1952
+
1953
+ [[package]]
1954
+ name = "proc-macro-error-attr2"
1955
+ version = "2.0.0"
1956
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1957
+ checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5"
1958
+ dependencies = [
1959
+ "proc-macro2",
1960
+ "quote",
1961
+ ]
1962
+
1963
+ [[package]]
1964
+ name = "proc-macro-error2"
1965
+ version = "2.0.1"
1966
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1967
+ checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802"
1968
+ dependencies = [
1969
+ "proc-macro-error-attr2",
1970
+ "proc-macro2",
1971
+ "quote",
1972
+ "syn",
1973
+ ]
1974
+
1975
+ [[package]]
1976
+ name = "proc-macro2"
1977
+ version = "1.0.106"
1978
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1979
+ checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
1980
+ dependencies = [
1981
+ "unicode-ident",
1982
+ ]
1983
+
1984
+ [[package]]
1985
+ name = "psl-types"
1986
+ version = "2.0.11"
1987
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1988
+ checksum = "33cb294fe86a74cbcf50d4445b37da762029549ebeea341421c7c70370f86cac"
1989
+
1990
+ [[package]]
1991
+ name = "publicsuffix"
1992
+ version = "2.3.0"
1993
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1994
+ checksum = "6f42ea446cab60335f76979ec15e12619a2165b5ae2c12166bef27d283a9fadf"
1995
+ dependencies = [
1996
+ "idna",
1997
+ "psl-types",
1998
+ ]
1999
+
2000
+ [[package]]
2001
+ name = "pulldown-cmark"
2002
+ version = "0.13.4"
2003
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2004
+ checksum = "e9f068eba8e7071c5f9511831b44f32c740d5adf574e990f946ddb53db2f314e"
2005
+ dependencies = [
2006
+ "bitflags",
2007
+ "memchr",
2008
+ "pulldown-cmark-escape",
2009
+ "unicase",
2010
+ ]
2011
+
2012
+ [[package]]
2013
+ name = "pulldown-cmark-escape"
2014
+ version = "0.11.0"
2015
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2016
+ checksum = "007d8adb5ddab6f8e3f491ac63566a7d5002cc7ed73901f72057943fa71ae1ae"
2017
+
2018
+ [[package]]
2019
+ name = "qrcodegen"
2020
+ version = "1.8.0"
2021
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2022
+ checksum = "4339fc7a1021c9c1621d87f5e3505f2805c8c105420ba2f2a4df86814590c142"
2023
+
2024
+ [[package]]
2025
+ name = "quick-xml"
2026
+ version = "0.39.4"
2027
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2028
+ checksum = "cdcc8dd4e2f670d309a5f0e83fe36dfdc05af317008fea29144da1a2ac858e5e"
2029
+ dependencies = [
2030
+ "memchr",
2031
+ ]
2032
+
2033
+ [[package]]
2034
+ name = "quote"
2035
+ version = "1.0.46"
2036
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2037
+ checksum = "dfbc457d0c7a0759a614551b11a6409e5951f6c7537be1f1b7682b9ae9230368"
2038
+ dependencies = [
2039
+ "proc-macro2",
2040
+ ]
2041
+
2042
+ [[package]]
2043
+ name = "r-efi"
2044
+ version = "5.3.0"
2045
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2046
+ checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
2047
+
2048
+ [[package]]
2049
+ name = "r-efi"
2050
+ version = "6.0.0"
2051
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2052
+ checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
2053
+
2054
+ [[package]]
2055
+ name = "rand"
2056
+ version = "0.8.6"
2057
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2058
+ checksum = "5ca0ecfa931c29007047d1bc58e623ab12e5590e8c7cc53200d5202b69266d8a"
2059
+ dependencies = [
2060
+ "libc",
2061
+ "rand_chacha",
2062
+ "rand_core 0.6.4",
2063
+ ]
2064
+
2065
+ [[package]]
2066
+ name = "rand"
2067
+ version = "0.10.1"
2068
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2069
+ checksum = "d2e8e8bcc7961af1fdac401278c6a831614941f6164ee3bf4ce61b7edb162207"
2070
+ dependencies = [
2071
+ "chacha20",
2072
+ "getrandom 0.4.3",
2073
+ "rand_core 0.10.1",
2074
+ ]
2075
+
2076
+ [[package]]
2077
+ name = "rand_chacha"
2078
+ version = "0.3.1"
2079
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2080
+ checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
2081
+ dependencies = [
2082
+ "ppv-lite86",
2083
+ "rand_core 0.6.4",
2084
+ ]
2085
+
2086
+ [[package]]
2087
+ name = "rand_core"
2088
+ version = "0.6.4"
2089
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2090
+ checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
2091
+ dependencies = [
2092
+ "getrandom 0.2.17",
2093
+ ]
2094
+
2095
+ [[package]]
2096
+ name = "rand_core"
2097
+ version = "0.10.1"
2098
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2099
+ checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69"
2100
+
2101
+ [[package]]
2102
+ name = "redox_syscall"
2103
+ version = "0.5.18"
2104
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2105
+ checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
2106
+ dependencies = [
2107
+ "bitflags",
2108
+ ]
2109
+
2110
+ [[package]]
2111
+ name = "regex-automata"
2112
+ version = "0.4.14"
2113
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2114
+ checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f"
2115
+ dependencies = [
2116
+ "aho-corasick",
2117
+ "memchr",
2118
+ "regex-syntax",
2119
+ ]
2120
+
2121
+ [[package]]
2122
+ name = "regex-syntax"
2123
+ version = "0.8.11"
2124
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2125
+ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
2126
+
2127
+ [[package]]
2128
+ name = "reqwest"
2129
+ version = "0.13.4"
2130
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2131
+ checksum = "219c5811de6525e5416c7d5d53bb656d3afdbc6c5af816e0802bcfa42dbdc1c3"
2132
+ dependencies = [
2133
+ "base64",
2134
+ "bytes",
2135
+ "cookie",
2136
+ "cookie_store",
2137
+ "futures-core",
2138
+ "http",
2139
+ "http-body",
2140
+ "http-body-util",
2141
+ "hyper",
2142
+ "hyper-util",
2143
+ "js-sys",
2144
+ "log",
2145
+ "percent-encoding",
2146
+ "pin-project-lite",
2147
+ "serde",
2148
+ "serde_json",
2149
+ "serde_urlencoded",
2150
+ "sync_wrapper",
2151
+ "tokio",
2152
+ "tower",
2153
+ "tower-http 0.6.11",
2154
+ "tower-service",
2155
+ "url",
2156
+ "wasm-bindgen",
2157
+ "wasm-bindgen-futures",
2158
+ "web-sys",
2159
+ ]
2160
+
2161
+ [[package]]
2162
+ name = "rsqlite-vfs"
2163
+ version = "0.1.1"
2164
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2165
+ checksum = "c51c9ae4df8a7fba42103df5c621fa3c37eccf3a3c650879e90fc48b11cc192c"
2166
+ dependencies = [
2167
+ "hashbrown 0.16.1",
2168
+ "thiserror",
2169
+ ]
2170
+
2171
+ [[package]]
2172
+ name = "rusqlite"
2173
+ version = "0.40.1"
2174
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2175
+ checksum = "11438310b19e3109b6446c33d1ed5e889428cf2e278407bc7896bc4aaea43323"
2176
+ dependencies = [
2177
+ "bitflags",
2178
+ "fallible-iterator",
2179
+ "fallible-streaming-iterator",
2180
+ "hashlink",
2181
+ "libsqlite3-sys",
2182
+ "smallvec",
2183
+ "sqlite-wasm-rs",
2184
+ ]
2185
+
2186
+ [[package]]
2187
+ name = "rusqlite_migration"
2188
+ version = "2.6.0"
2189
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2190
+ checksum = "03451d4dc523c0a96d9e412c574670b3f5f184c3988b77a435876be25477bbd3"
2191
+ dependencies = [
2192
+ "log",
2193
+ "rusqlite",
2194
+ ]
2195
+
2196
+ [[package]]
2197
+ name = "rust-argon2"
2198
+ version = "3.0.0"
2199
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2200
+ checksum = "8ae76b7506744d254fd0eb2c0ff5c5d108201ccbb083111ac04a44eeda105680"
2201
+ dependencies = [
2202
+ "base64",
2203
+ "blake2b_simd",
2204
+ "constant_time_eq",
2205
+ "crossbeam-utils",
2206
+ ]
2207
+
2208
+ [[package]]
2209
+ name = "rustc-hash"
2210
+ version = "2.1.2"
2211
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2212
+ checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe"
2213
+
2214
+ [[package]]
2215
+ name = "rustversion"
2216
+ version = "1.0.22"
2217
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2218
+ checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
2219
+
2220
+ [[package]]
2221
+ name = "ryu"
2222
+ version = "1.0.23"
2223
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2224
+ checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f"
2225
+
2226
+ [[package]]
2227
+ name = "same-file"
2228
+ version = "1.0.6"
2229
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2230
+ checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
2231
+ dependencies = [
2232
+ "winapi-util",
2233
+ ]
2234
+
2235
+ [[package]]
2236
+ name = "scopeguard"
2237
+ version = "1.2.0"
2238
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2239
+ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
2240
+
2241
+ [[package]]
2242
+ name = "serde"
2243
+ version = "1.0.228"
2244
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2245
+ checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
2246
+ dependencies = [
2247
+ "serde_core",
2248
+ "serde_derive",
2249
+ ]
2250
+
2251
+ [[package]]
2252
+ name = "serde_core"
2253
+ version = "1.0.228"
2254
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2255
+ checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
2256
+ dependencies = [
2257
+ "serde_derive",
2258
+ ]
2259
+
2260
+ [[package]]
2261
+ name = "serde_derive"
2262
+ version = "1.0.228"
2263
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2264
+ checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
2265
+ dependencies = [
2266
+ "proc-macro2",
2267
+ "quote",
2268
+ "syn",
2269
+ ]
2270
+
2271
+ [[package]]
2272
+ name = "serde_json"
2273
+ version = "1.0.150"
2274
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2275
+ checksum = "e8014e44b4736ed0538adeecded0fce2a272f22dc9578a7eb6b2d9993c74cfb9"
2276
+ dependencies = [
2277
+ "itoa",
2278
+ "memchr",
2279
+ "serde",
2280
+ "serde_core",
2281
+ "zmij",
2282
+ ]
2283
+
2284
+ [[package]]
2285
+ name = "serde_path_to_error"
2286
+ version = "0.1.20"
2287
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2288
+ checksum = "10a9ff822e371bb5403e391ecd83e182e0e77ba7f6fe0160b795797109d1b457"
2289
+ dependencies = [
2290
+ "itoa",
2291
+ "serde",
2292
+ "serde_core",
2293
+ ]
2294
+
2295
+ [[package]]
2296
+ name = "serde_urlencoded"
2297
+ version = "0.7.1"
2298
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2299
+ checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd"
2300
+ dependencies = [
2301
+ "form_urlencoded",
2302
+ "itoa",
2303
+ "ryu",
2304
+ "serde",
2305
+ ]
2306
+
2307
+ [[package]]
2308
+ name = "sha1"
2309
+ version = "0.10.6"
2310
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2311
+ checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"
2312
+ dependencies = [
2313
+ "cfg-if",
2314
+ "cpufeatures 0.2.17",
2315
+ "digest 0.10.7",
2316
+ ]
2317
+
2318
+ [[package]]
2319
+ name = "sha2"
2320
+ version = "0.10.9"
2321
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2322
+ checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
2323
+ dependencies = [
2324
+ "cfg-if",
2325
+ "cpufeatures 0.2.17",
2326
+ "digest 0.10.7",
2327
+ ]
2328
+
2329
+ [[package]]
2330
+ name = "sha2"
2331
+ version = "0.11.0"
2332
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2333
+ checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4"
2334
+ dependencies = [
2335
+ "cfg-if",
2336
+ "cpufeatures 0.3.0",
2337
+ "digest 0.11.3",
2338
+ ]
2339
+
2340
+ [[package]]
2341
+ name = "sharded-slab"
2342
+ version = "0.1.7"
2343
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2344
+ checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6"
2345
+ dependencies = [
2346
+ "lazy_static",
2347
+ ]
2348
+
2349
+ [[package]]
2350
+ name = "shlex"
2351
+ version = "2.0.1"
2352
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2353
+ checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
2354
+
2355
+ [[package]]
2356
+ name = "signal-hook-registry"
2357
+ version = "1.4.8"
2358
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2359
+ checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b"
2360
+ dependencies = [
2361
+ "errno",
2362
+ "libc",
2363
+ ]
2364
+
2365
+ [[package]]
2366
+ name = "simd-adler32"
2367
+ version = "0.3.9"
2368
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2369
+ checksum = "703d5c7ef118737c72f1af64ad2f6f8c5e1921f818cdcb97b8fe6fc69bf66214"
2370
+
2371
+ [[package]]
2372
+ name = "siphasher"
2373
+ version = "1.0.3"
2374
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2375
+ checksum = "8ee5873ec9cce0195efcb7a4e9507a04cd49aec9c83d0389df45b1ef7ba2e649"
2376
+
2377
+ [[package]]
2378
+ name = "slab"
2379
+ version = "0.4.12"
2380
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2381
+ checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
2382
+
2383
+ [[package]]
2384
+ name = "smallvec"
2385
+ version = "1.15.2"
2386
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2387
+ checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90"
2388
+
2389
+ [[package]]
2390
+ name = "socket2"
2391
+ version = "0.6.4"
2392
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2393
+ checksum = "52d1cfed4120b4d927bf7c0f86d2087a4a7d6027c906d9f9d525a80573b9be51"
2394
+ dependencies = [
2395
+ "libc",
2396
+ "windows-sys",
2397
+ ]
2398
+
2399
+ [[package]]
2400
+ name = "sqlite-wasm-rs"
2401
+ version = "0.5.5"
2402
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2403
+ checksum = "dc3efc0da82635d7e1ced0053bbbfa8c7ab9645d0bf36ceb4f7127bb85315d75"
2404
+ dependencies = [
2405
+ "cc",
2406
+ "js-sys",
2407
+ "rsqlite-vfs",
2408
+ "wasm-bindgen",
2409
+ ]
2410
+
2411
+ [[package]]
2412
+ name = "stable_deref_trait"
2413
+ version = "1.2.1"
2414
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2415
+ checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
2416
+
2417
+ [[package]]
2418
+ name = "string_cache"
2419
+ version = "0.8.9"
2420
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2421
+ checksum = "bf776ba3fa74f83bf4b63c3dcbbf82173db2632ed8452cb2d891d33f459de70f"
2422
+ dependencies = [
2423
+ "new_debug_unreachable",
2424
+ "parking_lot",
2425
+ "phf_shared 0.11.3",
2426
+ "precomputed-hash",
2427
+ "serde",
2428
+ ]
2429
+
2430
+ [[package]]
2431
+ name = "string_cache_codegen"
2432
+ version = "0.5.4"
2433
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2434
+ checksum = "c711928715f1fe0fe509c53b43e993a9a557babc2d0a3567d0a3006f1ac931a0"
2435
+ dependencies = [
2436
+ "phf_generator 0.11.3",
2437
+ "phf_shared 0.11.3",
2438
+ "proc-macro2",
2439
+ "quote",
2440
+ ]
2441
+
2442
+ [[package]]
2443
+ name = "strsim"
2444
+ version = "0.11.1"
2445
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2446
+ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
2447
+
2448
+ [[package]]
2449
+ name = "subtle"
2450
+ version = "2.6.1"
2451
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2452
+ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
2453
+
2454
+ [[package]]
2455
+ name = "syn"
2456
+ version = "2.0.118"
2457
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2458
+ checksum = "1b9ae57f904213ebb649ce6895b8a66c66f0203b9319718f69a5612a065b1422"
2459
+ dependencies = [
2460
+ "proc-macro2",
2461
+ "quote",
2462
+ "unicode-ident",
2463
+ ]
2464
+
2465
+ [[package]]
2466
+ name = "sync_wrapper"
2467
+ version = "1.0.2"
2468
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2469
+ checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263"
2470
+ dependencies = [
2471
+ "futures-core",
2472
+ ]
2473
+
2474
+ [[package]]
2475
+ name = "synstructure"
2476
+ version = "0.13.2"
2477
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2478
+ checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2"
2479
+ dependencies = [
2480
+ "proc-macro2",
2481
+ "quote",
2482
+ "syn",
2483
+ ]
2484
+
2485
+ [[package]]
2486
+ name = "syntect"
2487
+ version = "5.3.0"
2488
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2489
+ checksum = "656b45c05d95a5704399aeef6bd0ddec7b2b3531b7c9e900abbf7c4d2190c925"
2490
+ dependencies = [
2491
+ "bincode",
2492
+ "fancy-regex",
2493
+ "flate2",
2494
+ "fnv",
2495
+ "once_cell",
2496
+ "plist",
2497
+ "regex-syntax",
2498
+ "serde",
2499
+ "serde_derive",
2500
+ "serde_json",
2501
+ "thiserror",
2502
+ "walkdir",
2503
+ ]
2504
+
2505
+ [[package]]
2506
+ name = "tabled"
2507
+ version = "0.21.0"
2508
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2509
+ checksum = "b5dc662e6da844ad6e428ad16b57967c9d33c82e16bb1c258326c0c078605dff"
2510
+ dependencies = [
2511
+ "papergrid",
2512
+ "tabled_derive",
2513
+ "testing_table",
2514
+ ]
2515
+
2516
+ [[package]]
2517
+ name = "tabled_derive"
2518
+ version = "0.11.0"
2519
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2520
+ checksum = "0ea5d1b13ca6cff1f9231ffd62f15eefd72543dab5e468735f1a456728a02846"
2521
+ dependencies = [
2522
+ "heck",
2523
+ "proc-macro-error2",
2524
+ "proc-macro2",
2525
+ "quote",
2526
+ "syn",
2527
+ ]
2528
+
2529
+ [[package]]
2530
+ name = "tendril"
2531
+ version = "0.4.3"
2532
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2533
+ checksum = "d24a120c5fc464a3458240ee02c299ebcb9d67b5249c8848b09d639dca8d7bb0"
2534
+ dependencies = [
2535
+ "futf",
2536
+ "mac",
2537
+ "utf-8",
2538
+ ]
2539
+
2540
+ [[package]]
2541
+ name = "testing_table"
2542
+ version = "0.3.0"
2543
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2544
+ checksum = "0f8daae29995a24f65619e19d8d31dea5b389f3d853d8bf297bbf607cd0014cc"
2545
+ dependencies = [
2546
+ "unicode-width",
2547
+ ]
2548
+
2549
+ [[package]]
2550
+ name = "thiserror"
2551
+ version = "2.0.18"
2552
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2553
+ checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4"
2554
+ dependencies = [
2555
+ "thiserror-impl",
2556
+ ]
2557
+
2558
+ [[package]]
2559
+ name = "thiserror-impl"
2560
+ version = "2.0.18"
2561
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2562
+ checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5"
2563
+ dependencies = [
2564
+ "proc-macro2",
2565
+ "quote",
2566
+ "syn",
2567
+ ]
2568
+
2569
+ [[package]]
2570
+ name = "thread_local"
2571
+ version = "1.1.9"
2572
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2573
+ checksum = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185"
2574
+ dependencies = [
2575
+ "cfg-if",
2576
+ ]
2577
+
2578
+ [[package]]
2579
+ name = "time"
2580
+ version = "0.3.51"
2581
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2582
+ checksum = "85c17d80feb7334b40c484e45ed1a5273dfd8bfda537c3be2e74a06a6686f327"
2583
+ dependencies = [
2584
+ "deranged",
2585
+ "num-conv",
2586
+ "powerfmt",
2587
+ "serde_core",
2588
+ "time-core",
2589
+ "time-macros",
2590
+ ]
2591
+
2592
+ [[package]]
2593
+ name = "time-core"
2594
+ version = "0.1.9"
2595
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2596
+ checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109"
2597
+
2598
+ [[package]]
2599
+ name = "time-macros"
2600
+ version = "0.2.30"
2601
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2602
+ checksum = "dcef1a61bdb119096e153208ec5cbec23944ce8bca13be5c7f60c634f7403935"
2603
+ dependencies = [
2604
+ "num-conv",
2605
+ "time-core",
2606
+ ]
2607
+
2608
+ [[package]]
2609
+ name = "tinystr"
2610
+ version = "0.8.3"
2611
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2612
+ checksum = "c8323304221c2a851516f22236c5722a72eaa19749016521d6dff0824447d96d"
2613
+ dependencies = [
2614
+ "displaydoc",
2615
+ "zerovec",
2616
+ ]
2617
+
2618
+ [[package]]
2619
+ name = "tokio"
2620
+ version = "1.52.3"
2621
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2622
+ checksum = "8fc7f01b389ac15039e4dc9531aa973a135d7a4135281b12d7c1bc79fd57fffe"
2623
+ dependencies = [
2624
+ "bytes",
2625
+ "libc",
2626
+ "mio",
2627
+ "pin-project-lite",
2628
+ "signal-hook-registry",
2629
+ "socket2",
2630
+ "tokio-macros",
2631
+ "windows-sys",
2632
+ ]
2633
+
2634
+ [[package]]
2635
+ name = "tokio-macros"
2636
+ version = "2.7.0"
2637
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2638
+ checksum = "385a6cb71ab9ab790c5fe8d67f1645e6c450a7ce006a33de03daa956cf70a496"
2639
+ dependencies = [
2640
+ "proc-macro2",
2641
+ "quote",
2642
+ "syn",
2643
+ ]
2644
+
2645
+ [[package]]
2646
+ name = "tokio-util"
2647
+ version = "0.7.18"
2648
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2649
+ checksum = "9ae9cec805b01e8fc3fd2fe289f89149a9b66dd16786abd8b19cfa7b48cb0098"
2650
+ dependencies = [
2651
+ "bytes",
2652
+ "futures-core",
2653
+ "futures-sink",
2654
+ "pin-project-lite",
2655
+ "tokio",
2656
+ ]
2657
+
2658
+ [[package]]
2659
+ name = "tower"
2660
+ version = "0.5.3"
2661
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2662
+ checksum = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4"
2663
+ dependencies = [
2664
+ "futures-core",
2665
+ "futures-util",
2666
+ "pin-project-lite",
2667
+ "sync_wrapper",
2668
+ "tokio",
2669
+ "tower-layer",
2670
+ "tower-service",
2671
+ "tracing",
2672
+ ]
2673
+
2674
+ [[package]]
2675
+ name = "tower-http"
2676
+ version = "0.6.11"
2677
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2678
+ checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840"
2679
+ dependencies = [
2680
+ "bitflags",
2681
+ "bytes",
2682
+ "futures-util",
2683
+ "http",
2684
+ "http-body",
2685
+ "pin-project-lite",
2686
+ "tower",
2687
+ "tower-layer",
2688
+ "tower-service",
2689
+ "url",
2690
+ ]
2691
+
2692
+ [[package]]
2693
+ name = "tower-http"
2694
+ version = "0.7.0"
2695
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2696
+ checksum = "b11f75e912b0c2be01b63d8cf8057b8c3f97cf34abb3d431a3a4c8675498e233"
2697
+ dependencies = [
2698
+ "async-compression",
2699
+ "bitflags",
2700
+ "bytes",
2701
+ "futures-core",
2702
+ "http",
2703
+ "http-body",
2704
+ "http-body-util",
2705
+ "percent-encoding",
2706
+ "pin-project-lite",
2707
+ "tokio",
2708
+ "tokio-util",
2709
+ "tower-layer",
2710
+ "tower-service",
2711
+ "tracing",
2712
+ ]
2713
+
2714
+ [[package]]
2715
+ name = "tower-layer"
2716
+ version = "0.3.3"
2717
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2718
+ checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e"
2719
+
2720
+ [[package]]
2721
+ name = "tower-service"
2722
+ version = "0.3.3"
2723
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2724
+ checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3"
2725
+
2726
+ [[package]]
2727
+ name = "tracing"
2728
+ version = "0.1.44"
2729
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2730
+ checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100"
2731
+ dependencies = [
2732
+ "log",
2733
+ "pin-project-lite",
2734
+ "tracing-attributes",
2735
+ "tracing-core",
2736
+ ]
2737
+
2738
+ [[package]]
2739
+ name = "tracing-attributes"
2740
+ version = "0.1.31"
2741
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2742
+ checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da"
2743
+ dependencies = [
2744
+ "proc-macro2",
2745
+ "quote",
2746
+ "syn",
2747
+ ]
2748
+
2749
+ [[package]]
2750
+ name = "tracing-core"
2751
+ version = "0.1.36"
2752
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2753
+ checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a"
2754
+ dependencies = [
2755
+ "once_cell",
2756
+ "valuable",
2757
+ ]
2758
+
2759
+ [[package]]
2760
+ name = "tracing-log"
2761
+ version = "0.2.0"
2762
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2763
+ checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3"
2764
+ dependencies = [
2765
+ "log",
2766
+ "once_cell",
2767
+ "tracing-core",
2768
+ ]
2769
+
2770
+ [[package]]
2771
+ name = "tracing-subscriber"
2772
+ version = "0.3.23"
2773
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2774
+ checksum = "cb7f578e5945fb242538965c2d0b04418d38ec25c79d160cd279bf0731c8d319"
2775
+ dependencies = [
2776
+ "nu-ansi-term",
2777
+ "sharded-slab",
2778
+ "smallvec",
2779
+ "thread_local",
2780
+ "tracing-core",
2781
+ "tracing-log",
2782
+ ]
2783
+
2784
+ [[package]]
2785
+ name = "try-lock"
2786
+ version = "0.2.5"
2787
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2788
+ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
2789
+
2790
+ [[package]]
2791
+ name = "two-face"
2792
+ version = "0.5.1"
2793
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2794
+ checksum = "b285c51f8a6ade109ed4566d33ac4fb289fb5d6cf87ed70908a5eaf65e948e34"
2795
+ dependencies = [
2796
+ "serde",
2797
+ "serde_derive",
2798
+ "syntect",
2799
+ ]
2800
+
2801
+ [[package]]
2802
+ name = "typenum"
2803
+ version = "1.20.1"
2804
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2805
+ checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
2806
+
2807
+ [[package]]
2808
+ name = "unicase"
2809
+ version = "2.9.0"
2810
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2811
+ checksum = "dbc4bc3a9f746d862c45cb89d705aa10f187bb96c76001afab07a0d35ce60142"
2812
+
2813
+ [[package]]
2814
+ name = "unicode-ident"
2815
+ version = "1.0.24"
2816
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2817
+ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
2818
+
2819
+ [[package]]
2820
+ name = "unicode-width"
2821
+ version = "0.2.2"
2822
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2823
+ checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254"
2824
+
2825
+ [[package]]
2826
+ name = "universal-hash"
2827
+ version = "0.6.1"
2828
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2829
+ checksum = "f4987bdc12753382e0bec4a65c50738ffaabc998b9cdd1f952fb5f39b0048a96"
2830
+ dependencies = [
2831
+ "crypto-common 0.2.2",
2832
+ "ctutils",
2833
+ ]
2834
+
2835
+ [[package]]
2836
+ name = "url"
2837
+ version = "2.5.8"
2838
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2839
+ checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed"
2840
+ dependencies = [
2841
+ "form_urlencoded",
2842
+ "idna",
2843
+ "percent-encoding",
2844
+ "serde",
2845
+ ]
2846
+
2847
+ [[package]]
2848
+ name = "utf-8"
2849
+ version = "0.7.6"
2850
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2851
+ checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
2852
+
2853
+ [[package]]
2854
+ name = "utf8_iter"
2855
+ version = "1.0.4"
2856
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2857
+ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
2858
+
2859
+ [[package]]
2860
+ name = "utf8parse"
2861
+ version = "0.2.2"
2862
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2863
+ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
2864
+
2865
+ [[package]]
2866
+ name = "valuable"
2867
+ version = "0.1.1"
2868
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2869
+ checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65"
2870
+
2871
+ [[package]]
2872
+ name = "vcpkg"
2873
+ version = "0.2.15"
2874
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2875
+ checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
2876
+
2877
+ [[package]]
2878
+ name = "version_check"
2879
+ version = "0.9.5"
2880
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2881
+ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
2882
+
2883
+ [[package]]
2884
+ name = "walkdir"
2885
+ version = "2.5.0"
2886
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2887
+ checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
2888
+ dependencies = [
2889
+ "same-file",
2890
+ "winapi-util",
2891
+ ]
2892
+
2893
+ [[package]]
2894
+ name = "want"
2895
+ version = "0.3.1"
2896
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2897
+ checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e"
2898
+ dependencies = [
2899
+ "try-lock",
2900
+ ]
2901
+
2902
+ [[package]]
2903
+ name = "wasi"
2904
+ version = "0.11.1+wasi-snapshot-preview1"
2905
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2906
+ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
2907
+
2908
+ [[package]]
2909
+ name = "wasip2"
2910
+ version = "1.0.4+wasi-0.2.12"
2911
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2912
+ checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487"
2913
+ dependencies = [
2914
+ "wit-bindgen",
2915
+ ]
2916
+
2917
+ [[package]]
2918
+ name = "wasm-bindgen"
2919
+ version = "0.2.125"
2920
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2921
+ checksum = "8ddb3f79143bced6de84270411622a2699cee572fc0875aeaf1e7867cf9fca1a"
2922
+ dependencies = [
2923
+ "cfg-if",
2924
+ "once_cell",
2925
+ "rustversion",
2926
+ "wasm-bindgen-macro",
2927
+ "wasm-bindgen-shared",
2928
+ ]
2929
+
2930
+ [[package]]
2931
+ name = "wasm-bindgen-futures"
2932
+ version = "0.4.75"
2933
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2934
+ checksum = "503b14d284f2c8dac03b819967e155ea753f573586193b2b2c95990cb5d69280"
2935
+ dependencies = [
2936
+ "js-sys",
2937
+ "wasm-bindgen",
2938
+ ]
2939
+
2940
+ [[package]]
2941
+ name = "wasm-bindgen-macro"
2942
+ version = "0.2.125"
2943
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2944
+ checksum = "4e21a184b13fb19e157296e2c46056aec9092264fab83e4ba59e68c61b323c3d"
2945
+ dependencies = [
2946
+ "quote",
2947
+ "wasm-bindgen-macro-support",
2948
+ ]
2949
+
2950
+ [[package]]
2951
+ name = "wasm-bindgen-macro-support"
2952
+ version = "0.2.125"
2953
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2954
+ checksum = "fecefd9c35bd935a20fc3fc344b5f29138961e4f47fb03297d88f2587afb5ebd"
2955
+ dependencies = [
2956
+ "bumpalo",
2957
+ "proc-macro2",
2958
+ "quote",
2959
+ "syn",
2960
+ "wasm-bindgen-shared",
2961
+ ]
2962
+
2963
+ [[package]]
2964
+ name = "wasm-bindgen-shared"
2965
+ version = "0.2.125"
2966
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2967
+ checksum = "23939e44bb9a5d7576fa2b563dc2e136628f1224e88a8deed09e04858b77871f"
2968
+ dependencies = [
2969
+ "unicode-ident",
2970
+ ]
2971
+
2972
+ [[package]]
2973
+ name = "wastebin"
2974
+ version = "3.7.0"
2975
+ dependencies = [
2976
+ "askama",
2977
+ "askama_web",
2978
+ "axum",
2979
+ "axum-extra",
2980
+ "cached",
2981
+ "cookie",
2982
+ "futures",
2983
+ "headers",
2984
+ "hex",
2985
+ "hostname",
2986
+ "http",
2987
+ "itertools",
2988
+ "mime",
2989
+ "phf 0.14.0",
2990
+ "qrcodegen",
2991
+ "reqwest",
2992
+ "serde",
2993
+ "sha2 0.11.0",
2994
+ "thiserror",
2995
+ "tokio",
2996
+ "tower",
2997
+ "tower-http 0.7.0",
2998
+ "tracing",
2999
+ "tracing-subscriber",
3000
+ "url",
3001
+ "wastebin_core",
3002
+ "wastebin_highlight",
3003
+ ]
3004
+
3005
+ [[package]]
3006
+ name = "wastebin-ctl"
3007
+ version = "3.7.0"
3008
+ dependencies = [
3009
+ "anyhow",
3010
+ "clap",
3011
+ "clap_complete",
3012
+ "tabled",
3013
+ "tokio",
3014
+ "wastebin_core",
3015
+ ]
3016
+
3017
+ [[package]]
3018
+ name = "wastebin-theme-showcase"
3019
+ version = "3.7.0"
3020
+ dependencies = [
3021
+ "askama",
3022
+ "syntect",
3023
+ "two-face",
3024
+ "wastebin_highlight",
3025
+ ]
3026
+
3027
+ [[package]]
3028
+ name = "wastebin_core"
3029
+ version = "3.7.0"
3030
+ dependencies = [
3031
+ "async-compression",
3032
+ "chacha20poly1305",
3033
+ "kanal",
3034
+ "rand 0.10.1",
3035
+ "rusqlite",
3036
+ "rusqlite_migration",
3037
+ "rust-argon2",
3038
+ "serde",
3039
+ "thiserror",
3040
+ "tokio",
3041
+ "tracing",
3042
+ "zstd",
3043
+ ]
3044
+
3045
+ [[package]]
3046
+ name = "wastebin_highlight"
3047
+ version = "3.7.0"
3048
+ dependencies = [
3049
+ "ammonia",
3050
+ "pulldown-cmark",
3051
+ "syntect",
3052
+ "thiserror",
3053
+ "two-face",
3054
+ ]
3055
+
3056
+ [[package]]
3057
+ name = "web-sys"
3058
+ version = "0.3.102"
3059
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3060
+ checksum = "a6430a72df5eb332242960fe84b3002a241163998241eb596d4f739b9757061d"
3061
+ dependencies = [
3062
+ "js-sys",
3063
+ "wasm-bindgen",
3064
+ ]
3065
+
3066
+ [[package]]
3067
+ name = "web-time"
3068
+ version = "1.1.0"
3069
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3070
+ checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb"
3071
+ dependencies = [
3072
+ "js-sys",
3073
+ "wasm-bindgen",
3074
+ ]
3075
+
3076
+ [[package]]
3077
+ name = "web_atoms"
3078
+ version = "0.1.3"
3079
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3080
+ checksum = "57ffde1dc01240bdf9992e3205668b235e59421fd085e8a317ed98da0178d414"
3081
+ dependencies = [
3082
+ "phf 0.11.3",
3083
+ "phf_codegen",
3084
+ "string_cache",
3085
+ "string_cache_codegen",
3086
+ ]
3087
+
3088
+ [[package]]
3089
+ name = "winapi-util"
3090
+ version = "0.1.11"
3091
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3092
+ checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
3093
+ dependencies = [
3094
+ "windows-sys",
3095
+ ]
3096
+
3097
+ [[package]]
3098
+ name = "windows-link"
3099
+ version = "0.2.1"
3100
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3101
+ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
3102
+
3103
+ [[package]]
3104
+ name = "windows-sys"
3105
+ version = "0.61.2"
3106
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3107
+ checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
3108
+ dependencies = [
3109
+ "windows-link",
3110
+ ]
3111
+
3112
+ [[package]]
3113
+ name = "winnow"
3114
+ version = "1.0.3"
3115
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3116
+ checksum = "0592e1c9d151f854e6fd382574c3a0855250e1d9b2f99d9281c6e6391af352f1"
3117
+ dependencies = [
3118
+ "memchr",
3119
+ ]
3120
+
3121
+ [[package]]
3122
+ name = "wit-bindgen"
3123
+ version = "0.57.1"
3124
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3125
+ checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e"
3126
+
3127
+ [[package]]
3128
+ name = "writeable"
3129
+ version = "0.6.3"
3130
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3131
+ checksum = "1ffae5123b2d3fc086436f8834ae3ab053a283cfac8fe0a0b8eaae044768a4c4"
3132
+
3133
+ [[package]]
3134
+ name = "yoke"
3135
+ version = "0.8.3"
3136
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3137
+ checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5"
3138
+ dependencies = [
3139
+ "stable_deref_trait",
3140
+ "yoke-derive",
3141
+ "zerofrom",
3142
+ ]
3143
+
3144
+ [[package]]
3145
+ name = "yoke-derive"
3146
+ version = "0.8.2"
3147
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3148
+ checksum = "de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e"
3149
+ dependencies = [
3150
+ "proc-macro2",
3151
+ "quote",
3152
+ "syn",
3153
+ "synstructure",
3154
+ ]
3155
+
3156
+ [[package]]
3157
+ name = "zerocopy"
3158
+ version = "0.8.52"
3159
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3160
+ checksum = "ce1022995ff5ff5d841ad7d994facc23098cd40152f2c1d11cd607c6f530653f"
3161
+ dependencies = [
3162
+ "zerocopy-derive",
3163
+ ]
3164
+
3165
+ [[package]]
3166
+ name = "zerocopy-derive"
3167
+ version = "0.8.52"
3168
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3169
+ checksum = "1ae7f38b72ec2a254e2b87ef277cf2cd4fb97cbebf944faa6f33354da0867930"
3170
+ dependencies = [
3171
+ "proc-macro2",
3172
+ "quote",
3173
+ "syn",
3174
+ ]
3175
+
3176
+ [[package]]
3177
+ name = "zerofrom"
3178
+ version = "0.1.8"
3179
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3180
+ checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272"
3181
+ dependencies = [
3182
+ "zerofrom-derive",
3183
+ ]
3184
+
3185
+ [[package]]
3186
+ name = "zerofrom-derive"
3187
+ version = "0.1.7"
3188
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3189
+ checksum = "11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1"
3190
+ dependencies = [
3191
+ "proc-macro2",
3192
+ "quote",
3193
+ "syn",
3194
+ "synstructure",
3195
+ ]
3196
+
3197
+ [[package]]
3198
+ name = "zerotrie"
3199
+ version = "0.2.4"
3200
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3201
+ checksum = "0f9152d31db0792fa83f70fb2f83148effb5c1f5b8c7686c3459e361d9bc20bf"
3202
+ dependencies = [
3203
+ "displaydoc",
3204
+ "yoke",
3205
+ "zerofrom",
3206
+ ]
3207
+
3208
+ [[package]]
3209
+ name = "zerovec"
3210
+ version = "0.11.6"
3211
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3212
+ checksum = "90f911cbc359ab6af17377d242225f4d75119aec87ea711a880987b18cd7b239"
3213
+ dependencies = [
3214
+ "yoke",
3215
+ "zerofrom",
3216
+ "zerovec-derive",
3217
+ ]
3218
+
3219
+ [[package]]
3220
+ name = "zerovec-derive"
3221
+ version = "0.11.3"
3222
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3223
+ checksum = "625dc425cab0dca6dc3c3319506e6593dcb08a9f387ea3b284dbd52a92c40555"
3224
+ dependencies = [
3225
+ "proc-macro2",
3226
+ "quote",
3227
+ "syn",
3228
+ ]
3229
+
3230
+ [[package]]
3231
+ name = "zmij"
3232
+ version = "1.0.21"
3233
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3234
+ checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa"
3235
+
3236
+ [[package]]
3237
+ name = "zstd"
3238
+ version = "0.13.3"
3239
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3240
+ checksum = "e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a"
3241
+ dependencies = [
3242
+ "zstd-safe",
3243
+ ]
3244
+
3245
+ [[package]]
3246
+ name = "zstd-safe"
3247
+ version = "7.2.4"
3248
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3249
+ checksum = "8f49c4d5f0abb602a93fb8736af2a4f4dd9512e36f7f570d66e65ff867ed3b9d"
3250
+ dependencies = [
3251
+ "zstd-sys",
3252
+ ]
3253
+
3254
+ [[package]]
3255
+ name = "zstd-sys"
3256
+ version = "2.0.16+zstd.1.5.7"
3257
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3258
+ checksum = "91e19ebc2adc8f83e43039e79776e3fda8ca919132d68a1fed6a5faca2683748"
3259
+ dependencies = [
3260
+ "cc",
3261
+ "pkg-config",
3262
+ ]
3263
+ LOCK_EOF
3264
+
3265
+ # ---------------------------------------------------------------------------
3266
+ # Prefetch the dependency graph into CARGO_HOME. --manifest-path keeps cargo off
3267
+ # /source_ro and the repository root. `--locked` makes cargo resolve the graph
3268
+ # exactly as pinned by the embedded committed lock, so every crate that
3269
+ # build.sh's `--locked --offline` build will demand (including dev-dependencies
3270
+ # such as itertools/reqwest/tower that earlier made resolution fail) is cached.
3271
+ # ---------------------------------------------------------------------------
3272
+ cargo fetch --locked --manifest-path "$_mirror/Cargo.toml"
3273
+ _fetch_status=$?
3274
+ if [ "$_fetch_status" -ne 0 ]; then
3275
+ rm -rf "$_mirror"
3276
+ _pb_fail
3277
+ fi
3278
+
3279
+ rm -rf "$_mirror"
matze--wastebin.b494662/environment/executable ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c80fcf7137dbf5798c671012574a8ea3dc0b6e3cd9f5efd7420982286e3464b0
3
+ size 12892528
matze--wastebin.b494662/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
matze--wastebin.b494662/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
matze--wastebin.b494662/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
matze--wastebin.b494662/environment/workspace.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6780612b1e9ced09b81d35b650f694d5297265afa75bedcb2249f2fcc43a62b1
3
+ size 6270
matze--wastebin.b494662/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
matze--wastebin.b494662/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
matze--wastebin.b494662/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/matze--wastebin.b494662"
25
+ description = "Synthetic ProgramGym cleanroom reconstruction task for matze/wastebin"
26
+ authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
27
+ keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "rust"]
28
+
29
+ [metadata]
30
+ source = "ProgramGym"
31
+ instance_id = "matze__wastebin.b494662"
32
+ repository = "matze/wastebin"
33
+ commit = "b49466218018d6585e7d64f46bffac6fe5acb77c"
34
+ language = "rust"
35
+ difficulty = "easy"
36
+ difficulty_score = 1.821840927200454
37
+ test_branches = 4
38
+ test_count = 620
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"
matze--wastebin.b494662/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"]
matze--wastebin.b494662/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:23334a7de459caf3cc04de56950786be861f60c87a123fbed443a99177ca290e
3
+ size 26857
matze--wastebin.b494662/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:714e03cbbc41e8203224e8aba6245a6c02d606379f23dfc637cba5c9feff8c79
3
+ size 14067
matze--wastebin.b494662/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:9ca070bc1aa5659bd2990e36434087097e7ae5ab676f23519df72f1c37f35ba7
3
+ size 28812
matze--wastebin.b494662/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:99e427ad6426b9e4ab0e1efae17e18591c98624ba4ed655a6fe6b13f36cc79e9
3
+ size 36998
matze--wastebin.b494662/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}
matze--wastebin.b494662/tests/download.sh ADDED
@@ -0,0 +1,3279 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ #
3
+ # download.sh — ProgramGym offline dependency prefetch for `wastebin`.
4
+ #
5
+ # This script runs in a networked container as `source /source_ro/download.sh`.
6
+ # The repository source tree is NOT available (only this file is mounted), so
7
+ # every Cargo manifest needed for dependency resolution is written explicitly
8
+ # below from the repository's committed manifests, and the repository's committed
9
+ # Cargo.lock is embedded verbatim so that the prefetch can be run with `--locked`.
10
+ #
11
+ # It only prefetches the Rust dependency graph into the shared CARGO_HOME stash
12
+ # so the later offline `build.sh` never needs network access. It does NOT compile,
13
+ # link, test, package, or otherwise build anything, and it never reads repository
14
+ # source files. It is idempotent and safe to `source` from any directory.
15
+
16
+ # All commands rely on the preinstalled Rust 1.97.1 toolchain and an existing
17
+ # CARGO_HOME. We make CARGO_HOME explicit so the populated cache is shared with
18
+ # the offline build stage (build.sh runs with the same variable).
19
+ export CARGO_HOME="${CARGO_HOME:-/usr/local/cargo}"
20
+
21
+ _pb_fail() {
22
+ # Fail loudly whether we were sourced or executed.
23
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
24
+ return 1
25
+ else
26
+ exit 1
27
+ fi
28
+ }
29
+
30
+ # Scratch directory for the generated (throwaway) mirror workspace. A temp dir
31
+ # keeps us off the repository root and /source_ro as required by the Rust skill.
32
+ _mirror="$(mktemp -d /tmp/wastebin-fetch.XXXXXX)" || _pb_fail
33
+
34
+ # ---------------------------------------------------------------------------
35
+ # Generate the mirror workspace. It replicates the real wastebin workspace's
36
+ # dependency graph (same workspace root, same five member manifests, and the
37
+ # repository's committed Cargo.lock embedded verbatim). Because the lock file is
38
+ # authoritative and byte-identical to /workspace/source/Cargo.lock, `cargo fetch
39
+ # --locked` prefetches exactly the crate set that the offline `build.sh` will
40
+ # resolve with `cargo build --locked --offline`. Stub source files satisfy
41
+ # cargo's target discovery.
42
+ # ---------------------------------------------------------------------------
43
+
44
+ # Workspace root manifest.
45
+ cat > "$_mirror/Cargo.toml" <<'EOF'
46
+ [workspace]
47
+ members = ["crates/*"]
48
+ resolver = "2"
49
+
50
+ [workspace.package]
51
+ version = "3.7.0"
52
+ edition = "2024"
53
+ rust-version = "1.95"
54
+
55
+ [workspace.dependencies]
56
+ askama = { version = "0.16.0" }
57
+ serde = { version = "1", features = ["derive"] }
58
+ syntect = { version = "5", default-features = false, features = ["html", "plist-load", "regex-fancy"] }
59
+ tokio = { version = "1", default-features = false }
60
+ two-face = { version = "0.5.0-rc1", default-features = false, features = ["syntect-fancy"] }
61
+ thiserror = "2"
62
+ tracing = "0.1"
63
+
64
+ [workspace.lints.rust]
65
+ unsafe_code = "forbid"
66
+
67
+ [profile.dev.package.rust-argon2]
68
+ opt-level = 3
69
+
70
+ [profile.release]
71
+ strip = "debuginfo"
72
+ lto = "fat"
73
+ EOF
74
+
75
+ mkdir -p "$_mirror/crates/wastebin_core/src"
76
+ mkdir -p "$_mirror/crates/wastebin_ctl/src"
77
+ mkdir -p "$_mirror/crates/wastebin_highlight/src"
78
+ mkdir -p "$_mirror/crates/wastebin_server/src"
79
+ mkdir -p "$_mirror/crates/wastebin_theme_showcase/src"
80
+
81
+ # Empty stubs are enough for cargo to discover the auto bin/lib targets.
82
+ : > "$_mirror/crates/wastebin_core/src/lib.rs"
83
+ : > "$_mirror/crates/wastebin_ctl/src/main.rs"
84
+ : > "$_mirror/crates/wastebin_highlight/src/lib.rs"
85
+ : > "$_mirror/crates/wastebin_server/src/main.rs"
86
+ : > "$_mirror/crates/wastebin_theme_showcase/src/main.rs"
87
+
88
+ # wastebin_core (library).
89
+ cat > "$_mirror/crates/wastebin_core/Cargo.toml" <<'EOF'
90
+ [package]
91
+ name = "wastebin_core"
92
+ version.workspace = true
93
+ edition.workspace = true
94
+ rust-version.workspace = true
95
+ publish = false
96
+
97
+ [dependencies]
98
+ async-compression = { version = "0.4", features = ["tokio", "zstd"] }
99
+ chacha20poly1305 = "0.11.0-rc.1"
100
+ kanal = "0.1.1"
101
+ rand = "0.10"
102
+ rusqlite = { version = "0.40", features = ["bundled"] }
103
+ rusqlite_migration = { version = "2", default-features = false }
104
+ rust-argon2 = "3.0.0"
105
+ serde = { workspace = true }
106
+ thiserror = { workspace = true }
107
+ tokio = { workspace = true, features = ["io-util", "macros", "rt-multi-thread", "sync", "time"] }
108
+ tracing = { workspace = true }
109
+ zstd = "0.13"
110
+
111
+ [lints]
112
+ workspace = true
113
+ EOF
114
+
115
+ # wastebin_ctl (binary tool).
116
+ cat > "$_mirror/crates/wastebin_ctl/Cargo.toml" <<'EOF'
117
+ [package]
118
+ name = "wastebin-ctl"
119
+ version.workspace = true
120
+ edition.workspace = true
121
+ rust-version.workspace = true
122
+ publish = false
123
+
124
+ [dependencies]
125
+ anyhow = "1.0.97"
126
+ clap = { version = "4.5.32", features = ["derive", "env"] }
127
+ clap_complete = { version = "4.5.50", optional = true }
128
+ tabled = "0.21.0"
129
+ tokio = { workspace = true, features = ["macros", "sync"] }
130
+ wastebin_core = { path = "../wastebin_core" }
131
+
132
+ [lints]
133
+ workspace = true
134
+
135
+ [features]
136
+ default = ["completion"]
137
+ completion = ["dep:clap_complete"]
138
+ EOF
139
+
140
+ # wastebin_highlight (library).
141
+ cat > "$_mirror/crates/wastebin_highlight/Cargo.toml" <<'EOF'
142
+ [package]
143
+ name = "wastebin_highlight"
144
+ version.workspace = true
145
+ edition.workspace = true
146
+ rust-version.workspace = true
147
+ publish = false
148
+
149
+ [dependencies]
150
+ ammonia = "4"
151
+ pulldown-cmark = { version = "0.13", default-features = false, features = ["html"] }
152
+ syntect = { workspace = true }
153
+ thiserror = { workspace = true }
154
+ two-face = { workspace = true }
155
+
156
+ [lints]
157
+ workspace = true
158
+ EOF
159
+
160
+ # wastebin server (primary product binary).
161
+ cat > "$_mirror/crates/wastebin_server/Cargo.toml" <<'EOF'
162
+ [package]
163
+ name = "wastebin"
164
+ version.workspace = true
165
+ edition.workspace = true
166
+ rust-version.workspace = true
167
+ publish = false
168
+
169
+ [dependencies]
170
+ askama = { workspace = true }
171
+ askama_web = { version = "0.16.0", features = ["axum-0.8"] }
172
+ axum = { version = "0.8", features = ["json", "query", "macros"] }
173
+ axum-extra = { version = "0.12", features = ["cookie-signed", "typed-header"] }
174
+ cached = { version = "2.0.0", default-features = false }
175
+ cookie = { version = "0.18", features = ["signed"] }
176
+ futures = "0.3.31"
177
+ hex = "0.4"
178
+ hostname = "0.4.0"
179
+ http = "1.3"
180
+ mime = "0.3"
181
+ phf = { version = "0.14", features = ["macros"] }
182
+ qrcodegen = "1"
183
+ sha2 = "0.11"
184
+ serde = { workspace = true }
185
+ thiserror = { workspace = true }
186
+ tokio = { workspace = true, features = ["rt-multi-thread", "signal"] }
187
+ tower = { version = "0.5", default-features = false }
188
+ tower-http = { version = "0.7", features = ["compression-full", "limit", "timeout", "trace"] }
189
+ tracing = { workspace = true }
190
+ tracing-subscriber = "0.3"
191
+ url = "2"
192
+ wastebin_core = { path = "../wastebin_core/" }
193
+ wastebin_highlight = { path = "../wastebin_highlight/" }
194
+ headers = "0.4.1"
195
+
196
+ [dev-dependencies]
197
+ itertools = "0.15.0"
198
+ reqwest = { version = "0.13", default-features = false, features = ["cookies", "form", "json", "query"] }
199
+ tower = { version = "0.5", default-features = false, features = ["util", "make"] }
200
+
201
+ [lints]
202
+ workspace = true
203
+ EOF
204
+
205
+ # wastebin-theme-showcase (binary demo).
206
+ cat > "$_mirror/crates/wastebin_theme_showcase/Cargo.toml" <<'EOF'
207
+ [package]
208
+ name = "wastebin-theme-showcase"
209
+ version.workspace = true
210
+ edition.workspace = true
211
+ rust-version.workspace = true
212
+ publish = false
213
+
214
+ [dependencies]
215
+ askama = { workspace = true }
216
+ syntect = { workspace = true }
217
+ two-face = { workspace = true }
218
+ wastebin_highlight = { path = "../wastebin_highlight/" }
219
+
220
+ [lints]
221
+ workspace = true
222
+ EOF
223
+
224
+ # The repository's committed Cargo.lock, embedded verbatim so that the prefetch
225
+ # graph is byte-identical to the offline build's locked resolution.
226
+ cat > "$_mirror/Cargo.lock" <<'LOCK_EOF'
227
+ # This file is automatically @generated by Cargo.
228
+ # It is not intended for manual editing.
229
+ version = 4
230
+
231
+ [[package]]
232
+ name = "adler2"
233
+ version = "2.0.1"
234
+ source = "registry+https://github.com/rust-lang/crates.io-index"
235
+ checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
236
+
237
+ [[package]]
238
+ name = "aead"
239
+ version = "0.6.1"
240
+ source = "registry+https://github.com/rust-lang/crates.io-index"
241
+ checksum = "1973cfbc1a2daf9cf550e74e1f088c28e7f7d8c1e1418fb6c9dc5184b7e84c99"
242
+ dependencies = [
243
+ "crypto-common 0.2.2",
244
+ "inout",
245
+ ]
246
+
247
+ [[package]]
248
+ name = "aho-corasick"
249
+ version = "1.1.4"
250
+ source = "registry+https://github.com/rust-lang/crates.io-index"
251
+ checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
252
+ dependencies = [
253
+ "memchr",
254
+ ]
255
+
256
+ [[package]]
257
+ name = "alloc-no-stdlib"
258
+ version = "2.0.4"
259
+ source = "registry+https://github.com/rust-lang/crates.io-index"
260
+ checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3"
261
+
262
+ [[package]]
263
+ name = "alloc-stdlib"
264
+ version = "0.2.4"
265
+ source = "registry+https://github.com/rust-lang/crates.io-index"
266
+ checksum = "0e76a019e91224d279006ff972f1e984179a6e9feb050adba6ce8274aef23195"
267
+ dependencies = [
268
+ "alloc-no-stdlib",
269
+ ]
270
+
271
+ [[package]]
272
+ name = "ammonia"
273
+ version = "4.1.2"
274
+ source = "registry+https://github.com/rust-lang/crates.io-index"
275
+ checksum = "17e913097e1a2124b46746c980134e8c954bc17a6a59bb3fde96f088d126dde6"
276
+ dependencies = [
277
+ "cssparser",
278
+ "html5ever",
279
+ "maplit",
280
+ "tendril",
281
+ "url",
282
+ ]
283
+
284
+ [[package]]
285
+ name = "anstream"
286
+ version = "1.0.0"
287
+ source = "registry+https://github.com/rust-lang/crates.io-index"
288
+ checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d"
289
+ dependencies = [
290
+ "anstyle",
291
+ "anstyle-parse",
292
+ "anstyle-query",
293
+ "anstyle-wincon",
294
+ "colorchoice",
295
+ "is_terminal_polyfill",
296
+ "utf8parse",
297
+ ]
298
+
299
+ [[package]]
300
+ name = "anstyle"
301
+ version = "1.0.14"
302
+ source = "registry+https://github.com/rust-lang/crates.io-index"
303
+ checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000"
304
+
305
+ [[package]]
306
+ name = "anstyle-parse"
307
+ version = "1.0.0"
308
+ source = "registry+https://github.com/rust-lang/crates.io-index"
309
+ checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e"
310
+ dependencies = [
311
+ "utf8parse",
312
+ ]
313
+
314
+ [[package]]
315
+ name = "anstyle-query"
316
+ version = "1.1.5"
317
+ source = "registry+https://github.com/rust-lang/crates.io-index"
318
+ checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
319
+ dependencies = [
320
+ "windows-sys",
321
+ ]
322
+
323
+ [[package]]
324
+ name = "anstyle-wincon"
325
+ version = "3.0.11"
326
+ source = "registry+https://github.com/rust-lang/crates.io-index"
327
+ checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
328
+ dependencies = [
329
+ "anstyle",
330
+ "once_cell_polyfill",
331
+ "windows-sys",
332
+ ]
333
+
334
+ [[package]]
335
+ name = "anyhow"
336
+ version = "1.0.102"
337
+ source = "registry+https://github.com/rust-lang/crates.io-index"
338
+ checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c"
339
+
340
+ [[package]]
341
+ name = "arrayref"
342
+ version = "0.3.9"
343
+ source = "registry+https://github.com/rust-lang/crates.io-index"
344
+ checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb"
345
+
346
+ [[package]]
347
+ name = "arrayvec"
348
+ version = "0.7.7"
349
+ source = "registry+https://github.com/rust-lang/crates.io-index"
350
+ checksum = "f02882884d3e1bc524fb12c79f107f6ad0e1cfd498c536ffb494301740995dfe"
351
+
352
+ [[package]]
353
+ name = "askama"
354
+ version = "0.16.0"
355
+ source = "registry+https://github.com/rust-lang/crates.io-index"
356
+ checksum = "f1bf825125edd887a019d0a3a837dcc5499a68b0d034cc3eb594070c3e18addc"
357
+ dependencies = [
358
+ "askama_macros",
359
+ "itoa",
360
+ "percent-encoding",
361
+ "serde",
362
+ "serde_json",
363
+ ]
364
+
365
+ [[package]]
366
+ name = "askama_derive"
367
+ version = "0.16.0"
368
+ source = "registry+https://github.com/rust-lang/crates.io-index"
369
+ checksum = "e1c7065972a130eafa84215f21352ae15b4a7393da48c1f5e103904490736738"
370
+ dependencies = [
371
+ "askama_parser",
372
+ "basic-toml",
373
+ "glob",
374
+ "memchr",
375
+ "proc-macro2",
376
+ "quote",
377
+ "rustc-hash",
378
+ "serde",
379
+ "serde_derive",
380
+ "syn",
381
+ ]
382
+
383
+ [[package]]
384
+ name = "askama_macros"
385
+ version = "0.16.0"
386
+ source = "registry+https://github.com/rust-lang/crates.io-index"
387
+ checksum = "0e23b1d2c4bd39a41971f6124cef4cc6fd0540913ecb90919b69ab3bbe44ae1a"
388
+ dependencies = [
389
+ "askama_derive",
390
+ ]
391
+
392
+ [[package]]
393
+ name = "askama_parser"
394
+ version = "0.16.0"
395
+ source = "registry+https://github.com/rust-lang/crates.io-index"
396
+ checksum = "7db09fde9143e7ac4513358fb32ee32847125b63b18ea715afd487956da715da"
397
+ dependencies = [
398
+ "rustc-hash",
399
+ "serde",
400
+ "serde_derive",
401
+ "unicode-ident",
402
+ "winnow",
403
+ ]
404
+
405
+ [[package]]
406
+ name = "askama_web"
407
+ version = "0.16.0"
408
+ source = "registry+https://github.com/rust-lang/crates.io-index"
409
+ checksum = "33d7972c9dc206f9832a16dbba72d589ce8cc313732bd82db36638e70a0b222c"
410
+ dependencies = [
411
+ "askama",
412
+ "askama_web_derive",
413
+ "axum-core",
414
+ "bytes",
415
+ "http",
416
+ ]
417
+
418
+ [[package]]
419
+ name = "askama_web_derive"
420
+ version = "0.3.0"
421
+ source = "registry+https://github.com/rust-lang/crates.io-index"
422
+ checksum = "940074e50ab8a902980dec23d265697dd1e8789e66be664d183dbb24c79b8e7c"
423
+ dependencies = [
424
+ "proc-macro2",
425
+ "quote",
426
+ "syn",
427
+ ]
428
+
429
+ [[package]]
430
+ name = "async-compression"
431
+ version = "0.4.42"
432
+ source = "registry+https://github.com/rust-lang/crates.io-index"
433
+ checksum = "e79b3f8a79cccc2898f31920fc69f304859b3bd567490f75ebf51ae1c792a9ac"
434
+ dependencies = [
435
+ "compression-codecs",
436
+ "compression-core",
437
+ "pin-project-lite",
438
+ "tokio",
439
+ ]
440
+
441
+ [[package]]
442
+ name = "atomic-waker"
443
+ version = "1.1.2"
444
+ source = "registry+https://github.com/rust-lang/crates.io-index"
445
+ checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
446
+
447
+ [[package]]
448
+ name = "axum"
449
+ version = "0.8.9"
450
+ source = "registry+https://github.com/rust-lang/crates.io-index"
451
+ checksum = "31b698c5f9a010f6573133b09e0de5408834d0c82f8d7475a89fc1867a71cd90"
452
+ dependencies = [
453
+ "axum-core",
454
+ "axum-macros",
455
+ "bytes",
456
+ "form_urlencoded",
457
+ "futures-util",
458
+ "http",
459
+ "http-body",
460
+ "http-body-util",
461
+ "hyper",
462
+ "hyper-util",
463
+ "itoa",
464
+ "matchit",
465
+ "memchr",
466
+ "mime",
467
+ "percent-encoding",
468
+ "pin-project-lite",
469
+ "serde_core",
470
+ "serde_json",
471
+ "serde_path_to_error",
472
+ "serde_urlencoded",
473
+ "sync_wrapper",
474
+ "tokio",
475
+ "tower",
476
+ "tower-layer",
477
+ "tower-service",
478
+ "tracing",
479
+ ]
480
+
481
+ [[package]]
482
+ name = "axum-core"
483
+ version = "0.5.6"
484
+ source = "registry+https://github.com/rust-lang/crates.io-index"
485
+ checksum = "08c78f31d7b1291f7ee735c1c6780ccde7785daae9a9206026862dab7d8792d1"
486
+ dependencies = [
487
+ "bytes",
488
+ "futures-core",
489
+ "http",
490
+ "http-body",
491
+ "http-body-util",
492
+ "mime",
493
+ "pin-project-lite",
494
+ "sync_wrapper",
495
+ "tower-layer",
496
+ "tower-service",
497
+ "tracing",
498
+ ]
499
+
500
+ [[package]]
501
+ name = "axum-extra"
502
+ version = "0.12.6"
503
+ source = "registry+https://github.com/rust-lang/crates.io-index"
504
+ checksum = "be44683b41ccb9ab2d23a5230015c9c3c55be97a25e4428366de8873103f7970"
505
+ dependencies = [
506
+ "axum",
507
+ "axum-core",
508
+ "bytes",
509
+ "cookie",
510
+ "futures-core",
511
+ "futures-util",
512
+ "headers",
513
+ "http",
514
+ "http-body",
515
+ "http-body-util",
516
+ "mime",
517
+ "pin-project-lite",
518
+ "tower-layer",
519
+ "tower-service",
520
+ "tracing",
521
+ ]
522
+
523
+ [[package]]
524
+ name = "axum-macros"
525
+ version = "0.5.1"
526
+ source = "registry+https://github.com/rust-lang/crates.io-index"
527
+ checksum = "7aa268c23bfbbd2c4363b9cd302a4f504fb2a9dfe7e3451d66f35dd392e20aca"
528
+ dependencies = [
529
+ "proc-macro2",
530
+ "quote",
531
+ "syn",
532
+ ]
533
+
534
+ [[package]]
535
+ name = "base64"
536
+ version = "0.22.1"
537
+ source = "registry+https://github.com/rust-lang/crates.io-index"
538
+ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
539
+
540
+ [[package]]
541
+ name = "basic-toml"
542
+ version = "0.1.10"
543
+ source = "registry+https://github.com/rust-lang/crates.io-index"
544
+ checksum = "ba62675e8242a4c4e806d12f11d136e626e6c8361d6b829310732241652a178a"
545
+ dependencies = [
546
+ "serde",
547
+ ]
548
+
549
+ [[package]]
550
+ name = "bincode"
551
+ version = "1.3.3"
552
+ source = "registry+https://github.com/rust-lang/crates.io-index"
553
+ checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad"
554
+ dependencies = [
555
+ "serde",
556
+ ]
557
+
558
+ [[package]]
559
+ name = "bit-set"
560
+ version = "0.8.0"
561
+ source = "registry+https://github.com/rust-lang/crates.io-index"
562
+ checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3"
563
+ dependencies = [
564
+ "bit-vec",
565
+ ]
566
+
567
+ [[package]]
568
+ name = "bit-vec"
569
+ version = "0.8.0"
570
+ source = "registry+https://github.com/rust-lang/crates.io-index"
571
+ checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7"
572
+
573
+ [[package]]
574
+ name = "bitflags"
575
+ version = "2.13.0"
576
+ source = "registry+https://github.com/rust-lang/crates.io-index"
577
+ checksum = "b4388bee8683e3d04af747c73422af53102d2bd24d9eadb6cbc100baef4b43f8"
578
+
579
+ [[package]]
580
+ name = "blake2b_simd"
581
+ version = "1.0.4"
582
+ source = "registry+https://github.com/rust-lang/crates.io-index"
583
+ checksum = "b79834656f71332577234b50bfc009996f7449e0c056884e6a02492ded0ca2f3"
584
+ dependencies = [
585
+ "arrayref",
586
+ "arrayvec",
587
+ "constant_time_eq",
588
+ ]
589
+
590
+ [[package]]
591
+ name = "block-buffer"
592
+ version = "0.10.4"
593
+ source = "registry+https://github.com/rust-lang/crates.io-index"
594
+ checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
595
+ dependencies = [
596
+ "generic-array",
597
+ ]
598
+
599
+ [[package]]
600
+ name = "block-buffer"
601
+ version = "0.12.1"
602
+ source = "registry+https://github.com/rust-lang/crates.io-index"
603
+ checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa"
604
+ dependencies = [
605
+ "hybrid-array",
606
+ ]
607
+
608
+ [[package]]
609
+ name = "brotli"
610
+ version = "8.0.4"
611
+ source = "registry+https://github.com/rust-lang/crates.io-index"
612
+ checksum = "5cc91aac060a7a1e25823bdccbfb6af1875b88f17c6daac97894eed8207166b3"
613
+ dependencies = [
614
+ "alloc-no-stdlib",
615
+ "alloc-stdlib",
616
+ "brotli-decompressor",
617
+ ]
618
+
619
+ [[package]]
620
+ name = "brotli-decompressor"
621
+ version = "5.0.3"
622
+ source = "registry+https://github.com/rust-lang/crates.io-index"
623
+ checksum = "3a32acac15fe1967bc3986b2a6347dffc965602354ea6f450ad07e8bfd253583"
624
+ dependencies = [
625
+ "alloc-no-stdlib",
626
+ "alloc-stdlib",
627
+ ]
628
+
629
+ [[package]]
630
+ name = "bumpalo"
631
+ version = "3.20.3"
632
+ source = "registry+https://github.com/rust-lang/crates.io-index"
633
+ checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
634
+
635
+ [[package]]
636
+ name = "bytecount"
637
+ version = "0.6.9"
638
+ source = "registry+https://github.com/rust-lang/crates.io-index"
639
+ checksum = "175812e0be2bccb6abe50bb8d566126198344f707e304f45c648fd8f2cc0365e"
640
+
641
+ [[package]]
642
+ name = "bytes"
643
+ version = "1.12.0"
644
+ source = "registry+https://github.com/rust-lang/crates.io-index"
645
+ checksum = "8ae3f5d315924270530207e2a68396c3cc547f6dca3fbdca317cfb1a51edb593"
646
+
647
+ [[package]]
648
+ name = "cached"
649
+ version = "2.0.2"
650
+ source = "registry+https://github.com/rust-lang/crates.io-index"
651
+ checksum = "dc0df7748fe2f601e376916ab19e7bfc2c74461b8abe3bce2ce20036ad8de38f"
652
+ dependencies = [
653
+ "hashbrown 0.16.1",
654
+ "parking_lot",
655
+ "thiserror",
656
+ "web-time",
657
+ ]
658
+
659
+ [[package]]
660
+ name = "cc"
661
+ version = "1.2.65"
662
+ source = "registry+https://github.com/rust-lang/crates.io-index"
663
+ checksum = "e228eec9be7c17ccb640b59b36a5cd805ea2a564a4c5e162c2f659fea30d3b96"
664
+ dependencies = [
665
+ "find-msvc-tools",
666
+ "jobserver",
667
+ "libc",
668
+ "shlex",
669
+ ]
670
+
671
+ [[package]]
672
+ name = "cfg-if"
673
+ version = "1.0.4"
674
+ source = "registry+https://github.com/rust-lang/crates.io-index"
675
+ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
676
+
677
+ [[package]]
678
+ name = "chacha20"
679
+ version = "0.10.0"
680
+ source = "registry+https://github.com/rust-lang/crates.io-index"
681
+ checksum = "6f8d983286843e49675a4b7a2d174efe136dc93a18d69130dd18198a6c167601"
682
+ dependencies = [
683
+ "cfg-if",
684
+ "cipher",
685
+ "cpufeatures 0.3.0",
686
+ "rand_core 0.10.1",
687
+ ]
688
+
689
+ [[package]]
690
+ name = "chacha20poly1305"
691
+ version = "0.11.0-rc.3"
692
+ source = "registry+https://github.com/rust-lang/crates.io-index"
693
+ checksum = "1c9ed179664f12fd6f155f6dd632edf5f3806d48c228c67ff78366f2a0eb6b5e"
694
+ dependencies = [
695
+ "aead",
696
+ "chacha20",
697
+ "cipher",
698
+ "poly1305",
699
+ ]
700
+
701
+ [[package]]
702
+ name = "cipher"
703
+ version = "0.5.2"
704
+ source = "registry+https://github.com/rust-lang/crates.io-index"
705
+ checksum = "e8cf2a2c93cd704877c0858356ed03480ff301ee950b43f1cbe4573b088bfa6c"
706
+ dependencies = [
707
+ "block-buffer 0.12.1",
708
+ "crypto-common 0.2.2",
709
+ "inout",
710
+ ]
711
+
712
+ [[package]]
713
+ name = "clap"
714
+ version = "4.6.1"
715
+ source = "registry+https://github.com/rust-lang/crates.io-index"
716
+ checksum = "1ddb117e43bbf7dacf0a4190fef4d345b9bad68dfc649cb349e7d17d28428e51"
717
+ dependencies = [
718
+ "clap_builder",
719
+ "clap_derive",
720
+ ]
721
+
722
+ [[package]]
723
+ name = "clap_builder"
724
+ version = "4.6.0"
725
+ source = "registry+https://github.com/rust-lang/crates.io-index"
726
+ checksum = "714a53001bf66416adb0e2ef5ac857140e7dc3a0c48fb28b2f10762fc4b5069f"
727
+ dependencies = [
728
+ "anstream",
729
+ "anstyle",
730
+ "clap_lex",
731
+ "strsim",
732
+ ]
733
+
734
+ [[package]]
735
+ name = "clap_complete"
736
+ version = "4.6.5"
737
+ source = "registry+https://github.com/rust-lang/crates.io-index"
738
+ checksum = "e0a7a9bfdb35811f9e59832f0f05975114d2251b415fb534108e6f34060fd772"
739
+ dependencies = [
740
+ "clap",
741
+ ]
742
+
743
+ [[package]]
744
+ name = "clap_derive"
745
+ version = "4.6.1"
746
+ source = "registry+https://github.com/rust-lang/crates.io-index"
747
+ checksum = "f2ce8604710f6733aa641a2b3731eaa1e8b3d9973d5e3565da11800813f997a9"
748
+ dependencies = [
749
+ "heck",
750
+ "proc-macro2",
751
+ "quote",
752
+ "syn",
753
+ ]
754
+
755
+ [[package]]
756
+ name = "clap_lex"
757
+ version = "1.1.0"
758
+ source = "registry+https://github.com/rust-lang/crates.io-index"
759
+ checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9"
760
+
761
+ [[package]]
762
+ name = "cmov"
763
+ version = "0.5.4"
764
+ source = "registry+https://github.com/rust-lang/crates.io-index"
765
+ checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a"
766
+
767
+ [[package]]
768
+ name = "colorchoice"
769
+ version = "1.0.5"
770
+ source = "registry+https://github.com/rust-lang/crates.io-index"
771
+ checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
772
+
773
+ [[package]]
774
+ name = "compression-codecs"
775
+ version = "0.4.38"
776
+ source = "registry+https://github.com/rust-lang/crates.io-index"
777
+ checksum = "ce2548391e9c1929c21bf6aa2680af86fe4c1b33e6cea9ac1cfeec0bd11218cf"
778
+ dependencies = [
779
+ "brotli",
780
+ "compression-core",
781
+ "flate2",
782
+ "memchr",
783
+ "zstd",
784
+ "zstd-safe",
785
+ ]
786
+
787
+ [[package]]
788
+ name = "compression-core"
789
+ version = "0.4.32"
790
+ source = "registry+https://github.com/rust-lang/crates.io-index"
791
+ checksum = "cc14f565cf027a105f7a44ccf9e5b424348421a1d8952a8fc9d499d313107789"
792
+
793
+ [[package]]
794
+ name = "const-oid"
795
+ version = "0.10.2"
796
+ source = "registry+https://github.com/rust-lang/crates.io-index"
797
+ checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c"
798
+
799
+ [[package]]
800
+ name = "constant_time_eq"
801
+ version = "0.4.2"
802
+ source = "registry+https://github.com/rust-lang/crates.io-index"
803
+ checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b"
804
+
805
+ [[package]]
806
+ name = "cookie"
807
+ version = "0.18.1"
808
+ source = "registry+https://github.com/rust-lang/crates.io-index"
809
+ checksum = "4ddef33a339a91ea89fb53151bd0a4689cfce27055c291dfa69945475d22c747"
810
+ dependencies = [
811
+ "base64",
812
+ "hmac",
813
+ "percent-encoding",
814
+ "rand 0.8.6",
815
+ "sha2 0.10.9",
816
+ "subtle",
817
+ "time",
818
+ "version_check",
819
+ ]
820
+
821
+ [[package]]
822
+ name = "cookie_store"
823
+ version = "0.22.1"
824
+ source = "registry+https://github.com/rust-lang/crates.io-index"
825
+ checksum = "15b2c103cf610ec6cae3da84a766285b42fd16aad564758459e6ecf128c75206"
826
+ dependencies = [
827
+ "cookie",
828
+ "document-features",
829
+ "idna",
830
+ "log",
831
+ "publicsuffix",
832
+ "serde",
833
+ "serde_derive",
834
+ "serde_json",
835
+ "time",
836
+ "url",
837
+ ]
838
+
839
+ [[package]]
840
+ name = "cpufeatures"
841
+ version = "0.2.17"
842
+ source = "registry+https://github.com/rust-lang/crates.io-index"
843
+ checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
844
+ dependencies = [
845
+ "libc",
846
+ ]
847
+
848
+ [[package]]
849
+ name = "cpufeatures"
850
+ version = "0.3.0"
851
+ source = "registry+https://github.com/rust-lang/crates.io-index"
852
+ checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201"
853
+ dependencies = [
854
+ "libc",
855
+ ]
856
+
857
+ [[package]]
858
+ name = "crc32fast"
859
+ version = "1.5.0"
860
+ source = "registry+https://github.com/rust-lang/crates.io-index"
861
+ checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511"
862
+ dependencies = [
863
+ "cfg-if",
864
+ ]
865
+
866
+ [[package]]
867
+ name = "crossbeam-utils"
868
+ version = "0.8.21"
869
+ source = "registry+https://github.com/rust-lang/crates.io-index"
870
+ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
871
+
872
+ [[package]]
873
+ name = "crypto-common"
874
+ version = "0.1.7"
875
+ source = "registry+https://github.com/rust-lang/crates.io-index"
876
+ checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
877
+ dependencies = [
878
+ "generic-array",
879
+ "typenum",
880
+ ]
881
+
882
+ [[package]]
883
+ name = "crypto-common"
884
+ version = "0.2.2"
885
+ source = "registry+https://github.com/rust-lang/crates.io-index"
886
+ checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453"
887
+ dependencies = [
888
+ "getrandom 0.4.3",
889
+ "hybrid-array",
890
+ "rand_core 0.10.1",
891
+ ]
892
+
893
+ [[package]]
894
+ name = "cssparser"
895
+ version = "0.35.0"
896
+ source = "registry+https://github.com/rust-lang/crates.io-index"
897
+ checksum = "4e901edd733a1472f944a45116df3f846f54d37e67e68640ac8bb69689aca2aa"
898
+ dependencies = [
899
+ "cssparser-macros",
900
+ "dtoa-short",
901
+ "itoa",
902
+ "phf 0.11.3",
903
+ "smallvec",
904
+ ]
905
+
906
+ [[package]]
907
+ name = "cssparser-macros"
908
+ version = "0.6.1"
909
+ source = "registry+https://github.com/rust-lang/crates.io-index"
910
+ checksum = "13b588ba4ac1a99f7f2964d24b3d896ddc6bf847ee3855dbd4366f058cfcd331"
911
+ dependencies = [
912
+ "quote",
913
+ "syn",
914
+ ]
915
+
916
+ [[package]]
917
+ name = "ctutils"
918
+ version = "0.4.2"
919
+ source = "registry+https://github.com/rust-lang/crates.io-index"
920
+ checksum = "7d5515a3834141de9eafb9717ad39eea8247b5674e6066c404e8c4b365d2a29e"
921
+ dependencies = [
922
+ "cmov",
923
+ ]
924
+
925
+ [[package]]
926
+ name = "deranged"
927
+ version = "0.5.8"
928
+ source = "registry+https://github.com/rust-lang/crates.io-index"
929
+ checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c"
930
+
931
+ [[package]]
932
+ name = "digest"
933
+ version = "0.10.7"
934
+ source = "registry+https://github.com/rust-lang/crates.io-index"
935
+ checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
936
+ dependencies = [
937
+ "block-buffer 0.10.4",
938
+ "crypto-common 0.1.7",
939
+ "subtle",
940
+ ]
941
+
942
+ [[package]]
943
+ name = "digest"
944
+ version = "0.11.3"
945
+ source = "registry+https://github.com/rust-lang/crates.io-index"
946
+ checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2"
947
+ dependencies = [
948
+ "block-buffer 0.12.1",
949
+ "const-oid",
950
+ "crypto-common 0.2.2",
951
+ ]
952
+
953
+ [[package]]
954
+ name = "displaydoc"
955
+ version = "0.2.6"
956
+ source = "registry+https://github.com/rust-lang/crates.io-index"
957
+ checksum = "1ac70aa55017e108007fbaf5aa0f54b021c98f92ff8af59d42eda9da96e3dd4f"
958
+ dependencies = [
959
+ "proc-macro2",
960
+ "quote",
961
+ "syn",
962
+ ]
963
+
964
+ [[package]]
965
+ name = "document-features"
966
+ version = "0.2.12"
967
+ source = "registry+https://github.com/rust-lang/crates.io-index"
968
+ checksum = "d4b8a88685455ed29a21542a33abd9cb6510b6b129abadabdcef0f4c55bc8f61"
969
+ dependencies = [
970
+ "litrs",
971
+ ]
972
+
973
+ [[package]]
974
+ name = "dtoa"
975
+ version = "1.0.11"
976
+ source = "registry+https://github.com/rust-lang/crates.io-index"
977
+ checksum = "4c3cf4824e2d5f025c7b531afcb2325364084a16806f6d47fbc1f5fbd9960590"
978
+
979
+ [[package]]
980
+ name = "dtoa-short"
981
+ version = "0.3.5"
982
+ source = "registry+https://github.com/rust-lang/crates.io-index"
983
+ checksum = "cd1511a7b6a56299bd043a9c167a6d2bfb37bf84a6dfceaba651168adfb43c87"
984
+ dependencies = [
985
+ "dtoa",
986
+ ]
987
+
988
+ [[package]]
989
+ name = "either"
990
+ version = "1.16.0"
991
+ source = "registry+https://github.com/rust-lang/crates.io-index"
992
+ checksum = "91622ff5e7162018101f2fea40d6ebf4a78bbe5a49736a2020649edf9693679e"
993
+
994
+ [[package]]
995
+ name = "equivalent"
996
+ version = "1.0.2"
997
+ source = "registry+https://github.com/rust-lang/crates.io-index"
998
+ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
999
+
1000
+ [[package]]
1001
+ name = "errno"
1002
+ version = "0.3.14"
1003
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1004
+ checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
1005
+ dependencies = [
1006
+ "libc",
1007
+ "windows-sys",
1008
+ ]
1009
+
1010
+ [[package]]
1011
+ name = "fallible-iterator"
1012
+ version = "0.3.0"
1013
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1014
+ checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649"
1015
+
1016
+ [[package]]
1017
+ name = "fallible-streaming-iterator"
1018
+ version = "0.1.9"
1019
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1020
+ checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a"
1021
+
1022
+ [[package]]
1023
+ name = "fancy-regex"
1024
+ version = "0.16.2"
1025
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1026
+ checksum = "998b056554fbe42e03ae0e152895cd1a7e1002aec800fdc6635d20270260c46f"
1027
+ dependencies = [
1028
+ "bit-set",
1029
+ "regex-automata",
1030
+ "regex-syntax",
1031
+ ]
1032
+
1033
+ [[package]]
1034
+ name = "fastrand"
1035
+ version = "2.4.1"
1036
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1037
+ checksum = "9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6"
1038
+
1039
+ [[package]]
1040
+ name = "find-msvc-tools"
1041
+ version = "0.1.9"
1042
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1043
+ checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
1044
+
1045
+ [[package]]
1046
+ name = "flate2"
1047
+ version = "1.1.9"
1048
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1049
+ checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c"
1050
+ dependencies = [
1051
+ "crc32fast",
1052
+ "miniz_oxide",
1053
+ ]
1054
+
1055
+ [[package]]
1056
+ name = "fnv"
1057
+ version = "1.0.7"
1058
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1059
+ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
1060
+
1061
+ [[package]]
1062
+ name = "foldhash"
1063
+ version = "0.2.0"
1064
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1065
+ checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
1066
+
1067
+ [[package]]
1068
+ name = "form_urlencoded"
1069
+ version = "1.2.2"
1070
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1071
+ checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf"
1072
+ dependencies = [
1073
+ "percent-encoding",
1074
+ ]
1075
+
1076
+ [[package]]
1077
+ name = "futf"
1078
+ version = "0.1.5"
1079
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1080
+ checksum = "df420e2e84819663797d1ec6544b13c5be84629e7bb00dc960d6917db2987843"
1081
+ dependencies = [
1082
+ "mac",
1083
+ "new_debug_unreachable",
1084
+ ]
1085
+
1086
+ [[package]]
1087
+ name = "futures"
1088
+ version = "0.3.32"
1089
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1090
+ checksum = "8b147ee9d1f6d097cef9ce628cd2ee62288d963e16fb287bd9286455b241382d"
1091
+ dependencies = [
1092
+ "futures-channel",
1093
+ "futures-core",
1094
+ "futures-executor",
1095
+ "futures-io",
1096
+ "futures-sink",
1097
+ "futures-task",
1098
+ "futures-util",
1099
+ ]
1100
+
1101
+ [[package]]
1102
+ name = "futures-channel"
1103
+ version = "0.3.32"
1104
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1105
+ checksum = "07bbe89c50d7a535e539b8c17bc0b49bdb77747034daa8087407d655f3f7cc1d"
1106
+ dependencies = [
1107
+ "futures-core",
1108
+ "futures-sink",
1109
+ ]
1110
+
1111
+ [[package]]
1112
+ name = "futures-core"
1113
+ version = "0.3.32"
1114
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1115
+ checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d"
1116
+
1117
+ [[package]]
1118
+ name = "futures-executor"
1119
+ version = "0.3.32"
1120
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1121
+ checksum = "baf29c38818342a3b26b5b923639e7b1f4a61fc5e76102d4b1981c6dc7a7579d"
1122
+ dependencies = [
1123
+ "futures-core",
1124
+ "futures-task",
1125
+ "futures-util",
1126
+ ]
1127
+
1128
+ [[package]]
1129
+ name = "futures-io"
1130
+ version = "0.3.32"
1131
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1132
+ checksum = "cecba35d7ad927e23624b22ad55235f2239cfa44fd10428eecbeba6d6a717718"
1133
+
1134
+ [[package]]
1135
+ name = "futures-macro"
1136
+ version = "0.3.32"
1137
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1138
+ checksum = "e835b70203e41293343137df5c0664546da5745f82ec9b84d40be8336958447b"
1139
+ dependencies = [
1140
+ "proc-macro2",
1141
+ "quote",
1142
+ "syn",
1143
+ ]
1144
+
1145
+ [[package]]
1146
+ name = "futures-sink"
1147
+ version = "0.3.32"
1148
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1149
+ checksum = "c39754e157331b013978ec91992bde1ac089843443c49cbc7f46150b0fad0893"
1150
+
1151
+ [[package]]
1152
+ name = "futures-task"
1153
+ version = "0.3.32"
1154
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1155
+ checksum = "037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393"
1156
+
1157
+ [[package]]
1158
+ name = "futures-util"
1159
+ version = "0.3.32"
1160
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1161
+ checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6"
1162
+ dependencies = [
1163
+ "futures-channel",
1164
+ "futures-core",
1165
+ "futures-io",
1166
+ "futures-macro",
1167
+ "futures-sink",
1168
+ "futures-task",
1169
+ "memchr",
1170
+ "pin-project-lite",
1171
+ "slab",
1172
+ ]
1173
+
1174
+ [[package]]
1175
+ name = "generic-array"
1176
+ version = "0.14.7"
1177
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1178
+ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
1179
+ dependencies = [
1180
+ "typenum",
1181
+ "version_check",
1182
+ ]
1183
+
1184
+ [[package]]
1185
+ name = "getrandom"
1186
+ version = "0.2.17"
1187
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1188
+ checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
1189
+ dependencies = [
1190
+ "cfg-if",
1191
+ "libc",
1192
+ "wasi",
1193
+ ]
1194
+
1195
+ [[package]]
1196
+ name = "getrandom"
1197
+ version = "0.3.4"
1198
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1199
+ checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
1200
+ dependencies = [
1201
+ "cfg-if",
1202
+ "libc",
1203
+ "r-efi 5.3.0",
1204
+ "wasip2",
1205
+ ]
1206
+
1207
+ [[package]]
1208
+ name = "getrandom"
1209
+ version = "0.4.3"
1210
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1211
+ checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
1212
+ dependencies = [
1213
+ "cfg-if",
1214
+ "libc",
1215
+ "r-efi 6.0.0",
1216
+ "rand_core 0.10.1",
1217
+ ]
1218
+
1219
+ [[package]]
1220
+ name = "glob"
1221
+ version = "0.3.3"
1222
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1223
+ checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
1224
+
1225
+ [[package]]
1226
+ name = "hashbrown"
1227
+ version = "0.16.1"
1228
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1229
+ checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"
1230
+ dependencies = [
1231
+ "foldhash",
1232
+ ]
1233
+
1234
+ [[package]]
1235
+ name = "hashbrown"
1236
+ version = "0.17.1"
1237
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1238
+ checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
1239
+ dependencies = [
1240
+ "foldhash",
1241
+ ]
1242
+
1243
+ [[package]]
1244
+ name = "hashlink"
1245
+ version = "0.12.0"
1246
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1247
+ checksum = "a5081f264ed7adee96ea4b4778b6bb9da0a7228b084587aa3bd3ff05da7c5a3b"
1248
+ dependencies = [
1249
+ "hashbrown 0.17.1",
1250
+ ]
1251
+
1252
+ [[package]]
1253
+ name = "headers"
1254
+ version = "0.4.1"
1255
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1256
+ checksum = "b3314d5adb5d94bcdf56771f2e50dbbc80bb4bdf88967526706205ac9eff24eb"
1257
+ dependencies = [
1258
+ "base64",
1259
+ "bytes",
1260
+ "headers-core",
1261
+ "http",
1262
+ "httpdate",
1263
+ "mime",
1264
+ "sha1",
1265
+ ]
1266
+
1267
+ [[package]]
1268
+ name = "headers-core"
1269
+ version = "0.3.0"
1270
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1271
+ checksum = "54b4a22553d4242c49fddb9ba998a99962b5cc6f22cb5a3482bec22522403ce4"
1272
+ dependencies = [
1273
+ "http",
1274
+ ]
1275
+
1276
+ [[package]]
1277
+ name = "heck"
1278
+ version = "0.5.0"
1279
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1280
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
1281
+
1282
+ [[package]]
1283
+ name = "hex"
1284
+ version = "0.4.3"
1285
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1286
+ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
1287
+
1288
+ [[package]]
1289
+ name = "hmac"
1290
+ version = "0.12.1"
1291
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1292
+ checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e"
1293
+ dependencies = [
1294
+ "digest 0.10.7",
1295
+ ]
1296
+
1297
+ [[package]]
1298
+ name = "hostname"
1299
+ version = "0.4.2"
1300
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1301
+ checksum = "617aaa3557aef3810a6369d0a99fac8a080891b68bd9f9812a1eeda0c0730cbd"
1302
+ dependencies = [
1303
+ "cfg-if",
1304
+ "libc",
1305
+ "windows-link",
1306
+ ]
1307
+
1308
+ [[package]]
1309
+ name = "html5ever"
1310
+ version = "0.35.0"
1311
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1312
+ checksum = "55d958c2f74b664487a2035fe1dadb032c48718a03b63f3ab0b8537db8549ed4"
1313
+ dependencies = [
1314
+ "log",
1315
+ "markup5ever",
1316
+ "match_token",
1317
+ ]
1318
+
1319
+ [[package]]
1320
+ name = "http"
1321
+ version = "1.4.2"
1322
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1323
+ checksum = "6970f50e31d6fc17d3fa27329444bfa74e196cf62e95052a3f6fee181dba6425"
1324
+ dependencies = [
1325
+ "bytes",
1326
+ "itoa",
1327
+ ]
1328
+
1329
+ [[package]]
1330
+ name = "http-body"
1331
+ version = "1.0.1"
1332
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1333
+ checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184"
1334
+ dependencies = [
1335
+ "bytes",
1336
+ "http",
1337
+ ]
1338
+
1339
+ [[package]]
1340
+ name = "http-body-util"
1341
+ version = "0.1.3"
1342
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1343
+ checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a"
1344
+ dependencies = [
1345
+ "bytes",
1346
+ "futures-core",
1347
+ "http",
1348
+ "http-body",
1349
+ "pin-project-lite",
1350
+ ]
1351
+
1352
+ [[package]]
1353
+ name = "httparse"
1354
+ version = "1.10.1"
1355
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1356
+ checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
1357
+
1358
+ [[package]]
1359
+ name = "httpdate"
1360
+ version = "1.0.3"
1361
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1362
+ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
1363
+
1364
+ [[package]]
1365
+ name = "hybrid-array"
1366
+ version = "0.4.12"
1367
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1368
+ checksum = "9155a582abd142abc056962c29e3ce5ff2ad5469f4246b537ed42c5deba857da"
1369
+ dependencies = [
1370
+ "typenum",
1371
+ ]
1372
+
1373
+ [[package]]
1374
+ name = "hyper"
1375
+ version = "1.10.1"
1376
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1377
+ checksum = "55281c53a1894c864990125767da440a4e630446785086f52523b20033b74498"
1378
+ dependencies = [
1379
+ "atomic-waker",
1380
+ "bytes",
1381
+ "futures-channel",
1382
+ "futures-core",
1383
+ "http",
1384
+ "http-body",
1385
+ "httparse",
1386
+ "httpdate",
1387
+ "itoa",
1388
+ "pin-project-lite",
1389
+ "smallvec",
1390
+ "tokio",
1391
+ "want",
1392
+ ]
1393
+
1394
+ [[package]]
1395
+ name = "hyper-util"
1396
+ version = "0.1.20"
1397
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1398
+ checksum = "96547c2556ec9d12fb1578c4eaf448b04993e7fb79cbaad930a656880a6bdfa0"
1399
+ dependencies = [
1400
+ "base64",
1401
+ "bytes",
1402
+ "futures-channel",
1403
+ "futures-util",
1404
+ "http",
1405
+ "http-body",
1406
+ "hyper",
1407
+ "ipnet",
1408
+ "libc",
1409
+ "percent-encoding",
1410
+ "pin-project-lite",
1411
+ "socket2",
1412
+ "tokio",
1413
+ "tower-service",
1414
+ "tracing",
1415
+ ]
1416
+
1417
+ [[package]]
1418
+ name = "icu_collections"
1419
+ version = "2.2.0"
1420
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1421
+ checksum = "2984d1cd16c883d7935b9e07e44071dca8d917fd52ecc02c04d5fa0b5a3f191c"
1422
+ dependencies = [
1423
+ "displaydoc",
1424
+ "potential_utf",
1425
+ "utf8_iter",
1426
+ "yoke",
1427
+ "zerofrom",
1428
+ "zerovec",
1429
+ ]
1430
+
1431
+ [[package]]
1432
+ name = "icu_locale_core"
1433
+ version = "2.2.0"
1434
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1435
+ checksum = "92219b62b3e2b4d88ac5119f8904c10f8f61bf7e95b640d25ba3075e6cac2c29"
1436
+ dependencies = [
1437
+ "displaydoc",
1438
+ "litemap",
1439
+ "tinystr",
1440
+ "writeable",
1441
+ "zerovec",
1442
+ ]
1443
+
1444
+ [[package]]
1445
+ name = "icu_normalizer"
1446
+ version = "2.2.0"
1447
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1448
+ checksum = "c56e5ee99d6e3d33bd91c5d85458b6005a22140021cc324cea84dd0e72cff3b4"
1449
+ dependencies = [
1450
+ "icu_collections",
1451
+ "icu_normalizer_data",
1452
+ "icu_properties",
1453
+ "icu_provider",
1454
+ "smallvec",
1455
+ "zerovec",
1456
+ ]
1457
+
1458
+ [[package]]
1459
+ name = "icu_normalizer_data"
1460
+ version = "2.2.0"
1461
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1462
+ checksum = "da3be0ae77ea334f4da67c12f149704f19f81d1adf7c51cf482943e84a2bad38"
1463
+
1464
+ [[package]]
1465
+ name = "icu_properties"
1466
+ version = "2.2.0"
1467
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1468
+ checksum = "bee3b67d0ea5c2cca5003417989af8996f8604e34fb9ddf96208a033901e70de"
1469
+ dependencies = [
1470
+ "icu_collections",
1471
+ "icu_locale_core",
1472
+ "icu_properties_data",
1473
+ "icu_provider",
1474
+ "zerotrie",
1475
+ "zerovec",
1476
+ ]
1477
+
1478
+ [[package]]
1479
+ name = "icu_properties_data"
1480
+ version = "2.2.0"
1481
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1482
+ checksum = "8e2bbb201e0c04f7b4b3e14382af113e17ba4f63e2c9d2ee626b720cbce54a14"
1483
+
1484
+ [[package]]
1485
+ name = "icu_provider"
1486
+ version = "2.2.0"
1487
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1488
+ checksum = "139c4cf31c8b5f33d7e199446eff9c1e02decfc2f0eec2c8d71f65befa45b421"
1489
+ dependencies = [
1490
+ "displaydoc",
1491
+ "icu_locale_core",
1492
+ "writeable",
1493
+ "yoke",
1494
+ "zerofrom",
1495
+ "zerotrie",
1496
+ "zerovec",
1497
+ ]
1498
+
1499
+ [[package]]
1500
+ name = "idna"
1501
+ version = "1.1.0"
1502
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1503
+ checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de"
1504
+ dependencies = [
1505
+ "idna_adapter",
1506
+ "smallvec",
1507
+ "utf8_iter",
1508
+ ]
1509
+
1510
+ [[package]]
1511
+ name = "idna_adapter"
1512
+ version = "1.2.2"
1513
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1514
+ checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714"
1515
+ dependencies = [
1516
+ "icu_normalizer",
1517
+ "icu_properties",
1518
+ ]
1519
+
1520
+ [[package]]
1521
+ name = "indexmap"
1522
+ version = "2.14.0"
1523
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1524
+ checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9"
1525
+ dependencies = [
1526
+ "equivalent",
1527
+ "hashbrown 0.17.1",
1528
+ ]
1529
+
1530
+ [[package]]
1531
+ name = "inout"
1532
+ version = "0.2.2"
1533
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1534
+ checksum = "4250ce6452e92010fdf7268ccc5d14faa80bb12fc741938534c58f16804e03c7"
1535
+ dependencies = [
1536
+ "hybrid-array",
1537
+ ]
1538
+
1539
+ [[package]]
1540
+ name = "ipnet"
1541
+ version = "2.12.0"
1542
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1543
+ checksum = "d98f6fed1fde3f8c21bc40a1abb88dd75e67924f9cffc3ef95607bad8017f8e2"
1544
+
1545
+ [[package]]
1546
+ name = "is_terminal_polyfill"
1547
+ version = "1.70.2"
1548
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1549
+ checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
1550
+
1551
+ [[package]]
1552
+ name = "itertools"
1553
+ version = "0.15.0"
1554
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1555
+ checksum = "8b4baf93f58d4425749ca49a51c50ebab072c5df6994d08fed93541c331481dc"
1556
+ dependencies = [
1557
+ "either",
1558
+ ]
1559
+
1560
+ [[package]]
1561
+ name = "itoa"
1562
+ version = "1.0.18"
1563
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1564
+ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
1565
+
1566
+ [[package]]
1567
+ name = "jobserver"
1568
+ version = "0.1.34"
1569
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1570
+ checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33"
1571
+ dependencies = [
1572
+ "getrandom 0.3.4",
1573
+ "libc",
1574
+ ]
1575
+
1576
+ [[package]]
1577
+ name = "js-sys"
1578
+ version = "0.3.102"
1579
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1580
+ checksum = "03d04c30968dffe80775bd4d7fb676131cd04a1fb46d2686dbffbaec2d9dfd31"
1581
+ dependencies = [
1582
+ "cfg-if",
1583
+ "futures-util",
1584
+ "wasm-bindgen",
1585
+ ]
1586
+
1587
+ [[package]]
1588
+ name = "kanal"
1589
+ version = "0.1.1"
1590
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1591
+ checksum = "9e3953adf0cd667798b396c2fa13552d6d9b3269d7dd1154c4c416442d1ff574"
1592
+ dependencies = [
1593
+ "futures-core",
1594
+ "lock_api",
1595
+ ]
1596
+
1597
+ [[package]]
1598
+ name = "lazy_static"
1599
+ version = "1.5.0"
1600
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1601
+ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
1602
+
1603
+ [[package]]
1604
+ name = "libc"
1605
+ version = "0.2.186"
1606
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1607
+ checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
1608
+
1609
+ [[package]]
1610
+ name = "libsqlite3-sys"
1611
+ version = "0.38.1"
1612
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1613
+ checksum = "f6c19a05435c21ac299d71b6a9c13db3e3f47c520517d58990a462a1397a61db"
1614
+ dependencies = [
1615
+ "cc",
1616
+ "pkg-config",
1617
+ "vcpkg",
1618
+ ]
1619
+
1620
+ [[package]]
1621
+ name = "litemap"
1622
+ version = "0.8.2"
1623
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1624
+ checksum = "92daf443525c4cce67b150400bc2316076100ce0b3686209eb8cf3c31612e6f0"
1625
+
1626
+ [[package]]
1627
+ name = "litrs"
1628
+ version = "1.0.0"
1629
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1630
+ checksum = "11d3d7f243d5c5a8b9bb5d6dd2b1602c0cb0b9db1621bafc7ed66e35ff9fe092"
1631
+
1632
+ [[package]]
1633
+ name = "lock_api"
1634
+ version = "0.4.14"
1635
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1636
+ checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965"
1637
+ dependencies = [
1638
+ "scopeguard",
1639
+ ]
1640
+
1641
+ [[package]]
1642
+ name = "log"
1643
+ version = "0.4.33"
1644
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1645
+ checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad"
1646
+
1647
+ [[package]]
1648
+ name = "mac"
1649
+ version = "0.1.1"
1650
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1651
+ checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4"
1652
+
1653
+ [[package]]
1654
+ name = "maplit"
1655
+ version = "1.0.2"
1656
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1657
+ checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d"
1658
+
1659
+ [[package]]
1660
+ name = "markup5ever"
1661
+ version = "0.35.0"
1662
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1663
+ checksum = "311fe69c934650f8f19652b3946075f0fc41ad8757dbb68f1ca14e7900ecc1c3"
1664
+ dependencies = [
1665
+ "log",
1666
+ "tendril",
1667
+ "web_atoms",
1668
+ ]
1669
+
1670
+ [[package]]
1671
+ name = "match_token"
1672
+ version = "0.35.0"
1673
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1674
+ checksum = "ac84fd3f360fcc43dc5f5d186f02a94192761a080e8bc58621ad4d12296a58cf"
1675
+ dependencies = [
1676
+ "proc-macro2",
1677
+ "quote",
1678
+ "syn",
1679
+ ]
1680
+
1681
+ [[package]]
1682
+ name = "matchit"
1683
+ version = "0.8.4"
1684
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1685
+ checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3"
1686
+
1687
+ [[package]]
1688
+ name = "memchr"
1689
+ version = "2.8.2"
1690
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1691
+ checksum = "88904434abc2901f197fe8cc55f0445e7ded921dba5911dad2e2b39b48e663c4"
1692
+
1693
+ [[package]]
1694
+ name = "mime"
1695
+ version = "0.3.17"
1696
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1697
+ checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
1698
+
1699
+ [[package]]
1700
+ name = "miniz_oxide"
1701
+ version = "0.8.9"
1702
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1703
+ checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
1704
+ dependencies = [
1705
+ "adler2",
1706
+ "simd-adler32",
1707
+ ]
1708
+
1709
+ [[package]]
1710
+ name = "mio"
1711
+ version = "1.2.1"
1712
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1713
+ checksum = "02bd0af71c67b473010cbbc60715ee815645a4dc942899111f494b4b737d6fda"
1714
+ dependencies = [
1715
+ "libc",
1716
+ "wasi",
1717
+ "windows-sys",
1718
+ ]
1719
+
1720
+ [[package]]
1721
+ name = "new_debug_unreachable"
1722
+ version = "1.0.6"
1723
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1724
+ checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086"
1725
+
1726
+ [[package]]
1727
+ name = "nu-ansi-term"
1728
+ version = "0.50.3"
1729
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1730
+ checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5"
1731
+ dependencies = [
1732
+ "windows-sys",
1733
+ ]
1734
+
1735
+ [[package]]
1736
+ name = "num-conv"
1737
+ version = "0.2.2"
1738
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1739
+ checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441"
1740
+
1741
+ [[package]]
1742
+ name = "once_cell"
1743
+ version = "1.21.4"
1744
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1745
+ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
1746
+
1747
+ [[package]]
1748
+ name = "once_cell_polyfill"
1749
+ version = "1.70.2"
1750
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1751
+ checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
1752
+
1753
+ [[package]]
1754
+ name = "papergrid"
1755
+ version = "0.18.0"
1756
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1757
+ checksum = "d0984e668274d34691bc2b262ef0d115de5fa9973bcdee7ae32213f93099153e"
1758
+ dependencies = [
1759
+ "bytecount",
1760
+ "fnv",
1761
+ "unicode-width",
1762
+ ]
1763
+
1764
+ [[package]]
1765
+ name = "parking_lot"
1766
+ version = "0.12.5"
1767
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1768
+ checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
1769
+ dependencies = [
1770
+ "lock_api",
1771
+ "parking_lot_core",
1772
+ ]
1773
+
1774
+ [[package]]
1775
+ name = "parking_lot_core"
1776
+ version = "0.9.12"
1777
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1778
+ checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
1779
+ dependencies = [
1780
+ "cfg-if",
1781
+ "libc",
1782
+ "redox_syscall",
1783
+ "smallvec",
1784
+ "windows-link",
1785
+ ]
1786
+
1787
+ [[package]]
1788
+ name = "percent-encoding"
1789
+ version = "2.3.2"
1790
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1791
+ checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
1792
+
1793
+ [[package]]
1794
+ name = "phf"
1795
+ version = "0.11.3"
1796
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1797
+ checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078"
1798
+ dependencies = [
1799
+ "phf_macros 0.11.3",
1800
+ "phf_shared 0.11.3",
1801
+ ]
1802
+
1803
+ [[package]]
1804
+ name = "phf"
1805
+ version = "0.14.0"
1806
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1807
+ checksum = "010378780309880b08997fae13be7834dba947d36393bd372f2b1556deb2a2f6"
1808
+ dependencies = [
1809
+ "phf_macros 0.14.0",
1810
+ "phf_shared 0.14.0",
1811
+ "serde",
1812
+ ]
1813
+
1814
+ [[package]]
1815
+ name = "phf_codegen"
1816
+ version = "0.11.3"
1817
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1818
+ checksum = "aef8048c789fa5e851558d709946d6d79a8ff88c0440c587967f8e94bfb1216a"
1819
+ dependencies = [
1820
+ "phf_generator 0.11.3",
1821
+ "phf_shared 0.11.3",
1822
+ ]
1823
+
1824
+ [[package]]
1825
+ name = "phf_generator"
1826
+ version = "0.11.3"
1827
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1828
+ checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d"
1829
+ dependencies = [
1830
+ "phf_shared 0.11.3",
1831
+ "rand 0.8.6",
1832
+ ]
1833
+
1834
+ [[package]]
1835
+ name = "phf_generator"
1836
+ version = "0.14.0"
1837
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1838
+ checksum = "aeb62e0959d5a1bebc965f4d15d9e2b7cea002b6b0f5ba8cde6cc26738467100"
1839
+ dependencies = [
1840
+ "fastrand",
1841
+ "phf_shared 0.14.0",
1842
+ ]
1843
+
1844
+ [[package]]
1845
+ name = "phf_macros"
1846
+ version = "0.11.3"
1847
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1848
+ checksum = "f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216"
1849
+ dependencies = [
1850
+ "phf_generator 0.11.3",
1851
+ "phf_shared 0.11.3",
1852
+ "proc-macro2",
1853
+ "quote",
1854
+ "syn",
1855
+ ]
1856
+
1857
+ [[package]]
1858
+ name = "phf_macros"
1859
+ version = "0.14.0"
1860
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1861
+ checksum = "5fa8d0ca26d424d27630da600c6624696e7dec8bf7b3b492b383c5dc49e5e085"
1862
+ dependencies = [
1863
+ "phf_generator 0.14.0",
1864
+ "phf_shared 0.14.0",
1865
+ "proc-macro2",
1866
+ "quote",
1867
+ "syn",
1868
+ ]
1869
+
1870
+ [[package]]
1871
+ name = "phf_shared"
1872
+ version = "0.11.3"
1873
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1874
+ checksum = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5"
1875
+ dependencies = [
1876
+ "siphasher",
1877
+ ]
1878
+
1879
+ [[package]]
1880
+ name = "phf_shared"
1881
+ version = "0.14.0"
1882
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1883
+ checksum = "c6fd9027e2d9319be6349febd1db4e8d02aa544921200c9b777720ac34a3aa89"
1884
+ dependencies = [
1885
+ "siphasher",
1886
+ ]
1887
+
1888
+ [[package]]
1889
+ name = "pin-project-lite"
1890
+ version = "0.2.17"
1891
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1892
+ checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
1893
+
1894
+ [[package]]
1895
+ name = "pkg-config"
1896
+ version = "0.3.33"
1897
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1898
+ checksum = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e"
1899
+
1900
+ [[package]]
1901
+ name = "plist"
1902
+ version = "1.9.0"
1903
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1904
+ checksum = "092791278e026273c1b65bbdcfbba3a300f2994c896bd01ab01da613c29c46f1"
1905
+ dependencies = [
1906
+ "base64",
1907
+ "indexmap",
1908
+ "quick-xml",
1909
+ "serde",
1910
+ "time",
1911
+ ]
1912
+
1913
+ [[package]]
1914
+ name = "poly1305"
1915
+ version = "0.9.0"
1916
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1917
+ checksum = "a00baa632505d05512f48a963e16051c54fda9a95cc9acea1a4e3c90991c4a2e"
1918
+ dependencies = [
1919
+ "cpufeatures 0.3.0",
1920
+ "universal-hash",
1921
+ ]
1922
+
1923
+ [[package]]
1924
+ name = "potential_utf"
1925
+ version = "0.1.5"
1926
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1927
+ checksum = "0103b1cef7ec0cf76490e969665504990193874ea05c85ff9bab8b911d0a0564"
1928
+ dependencies = [
1929
+ "zerovec",
1930
+ ]
1931
+
1932
+ [[package]]
1933
+ name = "powerfmt"
1934
+ version = "0.2.0"
1935
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1936
+ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
1937
+
1938
+ [[package]]
1939
+ name = "ppv-lite86"
1940
+ version = "0.2.21"
1941
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1942
+ checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
1943
+ dependencies = [
1944
+ "zerocopy",
1945
+ ]
1946
+
1947
+ [[package]]
1948
+ name = "precomputed-hash"
1949
+ version = "0.1.1"
1950
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1951
+ checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
1952
+
1953
+ [[package]]
1954
+ name = "proc-macro-error-attr2"
1955
+ version = "2.0.0"
1956
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1957
+ checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5"
1958
+ dependencies = [
1959
+ "proc-macro2",
1960
+ "quote",
1961
+ ]
1962
+
1963
+ [[package]]
1964
+ name = "proc-macro-error2"
1965
+ version = "2.0.1"
1966
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1967
+ checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802"
1968
+ dependencies = [
1969
+ "proc-macro-error-attr2",
1970
+ "proc-macro2",
1971
+ "quote",
1972
+ "syn",
1973
+ ]
1974
+
1975
+ [[package]]
1976
+ name = "proc-macro2"
1977
+ version = "1.0.106"
1978
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1979
+ checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
1980
+ dependencies = [
1981
+ "unicode-ident",
1982
+ ]
1983
+
1984
+ [[package]]
1985
+ name = "psl-types"
1986
+ version = "2.0.11"
1987
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1988
+ checksum = "33cb294fe86a74cbcf50d4445b37da762029549ebeea341421c7c70370f86cac"
1989
+
1990
+ [[package]]
1991
+ name = "publicsuffix"
1992
+ version = "2.3.0"
1993
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1994
+ checksum = "6f42ea446cab60335f76979ec15e12619a2165b5ae2c12166bef27d283a9fadf"
1995
+ dependencies = [
1996
+ "idna",
1997
+ "psl-types",
1998
+ ]
1999
+
2000
+ [[package]]
2001
+ name = "pulldown-cmark"
2002
+ version = "0.13.4"
2003
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2004
+ checksum = "e9f068eba8e7071c5f9511831b44f32c740d5adf574e990f946ddb53db2f314e"
2005
+ dependencies = [
2006
+ "bitflags",
2007
+ "memchr",
2008
+ "pulldown-cmark-escape",
2009
+ "unicase",
2010
+ ]
2011
+
2012
+ [[package]]
2013
+ name = "pulldown-cmark-escape"
2014
+ version = "0.11.0"
2015
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2016
+ checksum = "007d8adb5ddab6f8e3f491ac63566a7d5002cc7ed73901f72057943fa71ae1ae"
2017
+
2018
+ [[package]]
2019
+ name = "qrcodegen"
2020
+ version = "1.8.0"
2021
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2022
+ checksum = "4339fc7a1021c9c1621d87f5e3505f2805c8c105420ba2f2a4df86814590c142"
2023
+
2024
+ [[package]]
2025
+ name = "quick-xml"
2026
+ version = "0.39.4"
2027
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2028
+ checksum = "cdcc8dd4e2f670d309a5f0e83fe36dfdc05af317008fea29144da1a2ac858e5e"
2029
+ dependencies = [
2030
+ "memchr",
2031
+ ]
2032
+
2033
+ [[package]]
2034
+ name = "quote"
2035
+ version = "1.0.46"
2036
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2037
+ checksum = "dfbc457d0c7a0759a614551b11a6409e5951f6c7537be1f1b7682b9ae9230368"
2038
+ dependencies = [
2039
+ "proc-macro2",
2040
+ ]
2041
+
2042
+ [[package]]
2043
+ name = "r-efi"
2044
+ version = "5.3.0"
2045
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2046
+ checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
2047
+
2048
+ [[package]]
2049
+ name = "r-efi"
2050
+ version = "6.0.0"
2051
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2052
+ checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
2053
+
2054
+ [[package]]
2055
+ name = "rand"
2056
+ version = "0.8.6"
2057
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2058
+ checksum = "5ca0ecfa931c29007047d1bc58e623ab12e5590e8c7cc53200d5202b69266d8a"
2059
+ dependencies = [
2060
+ "libc",
2061
+ "rand_chacha",
2062
+ "rand_core 0.6.4",
2063
+ ]
2064
+
2065
+ [[package]]
2066
+ name = "rand"
2067
+ version = "0.10.1"
2068
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2069
+ checksum = "d2e8e8bcc7961af1fdac401278c6a831614941f6164ee3bf4ce61b7edb162207"
2070
+ dependencies = [
2071
+ "chacha20",
2072
+ "getrandom 0.4.3",
2073
+ "rand_core 0.10.1",
2074
+ ]
2075
+
2076
+ [[package]]
2077
+ name = "rand_chacha"
2078
+ version = "0.3.1"
2079
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2080
+ checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
2081
+ dependencies = [
2082
+ "ppv-lite86",
2083
+ "rand_core 0.6.4",
2084
+ ]
2085
+
2086
+ [[package]]
2087
+ name = "rand_core"
2088
+ version = "0.6.4"
2089
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2090
+ checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
2091
+ dependencies = [
2092
+ "getrandom 0.2.17",
2093
+ ]
2094
+
2095
+ [[package]]
2096
+ name = "rand_core"
2097
+ version = "0.10.1"
2098
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2099
+ checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69"
2100
+
2101
+ [[package]]
2102
+ name = "redox_syscall"
2103
+ version = "0.5.18"
2104
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2105
+ checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
2106
+ dependencies = [
2107
+ "bitflags",
2108
+ ]
2109
+
2110
+ [[package]]
2111
+ name = "regex-automata"
2112
+ version = "0.4.14"
2113
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2114
+ checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f"
2115
+ dependencies = [
2116
+ "aho-corasick",
2117
+ "memchr",
2118
+ "regex-syntax",
2119
+ ]
2120
+
2121
+ [[package]]
2122
+ name = "regex-syntax"
2123
+ version = "0.8.11"
2124
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2125
+ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
2126
+
2127
+ [[package]]
2128
+ name = "reqwest"
2129
+ version = "0.13.4"
2130
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2131
+ checksum = "219c5811de6525e5416c7d5d53bb656d3afdbc6c5af816e0802bcfa42dbdc1c3"
2132
+ dependencies = [
2133
+ "base64",
2134
+ "bytes",
2135
+ "cookie",
2136
+ "cookie_store",
2137
+ "futures-core",
2138
+ "http",
2139
+ "http-body",
2140
+ "http-body-util",
2141
+ "hyper",
2142
+ "hyper-util",
2143
+ "js-sys",
2144
+ "log",
2145
+ "percent-encoding",
2146
+ "pin-project-lite",
2147
+ "serde",
2148
+ "serde_json",
2149
+ "serde_urlencoded",
2150
+ "sync_wrapper",
2151
+ "tokio",
2152
+ "tower",
2153
+ "tower-http 0.6.11",
2154
+ "tower-service",
2155
+ "url",
2156
+ "wasm-bindgen",
2157
+ "wasm-bindgen-futures",
2158
+ "web-sys",
2159
+ ]
2160
+
2161
+ [[package]]
2162
+ name = "rsqlite-vfs"
2163
+ version = "0.1.1"
2164
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2165
+ checksum = "c51c9ae4df8a7fba42103df5c621fa3c37eccf3a3c650879e90fc48b11cc192c"
2166
+ dependencies = [
2167
+ "hashbrown 0.16.1",
2168
+ "thiserror",
2169
+ ]
2170
+
2171
+ [[package]]
2172
+ name = "rusqlite"
2173
+ version = "0.40.1"
2174
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2175
+ checksum = "11438310b19e3109b6446c33d1ed5e889428cf2e278407bc7896bc4aaea43323"
2176
+ dependencies = [
2177
+ "bitflags",
2178
+ "fallible-iterator",
2179
+ "fallible-streaming-iterator",
2180
+ "hashlink",
2181
+ "libsqlite3-sys",
2182
+ "smallvec",
2183
+ "sqlite-wasm-rs",
2184
+ ]
2185
+
2186
+ [[package]]
2187
+ name = "rusqlite_migration"
2188
+ version = "2.6.0"
2189
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2190
+ checksum = "03451d4dc523c0a96d9e412c574670b3f5f184c3988b77a435876be25477bbd3"
2191
+ dependencies = [
2192
+ "log",
2193
+ "rusqlite",
2194
+ ]
2195
+
2196
+ [[package]]
2197
+ name = "rust-argon2"
2198
+ version = "3.0.0"
2199
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2200
+ checksum = "8ae76b7506744d254fd0eb2c0ff5c5d108201ccbb083111ac04a44eeda105680"
2201
+ dependencies = [
2202
+ "base64",
2203
+ "blake2b_simd",
2204
+ "constant_time_eq",
2205
+ "crossbeam-utils",
2206
+ ]
2207
+
2208
+ [[package]]
2209
+ name = "rustc-hash"
2210
+ version = "2.1.2"
2211
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2212
+ checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe"
2213
+
2214
+ [[package]]
2215
+ name = "rustversion"
2216
+ version = "1.0.22"
2217
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2218
+ checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
2219
+
2220
+ [[package]]
2221
+ name = "ryu"
2222
+ version = "1.0.23"
2223
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2224
+ checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f"
2225
+
2226
+ [[package]]
2227
+ name = "same-file"
2228
+ version = "1.0.6"
2229
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2230
+ checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
2231
+ dependencies = [
2232
+ "winapi-util",
2233
+ ]
2234
+
2235
+ [[package]]
2236
+ name = "scopeguard"
2237
+ version = "1.2.0"
2238
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2239
+ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
2240
+
2241
+ [[package]]
2242
+ name = "serde"
2243
+ version = "1.0.228"
2244
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2245
+ checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
2246
+ dependencies = [
2247
+ "serde_core",
2248
+ "serde_derive",
2249
+ ]
2250
+
2251
+ [[package]]
2252
+ name = "serde_core"
2253
+ version = "1.0.228"
2254
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2255
+ checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
2256
+ dependencies = [
2257
+ "serde_derive",
2258
+ ]
2259
+
2260
+ [[package]]
2261
+ name = "serde_derive"
2262
+ version = "1.0.228"
2263
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2264
+ checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
2265
+ dependencies = [
2266
+ "proc-macro2",
2267
+ "quote",
2268
+ "syn",
2269
+ ]
2270
+
2271
+ [[package]]
2272
+ name = "serde_json"
2273
+ version = "1.0.150"
2274
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2275
+ checksum = "e8014e44b4736ed0538adeecded0fce2a272f22dc9578a7eb6b2d9993c74cfb9"
2276
+ dependencies = [
2277
+ "itoa",
2278
+ "memchr",
2279
+ "serde",
2280
+ "serde_core",
2281
+ "zmij",
2282
+ ]
2283
+
2284
+ [[package]]
2285
+ name = "serde_path_to_error"
2286
+ version = "0.1.20"
2287
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2288
+ checksum = "10a9ff822e371bb5403e391ecd83e182e0e77ba7f6fe0160b795797109d1b457"
2289
+ dependencies = [
2290
+ "itoa",
2291
+ "serde",
2292
+ "serde_core",
2293
+ ]
2294
+
2295
+ [[package]]
2296
+ name = "serde_urlencoded"
2297
+ version = "0.7.1"
2298
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2299
+ checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd"
2300
+ dependencies = [
2301
+ "form_urlencoded",
2302
+ "itoa",
2303
+ "ryu",
2304
+ "serde",
2305
+ ]
2306
+
2307
+ [[package]]
2308
+ name = "sha1"
2309
+ version = "0.10.6"
2310
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2311
+ checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"
2312
+ dependencies = [
2313
+ "cfg-if",
2314
+ "cpufeatures 0.2.17",
2315
+ "digest 0.10.7",
2316
+ ]
2317
+
2318
+ [[package]]
2319
+ name = "sha2"
2320
+ version = "0.10.9"
2321
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2322
+ checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
2323
+ dependencies = [
2324
+ "cfg-if",
2325
+ "cpufeatures 0.2.17",
2326
+ "digest 0.10.7",
2327
+ ]
2328
+
2329
+ [[package]]
2330
+ name = "sha2"
2331
+ version = "0.11.0"
2332
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2333
+ checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4"
2334
+ dependencies = [
2335
+ "cfg-if",
2336
+ "cpufeatures 0.3.0",
2337
+ "digest 0.11.3",
2338
+ ]
2339
+
2340
+ [[package]]
2341
+ name = "sharded-slab"
2342
+ version = "0.1.7"
2343
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2344
+ checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6"
2345
+ dependencies = [
2346
+ "lazy_static",
2347
+ ]
2348
+
2349
+ [[package]]
2350
+ name = "shlex"
2351
+ version = "2.0.1"
2352
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2353
+ checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
2354
+
2355
+ [[package]]
2356
+ name = "signal-hook-registry"
2357
+ version = "1.4.8"
2358
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2359
+ checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b"
2360
+ dependencies = [
2361
+ "errno",
2362
+ "libc",
2363
+ ]
2364
+
2365
+ [[package]]
2366
+ name = "simd-adler32"
2367
+ version = "0.3.9"
2368
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2369
+ checksum = "703d5c7ef118737c72f1af64ad2f6f8c5e1921f818cdcb97b8fe6fc69bf66214"
2370
+
2371
+ [[package]]
2372
+ name = "siphasher"
2373
+ version = "1.0.3"
2374
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2375
+ checksum = "8ee5873ec9cce0195efcb7a4e9507a04cd49aec9c83d0389df45b1ef7ba2e649"
2376
+
2377
+ [[package]]
2378
+ name = "slab"
2379
+ version = "0.4.12"
2380
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2381
+ checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
2382
+
2383
+ [[package]]
2384
+ name = "smallvec"
2385
+ version = "1.15.2"
2386
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2387
+ checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90"
2388
+
2389
+ [[package]]
2390
+ name = "socket2"
2391
+ version = "0.6.4"
2392
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2393
+ checksum = "52d1cfed4120b4d927bf7c0f86d2087a4a7d6027c906d9f9d525a80573b9be51"
2394
+ dependencies = [
2395
+ "libc",
2396
+ "windows-sys",
2397
+ ]
2398
+
2399
+ [[package]]
2400
+ name = "sqlite-wasm-rs"
2401
+ version = "0.5.5"
2402
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2403
+ checksum = "dc3efc0da82635d7e1ced0053bbbfa8c7ab9645d0bf36ceb4f7127bb85315d75"
2404
+ dependencies = [
2405
+ "cc",
2406
+ "js-sys",
2407
+ "rsqlite-vfs",
2408
+ "wasm-bindgen",
2409
+ ]
2410
+
2411
+ [[package]]
2412
+ name = "stable_deref_trait"
2413
+ version = "1.2.1"
2414
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2415
+ checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
2416
+
2417
+ [[package]]
2418
+ name = "string_cache"
2419
+ version = "0.8.9"
2420
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2421
+ checksum = "bf776ba3fa74f83bf4b63c3dcbbf82173db2632ed8452cb2d891d33f459de70f"
2422
+ dependencies = [
2423
+ "new_debug_unreachable",
2424
+ "parking_lot",
2425
+ "phf_shared 0.11.3",
2426
+ "precomputed-hash",
2427
+ "serde",
2428
+ ]
2429
+
2430
+ [[package]]
2431
+ name = "string_cache_codegen"
2432
+ version = "0.5.4"
2433
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2434
+ checksum = "c711928715f1fe0fe509c53b43e993a9a557babc2d0a3567d0a3006f1ac931a0"
2435
+ dependencies = [
2436
+ "phf_generator 0.11.3",
2437
+ "phf_shared 0.11.3",
2438
+ "proc-macro2",
2439
+ "quote",
2440
+ ]
2441
+
2442
+ [[package]]
2443
+ name = "strsim"
2444
+ version = "0.11.1"
2445
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2446
+ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
2447
+
2448
+ [[package]]
2449
+ name = "subtle"
2450
+ version = "2.6.1"
2451
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2452
+ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
2453
+
2454
+ [[package]]
2455
+ name = "syn"
2456
+ version = "2.0.118"
2457
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2458
+ checksum = "1b9ae57f904213ebb649ce6895b8a66c66f0203b9319718f69a5612a065b1422"
2459
+ dependencies = [
2460
+ "proc-macro2",
2461
+ "quote",
2462
+ "unicode-ident",
2463
+ ]
2464
+
2465
+ [[package]]
2466
+ name = "sync_wrapper"
2467
+ version = "1.0.2"
2468
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2469
+ checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263"
2470
+ dependencies = [
2471
+ "futures-core",
2472
+ ]
2473
+
2474
+ [[package]]
2475
+ name = "synstructure"
2476
+ version = "0.13.2"
2477
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2478
+ checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2"
2479
+ dependencies = [
2480
+ "proc-macro2",
2481
+ "quote",
2482
+ "syn",
2483
+ ]
2484
+
2485
+ [[package]]
2486
+ name = "syntect"
2487
+ version = "5.3.0"
2488
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2489
+ checksum = "656b45c05d95a5704399aeef6bd0ddec7b2b3531b7c9e900abbf7c4d2190c925"
2490
+ dependencies = [
2491
+ "bincode",
2492
+ "fancy-regex",
2493
+ "flate2",
2494
+ "fnv",
2495
+ "once_cell",
2496
+ "plist",
2497
+ "regex-syntax",
2498
+ "serde",
2499
+ "serde_derive",
2500
+ "serde_json",
2501
+ "thiserror",
2502
+ "walkdir",
2503
+ ]
2504
+
2505
+ [[package]]
2506
+ name = "tabled"
2507
+ version = "0.21.0"
2508
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2509
+ checksum = "b5dc662e6da844ad6e428ad16b57967c9d33c82e16bb1c258326c0c078605dff"
2510
+ dependencies = [
2511
+ "papergrid",
2512
+ "tabled_derive",
2513
+ "testing_table",
2514
+ ]
2515
+
2516
+ [[package]]
2517
+ name = "tabled_derive"
2518
+ version = "0.11.0"
2519
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2520
+ checksum = "0ea5d1b13ca6cff1f9231ffd62f15eefd72543dab5e468735f1a456728a02846"
2521
+ dependencies = [
2522
+ "heck",
2523
+ "proc-macro-error2",
2524
+ "proc-macro2",
2525
+ "quote",
2526
+ "syn",
2527
+ ]
2528
+
2529
+ [[package]]
2530
+ name = "tendril"
2531
+ version = "0.4.3"
2532
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2533
+ checksum = "d24a120c5fc464a3458240ee02c299ebcb9d67b5249c8848b09d639dca8d7bb0"
2534
+ dependencies = [
2535
+ "futf",
2536
+ "mac",
2537
+ "utf-8",
2538
+ ]
2539
+
2540
+ [[package]]
2541
+ name = "testing_table"
2542
+ version = "0.3.0"
2543
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2544
+ checksum = "0f8daae29995a24f65619e19d8d31dea5b389f3d853d8bf297bbf607cd0014cc"
2545
+ dependencies = [
2546
+ "unicode-width",
2547
+ ]
2548
+
2549
+ [[package]]
2550
+ name = "thiserror"
2551
+ version = "2.0.18"
2552
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2553
+ checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4"
2554
+ dependencies = [
2555
+ "thiserror-impl",
2556
+ ]
2557
+
2558
+ [[package]]
2559
+ name = "thiserror-impl"
2560
+ version = "2.0.18"
2561
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2562
+ checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5"
2563
+ dependencies = [
2564
+ "proc-macro2",
2565
+ "quote",
2566
+ "syn",
2567
+ ]
2568
+
2569
+ [[package]]
2570
+ name = "thread_local"
2571
+ version = "1.1.9"
2572
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2573
+ checksum = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185"
2574
+ dependencies = [
2575
+ "cfg-if",
2576
+ ]
2577
+
2578
+ [[package]]
2579
+ name = "time"
2580
+ version = "0.3.51"
2581
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2582
+ checksum = "85c17d80feb7334b40c484e45ed1a5273dfd8bfda537c3be2e74a06a6686f327"
2583
+ dependencies = [
2584
+ "deranged",
2585
+ "num-conv",
2586
+ "powerfmt",
2587
+ "serde_core",
2588
+ "time-core",
2589
+ "time-macros",
2590
+ ]
2591
+
2592
+ [[package]]
2593
+ name = "time-core"
2594
+ version = "0.1.9"
2595
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2596
+ checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109"
2597
+
2598
+ [[package]]
2599
+ name = "time-macros"
2600
+ version = "0.2.30"
2601
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2602
+ checksum = "dcef1a61bdb119096e153208ec5cbec23944ce8bca13be5c7f60c634f7403935"
2603
+ dependencies = [
2604
+ "num-conv",
2605
+ "time-core",
2606
+ ]
2607
+
2608
+ [[package]]
2609
+ name = "tinystr"
2610
+ version = "0.8.3"
2611
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2612
+ checksum = "c8323304221c2a851516f22236c5722a72eaa19749016521d6dff0824447d96d"
2613
+ dependencies = [
2614
+ "displaydoc",
2615
+ "zerovec",
2616
+ ]
2617
+
2618
+ [[package]]
2619
+ name = "tokio"
2620
+ version = "1.52.3"
2621
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2622
+ checksum = "8fc7f01b389ac15039e4dc9531aa973a135d7a4135281b12d7c1bc79fd57fffe"
2623
+ dependencies = [
2624
+ "bytes",
2625
+ "libc",
2626
+ "mio",
2627
+ "pin-project-lite",
2628
+ "signal-hook-registry",
2629
+ "socket2",
2630
+ "tokio-macros",
2631
+ "windows-sys",
2632
+ ]
2633
+
2634
+ [[package]]
2635
+ name = "tokio-macros"
2636
+ version = "2.7.0"
2637
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2638
+ checksum = "385a6cb71ab9ab790c5fe8d67f1645e6c450a7ce006a33de03daa956cf70a496"
2639
+ dependencies = [
2640
+ "proc-macro2",
2641
+ "quote",
2642
+ "syn",
2643
+ ]
2644
+
2645
+ [[package]]
2646
+ name = "tokio-util"
2647
+ version = "0.7.18"
2648
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2649
+ checksum = "9ae9cec805b01e8fc3fd2fe289f89149a9b66dd16786abd8b19cfa7b48cb0098"
2650
+ dependencies = [
2651
+ "bytes",
2652
+ "futures-core",
2653
+ "futures-sink",
2654
+ "pin-project-lite",
2655
+ "tokio",
2656
+ ]
2657
+
2658
+ [[package]]
2659
+ name = "tower"
2660
+ version = "0.5.3"
2661
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2662
+ checksum = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4"
2663
+ dependencies = [
2664
+ "futures-core",
2665
+ "futures-util",
2666
+ "pin-project-lite",
2667
+ "sync_wrapper",
2668
+ "tokio",
2669
+ "tower-layer",
2670
+ "tower-service",
2671
+ "tracing",
2672
+ ]
2673
+
2674
+ [[package]]
2675
+ name = "tower-http"
2676
+ version = "0.6.11"
2677
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2678
+ checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840"
2679
+ dependencies = [
2680
+ "bitflags",
2681
+ "bytes",
2682
+ "futures-util",
2683
+ "http",
2684
+ "http-body",
2685
+ "pin-project-lite",
2686
+ "tower",
2687
+ "tower-layer",
2688
+ "tower-service",
2689
+ "url",
2690
+ ]
2691
+
2692
+ [[package]]
2693
+ name = "tower-http"
2694
+ version = "0.7.0"
2695
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2696
+ checksum = "b11f75e912b0c2be01b63d8cf8057b8c3f97cf34abb3d431a3a4c8675498e233"
2697
+ dependencies = [
2698
+ "async-compression",
2699
+ "bitflags",
2700
+ "bytes",
2701
+ "futures-core",
2702
+ "http",
2703
+ "http-body",
2704
+ "http-body-util",
2705
+ "percent-encoding",
2706
+ "pin-project-lite",
2707
+ "tokio",
2708
+ "tokio-util",
2709
+ "tower-layer",
2710
+ "tower-service",
2711
+ "tracing",
2712
+ ]
2713
+
2714
+ [[package]]
2715
+ name = "tower-layer"
2716
+ version = "0.3.3"
2717
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2718
+ checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e"
2719
+
2720
+ [[package]]
2721
+ name = "tower-service"
2722
+ version = "0.3.3"
2723
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2724
+ checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3"
2725
+
2726
+ [[package]]
2727
+ name = "tracing"
2728
+ version = "0.1.44"
2729
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2730
+ checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100"
2731
+ dependencies = [
2732
+ "log",
2733
+ "pin-project-lite",
2734
+ "tracing-attributes",
2735
+ "tracing-core",
2736
+ ]
2737
+
2738
+ [[package]]
2739
+ name = "tracing-attributes"
2740
+ version = "0.1.31"
2741
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2742
+ checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da"
2743
+ dependencies = [
2744
+ "proc-macro2",
2745
+ "quote",
2746
+ "syn",
2747
+ ]
2748
+
2749
+ [[package]]
2750
+ name = "tracing-core"
2751
+ version = "0.1.36"
2752
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2753
+ checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a"
2754
+ dependencies = [
2755
+ "once_cell",
2756
+ "valuable",
2757
+ ]
2758
+
2759
+ [[package]]
2760
+ name = "tracing-log"
2761
+ version = "0.2.0"
2762
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2763
+ checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3"
2764
+ dependencies = [
2765
+ "log",
2766
+ "once_cell",
2767
+ "tracing-core",
2768
+ ]
2769
+
2770
+ [[package]]
2771
+ name = "tracing-subscriber"
2772
+ version = "0.3.23"
2773
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2774
+ checksum = "cb7f578e5945fb242538965c2d0b04418d38ec25c79d160cd279bf0731c8d319"
2775
+ dependencies = [
2776
+ "nu-ansi-term",
2777
+ "sharded-slab",
2778
+ "smallvec",
2779
+ "thread_local",
2780
+ "tracing-core",
2781
+ "tracing-log",
2782
+ ]
2783
+
2784
+ [[package]]
2785
+ name = "try-lock"
2786
+ version = "0.2.5"
2787
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2788
+ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
2789
+
2790
+ [[package]]
2791
+ name = "two-face"
2792
+ version = "0.5.1"
2793
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2794
+ checksum = "b285c51f8a6ade109ed4566d33ac4fb289fb5d6cf87ed70908a5eaf65e948e34"
2795
+ dependencies = [
2796
+ "serde",
2797
+ "serde_derive",
2798
+ "syntect",
2799
+ ]
2800
+
2801
+ [[package]]
2802
+ name = "typenum"
2803
+ version = "1.20.1"
2804
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2805
+ checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
2806
+
2807
+ [[package]]
2808
+ name = "unicase"
2809
+ version = "2.9.0"
2810
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2811
+ checksum = "dbc4bc3a9f746d862c45cb89d705aa10f187bb96c76001afab07a0d35ce60142"
2812
+
2813
+ [[package]]
2814
+ name = "unicode-ident"
2815
+ version = "1.0.24"
2816
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2817
+ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
2818
+
2819
+ [[package]]
2820
+ name = "unicode-width"
2821
+ version = "0.2.2"
2822
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2823
+ checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254"
2824
+
2825
+ [[package]]
2826
+ name = "universal-hash"
2827
+ version = "0.6.1"
2828
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2829
+ checksum = "f4987bdc12753382e0bec4a65c50738ffaabc998b9cdd1f952fb5f39b0048a96"
2830
+ dependencies = [
2831
+ "crypto-common 0.2.2",
2832
+ "ctutils",
2833
+ ]
2834
+
2835
+ [[package]]
2836
+ name = "url"
2837
+ version = "2.5.8"
2838
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2839
+ checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed"
2840
+ dependencies = [
2841
+ "form_urlencoded",
2842
+ "idna",
2843
+ "percent-encoding",
2844
+ "serde",
2845
+ ]
2846
+
2847
+ [[package]]
2848
+ name = "utf-8"
2849
+ version = "0.7.6"
2850
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2851
+ checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
2852
+
2853
+ [[package]]
2854
+ name = "utf8_iter"
2855
+ version = "1.0.4"
2856
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2857
+ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
2858
+
2859
+ [[package]]
2860
+ name = "utf8parse"
2861
+ version = "0.2.2"
2862
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2863
+ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
2864
+
2865
+ [[package]]
2866
+ name = "valuable"
2867
+ version = "0.1.1"
2868
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2869
+ checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65"
2870
+
2871
+ [[package]]
2872
+ name = "vcpkg"
2873
+ version = "0.2.15"
2874
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2875
+ checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
2876
+
2877
+ [[package]]
2878
+ name = "version_check"
2879
+ version = "0.9.5"
2880
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2881
+ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
2882
+
2883
+ [[package]]
2884
+ name = "walkdir"
2885
+ version = "2.5.0"
2886
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2887
+ checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
2888
+ dependencies = [
2889
+ "same-file",
2890
+ "winapi-util",
2891
+ ]
2892
+
2893
+ [[package]]
2894
+ name = "want"
2895
+ version = "0.3.1"
2896
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2897
+ checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e"
2898
+ dependencies = [
2899
+ "try-lock",
2900
+ ]
2901
+
2902
+ [[package]]
2903
+ name = "wasi"
2904
+ version = "0.11.1+wasi-snapshot-preview1"
2905
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2906
+ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
2907
+
2908
+ [[package]]
2909
+ name = "wasip2"
2910
+ version = "1.0.4+wasi-0.2.12"
2911
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2912
+ checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487"
2913
+ dependencies = [
2914
+ "wit-bindgen",
2915
+ ]
2916
+
2917
+ [[package]]
2918
+ name = "wasm-bindgen"
2919
+ version = "0.2.125"
2920
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2921
+ checksum = "8ddb3f79143bced6de84270411622a2699cee572fc0875aeaf1e7867cf9fca1a"
2922
+ dependencies = [
2923
+ "cfg-if",
2924
+ "once_cell",
2925
+ "rustversion",
2926
+ "wasm-bindgen-macro",
2927
+ "wasm-bindgen-shared",
2928
+ ]
2929
+
2930
+ [[package]]
2931
+ name = "wasm-bindgen-futures"
2932
+ version = "0.4.75"
2933
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2934
+ checksum = "503b14d284f2c8dac03b819967e155ea753f573586193b2b2c95990cb5d69280"
2935
+ dependencies = [
2936
+ "js-sys",
2937
+ "wasm-bindgen",
2938
+ ]
2939
+
2940
+ [[package]]
2941
+ name = "wasm-bindgen-macro"
2942
+ version = "0.2.125"
2943
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2944
+ checksum = "4e21a184b13fb19e157296e2c46056aec9092264fab83e4ba59e68c61b323c3d"
2945
+ dependencies = [
2946
+ "quote",
2947
+ "wasm-bindgen-macro-support",
2948
+ ]
2949
+
2950
+ [[package]]
2951
+ name = "wasm-bindgen-macro-support"
2952
+ version = "0.2.125"
2953
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2954
+ checksum = "fecefd9c35bd935a20fc3fc344b5f29138961e4f47fb03297d88f2587afb5ebd"
2955
+ dependencies = [
2956
+ "bumpalo",
2957
+ "proc-macro2",
2958
+ "quote",
2959
+ "syn",
2960
+ "wasm-bindgen-shared",
2961
+ ]
2962
+
2963
+ [[package]]
2964
+ name = "wasm-bindgen-shared"
2965
+ version = "0.2.125"
2966
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2967
+ checksum = "23939e44bb9a5d7576fa2b563dc2e136628f1224e88a8deed09e04858b77871f"
2968
+ dependencies = [
2969
+ "unicode-ident",
2970
+ ]
2971
+
2972
+ [[package]]
2973
+ name = "wastebin"
2974
+ version = "3.7.0"
2975
+ dependencies = [
2976
+ "askama",
2977
+ "askama_web",
2978
+ "axum",
2979
+ "axum-extra",
2980
+ "cached",
2981
+ "cookie",
2982
+ "futures",
2983
+ "headers",
2984
+ "hex",
2985
+ "hostname",
2986
+ "http",
2987
+ "itertools",
2988
+ "mime",
2989
+ "phf 0.14.0",
2990
+ "qrcodegen",
2991
+ "reqwest",
2992
+ "serde",
2993
+ "sha2 0.11.0",
2994
+ "thiserror",
2995
+ "tokio",
2996
+ "tower",
2997
+ "tower-http 0.7.0",
2998
+ "tracing",
2999
+ "tracing-subscriber",
3000
+ "url",
3001
+ "wastebin_core",
3002
+ "wastebin_highlight",
3003
+ ]
3004
+
3005
+ [[package]]
3006
+ name = "wastebin-ctl"
3007
+ version = "3.7.0"
3008
+ dependencies = [
3009
+ "anyhow",
3010
+ "clap",
3011
+ "clap_complete",
3012
+ "tabled",
3013
+ "tokio",
3014
+ "wastebin_core",
3015
+ ]
3016
+
3017
+ [[package]]
3018
+ name = "wastebin-theme-showcase"
3019
+ version = "3.7.0"
3020
+ dependencies = [
3021
+ "askama",
3022
+ "syntect",
3023
+ "two-face",
3024
+ "wastebin_highlight",
3025
+ ]
3026
+
3027
+ [[package]]
3028
+ name = "wastebin_core"
3029
+ version = "3.7.0"
3030
+ dependencies = [
3031
+ "async-compression",
3032
+ "chacha20poly1305",
3033
+ "kanal",
3034
+ "rand 0.10.1",
3035
+ "rusqlite",
3036
+ "rusqlite_migration",
3037
+ "rust-argon2",
3038
+ "serde",
3039
+ "thiserror",
3040
+ "tokio",
3041
+ "tracing",
3042
+ "zstd",
3043
+ ]
3044
+
3045
+ [[package]]
3046
+ name = "wastebin_highlight"
3047
+ version = "3.7.0"
3048
+ dependencies = [
3049
+ "ammonia",
3050
+ "pulldown-cmark",
3051
+ "syntect",
3052
+ "thiserror",
3053
+ "two-face",
3054
+ ]
3055
+
3056
+ [[package]]
3057
+ name = "web-sys"
3058
+ version = "0.3.102"
3059
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3060
+ checksum = "a6430a72df5eb332242960fe84b3002a241163998241eb596d4f739b9757061d"
3061
+ dependencies = [
3062
+ "js-sys",
3063
+ "wasm-bindgen",
3064
+ ]
3065
+
3066
+ [[package]]
3067
+ name = "web-time"
3068
+ version = "1.1.0"
3069
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3070
+ checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb"
3071
+ dependencies = [
3072
+ "js-sys",
3073
+ "wasm-bindgen",
3074
+ ]
3075
+
3076
+ [[package]]
3077
+ name = "web_atoms"
3078
+ version = "0.1.3"
3079
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3080
+ checksum = "57ffde1dc01240bdf9992e3205668b235e59421fd085e8a317ed98da0178d414"
3081
+ dependencies = [
3082
+ "phf 0.11.3",
3083
+ "phf_codegen",
3084
+ "string_cache",
3085
+ "string_cache_codegen",
3086
+ ]
3087
+
3088
+ [[package]]
3089
+ name = "winapi-util"
3090
+ version = "0.1.11"
3091
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3092
+ checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
3093
+ dependencies = [
3094
+ "windows-sys",
3095
+ ]
3096
+
3097
+ [[package]]
3098
+ name = "windows-link"
3099
+ version = "0.2.1"
3100
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3101
+ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
3102
+
3103
+ [[package]]
3104
+ name = "windows-sys"
3105
+ version = "0.61.2"
3106
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3107
+ checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
3108
+ dependencies = [
3109
+ "windows-link",
3110
+ ]
3111
+
3112
+ [[package]]
3113
+ name = "winnow"
3114
+ version = "1.0.3"
3115
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3116
+ checksum = "0592e1c9d151f854e6fd382574c3a0855250e1d9b2f99d9281c6e6391af352f1"
3117
+ dependencies = [
3118
+ "memchr",
3119
+ ]
3120
+
3121
+ [[package]]
3122
+ name = "wit-bindgen"
3123
+ version = "0.57.1"
3124
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3125
+ checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e"
3126
+
3127
+ [[package]]
3128
+ name = "writeable"
3129
+ version = "0.6.3"
3130
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3131
+ checksum = "1ffae5123b2d3fc086436f8834ae3ab053a283cfac8fe0a0b8eaae044768a4c4"
3132
+
3133
+ [[package]]
3134
+ name = "yoke"
3135
+ version = "0.8.3"
3136
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3137
+ checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5"
3138
+ dependencies = [
3139
+ "stable_deref_trait",
3140
+ "yoke-derive",
3141
+ "zerofrom",
3142
+ ]
3143
+
3144
+ [[package]]
3145
+ name = "yoke-derive"
3146
+ version = "0.8.2"
3147
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3148
+ checksum = "de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e"
3149
+ dependencies = [
3150
+ "proc-macro2",
3151
+ "quote",
3152
+ "syn",
3153
+ "synstructure",
3154
+ ]
3155
+
3156
+ [[package]]
3157
+ name = "zerocopy"
3158
+ version = "0.8.52"
3159
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3160
+ checksum = "ce1022995ff5ff5d841ad7d994facc23098cd40152f2c1d11cd607c6f530653f"
3161
+ dependencies = [
3162
+ "zerocopy-derive",
3163
+ ]
3164
+
3165
+ [[package]]
3166
+ name = "zerocopy-derive"
3167
+ version = "0.8.52"
3168
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3169
+ checksum = "1ae7f38b72ec2a254e2b87ef277cf2cd4fb97cbebf944faa6f33354da0867930"
3170
+ dependencies = [
3171
+ "proc-macro2",
3172
+ "quote",
3173
+ "syn",
3174
+ ]
3175
+
3176
+ [[package]]
3177
+ name = "zerofrom"
3178
+ version = "0.1.8"
3179
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3180
+ checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272"
3181
+ dependencies = [
3182
+ "zerofrom-derive",
3183
+ ]
3184
+
3185
+ [[package]]
3186
+ name = "zerofrom-derive"
3187
+ version = "0.1.7"
3188
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3189
+ checksum = "11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1"
3190
+ dependencies = [
3191
+ "proc-macro2",
3192
+ "quote",
3193
+ "syn",
3194
+ "synstructure",
3195
+ ]
3196
+
3197
+ [[package]]
3198
+ name = "zerotrie"
3199
+ version = "0.2.4"
3200
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3201
+ checksum = "0f9152d31db0792fa83f70fb2f83148effb5c1f5b8c7686c3459e361d9bc20bf"
3202
+ dependencies = [
3203
+ "displaydoc",
3204
+ "yoke",
3205
+ "zerofrom",
3206
+ ]
3207
+
3208
+ [[package]]
3209
+ name = "zerovec"
3210
+ version = "0.11.6"
3211
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3212
+ checksum = "90f911cbc359ab6af17377d242225f4d75119aec87ea711a880987b18cd7b239"
3213
+ dependencies = [
3214
+ "yoke",
3215
+ "zerofrom",
3216
+ "zerovec-derive",
3217
+ ]
3218
+
3219
+ [[package]]
3220
+ name = "zerovec-derive"
3221
+ version = "0.11.3"
3222
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3223
+ checksum = "625dc425cab0dca6dc3c3319506e6593dcb08a9f387ea3b284dbd52a92c40555"
3224
+ dependencies = [
3225
+ "proc-macro2",
3226
+ "quote",
3227
+ "syn",
3228
+ ]
3229
+
3230
+ [[package]]
3231
+ name = "zmij"
3232
+ version = "1.0.21"
3233
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3234
+ checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa"
3235
+
3236
+ [[package]]
3237
+ name = "zstd"
3238
+ version = "0.13.3"
3239
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3240
+ checksum = "e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a"
3241
+ dependencies = [
3242
+ "zstd-safe",
3243
+ ]
3244
+
3245
+ [[package]]
3246
+ name = "zstd-safe"
3247
+ version = "7.2.4"
3248
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3249
+ checksum = "8f49c4d5f0abb602a93fb8736af2a4f4dd9512e36f7f570d66e65ff867ed3b9d"
3250
+ dependencies = [
3251
+ "zstd-sys",
3252
+ ]
3253
+
3254
+ [[package]]
3255
+ name = "zstd-sys"
3256
+ version = "2.0.16+zstd.1.5.7"
3257
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3258
+ checksum = "91e19ebc2adc8f83e43039e79776e3fda8ca919132d68a1fed6a5faca2683748"
3259
+ dependencies = [
3260
+ "cc",
3261
+ "pkg-config",
3262
+ ]
3263
+ LOCK_EOF
3264
+
3265
+ # ---------------------------------------------------------------------------
3266
+ # Prefetch the dependency graph into CARGO_HOME. --manifest-path keeps cargo off
3267
+ # /source_ro and the repository root. `--locked` makes cargo resolve the graph
3268
+ # exactly as pinned by the embedded committed lock, so every crate that
3269
+ # build.sh's `--locked --offline` build will demand (including dev-dependencies
3270
+ # such as itertools/reqwest/tower that earlier made resolution fail) is cached.
3271
+ # ---------------------------------------------------------------------------
3272
+ cargo fetch --locked --manifest-path "$_mirror/Cargo.toml"
3273
+ _fetch_status=$?
3274
+ if [ "$_fetch_status" -ne 0 ]; then
3275
+ rm -rf "$_mirror"
3276
+ _pb_fail
3277
+ fi
3278
+
3279
+ rm -rf "$_mirror"
matze--wastebin.b494662/tests/executable ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c80fcf7137dbf5798c671012574a8ea3dc0b6e3cd9f5efd7420982286e3464b0
3
+ size 12892528
matze--wastebin.b494662/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
matze--wastebin.b494662/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
matze--wastebin.b494662/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
matze--wastebin.b494662/tests/programgym_evaluator.py ADDED
@@ -0,0 +1,1201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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()
matze--wastebin.b494662/tests/programgym_task.json ADDED
The diff for this file is too large to render. See raw diff
 
matze--wastebin.b494662/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
matze--wastebin.b494662/tests/workspace.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6780612b1e9ced09b81d35b650f694d5297265afa75bedcb2249f2fcc43a62b1
3
+ size 6270
mavam--libbf.4c9efc1/environment/Dockerfile CHANGED
@@ -55,3 +55,4 @@ RUN mkdir -p /home/agent \
55
  && chmod 111 /workspace/executable
56
  ENV HOME=/home/agent
57
  WORKDIR /workspace
 
 
55
  && chmod 111 /workspace/executable
56
  ENV HOME=/home/agent
57
  WORKDIR /workspace
58
+ 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"]
mavam--libbf.4c9efc1/tests/Dockerfile CHANGED
@@ -63,3 +63,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
63
  COPY programgym_task.json /tests/programgym_task.json
64
  COPY blobs/ /tests/blobs/
65
  RUN chmod +x /tests/test.sh
 
 
63
  COPY programgym_task.json /tests/programgym_task.json
64
  COPY blobs/ /tests/blobs/
65
  RUN chmod +x /tests/test.sh
66
+ 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"]
max-rocket-internet--k8s-event-logger.caab565/environment/Dockerfile ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ubuntu:24.04
2
+ ENV DEBIAN_FRONTEND=noninteractive
3
+ ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
4
+ ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
5
+ ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
6
+ ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
7
+ ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
8
+ ENV GOPROXY="https://proxy.golang.org,direct"
9
+ ENV GOSUMDB=sum.golang.google.cn
10
+ ENV GOTOOLCHAIN=auto
11
+ ENV UV_INSECURE_HOST=""
12
+ ENV UV_INDEX_URL="https://pypi.org/simple"
13
+ ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
14
+ ENV UV_CACHE_DIR=/workspace/.cache/uv
15
+ ENV npm_config_registry="https://registry.npmjs.org/"
16
+ ENV npm_config_strict_ssl=false
17
+ ENV npm_config_cache=/workspace/.cache/npm
18
+ ENV PIP_INDEX_URL="https://pypi.org/simple"
19
+ ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
20
+ ENV PIP_TRUSTED_HOST=""
21
+ ENV HOME=/workspace
22
+ ENV XDG_CACHE_HOME=/workspace/.cache
23
+ ENV PIP_CACHE_DIR=/workspace/.cache/pip
24
+ ENV PYTHONUSERBASE=/workspace/.local
25
+ ENV GOROOT=/usr/local/go
26
+ ENV GOPATH=/workspace/.go
27
+ ENV GOCACHE=/workspace/.cache/go-build
28
+ ENV PIP_BREAK_SYSTEM_PACKAGES=1
29
+ 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
30
+ ENV PAGER=cat
31
+ ENV MANPAGER=cat
32
+ ENV LESS=-R
33
+ ENV TQDM_DISABLE=1
34
+ ENV VIRTUAL_ENV=/opt/programgym-venv
35
+ 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/*
36
+ COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
37
+ 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
38
+ 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
39
+ WORKDIR /workspace
40
+ ADD workspace.tar.gz /workspace/
41
+ COPY executable /workspace/executable
42
+ COPY download.sh /workspace/download.sh
43
+ RUN chmod 755 /workspace/download.sh
44
+ RUN ["bash","-lc","set -euo pipefail; cd /workspace; set -a; source /workspace/download.sh; set +a; python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh\nimport os\nimport re\nimport shlex\nignored = {\"OLDPWD\", \"PWD\", \"SHLVL\", \"_\"}\nvalid_name = re.compile(r\"^[A-Za-z_][A-Za-z0-9_]*$\")\nfor key in sorted(os.environ):\n if key in ignored or key.startswith(\"BASH_FUNC_\") or not valid_name.fullmatch(key):\n continue\n value = os.environ[key]\n if \"\\n\" in value:\n continue\n print(f\"export {key}={shlex.quote(value)}\")\nPY\n"]
45
+ ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
46
+ RUN chmod 111 /workspace/executable
47
+ WORKDIR /workspace
48
+ # programgym-runtime-workspace-cleanup: v1
49
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
50
+ # Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
51
+ # Keep tool/runtime state under /home/agent and reserve /workspace for the
52
+ # submission handed to the separate verifier. Keep the reference executable
53
+ # execute-only; the oracle temporarily restores owner read permission.
54
+ RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
55
+ RUN mkdir -p /home/agent \
56
+ && chown -R agent:agent /home/agent /workspace \
57
+ && chown agent:agent /workspace/executable \
58
+ && chmod 111 /workspace/executable
59
+ ENV HOME=/home/agent
60
+ WORKDIR /workspace
61
+ 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"]
max-rocket-internet--k8s-event-logger.caab565/environment/download.sh ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/max-rocket-internet/k8s-event-logger
9
+
10
+ go 1.24.0
11
+
12
+ require (
13
+ k8s.io/api v0.33.3
14
+ k8s.io/apimachinery v0.33.3
15
+ k8s.io/client-go v0.33.3
16
+ )
17
+
18
+ require (
19
+ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
20
+ github.com/emicklei/go-restful/v3 v3.12.1 // indirect
21
+ github.com/fxamacker/cbor/v2 v2.7.0 // indirect
22
+ github.com/go-logr/logr v1.4.2 // indirect
23
+ github.com/go-openapi/jsonpointer v0.21.0 // indirect
24
+ github.com/go-openapi/jsonreference v0.21.0 // indirect
25
+ github.com/go-openapi/swag v0.23.0 // indirect
26
+ github.com/gogo/protobuf v1.3.2 // indirect
27
+ github.com/google/gnostic-models v0.6.9 // indirect
28
+ github.com/google/go-cmp v0.7.0 // indirect
29
+ github.com/google/uuid v1.6.0 // indirect
30
+ github.com/josharian/intern v1.0.0 // indirect
31
+ github.com/json-iterator/go v1.1.12 // indirect
32
+ github.com/mailru/easyjson v0.7.7 // indirect
33
+ github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
34
+ github.com/modern-go/reflect2 v1.0.2 // indirect
35
+ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
36
+ github.com/pkg/errors v0.9.1 // indirect
37
+ github.com/spf13/pflag v1.0.5 // indirect
38
+ github.com/x448/float16 v0.8.4 // indirect
39
+ golang.org/x/net v0.38.0 // indirect
40
+ golang.org/x/oauth2 v0.27.0 // indirect
41
+ golang.org/x/sys v0.31.0 // indirect
42
+ golang.org/x/term v0.30.0 // indirect
43
+ golang.org/x/text v0.23.0 // indirect
44
+ golang.org/x/time v0.9.0 // indirect
45
+ google.golang.org/protobuf v1.36.5 // indirect
46
+ gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
47
+ gopkg.in/inf.v0 v0.9.1 // indirect
48
+ gopkg.in/yaml.v3 v3.0.1 // indirect
49
+ k8s.io/klog/v2 v2.130.1 // indirect
50
+ k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff // indirect
51
+ k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738 // indirect
52
+ sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect
53
+ sigs.k8s.io/randfill v1.0.0 // indirect
54
+ sigs.k8s.io/structured-merge-diff/v4 v4.6.0 // indirect
55
+ sigs.k8s.io/yaml v1.4.0 // indirect
56
+ )
57
+ PROGRAMGYM_GO_MOD_EOF
58
+ cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
59
+ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
60
+ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
61
+ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
62
+ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
63
+ github.com/emicklei/go-restful/v3 v3.12.1 h1:PJMDIM/ak7btuL8Ex0iYET9hxM3CI2sjZtzpL63nKAU=
64
+ github.com/emicklei/go-restful/v3 v3.12.1/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc=
65
+ github.com/fxamacker/cbor/v2 v2.7.0 h1:iM5WgngdRBanHcxugY4JySA0nk1wZorNOpTgCMedv5E=
66
+ github.com/fxamacker/cbor/v2 v2.7.0/go.mod h1:pxXPTn3joSm21Gbwsv0w9OSA2y1HFR9qXEeXQVeNoDQ=
67
+ github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY=
68
+ github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
69
+ github.com/go-openapi/jsonpointer v0.21.0 h1:YgdVicSA9vH5RiHs9TZW5oyafXZFc6+2Vc1rr/O9oNQ=
70
+ github.com/go-openapi/jsonpointer v0.21.0/go.mod h1:IUyH9l/+uyhIYQ/PXVA41Rexl+kOkAPDdXEYns6fzUY=
71
+ github.com/go-openapi/jsonreference v0.21.0 h1:Rs+Y7hSXT83Jacb7kFyjn4ijOuVGSvOdF2+tg1TRrwQ=
72
+ github.com/go-openapi/jsonreference v0.21.0/go.mod h1:LmZmgsrTkVg9LG4EaHeY8cBDslNPMo06cago5JNLkm4=
73
+ github.com/go-openapi/swag v0.23.0 h1:vsEVJDUo2hPJ2tu0/Xc+4noaxyEffXNIs3cOULZ+GrE=
74
+ github.com/go-openapi/swag v0.23.0/go.mod h1:esZ8ITTYEsH1V2trKHjAN8Ai7xHb8RV+YSZ577vPjgQ=
75
+ github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI=
76
+ github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8=
77
+ github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
78
+ github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
79
+ github.com/google/gnostic-models v0.6.9 h1:MU/8wDLif2qCXZmzncUQ/BOfxWfthHi63KqpoNbWqVw=
80
+ github.com/google/gnostic-models v0.6.9/go.mod h1:CiWsm0s6BSQd1hRn8/QmxqB6BesYcbSZxsz9b0KuDBw=
81
+ github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
82
+ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
83
+ github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
84
+ github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
85
+ github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db h1:097atOisP2aRj7vFgYQBbFN4U4JNXUNYpxael3UzMyo=
86
+ github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144=
87
+ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
88
+ github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
89
+ github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY=
90
+ github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y=
91
+ github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
92
+ github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
93
+ github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
94
+ github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
95
+ github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
96
+ github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
97
+ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
98
+ github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
99
+ github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=
100
+ github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
101
+ github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
102
+ github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
103
+ github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
104
+ github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M=
105
+ github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
106
+ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=
107
+ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
108
+ github.com/onsi/ginkgo/v2 v2.21.0 h1:7rg/4f3rB88pb5obDgNZrNHrQ4e6WpjonchcpuBRnZM=
109
+ github.com/onsi/ginkgo/v2 v2.21.0/go.mod h1:7Du3c42kxCUegi0IImZ1wUQzMBVecgIHjR1C+NkhLQo=
110
+ github.com/onsi/gomega v1.35.1 h1:Cwbd75ZBPxFSuZ6T+rN/WCb/gOc6YgFBXLlZLhC7Ds4=
111
+ github.com/onsi/gomega v1.35.1/go.mod h1:PvZbdDc8J6XJEpDK4HCuRBm8a6Fzp9/DmhC9C7yFlog=
112
+ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
113
+ github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
114
+ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
115
+ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
116
+ github.com/rogpeppe/go-internal v1.13.1 h1:KvO1DLK/DRN07sQ1LQKScxyZJuNnedQ5/wKSR38lUII=
117
+ github.com/rogpeppe/go-internal v1.13.1/go.mod h1:uMEvuHeurkdAXX61udpOXGD/AzZDWNMNyH2VO9fmH0o=
118
+ github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
119
+ github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
120
+ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
121
+ github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
122
+ github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
123
+ github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
124
+ github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
125
+ github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
126
+ github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM=
127
+ github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg=
128
+ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
129
+ github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
130
+ go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
131
+ go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
132
+ golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
133
+ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
134
+ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
135
+ golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
136
+ golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
137
+ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
138
+ golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
139
+ golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
140
+ golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
141
+ golang.org/x/net v0.38.0 h1:vRMAPTMaeGqVhG5QyLJHqNDwecKTomGeqbnfZyKlBI8=
142
+ golang.org/x/net v0.38.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8=
143
+ golang.org/x/oauth2 v0.27.0 h1:da9Vo7/tDv5RH/7nZDz1eMGS/q1Vv1N/7FCrBhI9I3M=
144
+ golang.org/x/oauth2 v0.27.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8=
145
+ golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
146
+ golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
147
+ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
148
+ golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
149
+ golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
150
+ golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
151
+ golang.org/x/sys v0.31.0 h1:ioabZlmFYtWhL+TRYpcnNlLwhyxaM9kWTDEmfnprqik=
152
+ golang.org/x/sys v0.31.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
153
+ golang.org/x/term v0.30.0 h1:PQ39fJZ+mfadBm0y5WlL4vlM7Sx1Hgf13sMIY2+QS9Y=
154
+ golang.org/x/term v0.30.0/go.mod h1:NYYFdzHoI5wRh/h5tDMdMqCqPJZEuNqVR5xJLd/n67g=
155
+ golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
156
+ golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
157
+ golang.org/x/text v0.23.0 h1:D71I7dUrlY+VX0gQShAThNGHFxZ13dGLBHQLVl1mJlY=
158
+ golang.org/x/text v0.23.0/go.mod h1:/BLNzu4aZCJ1+kcD0DNRotWKage4q2rGVAg4o22unh4=
159
+ golang.org/x/time v0.9.0 h1:EsRrnYcQiGH+5FfbgvV4AP7qEZstoyrHB0DzarOQ4ZY=
160
+ golang.org/x/time v0.9.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM=
161
+ golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
162
+ golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
163
+ golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
164
+ golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
165
+ golang.org/x/tools v0.26.0 h1:v/60pFQmzmT9ExmjDv2gGIfi3OqfKoEP6I5+umXlbnQ=
166
+ golang.org/x/tools v0.26.0/go.mod h1:TPVVj70c7JJ3WCazhD8OdXcZg/og+b9+tH/KxylGwH0=
167
+ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
168
+ golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
169
+ golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
170
+ golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
171
+ google.golang.org/protobuf v1.36.5 h1:tPhr+woSbjfYvY6/GPufUoYizxw1cF/yFoxJ2fmpwlM=
172
+ google.golang.org/protobuf v1.36.5/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE=
173
+ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
174
+ gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
175
+ gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
176
+ gopkg.in/evanphx/json-patch.v4 v4.12.0 h1:n6jtcsulIzXPJaxegRbvFNNrZDjbij7ny3gmSPG+6V4=
177
+ gopkg.in/evanphx/json-patch.v4 v4.12.0/go.mod h1:p8EYWUEYMpynmqDbY58zCKCFZw8pRWMG4EsWvDvM72M=
178
+ gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=
179
+ gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
180
+ gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
181
+ gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
182
+ k8s.io/api v0.33.3 h1:SRd5t//hhkI1buzxb288fy2xvjubstenEKL9K51KBI8=
183
+ k8s.io/api v0.33.3/go.mod h1:01Y/iLUjNBM3TAvypct7DIj0M0NIZc+PzAHCIo0CYGE=
184
+ k8s.io/apimachinery v0.33.3 h1:4ZSrmNa0c/ZpZJhAgRdcsFcZOw1PQU1bALVQ0B3I5LA=
185
+ k8s.io/apimachinery v0.33.3/go.mod h1:BHW0YOu7n22fFv/JkYOEfkUYNRN0fj0BlvMFWA7b+SM=
186
+ k8s.io/client-go v0.33.3 h1:M5AfDnKfYmVJif92ngN532gFqakcGi6RvaOF16efrpA=
187
+ k8s.io/client-go v0.33.3/go.mod h1:luqKBQggEf3shbxHY4uVENAxrDISLOarxpTKMiUuujg=
188
+ k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk=
189
+ k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
190
+ k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff h1:/usPimJzUKKu+m+TE36gUyGcf03XZEP0ZIKgKj35LS4=
191
+ k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff/go.mod h1:5jIi+8yX4RIb8wk3XwBo5Pq2ccx4FP10ohkbSKCZoK8=
192
+ k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738 h1:M3sRQVHv7vB20Xc2ybTt7ODCeFj6JSWYFzOFnYeS6Ro=
193
+ k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
194
+ sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 h1:/Rv+M11QRah1itp8VhT6HoVx1Ray9eB4DBr+K+/sCJ8=
195
+ sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3/go.mod h1:18nIHnGi6636UCz6m8i4DhaJ65T6EruyzmoQqI2BVDo=
196
+ sigs.k8s.io/randfill v0.0.0-20250304075658-069ef1bbf016/go.mod h1:XeLlZ/jmk4i1HRopwe7/aU3H5n1zNUcX6TM94b3QxOY=
197
+ sigs.k8s.io/randfill v1.0.0 h1:JfjMILfT8A6RbawdsK2JXGBR5AQVfd+9TbzrlneTyrU=
198
+ sigs.k8s.io/randfill v1.0.0/go.mod h1:XeLlZ/jmk4i1HRopwe7/aU3H5n1zNUcX6TM94b3QxOY=
199
+ sigs.k8s.io/structured-merge-diff/v4 v4.6.0 h1:IUA9nvMmnKWcj5jl84xn+T5MnlZKThmUW1TdblaLVAc=
200
+ sigs.k8s.io/structured-merge-diff/v4 v4.6.0/go.mod h1:dDy58f92j70zLsuZVuUX5Wp9vtxXpaZnkPGWeqDfCps=
201
+ sigs.k8s.io/yaml v1.4.0 h1:Mk1wCc2gy/F0THH0TAp1QYyJNzRm2KCLy3o5ASXVI5E=
202
+ sigs.k8s.io/yaml v1.4.0/go.mod h1:Ejl7/uTz7PSA4eKMyQCUTnhZYNmLIl+5c2lQPGR2BPY=
203
+ PROGRAMGYM_GO_SUM_EOF
204
+ PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
205
+ if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && GOTOOLCHAIN=auto go env GOROOT)"; then
206
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
207
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
208
+ return 1
209
+ else
210
+ exit 1
211
+ fi
212
+ fi
213
+ if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
214
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
215
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
216
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
217
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
218
+ else
219
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
220
+ fi
221
+ export PATH="$GOROOT/bin:$PATH"
222
+ export GOTOOLCHAIN=local
223
+ if ! (cd /workspace/.programgym_build_env/go-prefetch && go mod download -modfile=/workspace/.programgym_build_env/go-prefetch/go.mod all); then
224
+ printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
225
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
226
+ return 1
227
+ else
228
+ exit 1
229
+ fi
230
+ fi
max-rocket-internet--k8s-event-logger.caab565/environment/executable ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:730594caa517808d1f25980024c6d23580f0f4f86cc3cc9f9e169f82916df754
3
+ size 51504838
max-rocket-internet--k8s-event-logger.caab565/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
max-rocket-internet--k8s-event-logger.caab565/environment/workspace.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a9af2b90d85fcd82c18a0bbb79e17a32bcd0a1325945845309206dbeb57247b
3
+ size 16649
max-rocket-internet--k8s-event-logger.caab565/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
max-rocket-internet--k8s-event-logger.caab565/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
max-rocket-internet--k8s-event-logger.caab565/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/max-rocket-internet--k8s-event-logger.caab565"
25
+ description = "Synthetic ProgramGym cleanroom reconstruction task for max-rocket-internet/k8s-event-logger"
26
+ authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
27
+ keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "go"]
28
+
29
+ [metadata]
30
+ source = "ProgramGym"
31
+ instance_id = "max-rocket-internet__k8s-event-logger.caab565"
32
+ repository = "max-rocket-internet/k8s-event-logger"
33
+ commit = "caab565377b497032baab82b75fcca3c41cf4f17"
34
+ language = "go"
35
+ difficulty = "easy"
36
+ difficulty_score = 1.5422027824340283
37
+ test_branches = 3
38
+ test_count = 142
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"
max-rocket-internet--k8s-event-logger.caab565/tests/Dockerfile ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ubuntu:24.04
2
+ ENV DEBIAN_FRONTEND=noninteractive
3
+ ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
4
+ ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
5
+ ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
6
+ ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
7
+ ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
8
+ ENV GOPROXY="https://proxy.golang.org,direct"
9
+ ENV GOSUMDB=sum.golang.google.cn
10
+ ENV GOTOOLCHAIN=auto
11
+ ENV UV_INSECURE_HOST=""
12
+ ENV UV_INDEX_URL="https://pypi.org/simple"
13
+ ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
14
+ ENV UV_CACHE_DIR=/workspace/.cache/uv
15
+ ENV npm_config_registry="https://registry.npmjs.org/"
16
+ ENV npm_config_strict_ssl=false
17
+ ENV npm_config_cache=/workspace/.cache/npm
18
+ ENV PIP_INDEX_URL="https://pypi.org/simple"
19
+ ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
20
+ ENV PIP_TRUSTED_HOST=""
21
+ ENV HOME=/workspace
22
+ ENV XDG_CACHE_HOME=/workspace/.cache
23
+ ENV PIP_CACHE_DIR=/workspace/.cache/pip
24
+ ENV PYTHONUSERBASE=/workspace/.local
25
+ ENV GOROOT=/usr/local/go
26
+ ENV GOPATH=/workspace/.go
27
+ ENV GOCACHE=/workspace/.cache/go-build
28
+ ENV PIP_BREAK_SYSTEM_PACKAGES=1
29
+ 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
30
+ ENV PAGER=cat
31
+ ENV MANPAGER=cat
32
+ ENV LESS=-R
33
+ ENV TQDM_DISABLE=1
34
+ ENV VIRTUAL_ENV=/opt/programgym-venv
35
+ 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/*
36
+ COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
37
+ 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
38
+ 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
39
+ WORKDIR /workspace
40
+ ADD workspace.tar.gz /workspace/
41
+ COPY executable /workspace/executable
42
+ COPY download.sh /workspace/download.sh
43
+ RUN chmod 755 /workspace/download.sh
44
+ RUN ["bash","-lc","set -euo pipefail; cd /workspace; set -a; source /workspace/download.sh; set +a; python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh\nimport os\nimport re\nimport shlex\nignored = {\"OLDPWD\", \"PWD\", \"SHLVL\", \"_\"}\nvalid_name = re.compile(r\"^[A-Za-z_][A-Za-z0-9_]*$\")\nfor key in sorted(os.environ):\n if key in ignored or key.startswith(\"BASH_FUNC_\") or not valid_name.fullmatch(key):\n continue\n value = os.environ[key]\n if \"\\n\" in value:\n continue\n print(f\"export {key}={shlex.quote(value)}\")\nPY\n"]
45
+ ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
46
+ RUN chmod 111 /workspace/executable
47
+ WORKDIR /workspace
48
+ # programgym-runtime-workspace-cleanup: v1
49
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
50
+ # Harbor uses tests/ as the separate verifier build context. Start with the
51
+ # same toolchain as the agent, then remove every cleanroom workspace artifact.
52
+ RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
53
+ && mkdir -p /workspace /tests
54
+
55
+ # Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
56
+ # Installing a newer pytest alone leaves that apt package importable and creates
57
+ # an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
58
+ # Install and constrain the verifier test runner as one coherent pip toolchain.
59
+ RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
60
+ ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
61
+ RUN python3 -m pip install --no-cache-dir --disable-pip-version-check \
62
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
63
+
64
+ COPY test.sh /tests/test.sh
65
+ 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
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"]