[INFO] cloning repository https://github.com/hmathsan/desafio-backend3-alura-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hmathsan/desafio-backend3-alura-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhmathsan%2Fdesafio-backend3-alura-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhmathsan%2Fdesafio-backend3-alura-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 88550b17cb59ff780dc6ddba1b0e47d25e52ae30 [INFO] checking hmathsan/desafio-backend3-alura-rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhmathsan%2Fdesafio-backend3-alura-rs" "/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/hmathsan/desafio-backend3-alura-rs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hmathsan/desafio-backend3-alura-rs [INFO] finished tweaking git repo https://github.com/hmathsan/desafio-backend3-alura-rs [INFO] tweaked toml for git repo https://github.com/hmathsan/desafio-backend3-alura-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hmathsan/desafio-backend3-alura-rs 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid v1.0.0 [INFO] [stderr] Downloaded rocket_sync_db_pools_codegen v0.1.0-rc.1 [INFO] [stderr] Downloaded rocket_dyn_templates v0.1.0-rc.1 [INFO] [stderr] Downloaded tera v1.15.0 [INFO] [stderr] Downloaded rocket-multipart-form-data v0.10.2 [INFO] [stderr] Downloaded rocket_sync_db_pools v0.1.0-rc.1 [INFO] [stderr] Downloaded lettre v0.9.6 [INFO] [stderr] Downloaded cookie v0.15.1 [INFO] [stderr] Downloaded loom v0.5.4 [INFO] [stderr] Downloaded bindgen v0.48.1 [INFO] [stderr] Downloaded argonautica v0.2.0 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 091fe53402c8e29258b04bee4572c1b6833323643b17e263549e4b79c6bc6bf1 [INFO] running `Command { std: "docker" "start" "-a" "091fe53402c8e29258b04bee4572c1b6833323643b17e263549e4b79c6bc6bf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "091fe53402c8e29258b04bee4572c1b6833323643b17e263549e4b79c6bc6bf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "091fe53402c8e29258b04bee4572c1b6833323643b17e263549e4b79c6bc6bf1", kill_on_drop: false }` [INFO] [stdout] 091fe53402c8e29258b04bee4572c1b6833323643b17e263549e4b79c6bc6bf1 [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" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09fa0c1455167e28bcc3f58967ac9dbcee610a0e6a06d2b3ea465866b236b6d9 [INFO] running `Command { std: "docker" "start" "-a" "09fa0c1455167e28bcc3f58967ac9dbcee610a0e6a06d2b3ea465866b236b6d9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling tracing-core v0.1.24 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking cpuid-bool v0.2.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Compiling object v0.28.3 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling chrono-tz-build v0.0.2 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.48.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling chrono-tz v0.6.1 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking filetime v0.2.16 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking ascii_utils v0.9.3 [INFO] [stderr] Checking humansize v1.1.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Checking fast_chemail v0.9.6 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking normpath v0.3.2 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking uuid v1.0.0 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling rocket_sync_db_pools_codegen v0.1.0-rc.1 [INFO] [stderr] Compiling dotenv_codegen_implementation v0.15.0 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Checking dotenv_codegen v0.15.0 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling argonautica v0.2.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking ubyte v0.10.1 [INFO] [stderr] Checking lettre v0.9.6 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Checking tera v1.15.0 [INFO] [stderr] Checking rocket_sync_db_pools v0.1.0-rc.1 [INFO] [stderr] Checking rocket-multipart-form-data v0.10.2 [INFO] [stderr] Checking rocket_dyn_templates v0.1.0-rc.1 [INFO] [stderr] Checking desafio-backend-alura v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `process_uploaded_file` [INFO] [stdout] --> src/controller/process_uploaded_file.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn process_uploaded_file<'r>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process_uploaded_file_redirect` [INFO] [stdout] --> src/controller/process_uploaded_file.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | pub async fn process_uploaded_file_redirect<'r>(_data: Form>>) -> Redirect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `import_history` [INFO] [stdout] --> src/controller/import_history.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn import_history( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `import_history_redirect` [INFO] [stdout] --> src/controller/import_history.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn import_history_redirect() -> Redirect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/controller/index.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn index( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `login_redirect` [INFO] [stdout] --> src/controller/login.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn login_redirect(_auth_guard: AuthValidation) -> Redirect { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `login_screen` [INFO] [stdout] --> src/controller/login.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn login_screen( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `validate_login` [INFO] [stdout] --> src/controller/login.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | pub async fn validate_login(data: Form>, cookies: &CookieJar<'_>, db_conn: PostgresDatabase) -> Flash { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process_uploaded_file` [INFO] [stdout] --> src/controller/process_uploaded_file.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn process_uploaded_file<'r>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process_uploaded_file_redirect` [INFO] [stdout] --> src/controller/process_uploaded_file.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | pub async fn process_uploaded_file_redirect<'r>(_data: Form>>) -> Redirect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `import_history` [INFO] [stdout] --> src/controller/import_history.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn import_history( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `import_history_redirect` [INFO] [stdout] --> src/controller/import_history.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn import_history_redirect() -> Redirect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/controller/index.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn index( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `login_redirect` [INFO] [stdout] --> src/controller/login.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn login_redirect(_auth_guard: AuthValidation) -> Redirect { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `login_screen` [INFO] [stdout] --> src/controller/login.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn login_screen( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `validate_login` [INFO] [stdout] --> src/controller/login.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | pub async fn validate_login(data: Form>, cookies: &CookieJar<'_>, db_conn: PostgresDatabase) -> Flash { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoggedUser` is never constructed [INFO] [stdout] --> src/model/user.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct LoggedUser { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoggedUser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoggedUser` is never constructed [INFO] [stdout] --> src/model/user.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct LoggedUser { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoggedUser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.46s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3, ubyte v0.10.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" "09fa0c1455167e28bcc3f58967ac9dbcee610a0e6a06d2b3ea465866b236b6d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09fa0c1455167e28bcc3f58967ac9dbcee610a0e6a06d2b3ea465866b236b6d9", kill_on_drop: false }` [INFO] [stdout] 09fa0c1455167e28bcc3f58967ac9dbcee610a0e6a06d2b3ea465866b236b6d9 [INFO] checking hmathsan/desafio-backend3-alura-rs against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhmathsan%2Fdesafio-backend3-alura-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hmathsan/desafio-backend3-alura-rs on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hmathsan/desafio-backend3-alura-rs [INFO] finished tweaking git repo https://github.com/hmathsan/desafio-backend3-alura-rs [INFO] tweaked toml for git repo https://github.com/hmathsan/desafio-backend3-alura-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hmathsan/desafio-backend3-alura-rs 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9541adedf0e50baf36fdffab642dfc203c81fecc96a4141f65e2a5e607af00f [INFO] running `Command { std: "docker" "start" "-a" "b9541adedf0e50baf36fdffab642dfc203c81fecc96a4141f65e2a5e607af00f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9541adedf0e50baf36fdffab642dfc203c81fecc96a4141f65e2a5e607af00f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9541adedf0e50baf36fdffab642dfc203c81fecc96a4141f65e2a5e607af00f", kill_on_drop: false }` [INFO] [stdout] b9541adedf0e50baf36fdffab642dfc203c81fecc96a4141f65e2a5e607af00f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 079eeb87bcaafecbd13641e7799303df43b9208739a50c69f311ac4ca6ace03e [INFO] running `Command { std: "docker" "start" "-a" "079eeb87bcaafecbd13641e7799303df43b9208739a50c69f311ac4ca6ace03e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling tracing-core v0.1.24 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking cpuid-bool v0.2.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling object v0.28.3 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling chrono-tz-build v0.0.2 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.48.1 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling chrono-tz v0.6.1 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking filetime v0.2.16 [INFO] [stderr] Checking humansize v1.1.1 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking ascii_utils v0.9.3 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking fast_chemail v0.9.6 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Checking normpath v0.3.2 [INFO] [stderr] Checking uuid v1.0.0 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling rocket_sync_db_pools_codegen v0.1.0-rc.1 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Compiling dotenv_codegen_implementation v0.15.0 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Checking pear v0.2.3 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Checking dotenv_codegen v0.15.0 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling argonautica v0.2.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking ubyte v0.10.1 [INFO] [stderr] Checking lettre v0.9.6 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Checking tera v1.15.0 [INFO] [stderr] Checking rocket-multipart-form-data v0.10.2 [INFO] [stderr] Checking rocket_dyn_templates v0.1.0-rc.1 [INFO] [stderr] Checking rocket_sync_db_pools v0.1.0-rc.1 [INFO] [stderr] Checking desafio-backend-alura v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `process_uploaded_file` [INFO] [stdout] --> src/controller/process_uploaded_file.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn process_uploaded_file<'r>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process_uploaded_file_redirect` [INFO] [stdout] --> src/controller/process_uploaded_file.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | pub async fn process_uploaded_file_redirect<'r>(_data: Form>>) -> Redirect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `import_history` [INFO] [stdout] --> src/controller/import_history.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn import_history( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `import_history_redirect` [INFO] [stdout] --> src/controller/import_history.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn import_history_redirect() -> Redirect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/controller/index.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn index( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `login_redirect` [INFO] [stdout] --> src/controller/login.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn login_redirect(_auth_guard: AuthValidation) -> Redirect { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `login_screen` [INFO] [stdout] --> src/controller/login.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn login_screen( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `validate_login` [INFO] [stdout] --> src/controller/login.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | pub async fn validate_login(data: Form>, cookies: &CookieJar<'_>, db_conn: PostgresDatabase) -> Flash { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process_uploaded_file` [INFO] [stdout] --> src/controller/process_uploaded_file.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn process_uploaded_file<'r>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process_uploaded_file_redirect` [INFO] [stdout] --> src/controller/process_uploaded_file.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | pub async fn process_uploaded_file_redirect<'r>(_data: Form>>) -> Redirect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `import_history` [INFO] [stdout] --> src/controller/import_history.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn import_history( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `import_history_redirect` [INFO] [stdout] --> src/controller/import_history.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn import_history_redirect() -> Redirect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/controller/index.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn index( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `login_redirect` [INFO] [stdout] --> src/controller/login.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn login_redirect(_auth_guard: AuthValidation) -> Redirect { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `login_screen` [INFO] [stdout] --> src/controller/login.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn login_screen( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `validate_login` [INFO] [stdout] --> src/controller/login.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | pub async fn validate_login(data: Form>, cookies: &CookieJar<'_>, db_conn: PostgresDatabase) -> Flash { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoggedUser` is never constructed [INFO] [stdout] --> src/model/user.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct LoggedUser { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoggedUser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/repositories/mod.rs:28:73 [INFO] [stdout] | [INFO] [stdout] 28 | async fn on_ignite(&self, rocket: Rocket) -> fairing::Result { [INFO] [stdout] | _______________________________---------------------_____________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | | println!("Checking if default user is in the database."); [INFO] [stdout] 30 | | let db = PostgresDatabase::get_one(&rocket).await.unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 62 | | Ok(rocket) [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/repositories/mod.rs:34:42 [INFO] [stdout] | [INFO] [stdout] 34 | let default_user = db.run(|conn| users [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 35 | | .filter(email.eq(default_user_email())) [INFO] [stdout] 36 | | .load::(&*conn) [INFO] [stdout] | |_________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/repositories/history_repository.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | conn.run(|c| import_history.filter(user_id.eq(user_id_string)).load::(&*c).unwrap()).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/controller/process_uploaded_file.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | csv: TempFile<'v> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/controller/process_uploaded_file.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | csv: TempFile<'v> [INFO] [stdout] | --- ^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/controller/process_uploaded_file.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | csv: TempFile<'v> [INFO] [stdout] | ^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/controller/login.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | pub email: &'r str, [INFO] [stdout] | ^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/controller/login.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | pub password: &'r str [INFO] [stdout] | ^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `desafio-backend-alura` (bin "desafio-backend-alura") due to 9 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `LoggedUser` is never constructed [INFO] [stdout] --> src/model/user.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct LoggedUser { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoggedUser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/repositories/mod.rs:28:73 [INFO] [stdout] | [INFO] [stdout] 28 | async fn on_ignite(&self, rocket: Rocket) -> fairing::Result { [INFO] [stdout] | _______________________________---------------------_____________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | | println!("Checking if default user is in the database."); [INFO] [stdout] 30 | | let db = PostgresDatabase::get_one(&rocket).await.unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 62 | | Ok(rocket) [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/repositories/mod.rs:34:42 [INFO] [stdout] | [INFO] [stdout] 34 | let default_user = db.run(|conn| users [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 35 | | .filter(email.eq(default_user_email())) [INFO] [stdout] 36 | | .load::(&*conn) [INFO] [stdout] | |_________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/repositories/history_repository.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | conn.run(|c| import_history.filter(user_id.eq(user_id_string)).load::(&*c).unwrap()).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/controller/process_uploaded_file.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | csv: TempFile<'v> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/controller/process_uploaded_file.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | csv: TempFile<'v> [INFO] [stdout] | --- ^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/controller/process_uploaded_file.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | csv: TempFile<'v> [INFO] [stdout] | ^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/controller/login.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | pub email: &'r str, [INFO] [stdout] | ^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/controller/login.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | pub password: &'r str [INFO] [stdout] | ^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `desafio-backend-alura` (bin "desafio-backend-alura" test) due to 9 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "079eeb87bcaafecbd13641e7799303df43b9208739a50c69f311ac4ca6ace03e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "079eeb87bcaafecbd13641e7799303df43b9208739a50c69f311ac4ca6ace03e", kill_on_drop: false }` [INFO] [stdout] 079eeb87bcaafecbd13641e7799303df43b9208739a50c69f311ac4ca6ace03e