[INFO] cloning repository https://github.com/chandan0000/todo_backend_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chandan0000/todo_backend_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchandan0000%2Ftodo_backend_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchandan0000%2Ftodo_backend_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b770991324aa65de1199ffef4efdea8e093f245a [INFO] testing chandan0000/todo_backend_rust/b770991324aa65de1199ffef4efdea8e093f245a against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchandan0000%2Ftodo_backend_rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chandan0000/todo_backend_rust on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chandan0000/todo_backend_rust [INFO] finished tweaking git repo https://github.com/chandan0000/todo_backend_rust [INFO] tweaked toml for git repo https://github.com/chandan0000/todo_backend_rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/chandan0000/todo_backend_rust 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" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dotenvy_macro v0.15.7 [INFO] [stderr] Downloaded sea-bae v0.2.0 [INFO] [stderr] Downloaded sea-query-binder v0.5.0 [INFO] [stderr] Downloaded darling_macro v0.20.6 [INFO] [stderr] Downloaded inherent v1.0.11 [INFO] [stderr] Downloaded axum-extra v0.9.2 [INFO] [stderr] Downloaded darling v0.20.6 [INFO] [stderr] Downloaded darling_core v0.20.6 [INFO] [stderr] Downloaded sea-query v0.30.7 [INFO] [stderr] Downloaded sea-orm-macros v0.12.14 [INFO] [stderr] Downloaded sea-orm v0.12.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f71068570cd26d54260f3adcee0a5dd61653fd1ff04ed2c55695094abaca398a [INFO] running `Command { std: "docker" "start" "-a" "f71068570cd26d54260f3adcee0a5dd61653fd1ff04ed2c55695094abaca398a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f71068570cd26d54260f3adcee0a5dd61653fd1ff04ed2c55695094abaca398a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f71068570cd26d54260f3adcee0a5dd61653fd1ff04ed2c55695094abaca398a", kill_on_drop: false }` [INFO] [stdout] f71068570cd26d54260f3adcee0a5dd61653fd1ff04ed2c55695094abaca398a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d1f8640fd597fa785348aa2a9ce0981034050781f221cbfb33cbe3a8e1a2011 [INFO] running `Command { std: "docker" "start" "-a" "5d1f8640fd597fa785348aa2a9ce0981034050781f221cbfb33cbe3a8e1a2011", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling ahash v0.8.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling rust_decimal v1.34.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling darling_core v0.20.6 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling axum v0.7.4 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling darling_macro v0.20.6 [INFO] [stderr] Compiling inherent v1.0.11 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling darling v0.20.6 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling axum-macros v0.4.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling h2 v0.4.2 [INFO] [stderr] Compiling ouroboros_macro v0.17.2 [INFO] [stderr] Compiling pin-project v1.1.4 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling sea-bae v0.2.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling hyper v1.1.0 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling time v0.3.34 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling chrono v0.4.34 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling sea-query v0.30.7 [INFO] [stderr] Compiling serde_path_to_error v0.1.15 [INFO] [stderr] Compiling sqlx-core v0.7.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling sqlx-postgres v0.7.3 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Compiling ouroboros v0.17.2 [INFO] [stderr] Compiling headers v0.4.0 [INFO] [stderr] Compiling sqlx v0.7.3 [INFO] [stderr] Compiling sea-query-binder v0.5.0 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling sea-orm-macros v0.12.14 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling serde_with_macros v3.6.1 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling pem v3.0.3 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling bcrypt v0.15.0 [INFO] [stderr] Compiling validator v0.16.1 [INFO] [stderr] Compiling jsonwebtoken v9.2.0 [INFO] [stderr] Compiling axum-extra v0.9.2 [INFO] [stderr] Compiling tower-http v0.5.1 [INFO] [stderr] Compiling dotenvy_macro v0.15.7 [INFO] [stderr] Compiling serde_with v3.6.1 [INFO] [stderr] Compiling sea-orm v0.12.14 [INFO] [stderr] Compiling todo_backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::todo::Entity as Todo` [INFO] [stdout] --> src/entity/prelude.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use super::todo::Entity as Todo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::users::Entity as Users` [INFO] [stdout] --> src/entity/prelude.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use super::users::Entity as Users; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::DateTime` [INFO] [stdout] --> src/routes/users.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::DateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/utils/guards.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | .map_err(|err| APIError { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_jwt` is never used [INFO] [stdout] --> src/utils/jwt.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn encode_jwt(email: String) -> Result{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_jwt` is never used [INFO] [stdout] --> src/utils/jwt.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn decode_jwt(jwt: String) -> Result,StatusCode> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `guard` is never used [INFO] [stdout] --> src/utils/guards.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn guard(mut req: Request, next: Next) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 34s [INFO] running `Command { std: "docker" "inspect" "5d1f8640fd597fa785348aa2a9ce0981034050781f221cbfb33cbe3a8e1a2011", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d1f8640fd597fa785348aa2a9ce0981034050781f221cbfb33cbe3a8e1a2011", kill_on_drop: false }` [INFO] [stdout] 5d1f8640fd597fa785348aa2a9ce0981034050781f221cbfb33cbe3a8e1a2011 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e06e48431d2cc8424be11ad2db947880faf4b829e95a6d464223ca5ff27b1964 [INFO] running `Command { std: "docker" "start" "-a" "e06e48431d2cc8424be11ad2db947880faf4b829e95a6d464223ca5ff27b1964", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `super::todo::Entity as Todo` [INFO] [stdout] --> src/entity/prelude.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use super::todo::Entity as Todo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::users::Entity as Users` [INFO] [stdout] --> src/entity/prelude.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use super::users::Entity as Users; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::DateTime` [INFO] [stdout] --> src/routes/users.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::DateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/utils/guards.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | .map_err(|err| APIError { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_jwt` is never used [INFO] [stdout] --> src/utils/jwt.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn encode_jwt(email: String) -> Result{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_jwt` is never used [INFO] [stdout] --> src/utils/jwt.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn decode_jwt(jwt: String) -> Result,StatusCode> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `guard` is never used [INFO] [stdout] --> src/utils/guards.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn guard(mut req: Request, next: Next) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling todo_backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::todo::Entity as Todo` [INFO] [stdout] --> src/entity/prelude.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use super::todo::Entity as Todo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::users::Entity as Users` [INFO] [stdout] --> src/entity/prelude.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use super::users::Entity as Users; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::DateTime` [INFO] [stdout] --> src/routes/users.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::DateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/utils/guards.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | .map_err(|err| APIError { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_jwt` is never used [INFO] [stdout] --> src/utils/jwt.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn encode_jwt(email: String) -> Result{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_jwt` is never used [INFO] [stdout] --> src/utils/jwt.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn decode_jwt(jwt: String) -> Result,StatusCode> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `guard` is never used [INFO] [stdout] --> src/utils/guards.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn guard(mut req: Request, next: Next) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "e06e48431d2cc8424be11ad2db947880faf4b829e95a6d464223ca5ff27b1964", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e06e48431d2cc8424be11ad2db947880faf4b829e95a6d464223ca5ff27b1964", kill_on_drop: false }` [INFO] [stdout] e06e48431d2cc8424be11ad2db947880faf4b829e95a6d464223ca5ff27b1964 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4bb320c54e078658d0a90727babb336c0f16e130382466154f644555b8f6f518 [INFO] running `Command { std: "docker" "start" "-a" "4bb320c54e078658d0a90727babb336c0f16e130382466154f644555b8f6f518", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `super::todo::Entity as Todo` [INFO] [stderr] --> src/entity/prelude.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub use super::todo::Entity as Todo; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::users::Entity as Users` [INFO] [stderr] --> src/entity/prelude.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub use super::users::Entity as Users; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `chrono::DateTime` [INFO] [stderr] --> src/routes/users.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use chrono::DateTime; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/utils/guards.rs:23:19 [INFO] [stderr] | [INFO] [stderr] 23 | .map_err(|err| APIError { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `encode_jwt` is never used [INFO] [stderr] --> src/utils/jwt.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn encode_jwt(email: String) -> Result{ [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `decode_jwt` is never used [INFO] [stderr] --> src/utils/jwt.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn decode_jwt(jwt: String) -> Result,StatusCode> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `guard` is never used [INFO] [stderr] --> src/utils/guards.rs:10:14 [INFO] [stderr] | [INFO] [stderr] 10 | pub async fn guard(mut req: Request, next: Next) -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `todo_backend` (lib) generated 7 warnings (run `cargo fix --lib -p todo_backend` to apply 3 suggestions) [INFO] [stderr] warning: `todo_backend` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/todo_backend-fafbe6097232dfa0) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/todo_backend-81b3c78500a5a18f) [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] [stderr] Doc-tests todo_backend [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" "4bb320c54e078658d0a90727babb336c0f16e130382466154f644555b8f6f518", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bb320c54e078658d0a90727babb336c0f16e130382466154f644555b8f6f518", kill_on_drop: false }` [INFO] [stdout] 4bb320c54e078658d0a90727babb336c0f16e130382466154f644555b8f6f518