[INFO] cloning repository https://github.com/aksnyz/Secure-File-Sharing-REST-Server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aksnyz/Secure-File-Sharing-REST-Server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faksnyz%2FSecure-File-Sharing-REST-Server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faksnyz%2FSecure-File-Sharing-REST-Server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6dfcec4669f9ea5cddaeaee9aeed7ceb544ee3d2 [INFO] checking aksnyz/Secure-File-Sharing-REST-Server/6dfcec4669f9ea5cddaeaee9aeed7ceb544ee3d2 against master#3b1b0ef4d80d3117924d91352c8b6ca528708b3c for pr-152996 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faksnyz%2FSecure-File-Sharing-REST-Server" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aksnyz/Secure-File-Sharing-REST-Server [INFO] finished tweaking git repo https://github.com/aksnyz/Secure-File-Sharing-REST-Server [INFO] tweaked toml for git repo https://github.com/aksnyz/Secure-File-Sharing-REST-Server written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aksnyz/Secure-File-Sharing-REST-Server on toolchain 3b1b0ef4d80d3117924d91352c8b6ca528708b3c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3b1b0ef4d80d3117924d91352c8b6ca528708b3c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aksnyz/Secure-File-Sharing-REST-Server 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" "+3b1b0ef4d80d3117924d91352c8b6ca528708b3c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyper-util v0.1.18 [INFO] [stderr] Downloaded rsa v0.9.9 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3b1b0ef4d80d3117924d91352c8b6ca528708b3c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6414720bdffd01d1cbce81caa2737571bbf6151a14a38bd9ba31fad3dab9246d [INFO] running `Command { std: "docker" "start" "-a" "6414720bdffd01d1cbce81caa2737571bbf6151a14a38bd9ba31fad3dab9246d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6414720bdffd01d1cbce81caa2737571bbf6151a14a38bd9ba31fad3dab9246d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6414720bdffd01d1cbce81caa2737571bbf6151a14a38bd9ba31fad3dab9246d", kill_on_drop: false }` [INFO] [stdout] 6414720bdffd01d1cbce81caa2737571bbf6151a14a38bd9ba31fad3dab9246d [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3b1b0ef4d80d3117924d91352c8b6ca528708b3c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2930e648a4b146d9dcd876a550ad93438ff5e93804a4cc1a5a302ad7ce78ee43 [INFO] running `Command { std: "docker" "start" "-a" "2930e648a4b146d9dcd876a550ad93438ff5e93804a4cc1a5a302ad7ce78ee43", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Compiling zerocopy v0.8.30 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling cc v1.2.47 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Checking tracing-core v0.1.35 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking signal-hook-registry v1.4.7 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.18 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking sqlx-sqlite v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking programming-proj v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `list_files` in module `api` [INFO] [stdout] --> src/main.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | .route("/file/list", get(api::list_files)) [INFO] [stdout] | ^^^^^^^^^^ not found in `api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `download_file` in module `api` [INFO] [stdout] --> src/main.rs:32:52 [INFO] [stdout] | [INFO] [stdout] 32 | .route("/file/download/:file_id", get(api::download_file)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/api.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | / pub async fn upload_file( [INFO] [stdout] 130 | | State(pool): State>, [INFO] [stdout] 131 | | headers: HeaderMap, [INFO] [stdout] 132 | | mut multipart: Multipart, [INFO] [stdout] ... | [INFO] [stdout] 182 | | (StatusCode::OK, "File uploaded successfully").into_response() [INFO] [stdout] 183 | | } [INFO] [stdout] | |_- similarly named function `upload_file` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 32 - .route("/file/download/:file_id", get(api::download_file)) [INFO] [stdout] 32 + .route("/file/download/:file_id", get(api::upload_file)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Path`, `Query`, and `Response` [INFO] [stdout] --> src/api.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | extract::{Multipart, Path, State, Query}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | response::{IntoResponse, Response}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FileRecord` [INFO] [stdout] --> src/api.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::models::{User, FileRecord}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `list_files` in module `api` [INFO] [stdout] --> src/main.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | .route("/file/list", get(api::list_files)) [INFO] [stdout] | ^^^^^^^^^^ not found in `api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `download_file` in module `api` [INFO] [stdout] --> src/main.rs:32:52 [INFO] [stdout] | [INFO] [stdout] 32 | .route("/file/download/:file_id", get(api::download_file)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/api.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | / pub async fn upload_file( [INFO] [stdout] 130 | | State(pool): State>, [INFO] [stdout] 131 | | headers: HeaderMap, [INFO] [stdout] 132 | | mut multipart: Multipart, [INFO] [stdout] ... | [INFO] [stdout] 182 | | (StatusCode::OK, "File uploaded successfully").into_response() [INFO] [stdout] 183 | | } [INFO] [stdout] | |_- similarly named function `upload_file` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 32 - .route("/file/download/:file_id", get(api::download_file)) [INFO] [stdout] 32 + .route("/file/download/:file_id", get(api::upload_file)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Path`, `Query`, and `Response` [INFO] [stdout] --> src/api.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | extract::{Multipart, Path, State, Query}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | response::{IntoResponse, Response}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FileRecord` [INFO] [stdout] --> src/api.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::models::{User, FileRecord}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `programming-proj` (bin "programming-proj" test) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `programming-proj` (bin "programming-proj") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2930e648a4b146d9dcd876a550ad93438ff5e93804a4cc1a5a302ad7ce78ee43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2930e648a4b146d9dcd876a550ad93438ff5e93804a4cc1a5a302ad7ce78ee43", kill_on_drop: false }` [INFO] [stdout] 2930e648a4b146d9dcd876a550ad93438ff5e93804a4cc1a5a302ad7ce78ee43