[INFO] fetching crate torch-web 0.2.8...
[INFO] testing torch-web-0.2.8 against beta-2025-10-28 for beta-1.92-2
[INFO] extracting crate torch-web 0.2.8 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate torch-web 0.2.8
[INFO] finished tweaking crates.io crate torch-web 0.2.8
[INFO] tweaked toml for crates.io crate torch-web 0.2.8 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate torch-web 0.2.8 on toolchain beta-2025-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate torch-web 0.2.8 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3dca9b61a34d4e1529baa6647fe5ef1d42dffb2ce70071bc6cae6fe47923d564
[INFO] running `Command { std: "docker" "start" "-a" "3dca9b61a34d4e1529baa6647fe5ef1d42dffb2ce70071bc6cae6fe47923d564", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3dca9b61a34d4e1529baa6647fe5ef1d42dffb2ce70071bc6cae6fe47923d564", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3dca9b61a34d4e1529baa6647fe5ef1d42dffb2ce70071bc6cae6fe47923d564", kill_on_drop: false }`
[INFO] [stdout] 3dca9b61a34d4e1529baa6647fe5ef1d42dffb2ce70071bc6cae6fe47923d564
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cd66d5b01739aa26dde8f0e552100f1e5450bedaa3ec43dc3acc2dfab8020591
[INFO] running `Command { std: "docker" "start" "-a" "cd66d5b01739aa26dde8f0e552100f1e5450bedaa3ec43dc3acc2dfab8020591", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling slab v0.4.10
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling torch-web v0.2.8 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tokio v1.46.1
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling h2 v0.4.11
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling hyper-util v0.1.15
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand`
[INFO] [stdout]  --> src/security/encryption.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rand::distributions::Alphanumeric;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> src/security/encryption.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::{Rng, thread_rng};
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sha2`
[INFO] [stdout]  --> src/security/encryption.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sha2::{Sha256, Digest};
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `sha2`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `sha2`, use `cargo add sha2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `base64`
[INFO] [stdout]   --> src/security/encryption.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use base64::{Engine as _, engine::general_purpose};
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `base64`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `base64`, use `cargo add base64` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `base64`
[INFO] [stdout]   --> src/security/encryption.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use base64::{Engine as _, engine::general_purpose};
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `base64`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `base64`, use `cargo add base64` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `once_cell`
[INFO] [stdout]  --> src/security/validation.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use once_cell::sync::Lazy;
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `once_cell`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `once_cell`, use `cargo add once_cell` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `once_cell`
[INFO] [stdout]  --> src/security/csrf.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use once_cell::sync::Lazy;
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `once_cell`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `once_cell`, use `cargo add once_cell` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `once_cell`
[INFO] [stdout]  --> src/security/rate_limit.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use once_cell::sync::Lazy;
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `once_cell`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `once_cell`, use `cargo add once_cell` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `regex`
[INFO] [stdout]  --> src/security/validation.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use regex::Regex;
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `regex`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `regex`, use `cargo add regex` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thiserror`
[INFO] [stdout]    --> src/security/mod.rs:225:17
[INFO] [stdout]     |
[INFO] [stdout] 225 | #[derive(Debug, thiserror::Error)]
[INFO] [stdout]     |                 ^^^^^^^^^ use of unresolved module or unlinked crate `thiserror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> src/security/mod.rs:227:7
[INFO] [stdout]     |
[INFO] [stdout] 227 |     #[error("Invalid input: {0}")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> src/security/mod.rs:230:7
[INFO] [stdout]     |
[INFO] [stdout] 230 |     #[error("CSRF token mismatch")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> src/security/mod.rs:233:7
[INFO] [stdout]     |
[INFO] [stdout] 233 |     #[error("Rate limit exceeded")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> src/security/mod.rs:236:7
[INFO] [stdout]     |
[INFO] [stdout] 236 |     #[error("Authentication failed: {0}")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> src/security/mod.rs:239:7
[INFO] [stdout]     |
[INFO] [stdout] 239 |     #[error("Authorization failed: {0}")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> src/security/mod.rs:242:7
[INFO] [stdout]     |
[INFO] [stdout] 242 |     #[error("Password does not meet complexity requirements")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> src/security/mod.rs:245:7
[INFO] [stdout]     |
[INFO] [stdout] 245 |     #[error("File upload not allowed: {0}")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> src/security/mod.rs:248:7
[INFO] [stdout]     |
[INFO] [stdout] 248 |     #[error("Request too large")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> src/security/mod.rs:251:7
[INFO] [stdout]     |
[INFO] [stdout] 251 |     #[error("Session expired")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> src/security/mod.rs:254:7
[INFO] [stdout]     |
[INFO] [stdout] 254 |     #[error("Encryption error: {0}")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/security/validation.rs:166:24
[INFO] [stdout]     |
[INFO] [stdout] 166 |                     if pattern.is_match(input) {
[INFO] [stdout]     |                        ^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/security/validation.rs:173:24
[INFO] [stdout]     |
[INFO] [stdout] 173 |                     if pattern.is_match(input) {
[INFO] [stdout]     |                        ^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/security/validation.rs:205:22
[INFO] [stdout]     |
[INFO] [stdout] 205 |             result = pattern.replace_all(&result, "").to_string();
[INFO] [stdout]     |                      ^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/security/validation.rs:212:22
[INFO] [stdout]     |
[INFO] [stdout] 212 |             result = pattern.replace_all(&result, "").to_string();
[INFO] [stdout]     |                      ^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex`
[INFO] [stdout]   --> src/security/encryption.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     hex::encode(bytes)
[INFO] [stdout]    |     ^^^ use of unresolved module or unlinked crate `hex`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex`
[INFO] [stdout]   --> src/security/encryption.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     hex::encode(hasher.finalize())
[INFO] [stdout]    |     ^^^ use of unresolved module or unlinked crate `hex`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex`
[INFO] [stdout]   --> src/security/encryption.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 |     hex::encode(hasher.finalize())
[INFO] [stdout]    |     ^^^ use of unresolved module or unlinked crate `hex`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex`
[INFO] [stdout]    --> src/security/encryption.rs:132:5
[INFO] [stdout]     |
[INFO] [stdout] 132 |     hex::encode(hasher.finalize())
[INFO] [stdout]     |     ^^^ use of unresolved module or unlinked crate `hex`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `torch-web` (lib) due to 28 previous errors
[INFO] running `Command { std: "docker" "inspect" "cd66d5b01739aa26dde8f0e552100f1e5450bedaa3ec43dc3acc2dfab8020591", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd66d5b01739aa26dde8f0e552100f1e5450bedaa3ec43dc3acc2dfab8020591", kill_on_drop: false }`
[INFO] [stdout] cd66d5b01739aa26dde8f0e552100f1e5450bedaa3ec43dc3acc2dfab8020591
