[INFO] cloning repository https://github.com/eridio/poc_thales_doctolib [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eridio/poc_thales_doctolib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feridio%2Fpoc_thales_doctolib", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feridio%2Fpoc_thales_doctolib'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7c010dff4242ea9353465573ed688077258414e [INFO] checking eridio/poc_thales_doctolib against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feridio%2Fpoc_thales_doctolib" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eridio/poc_thales_doctolib on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eridio/poc_thales_doctolib [INFO] finished tweaking git repo https://github.com/eridio/poc_thales_doctolib [INFO] tweaked toml for git repo https://github.com/eridio/poc_thales_doctolib written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/eridio/poc_thales_doctolib 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-web-httpauth v0.5.1 [INFO] [stderr] Downloaded validator_derive v0.14.0 [INFO] [stderr] Downloaded config v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3a231724f77d91945ab0662b3361ee64379da8ef9f32146e40049a824cf84b1 [INFO] running `Command { std: "docker" "start" "-a" "a3a231724f77d91945ab0662b3361ee64379da8ef9f32146e40049a824cf84b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3a231724f77d91945ab0662b3361ee64379da8ef9f32146e40049a824cf84b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3a231724f77d91945ab0662b3361ee64379da8ef9f32146e40049a824cf84b1", kill_on_drop: false }` [INFO] [stdout] a3a231724f77d91945ab0662b3361ee64379da8ef9f32146e40049a824cf84b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4465a47da76c77b668a0760276a621711838c994edfe3d99ae82463043513257 [INFO] running `Command { std: "docker" "start" "-a" "4465a47da76c77b668a0760276a621711838c994edfe3d99ae82463043513257", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Checking once_cell v1.11.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking http v0.2.7 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking alloc-no-stdlib v2.0.3 [INFO] [stderr] Checking alloc-stdlib v0.2.1 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking brotli-decompressor v2.3.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking flate2 v1.0.23 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking brotli v3.3.4 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking object v0.28.4 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking owo-colors v1.3.0 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking validator_types v0.14.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking pin-project v0.4.29 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking trust-dns-proto v0.19.7 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Compiling validator_derive v0.14.0 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking trust-dns-resolver v0.19.7 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking actix-http v2.2.2 [INFO] [stderr] Checking validator v0.14.0 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Checking tracing-error v0.1.2 [INFO] [stderr] Checking color-spantrace v0.1.6 [INFO] [stderr] Checking color-eyre v0.5.11 [INFO] [stderr] Checking awc v2.0.3 [INFO] [stderr] Checking actix-web v3.3.3 [INFO] [stderr] Checking actix-web-httpauth v0.5.1 [INFO] [stderr] Checking thales_challenge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `futures::compat::Future01CompatExt` [INFO] [stdout] --> src/config/crypto.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::compat::Future01CompatExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/config/crypto.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/config/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/errors/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::compat::Future01CompatExt` [INFO] [stdout] --> src/config/crypto.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::compat::Future01CompatExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::AppResponse` [INFO] [stdout] --> src/handlers/signin.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::AppResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `authentication::CookieJWT` [INFO] [stdout] --> src/handlers/signin.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{authentication::AuthenticatedUser, authentication::CookieJWT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/config/crypto.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/config/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/errors/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::AppResponse` [INFO] [stdout] --> src/handlers/signin.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::AppResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `authentication::CookieJWT` [INFO] [stdout] --> src/handlers/signin.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{authentication::AuthenticatedUser, authentication::CookieJWT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AppErrorCode`, `AppError`, `Auth` [INFO] [stdout] --> src/handlers/signin.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | config::crypto::{Auth, CryptoService}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | errors::{AppErrorCode,AppError}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRequest`, `dev::HttpResponseBuilder`, `get`, `web::Payload` [INFO] [stdout] --> src/handlers/signin.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use actix_web::{web::Payload,web::Data,web::Form, FromRequest, HttpResponse, HttpRequest,dev::HttpResponseBuilder,Responder,get,HttpMessa... [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxFuture`, `ready` [INFO] [stdout] --> src/handlers/signin.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use futures::future::{ready, BoxFuture}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `instrument` [INFO] [stdout] --> src/handlers/signin.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, instrument}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/handlers/signin.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AppErrorCode`, `AppError`, `Auth` [INFO] [stdout] --> src/handlers/signin.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | config::crypto::{Auth, CryptoService}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | errors::{AppErrorCode,AppError}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRequest`, `dev::HttpResponseBuilder`, `get`, `web::Payload` [INFO] [stdout] --> src/handlers/signin.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use actix_web::{web::Payload,web::Data,web::Form, FromRequest, HttpResponse, HttpRequest,dev::HttpResponseBuilder,Responder,get,HttpMessa... [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxFuture`, `ready` [INFO] [stdout] --> src/handlers/signin.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use futures::future::{ready, BoxFuture}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `instrument` [INFO] [stdout] --> src/handlers/signin.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, instrument}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/handlers/signin.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/handlers/signin.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | if (username == "patient" && password == "patient") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - if (username == "patient" && password == "patient") { [INFO] [stdout] 23 + if username == "patient" && password == "patient" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/handlers/signin.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | else if (username == "infirmiere" && password == "infirmiere"){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 26 - else if (username == "infirmiere" && password == "infirmiere"){ [INFO] [stdout] 26 + else if username == "infirmiere" && password == "infirmiere" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/handlers/signin.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | else if (username == "docteur" && password == "docteur"){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - else if (username == "docteur" && password == "docteur"){ [INFO] [stdout] 29 + else if username == "docteur" && password == "docteur" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::AppResponse` [INFO] [stdout] --> src/handlers/authentication.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::AppResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AppErrorCode`, `Auth` [INFO] [stdout] --> src/handlers/authentication.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | config::crypto::{Auth, CryptoService}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | [INFO] [stdout] 5 | errors::{AppErrorCode,AppError}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpResponse`, `dev::HttpResponseBuilder`, `http::Cookie`, `web::Form`, `web::Json` [INFO] [stdout] --> src/handlers/authentication.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use actix_web::{web::Data,web::Form, FromRequest, HttpResponse,http::Cookie, dev::HttpResponseBuilder,web::Json}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/handlers/authentication.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/handlers/signin.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | if (username == "patient" && password == "patient") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - if (username == "patient" && password == "patient") { [INFO] [stdout] 23 + if username == "patient" && password == "patient" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/handlers/signin.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | else if (username == "infirmiere" && password == "infirmiere"){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 26 - else if (username == "infirmiere" && password == "infirmiere"){ [INFO] [stdout] 26 + else if username == "infirmiere" && password == "infirmiere" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/handlers/signin.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | else if (username == "docteur" && password == "docteur"){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - else if (username == "docteur" && password == "docteur"){ [INFO] [stdout] 29 + else if username == "docteur" && password == "docteur" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::AppResponse` [INFO] [stdout] --> src/handlers/authentication.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::AppResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AppErrorCode`, `Auth` [INFO] [stdout] --> src/handlers/authentication.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | config::crypto::{Auth, CryptoService}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | [INFO] [stdout] 5 | errors::{AppErrorCode,AppError}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpResponse`, `dev::HttpResponseBuilder`, `http::Cookie`, `web::Form`, `web::Json` [INFO] [stdout] --> src/handlers/authentication.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use actix_web::{web::Data,web::Form, FromRequest, HttpResponse,http::Cookie, dev::HttpResponseBuilder,web::Json}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/handlers/authentication.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/handlers/authentication.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use serde::{Deserialize,Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpResponse`, `Responder`, `web` [INFO] [stdout] --> src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_web::{web, App, HttpServer, Responder, middleware::Logger ,HttpResponse}; [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/handlers/authentication.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use serde::{Deserialize,Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpResponse`, `Responder`, `web` [INFO] [stdout] --> src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_web::{web, App, HttpServer, Responder, middleware::Logger ,HttpResponse}; [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/handlers/signin.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | req: HttpRequest) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/handlers/signin.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | req: HttpRequest) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpMessage` [INFO] [stdout] --> src/handlers/signin.rs:9:129 [INFO] [stdout] | [INFO] [stdout] 9 | ...Response, HttpRequest,dev::HttpResponseBuilder,Responder,get,HttpMessage}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bearer_result` [INFO] [stdout] --> src/handlers/authentication.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let bearer_result = BearerAuth::from_request(req, payload).into_inner(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bearer_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookie_result2` [INFO] [stdout] --> src/handlers/authentication.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let cookie_result2 = CookieJWT::from_request(req , payload).into_inner(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookie_result2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpMessage` [INFO] [stdout] --> src/handlers/signin.rs:9:129 [INFO] [stdout] | [INFO] [stdout] 9 | ...Response, HttpRequest,dev::HttpResponseBuilder,Responder,get,HttpMessage}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/handlers/authentication.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | Some(v) => {cookie_value1 = req [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookie` [INFO] [stdout] --> src/handlers/authentication.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | Ok(cookie) => ready(Ok( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/handlers/authentication.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | payload: &mut actix_web::dev::Payload, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bearer_result` [INFO] [stdout] --> src/handlers/authentication.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let bearer_result = BearerAuth::from_request(req, payload).into_inner(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bearer_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookie_result2` [INFO] [stdout] --> src/handlers/authentication.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let cookie_result2 = CookieJWT::from_request(req , payload).into_inner(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookie_result2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/handlers/authentication.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | Some(v) => {cookie_value1 = req [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookie` [INFO] [stdout] --> src/handlers/authentication.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | Ok(cookie) => ready(Ok( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/handlers/authentication.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | payload: &mut actix_web::dev::Payload, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `database_url` is never read [INFO] [stdout] --> src/config/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub database_url : String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key` is never read [INFO] [stdout] --> src/config/crypto.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CryptoService{ [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 14 | pub key : Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CryptoService` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AppResult` is never used [INFO] [stdout] --> src/handlers/mod.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type AppResult = Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AppResponse` is never used [INFO] [stdout] --> src/handlers/mod.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | type AppResponse = AppResult; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `password_hash` is never read [INFO] [stdout] --> src/models/user.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub password_hash : String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `password_hash` is never read [INFO] [stdout] --> src/models/user.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct UserLogin { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | pub password_hash : String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserLogin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `full_name`, `bio`, and `image` are never read [INFO] [stdout] --> src/models/user.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct UpdateProfile { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 40 | pub full_name:Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 41 | pub bio:Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | pub image:Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateProfile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `salt` is never read [INFO] [stdout] --> src/models/user.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct PasswordSalt { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 47 | pub salt: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PasswordSalt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `database_url` is never read [INFO] [stdout] --> src/config/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub database_url : String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key` is never read [INFO] [stdout] --> src/config/crypto.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CryptoService{ [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 14 | pub key : Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CryptoService` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AppResult` is never used [INFO] [stdout] --> src/handlers/mod.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type AppResult = Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AppResponse` is never used [INFO] [stdout] --> src/handlers/mod.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | type AppResponse = AppResult; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `password_hash` is never read [INFO] [stdout] --> src/models/user.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub password_hash : String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `password_hash` is never read [INFO] [stdout] --> src/models/user.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct UserLogin { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | pub password_hash : String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserLogin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `full_name`, `bio`, and `image` are never read [INFO] [stdout] --> src/models/user.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct UpdateProfile { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 40 | pub full_name:Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 41 | pub bio:Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | pub image:Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateProfile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `salt` is never read [INFO] [stdout] --> src/models/user.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct PasswordSalt { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 47 | pub salt: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PasswordSalt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.87s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "4465a47da76c77b668a0760276a621711838c994edfe3d99ae82463043513257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4465a47da76c77b668a0760276a621711838c994edfe3d99ae82463043513257", kill_on_drop: false }` [INFO] [stdout] 4465a47da76c77b668a0760276a621711838c994edfe3d99ae82463043513257 [INFO] checking eridio/poc_thales_doctolib against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feridio%2Fpoc_thales_doctolib" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eridio/poc_thales_doctolib on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eridio/poc_thales_doctolib [INFO] finished tweaking git repo https://github.com/eridio/poc_thales_doctolib [INFO] tweaked toml for git repo https://github.com/eridio/poc_thales_doctolib written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/eridio/poc_thales_doctolib 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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebd2f20d1f01812e2a9255ce7116daf24a3b26f4f19402c46ee3b57f8bfeb4a5 [INFO] running `Command { std: "docker" "start" "-a" "ebd2f20d1f01812e2a9255ce7116daf24a3b26f4f19402c46ee3b57f8bfeb4a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebd2f20d1f01812e2a9255ce7116daf24a3b26f4f19402c46ee3b57f8bfeb4a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebd2f20d1f01812e2a9255ce7116daf24a3b26f4f19402c46ee3b57f8bfeb4a5", kill_on_drop: false }` [INFO] [stdout] ebd2f20d1f01812e2a9255ce7116daf24a3b26f4f19402c46ee3b57f8bfeb4a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b71157541b536fc67baffbe8d8e5a581c8630c10f936c6d3beca24841c174a6 [INFO] running `Command { std: "docker" "start" "-a" "5b71157541b536fc67baffbe8d8e5a581c8630c10f936c6d3beca24841c174a6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.5.6/src/buf/buf_impl.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 21 | | $this.advance(SIZE); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $typ::$conv(buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 327 | buf_get_impl!(self, u16::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.5.6/src/buf/buf_impl.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 21 | | $this.advance(SIZE); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $typ::$conv(buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 347 | buf_get_impl!(self, u16::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.5.6/src/buf/buf_impl.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 21 | | $this.advance(SIZE); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $typ::$conv(buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 367 | buf_get_impl!(self, i16::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.5.6/src/buf/buf_impl.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 21 | | $this.advance(SIZE); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $typ::$conv(buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 387 | buf_get_impl!(self, i16::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.5.6/src/buf/buf_impl.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 21 | | $this.advance(SIZE); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $typ::$conv(buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 407 | buf_get_impl!(self, u32::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.5.6/src/buf/buf_impl.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 21 | | $this.advance(SIZE); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $typ::$conv(buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 427 | buf_get_impl!(self, u32::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.5.6/src/buf/buf_impl.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 21 | | $this.advance(SIZE); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $typ::$conv(buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 447 | buf_get_impl!(self, i32::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.5.6/src/buf/buf_impl.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 21 | | $this.advance(SIZE); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $typ::$conv(buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 467 | buf_get_impl!(self, i32::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.5.6/src/buf/buf_impl.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 21 | | $this.advance(SIZE); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $typ::$conv(buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 487 | buf_get_impl!(self, u64::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.5.6/src/buf/buf_impl.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 21 | | $this.advance(SIZE); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $typ::$conv(buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 507 | buf_get_impl!(self, u64::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.5.6/src/buf/buf_impl.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 21 | | $this.advance(SIZE); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $typ::$conv(buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 527 | buf_get_impl!(self, i64::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.5.6/src/buf/buf_impl.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 21 | | $this.advance(SIZE); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $typ::$conv(buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 547 | buf_get_impl!(self, i64::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.5.6/src/buf/buf_impl.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 21 | | $this.advance(SIZE); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $typ::$conv(buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 567 | buf_get_impl!(self, u128::from_be_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.5.6/src/buf/buf_impl.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 21 | | $this.advance(SIZE); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $typ::$conv(buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 587 | buf_get_impl!(self, u128::from_le_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.5.6/src/buf/buf_impl.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 21 | | $this.advance(SIZE); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $typ::$conv(buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 607 | buf_get_impl!(self, i128::from_be_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.5.6/src/buf/buf_impl.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 21 | | $this.advance(SIZE); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $typ::$conv(buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 627 | buf_get_impl!(self, i128::from_le_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0284`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bytes` (lib) due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "5b71157541b536fc67baffbe8d8e5a581c8630c10f936c6d3beca24841c174a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b71157541b536fc67baffbe8d8e5a581c8630c10f936c6d3beca24841c174a6", kill_on_drop: false }` [INFO] [stdout] 5b71157541b536fc67baffbe8d8e5a581c8630c10f936c6d3beca24841c174a6