[INFO] cloning repository https://github.com/KevinC911/MusicStreamBackend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KevinC911/MusicStreamBackend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinC911%2FMusicStreamBackend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinC911%2FMusicStreamBackend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5129cce1d35868f33b1ec37554cd04cebd5523e1 [INFO] building KevinC911/MusicStreamBackend against try#58b1b3c5342a414c161338871f8004258ccef2a7 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinC911%2FMusicStreamBackend" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/KevinC911/MusicStreamBackend [INFO] finished tweaking git repo https://github.com/KevinC911/MusicStreamBackend [INFO] tweaked toml for git repo https://github.com/KevinC911/MusicStreamBackend written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KevinC911/MusicStreamBackend on toolchain 58b1b3c5342a414c161338871f8004258ccef2a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/KevinC911/MusicStreamBackend 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" "+58b1b3c5342a414c161338871f8004258ccef2a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytecheck_derive v0.6.12 [INFO] [stderr] Downloaded rend v0.4.2 [INFO] [stderr] Downloaded bytecheck v0.6.12 [INFO] [stderr] Downloaded inherent v1.0.13 [INFO] [stderr] Downloaded strum v0.27.2 [INFO] [stderr] Downloaded metaflac v0.2.8 [INFO] [stderr] Downloaded rkyv_derive v0.7.45 [INFO] [stderr] Downloaded bytestring v1.5.0 [INFO] [stderr] Downloaded mp4ameta_proc v0.6.0 [INFO] [stderr] Downloaded readme-rustdocifier v0.1.1 [INFO] [stderr] Downloaded sea-schema-derive v0.3.0 [INFO] [stderr] Downloaded audiotags-macro v0.2.0 [INFO] [stderr] Downloaded actix-rt v2.11.0 [INFO] [stderr] Downloaded actix-web-httpauth v0.8.2 [INFO] [stderr] Downloaded pgvector v0.4.1 [INFO] [stderr] Downloaded actix-cors v0.6.5 [INFO] [stderr] Downloaded sea-query-sqlx v0.8.0-rc.9 [INFO] [stderr] Downloaded regex-lite v0.1.8 [INFO] [stderr] Downloaded id3 v1.16.3 [INFO] [stderr] Downloaded sea-orm-macros v2.0.0-rc.18 [INFO] [stderr] Downloaded num-bigint-dig v0.8.6 [INFO] [stderr] Downloaded rkyv v0.7.45 [INFO] [stderr] Downloaded actix-http v3.11.2 [INFO] [stderr] Downloaded bigdecimal v0.4.9 [INFO] [stderr] Downloaded rust_decimal v1.39.0 [INFO] [stderr] Downloaded sea-query-derive v1.0.0-rc.11 [INFO] [stderr] Downloaded unicode-properties v0.1.4 [INFO] [stderr] Downloaded sea-bae v0.2.1 [INFO] [stderr] Downloaded sea-query v1.0.0-rc.17 [INFO] [stderr] Downloaded mp4ameta v0.11.0 [INFO] [stderr] Downloaded audiotags v0.5.0 [INFO] [stderr] Downloaded sea-orm v2.0.0-rc.18 [INFO] [stderr] Downloaded sea-schema v0.17.0-rc.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2c5f0f44a75dc4b8a769d38b255f712ef7b78bd627ca67ffd3367d934327cc9 [INFO] running `Command { std: "docker" "start" "-a" "b2c5f0f44a75dc4b8a769d38b255f712ef7b78bd627ca67ffd3367d934327cc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2c5f0f44a75dc4b8a769d38b255f712ef7b78bd627ca67ffd3367d934327cc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2c5f0f44a75dc4b8a769d38b255f712ef7b78bd627ca67ffd3367d934327cc9", kill_on_drop: false }` [INFO] [stdout] b2c5f0f44a75dc4b8a769d38b255f712ef7b78bd627ca67ffd3367d934327cc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa551e9f36399a16adb14bb5c706e54ae53e7dac2b9771940b1583fce6dfaf2d [INFO] running `Command { std: "docker" "start" "-a" "aa551e9f36399a16adb14bb5c706e54ae53e7dac2b9771940b1583fce6dfaf2d", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v2.0.109 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling bigdecimal v0.4.9 [INFO] [stderr] Compiling rust_decimal v1.39.0 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [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 zerofrom v0.1.6 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling regex-lite v0.1.8 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling sea-query-derive v1.0.0-rc.11 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling inherent v1.0.13 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling sea-query v1.0.0-rc.17 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling sea-bae v0.2.1 [INFO] [stderr] Compiling ouroboros_macro v0.18.5 [INFO] [stderr] Compiling sea-schema-derive v0.3.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling actix-http v3.11.2 [INFO] [stderr] Compiling sea-query-sqlx v0.8.0-rc.9 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling mp4ameta_proc v0.6.0 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling sea-schema v0.17.0-rc.14 [INFO] [stderr] Compiling mp4ameta v0.11.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling ouroboros v0.18.5 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling sea-orm-macros v2.0.0-rc.18 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling id3 v1.16.3 [INFO] [stderr] Compiling metaflac v0.2.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling audiotags-macro v0.2.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling audiotags v0.5.0 [INFO] [stderr] Compiling rusqlite v0.32.1 [INFO] [stderr] Compiling jsonwebtoken v8.3.0 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling sea-orm v2.0.0-rc.18 [INFO] [stderr] Compiling actix-web-httpauth v0.8.2 [INFO] [stderr] Compiling actix-cors v0.6.5 [INFO] [stderr] Compiling musicapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `StatusCode`, `error::ResponseError`, `header::ContentType`, and `put` [INFO] [stdout] --> src/api/auth.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | put, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | error::ResponseError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | http::{header::ContentType, StatusCode}, [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: `Serialize` [INFO] [stdout] --> src/api/auth.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post` [INFO] [stdout] --> src/api/music_info.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | post, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Responder` and `post` [INFO] [stdout] --> src/api/stream.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | post, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | Responder [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sea_orm::DatabaseConnection` [INFO] [stdout] --> src/api/stream.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sea_orm::DatabaseConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DbErr` [INFO] [stdout] --> src/model/song.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use sea_orm::{entity::prelude::*, DbErr}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> src/utils/scan_songs.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::Write, path::{Path, PathBuf}}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Picture` [INFO] [stdout] --> src/utils/scan_songs.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use audiotags::{Tag, Picture}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/utils/scan_songs.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Claims` is never constructed [INFO] [stdout] --> src/security/generate_jwt.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Claims { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_jwt` is never used [INFO] [stdout] --> src/security/generate_jwt.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn create_jwt(user_id: &str, secret: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_jwt` is never used [INFO] [stdout] --> src/security/generate_jwt.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn verify_jwt(token: &str, secret: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.84s [INFO] running `Command { std: "docker" "inspect" "aa551e9f36399a16adb14bb5c706e54ae53e7dac2b9771940b1583fce6dfaf2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa551e9f36399a16adb14bb5c706e54ae53e7dac2b9771940b1583fce6dfaf2d", kill_on_drop: false }` [INFO] [stdout] aa551e9f36399a16adb14bb5c706e54ae53e7dac2b9771940b1583fce6dfaf2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e8c5a18b9dd4b0f15655bcdba4581728bbfba7c64d551e1812b3f0b4542e53b [INFO] running `Command { std: "docker" "start" "-a" "6e8c5a18b9dd4b0f15655bcdba4581728bbfba7c64d551e1812b3f0b4542e53b", kill_on_drop: false }` [INFO] [stderr] Compiling musicapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `StatusCode`, `error::ResponseError`, `header::ContentType`, and `put` [INFO] [stdout] --> src/api/auth.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | put, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | error::ResponseError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | http::{header::ContentType, StatusCode}, [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: `Serialize` [INFO] [stdout] --> src/api/auth.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post` [INFO] [stdout] --> src/api/music_info.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | post, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Responder` and `post` [INFO] [stdout] --> src/api/stream.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | post, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | Responder [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sea_orm::DatabaseConnection` [INFO] [stdout] --> src/api/stream.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sea_orm::DatabaseConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DbErr` [INFO] [stdout] --> src/model/song.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use sea_orm::{entity::prelude::*, DbErr}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> src/utils/scan_songs.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::Write, path::{Path, PathBuf}}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Picture` [INFO] [stdout] --> src/utils/scan_songs.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use audiotags::{Tag, Picture}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/utils/scan_songs.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Claims` is never constructed [INFO] [stdout] --> src/security/generate_jwt.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Claims { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_jwt` is never used [INFO] [stdout] --> src/security/generate_jwt.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn create_jwt(user_id: &str, secret: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_jwt` is never used [INFO] [stdout] --> src/security/generate_jwt.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn verify_jwt(token: &str, secret: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.40s [INFO] running `Command { std: "docker" "inspect" "6e8c5a18b9dd4b0f15655bcdba4581728bbfba7c64d551e1812b3f0b4542e53b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e8c5a18b9dd4b0f15655bcdba4581728bbfba7c64d551e1812b3f0b4542e53b", kill_on_drop: false }` [INFO] [stdout] 6e8c5a18b9dd4b0f15655bcdba4581728bbfba7c64d551e1812b3f0b4542e53b