[INFO] fetching crate torch-web 0.2.8...
[INFO] testing torch-web-0.2.8 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8
[INFO] extracting crate torch-web 0.2.8 into /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate torch-web 0.2.8 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded winnow v0.7.11
[INFO] [stderr]   Downloaded metrics-macros v0.7.1
[INFO] [stderr]   Downloaded redis v0.26.1
[INFO] [stderr]   Downloaded chrono-tz v0.8.6
[INFO] [stderr]   Downloaded chrono-tz-build v0.2.1
[INFO] [stderr]   Downloaded metrics v0.21.1
[INFO] [stderr]   Downloaded rustls v0.23.29
[INFO] [stderr]   Downloaded clap_builder v4.5.41
[INFO] [stderr]   Downloaded h2 v0.4.11
[INFO] [stderr]   Downloaded webpki-roots v1.0.1
[INFO] [stderr]   Downloaded clap v4.5.41
[INFO] [stderr]   Downloaded clap_derive v4.5.41
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 137d0c7d2eeafe1ef3ef73c661c91586b4705eb38ca28852826c09df88ebd398
[INFO] running `Command { std: "docker" "start" "-a" "137d0c7d2eeafe1ef3ef73c661c91586b4705eb38ca28852826c09df88ebd398", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "137d0c7d2eeafe1ef3ef73c661c91586b4705eb38ca28852826c09df88ebd398", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "137d0c7d2eeafe1ef3ef73c661c91586b4705eb38ca28852826c09df88ebd398", kill_on_drop: false }`
[INFO] [stdout] 137d0c7d2eeafe1ef3ef73c661c91586b4705eb38ca28852826c09df88ebd398
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b486d7ffe3468c0f9fe440a583dc1a3bf82d0a4941e964d3df379d2ac15dc222
[INFO] running `Command { std: "docker" "start" "-a" "b486d7ffe3468c0f9fe440a583dc1a3bf82d0a4941e964d3df379d2ac15dc222", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling slab v0.4.10
[INFO] [stderr]    Compiling hashbrown v0.15.4
[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 tracing v0.1.41
[INFO] [stderr]    Compiling torch-web v0.2.8 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling tokio v1.46.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[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" "b486d7ffe3468c0f9fe440a583dc1a3bf82d0a4941e964d3df379d2ac15dc222", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b486d7ffe3468c0f9fe440a583dc1a3bf82d0a4941e964d3df379d2ac15dc222", kill_on_drop: false }`
[INFO] [stdout] b486d7ffe3468c0f9fe440a583dc1a3bf82d0a4941e964d3df379d2ac15dc222
