[INFO] fetching crate torch-web 0.2.8... [INFO] checking torch-web-0.2.8 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate torch-web 0.2.8 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate torch-web 0.2.8 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded metrics-macros v0.7.1 [INFO] [stderr] Downloaded redis v0.26.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca7d36d0f66516fdd8cd8ad01596087084d7e83ceee163bec5bcbc5628a7ae6c [INFO] running `Command { std: "docker" "start" "-a" "ca7d36d0f66516fdd8cd8ad01596087084d7e83ceee163bec5bcbc5628a7ae6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca7d36d0f66516fdd8cd8ad01596087084d7e83ceee163bec5bcbc5628a7ae6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca7d36d0f66516fdd8cd8ad01596087084d7e83ceee163bec5bcbc5628a7ae6c", kill_on_drop: false }` [INFO] [stdout] ca7d36d0f66516fdd8cd8ad01596087084d7e83ceee163bec5bcbc5628a7ae6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc6ec8d6691597b44d4baa2a791d783c8e9cfe03b7f7a97f19ea9b593fe09eb8 [INFO] running `Command { std: "docker" "start" "-a" "cc6ec8d6691597b44d4baa2a791d783c8e9cfe03b7f7a97f19ea9b593fe09eb8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling torch-web v0.2.8 (/opt/rustwide/workdir) [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking h2 v0.4.11 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking 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[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[E0308]: mismatched types [INFO] [stdout] --> src/app.rs:1060:13 [INFO] [stdout] | [INFO] [stdout] 1052 | let req = Request::from_hyper( [INFO] [stdout] | ------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 1060 | Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ expected `Incoming`, found `Vec<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `hyper::body::Incoming` [INFO] [stdout] found struct `Vec<_>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/request.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 160 | pub async fn from_hyper( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 161 | parts: http::request::Parts, [INFO] [stdout] 162 | body: Incoming, [INFO] [stdout] | -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/app.rs:1091:13 [INFO] [stdout] | [INFO] [stdout] 1083 | let req = Request::from_hyper( [INFO] [stdout] | ------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 1091 | Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ expected `Incoming`, found `Vec<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `hyper::body::Incoming` [INFO] [stdout] found struct `Vec<_>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/request.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 160 | pub async fn from_hyper( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 161 | parts: http::request::Parts, [INFO] [stdout] 162 | body: Incoming, [INFO] [stdout] | -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handler.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 222 | let req = Request::from_hyper( [INFO] [stdout] | ------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 230 | Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ expected `Incoming`, found `Vec<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `hyper::body::Incoming` [INFO] [stdout] found struct `Vec<_>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/request.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 160 | pub async fn from_hyper( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 161 | parts: http::request::Parts, [INFO] [stdout] 162 | body: Incoming, [INFO] [stdout] | -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/handler.rs:235:32 [INFO] [stdout] | [INFO] [stdout] 235 | let response = handler.call(req).await; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `handler::Handler::call(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(fn_traits)]` to the crate attributes to enable `std::ops::Fn::call` [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 + #![feature(fn_traits)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handler.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 243 | let req = Request::from_hyper( [INFO] [stdout] | ------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 251 | Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ expected `Incoming`, found `Vec<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `hyper::body::Incoming` [INFO] [stdout] found struct `Vec<_>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/request.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 160 | pub async fn from_hyper( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 161 | parts: http::request::Parts, [INFO] [stdout] 162 | body: Incoming, [INFO] [stdout] | -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `fn_traits` [INFO] [stdout] --> src/handler.rs:256:32 [INFO] [stdout] | [INFO] [stdout] 256 | let response = handler.call(req).await; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(fn_traits)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handler.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | let response = handler.call(req).await; [INFO] [stdout] | ---- ^^^ expected `(Request,)`, found `Request` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(request::Request,)` [INFO] [stdout] found struct `request::Request` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/core/src/ops/function.rs:80:27 [INFO] [stdout] help: use a trailing comma to create a tuple with one element [INFO] [stdout] | [INFO] [stdout] 256 | let response = handler.call((req,)).await; [INFO] [stdout] | + ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `response::Response` is not a future [INFO] [stdout] --> src/handler.rs:256:42 [INFO] [stdout] | [INFO] [stdout] 256 | let response = handler.call(req).await; [INFO] [stdout] | ^^^^^ `response::Response` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `response::Response` [INFO] [stdout] = note: response::Response must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `response::Response` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 256 - let response = handler.call(req).await; [INFO] [stdout] 256 + let response = handler.call(req); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 355 | let req = Request::from_hyper( [INFO] [stdout] | ------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 363 | Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ expected `Incoming`, found `Vec<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `hyper::body::Incoming` [INFO] [stdout] found struct `Vec<_>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/request.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 160 | pub async fn from_hyper( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 161 | parts: http::request::Parts, [INFO] [stdout] 162 | body: Incoming, [INFO] [stdout] | -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware.rs:389:13 [INFO] [stdout] | [INFO] [stdout] 381 | let req = Request::from_hyper( [INFO] [stdout] | ------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 389 | Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ expected `Incoming`, found `Vec<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `hyper::body::Incoming` [INFO] [stdout] found struct `Vec<_>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/request.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 160 | pub async fn from_hyper( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 161 | parts: http::request::Parts, [INFO] [stdout] 162 | body: Incoming, [INFO] [stdout] | -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/production.rs:478:13 [INFO] [stdout] | [INFO] [stdout] 470 | let req = crate::Request::from_hyper( [INFO] [stdout] | -------------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 478 | Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ expected `Incoming`, found `Vec<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `hyper::body::Incoming` [INFO] [stdout] found struct `Vec<_>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/request.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 160 | pub async fn from_hyper( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 161 | parts: http::request::Parts, [INFO] [stdout] 162 | body: Incoming, [INFO] [stdout] | -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/production.rs:507:13 [INFO] [stdout] | [INFO] [stdout] 499 | let req = crate::Request::from_hyper( [INFO] [stdout] | -------------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 507 | Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ expected `Incoming`, found `Vec<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `hyper::body::Incoming` [INFO] [stdout] found struct `Vec<_>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/request.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 160 | pub async fn from_hyper( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 161 | parts: http::request::Parts, [INFO] [stdout] 162 | body: Incoming, [INFO] [stdout] | -------------- [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[E0308]: mismatched types [INFO] [stdout] --> src/router.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 520 | let req = Request::from_hyper( [INFO] [stdout] | ------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 528 | Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ expected `Incoming`, found `Vec<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `hyper::body::Incoming` [INFO] [stdout] found struct `Vec<_>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/request.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 160 | pub async fn from_hyper( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 161 | parts: http::request::Parts, [INFO] [stdout] 162 | body: Incoming, [INFO] [stdout] | -------------- [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] 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: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `torch-web` (lib) due to 24 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0433, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `torch-web` (lib test) due to 36 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "cc6ec8d6691597b44d4baa2a791d783c8e9cfe03b7f7a97f19ea9b593fe09eb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc6ec8d6691597b44d4baa2a791d783c8e9cfe03b7f7a97f19ea9b593fe09eb8", kill_on_drop: false }` [INFO] [stdout] cc6ec8d6691597b44d4baa2a791d783c8e9cfe03b7f7a97f19ea9b593fe09eb8