[INFO] cloning repository https://github.com/dwarukira/shuleyangu-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dwarukira/shuleyangu-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwarukira%2Fshuleyangu-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwarukira%2Fshuleyangu-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c107750b9c684496c8ae7b8fd8a708b6ee496df [INFO] testing dwarukira/shuleyangu-api against 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwarukira%2Fshuleyangu-api" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dwarukira/shuleyangu-api on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dwarukira/shuleyangu-api [INFO] finished tweaking git repo https://github.com/dwarukira/shuleyangu-api [INFO] tweaked toml for git repo https://github.com/dwarukira/shuleyangu-api written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dwarukira/shuleyangu-api 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" "+1.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quoted_printable v0.4.6 [INFO] [stderr] Downloaded email-encoding v0.1.3 [INFO] [stderr] Downloaded actix-web-httpauth v0.8.0 [INFO] [stderr] Downloaded alcoholic_jwt v4091.0.0 [INFO] [stderr] Downloaded rust-argon2 v1.0.0 [INFO] [stderr] Downloaded lettre v0.10.1 [INFO] [stderr] Downloaded phonenumber v0.3.1+8.12.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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84d4ef152343f9039dd7afb738fa6020694c735c8aca7eecfb378b4ebbd8a9ab [INFO] running `Command { std: "docker" "start" "-a" "84d4ef152343f9039dd7afb738fa6020694c735c8aca7eecfb378b4ebbd8a9ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84d4ef152343f9039dd7afb738fa6020694c735c8aca7eecfb378b4ebbd8a9ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84d4ef152343f9039dd7afb738fa6020694c735c8aca7eecfb378b4ebbd8a9ab", kill_on_drop: false }` [INFO] [stdout] 84d4ef152343f9039dd7afb738fa6020694c735c8aca7eecfb378b4ebbd8a9ab [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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d579a94c0b8274d720a7dd3e6fa1da59e6b264fdd8afd55df1c0421c57832dde [INFO] running `Command { std: "docker" "start" "-a" "d579a94c0b8274d720a7dd3e6fa1da59e6b264fdd8afd55df1c0421c57832dde", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.49 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling tokio v1.23.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling paste v1.0.11 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zstd-sys v2.0.4+zstd.1.5.2 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling bytestring v1.2.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling io-lifetimes v1.0.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling time-macros v0.2.6 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling quick-xml v0.18.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling rustls v0.20.7 [INFO] [stderr] Compiling rustix v0.36.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling time v0.3.17 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling actix-router v0.5.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling oncemutex v0.1.1 [INFO] [stderr] Compiling pq-sys v0.4.7 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling async-trait v0.1.60 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex-cache v0.2.1 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.6 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling rustls-pemfile v1.0.1 [INFO] [stderr] Compiling blake2b_simd v1.0.0 [INFO] [stderr] Compiling email-encoding v0.1.3 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling ipnet v2.7.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling quoted_printable v0.4.6 [INFO] [stderr] Compiling email_address v0.2.4 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling urlencoding v2.1.2 [INFO] [stderr] Compiling dotenvy v0.15.6 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling is-terminal v0.4.2 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling rust-argon2 v1.0.0 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling actix-web-codegen v4.1.0 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Compiling diesel_derives v2.0.1 [INFO] [stderr] error: could not compile `brotli` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/bin/rustc --crate-name brotli /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/brotli-3.3.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="alloc-stdlib"' --cfg 'feature="default"' --cfg 'feature="ffi-api"' --cfg 'feature="std"' -C metadata=eb0c16c1635db362 -C extra-filename=-eb0c16c1635db362 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern alloc_no_stdlib=/opt/rustwide/target/debug/deps/liballoc_no_stdlib-c5023d89eb0cca57.rmeta --extern alloc_stdlib=/opt/rustwide/target/debug/deps/liballoc_stdlib-f4e56472a00403bf.rmeta --extern brotli_decompressor=/opt/rustwide/target/debug/deps/libbrotli_decompressor-b009e1dadf919363.rmeta --cap-lints allow --cap-lints=warn` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d579a94c0b8274d720a7dd3e6fa1da59e6b264fdd8afd55df1c0421c57832dde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d579a94c0b8274d720a7dd3e6fa1da59e6b264fdd8afd55df1c0421c57832dde", kill_on_drop: false }` [INFO] [stdout] d579a94c0b8274d720a7dd3e6fa1da59e6b264fdd8afd55df1c0421c57832dde [INFO] testing dwarukira/shuleyangu-api against beta-2024-03-24 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwarukira%2Fshuleyangu-api" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dwarukira/shuleyangu-api on toolchain beta-2024-03-24 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dwarukira/shuleyangu-api [INFO] finished tweaking git repo https://github.com/dwarukira/shuleyangu-api [INFO] tweaked toml for git repo https://github.com/dwarukira/shuleyangu-api written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dwarukira/shuleyangu-api 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-2024-03-24" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5655126fd5eaa168ccd76d68f518623353a04b3ee07368b9e9c3da991009f87 [INFO] running `Command { std: "docker" "start" "-a" "f5655126fd5eaa168ccd76d68f518623353a04b3ee07368b9e9c3da991009f87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5655126fd5eaa168ccd76d68f518623353a04b3ee07368b9e9c3da991009f87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5655126fd5eaa168ccd76d68f518623353a04b3ee07368b9e9c3da991009f87", kill_on_drop: false }` [INFO] [stdout] f5655126fd5eaa168ccd76d68f518623353a04b3ee07368b9e9c3da991009f87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79ed0018f0de455ed7c6187d753213f0be259e55f08998955459f1a424e7f86d [INFO] running `Command { std: "docker" "start" "-a" "79ed0018f0de455ed7c6187d753213f0be259e55f08998955459f1a424e7f86d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.49 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling tokio v1.23.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling paste v1.0.11 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling bytestring v1.2.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zstd-sys v2.0.4+zstd.1.5.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling io-lifetimes v1.0.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling time-macros v0.2.6 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling quick-xml v0.18.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling rustls v0.20.7 [INFO] [stderr] Compiling rustix v0.36.6 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling actix-router v0.5.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling time v0.3.17 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling oncemutex v0.1.1 [INFO] [stderr] Compiling pq-sys v0.4.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling async-trait v0.1.60 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex-cache v0.2.1 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.6 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling blake2b_simd v1.0.0 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling is-terminal v0.4.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.1 [INFO] [stderr] Compiling email-encoding v0.1.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling ipnet v2.7.0 [INFO] [stderr] Compiling email_address v0.2.4 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling quoted_printable v0.4.6 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling rust-argon2 v1.0.0 [INFO] [stderr] Compiling urlencoding v2.1.2 [INFO] [stderr] Compiling dotenvy v0.15.6 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-web-codegen v4.1.0 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Compiling diesel_derives v2.0.1 [INFO] [stderr] Compiling phonenumber v0.3.1+8.12.9 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling lettre v0.10.1 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling alcoholic_jwt v4091.0.0 [INFO] [stderr] Compiling diesel v2.0.2 [INFO] [stderr] Compiling validator v0.16.0 [INFO] [stderr] Compiling actix-http v3.2.2 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling actix-web v4.2.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.13 [INFO] [stderr] Compiling actix-web-httpauth v0.8.0 [INFO] [stderr] Compiling shuleyangu-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = sessions)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = states)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = users)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = verification_codes)]` instead [INFO] [stderr] [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/routes/auth.rs:12:62 [INFO] [stdout] | [INFO] [stdout] 12 | use actix_web::{get, http, post, web, web::Data, web::Query, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mail::mail::send_email` [INFO] [stdout] --> src/routes/profile.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{database::PostgresPool, mail::mail::send_email, routes::ApiError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRequest`, `dev::ServiceRequest` [INFO] [stdout] --> src/utils/auth.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{dev::ServiceRequest, FromRequest}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web_httpauth::extractors::bearer::BearerAuth` [INFO] [stdout] --> src/utils/auth.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web_httpauth::extractors::bearer::BearerAuth; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web_httpauth::middleware::HttpAuthentication` [INFO] [stdout] --> src/utils/auth.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web_httpauth::middleware::HttpAuthentication; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `argon2` is imported redundantly [INFO] [stdout] --> src/utils/auth.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use argon2::{self, Config, ThreadMode, Variant, Version}; [INFO] [stdout] | ^^^^ the item `argon2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JWKS`, `Validation`, `token_kid`, `validate` [INFO] [stdout] --> src/utils/auth.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use alcoholic_jwt::{token_kid, validate, Validation, JWKS}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::user::User` [INFO] [stdout] --> src/utils/auth.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::models::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidInput` is never constructed [INFO] [stdout] --> src/routes/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum ApiError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | InvalidInput(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_var` is never used [INFO] [stdout] --> src/utils/env.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parse_var(var: &'static str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidCredentials` and `Unauthorized` are never constructed [INFO] [stdout] --> src/utils/auth.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum AuthenticationError { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 17 | #[error("Invalid Authentication credentials")] [INFO] [stdout] 18 | InvalidCredentials, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | Unauthorized, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthenticationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.38s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, quick-xml v0.18.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "79ed0018f0de455ed7c6187d753213f0be259e55f08998955459f1a424e7f86d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79ed0018f0de455ed7c6187d753213f0be259e55f08998955459f1a424e7f86d", kill_on_drop: false }` [INFO] [stdout] 79ed0018f0de455ed7c6187d753213f0be259e55f08998955459f1a424e7f86d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f848cd91ee6d0e5d7e80e2544f93d062961ec5617c356f582b12703660cf4cb5 [INFO] running `Command { std: "docker" "start" "-a" "f848cd91ee6d0e5d7e80e2544f93d062961ec5617c356f582b12703660cf4cb5", kill_on_drop: false }` [INFO] [stderr] Compiling shuleyangu-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = sessions)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = states)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = users)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = verification_codes)]` instead [INFO] [stderr] [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/routes/auth.rs:12:62 [INFO] [stdout] | [INFO] [stdout] 12 | use actix_web::{get, http, post, web, web::Data, web::Query, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mail::mail::send_email` [INFO] [stdout] --> src/routes/profile.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{database::PostgresPool, mail::mail::send_email, routes::ApiError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRequest`, `dev::ServiceRequest` [INFO] [stdout] --> src/utils/auth.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{dev::ServiceRequest, FromRequest}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web_httpauth::extractors::bearer::BearerAuth` [INFO] [stdout] --> src/utils/auth.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web_httpauth::extractors::bearer::BearerAuth; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web_httpauth::middleware::HttpAuthentication` [INFO] [stdout] --> src/utils/auth.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web_httpauth::middleware::HttpAuthentication; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `argon2` is imported redundantly [INFO] [stdout] --> src/utils/auth.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use argon2::{self, Config, ThreadMode, Variant, Version}; [INFO] [stdout] | ^^^^ the item `argon2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JWKS`, `Validation`, `token_kid`, `validate` [INFO] [stdout] --> src/utils/auth.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use alcoholic_jwt::{token_kid, validate, Validation, JWKS}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::user::User` [INFO] [stdout] --> src/utils/auth.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::models::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidInput` is never constructed [INFO] [stdout] --> src/routes/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum ApiError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | InvalidInput(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_var` is never used [INFO] [stdout] --> src/utils/env.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parse_var(var: &'static str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidCredentials` and `Unauthorized` are never constructed [INFO] [stdout] --> src/utils/auth.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum AuthenticationError { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 17 | #[error("Invalid Authentication credentials")] [INFO] [stdout] 18 | InvalidCredentials, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | Unauthorized, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthenticationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.34s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, quick-xml v0.18.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "f848cd91ee6d0e5d7e80e2544f93d062961ec5617c356f582b12703660cf4cb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f848cd91ee6d0e5d7e80e2544f93d062961ec5617c356f582b12703660cf4cb5", kill_on_drop: false }` [INFO] [stdout] f848cd91ee6d0e5d7e80e2544f93d062961ec5617c356f582b12703660cf4cb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d7352bed992f130f12b37bc6f3942d951b5f52c8e9b8008da33642472a543876 [INFO] running `Command { std: "docker" "start" "-a" "d7352bed992f130f12b37bc6f3942d951b5f52c8e9b8008da33642472a543876", kill_on_drop: false }` [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = sessions)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = states)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = users)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = verification_codes)]` instead [INFO] [stderr] [INFO] [stderr] warning: unused import: `HttpRequest` [INFO] [stderr] --> src/routes/auth.rs:12:62 [INFO] [stderr] | [INFO] [stderr] 12 | use actix_web::{get, http, post, web, web::Data, web::Query, HttpRequest, HttpResponse}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `mail::mail::send_email` [INFO] [stderr] --> src/routes/profile.rs:1:37 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{database::PostgresPool, mail::mail::send_email, routes::ApiError}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `FromRequest`, `dev::ServiceRequest` [INFO] [stderr] --> src/utils/auth.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use actix_web::{dev::ServiceRequest, FromRequest}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web_httpauth::extractors::bearer::BearerAuth` [INFO] [stderr] --> src/utils/auth.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use actix_web_httpauth::extractors::bearer::BearerAuth; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web_httpauth::middleware::HttpAuthentication` [INFO] [stderr] --> src/utils/auth.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use actix_web_httpauth::middleware::HttpAuthentication; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `argon2` is imported redundantly [INFO] [stderr] --> src/utils/auth.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | use argon2::{self, Config, ThreadMode, Variant, Version}; [INFO] [stderr] | ^^^^ the item `argon2` is already defined by prelude [INFO] [stderr] [INFO] [stderr] warning: unused imports: `JWKS`, `Validation`, `token_kid`, `validate` [INFO] [stderr] --> src/utils/auth.rs:11:21 [INFO] [stderr] | [INFO] [stderr] 11 | use alcoholic_jwt::{token_kid, validate, Validation, JWKS}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::models::user::User` [INFO] [stderr] --> src/utils/auth.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use crate::models::user::User; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `InvalidInput` is never constructed [INFO] [stderr] --> src/routes/mod.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 19 | pub enum ApiError { [INFO] [stderr] | -------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 25 | InvalidInput(String), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `parse_var` is never used [INFO] [stderr] --> src/utils/env.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn parse_var(var: &'static str) -> Option { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `InvalidCredentials` and `Unauthorized` are never constructed [INFO] [stderr] --> src/utils/auth.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub enum AuthenticationError { [INFO] [stderr] | ------------------- variants in this enum [INFO] [stderr] 17 | #[error("Invalid Authentication credentials")] [INFO] [stderr] 18 | InvalidCredentials, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 24 | Unauthorized, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AuthenticationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `shuleyangu-api` (bin "shuleyangu-api" test) generated 11 warnings (run `cargo fix --bin "shuleyangu-api" --tests` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, quick-xml v0.18.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/shuleyangu_api-bf2cf86f526d711c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d7352bed992f130f12b37bc6f3942d951b5f52c8e9b8008da33642472a543876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7352bed992f130f12b37bc6f3942d951b5f52c8e9b8008da33642472a543876", kill_on_drop: false }` [INFO] [stdout] d7352bed992f130f12b37bc6f3942d951b5f52c8e9b8008da33642472a543876