[INFO] cloning repository https://github.com/Project-Copenhagen/backend-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Project-Copenhagen/backend-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProject-Copenhagen%2Fbackend-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProject-Copenhagen%2Fbackend-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b8826399c1ca332f084bbe8552e20a7663bb2fb2 [INFO] checking Project-Copenhagen/backend-api against 1.95.0-beta.7 for beta-1.95-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProject-Copenhagen%2Fbackend-api" "/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/Project-Copenhagen/backend-api [INFO] finished tweaking git repo https://github.com/Project-Copenhagen/backend-api [INFO] tweaked toml for git repo https://github.com/Project-Copenhagen/backend-api written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Project-Copenhagen/backend-api on toolchain 1.95.0-beta.7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0-beta.7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Project-Copenhagen/backend-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.95.0-beta.7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0-beta.7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5e6d39fb3928bcd653faff184dc515474ddf0b5d9445ad1c911d0fddd186572 [INFO] running `Command { std: "docker" "start" "-a" "c5e6d39fb3928bcd653faff184dc515474ddf0b5d9445ad1c911d0fddd186572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5e6d39fb3928bcd653faff184dc515474ddf0b5d9445ad1c911d0fddd186572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5e6d39fb3928bcd653faff184dc515474ddf0b5d9445ad1c911d0fddd186572", kill_on_drop: false }` [INFO] [stdout] c5e6d39fb3928bcd653faff184dc515474ddf0b5d9445ad1c911d0fddd186572 [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0-beta.7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 179de185e35a036bd2e25f351cbd7779a5d6d38e8747f05131428551e97cd38b [INFO] running `Command { std: "docker" "start" "-a" "179de185e35a036bd2e25f351cbd7779a5d6d38e8747f05131428551e97cd38b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.142 [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling tokio v1.28.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Compiling serde_derive v1.0.160 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde v1.0.160 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Checking mio v0.8.6 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Compiling syn v2.0.15 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libsqlite3-sys v0.24.2 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.6 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking cpufeatures v0.2.7 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling crc-catalog v2.2.0 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Compiling rustls-pemfile v1.0.2 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling hashlink v0.8.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling sqlformat v0.2.1 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking gimli v0.27.2 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Compiling axum v0.6.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Checking object v0.30.3 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking limited-table v0.1.0 [INFO] [stderr] Checking matchit v0.7.0 [INFO] [stderr] Checking token-generator v0.1.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Checking sha256 v1.1.3 [INFO] [stderr] Checking uuid v1.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.24 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Checking addr2line v0.19.0 [INFO] [stderr] Compiling axum-macros v0.3.7 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Checking tracing v0.1.38 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking color-spantrace v0.2.0 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling sqlx-rt v0.6.3 [INFO] [stderr] Checking color-eyre v0.6.2 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v0.14.26 [INFO] [stderr] Checking sqlx-core v0.6.3 [INFO] [stderr] Checking serde_path_to_error v0.1.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking jwt v0.16.0 [INFO] [stderr] Compiling sqlx-macros v0.6.3 [INFO] [stderr] Checking sqlx v0.6.3 [INFO] [stderr] Checking project-copenhagen-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/db.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{path::PathBuf, collections::HashMap}; [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: `collections::HashMap` [INFO] [stdout] --> src/db.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{path::PathBuf, collections::HashMap}; [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: `tokio_stream::StreamExt` [INFO] [stdout] --> src/db.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_stream::StreamExt` [INFO] [stdout] --> src/db.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `self_auth_post` [INFO] [stdout] --> src/api/mod.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let self_auth_post = self.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_auth_post` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `self_auth_get` [INFO] [stdout] --> src/api/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let self_auth_get = self.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_auth_get` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `self_auth_post` [INFO] [stdout] --> src/api/mod.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let self_auth_post = self.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_auth_post` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `self_auth_get` [INFO] [stdout] --> src/api/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let self_auth_get = self.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_auth_get` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/api/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Api{ [INFO] [stdout] | --- field in this struct [INFO] [stdout] 22 | router: Router<>, [INFO] [stdout] 23 | db: Database, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Api` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_rand_str` is never used [INFO] [stdout] --> src/util.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn gen_rand_str(len: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_token` is never used [INFO] [stdout] --> src/util.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn gen_token(id: String) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/api/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Api{ [INFO] [stdout] | --- field in this struct [INFO] [stdout] 22 | router: Router<>, [INFO] [stdout] 23 | db: Database, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Api` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_rand_str` is never used [INFO] [stdout] --> src/util.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn gen_rand_str(len: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_token` is never used [INFO] [stdout] --> src/util.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn gen_token(id: String) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.32s [INFO] running `Command { std: "docker" "inspect" "179de185e35a036bd2e25f351cbd7779a5d6d38e8747f05131428551e97cd38b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "179de185e35a036bd2e25f351cbd7779a5d6d38e8747f05131428551e97cd38b", kill_on_drop: false }` [INFO] [stdout] 179de185e35a036bd2e25f351cbd7779a5d6d38e8747f05131428551e97cd38b