[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] testing eridio/poc_thales_doctolib against master#d7bd9cd469ff6871420007f091ef52fc32d2ca99 for pr-121417 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feridio%2Fpoc_thales_doctolib" "/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/eridio/poc_thales_doctolib on toolchain d7bd9cd469ff6871420007f091ef52fc32d2ca99 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "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-5-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" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-error v0.1.2 [INFO] [stderr] Downloaded owo-colors v1.3.0 [INFO] [stderr] Downloaded validator_derive v0.14.0 [INFO] [stderr] Downloaded validator v0.14.0 [INFO] [stderr] Downloaded validator_types v0.14.0 [INFO] [stderr] Downloaded actix-web v3.3.3 [INFO] [stderr] Downloaded actix-web-httpauth v0.5.1 [INFO] [stderr] Downloaded actix-http v2.2.2 [INFO] [stderr] Downloaded color-spantrace v0.1.6 [INFO] [stderr] Downloaded color-eyre v0.5.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55ceb4a22c3f0408d3a36d472554c62daba9a7afc651e905320dfce8a76ff7bf [INFO] running `Command { std: "docker" "start" "-a" "55ceb4a22c3f0408d3a36d472554c62daba9a7afc651e905320dfce8a76ff7bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55ceb4a22c3f0408d3a36d472554c62daba9a7afc651e905320dfce8a76ff7bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55ceb4a22c3f0408d3a36d472554c62daba9a7afc651e905320dfce8a76ff7bf", kill_on_drop: false }` [INFO] [stdout] 55ceb4a22c3f0408d3a36d472554c62daba9a7afc651e905320dfce8a76ff7bf [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 273ee83afa19326ae7c4e626a85fc40f4e319dfe059d4eb0b05ca3205299faa0 [INFO] running `Command { std: "docker" "start" "-a" "273ee83afa19326ae7c4e626a85fc40f4e319dfe059d4eb0b05ca3205299faa0", 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 memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling 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 parking_lot_core v0.8.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling once_cell v1.11.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling 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] Compiling gimli v0.26.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling object v0.28.4 [INFO] [stderr] Compiling owo-colors v1.3.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling validator_types v0.14.0 [INFO] [stderr] error: could not compile `syn` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/d7bd9cd469ff6871420007f091ef52fc32d2ca99/bin/rustc --crate-name syn --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.95/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit"' --cfg 'feature="visit-mut"' -C metadata=eb2349fdcd4b2633 -C extra-filename=-eb2349fdcd4b2633 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern proc_macro2=/opt/rustwide/target/debug/deps/libproc_macro2-614408c620e47a46.rmeta --extern quote=/opt/rustwide/target/debug/deps/libquote-1a3a9ff5d473fc1e.rmeta --extern unicode_ident=/opt/rustwide/target/debug/deps/libunicode_ident-7a783aed52af57f8.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "273ee83afa19326ae7c4e626a85fc40f4e319dfe059d4eb0b05ca3205299faa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "273ee83afa19326ae7c4e626a85fc40f4e319dfe059d4eb0b05ca3205299faa0", kill_on_drop: false }` [INFO] [stdout] 273ee83afa19326ae7c4e626a85fc40f4e319dfe059d4eb0b05ca3205299faa0 [INFO] testing eridio/poc_thales_doctolib against try#393ef12c970fbc7f294cd96c35cb76f9591bc1d6 for pr-121417 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feridio%2Fpoc_thales_doctolib" "/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/eridio/poc_thales_doctolib on toolchain 393ef12c970fbc7f294cd96c35cb76f9591bc1d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "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-5-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" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a3161df1855609a29941219515bd996fca62a3855fc1e305a5ca4cfe0f703ac [INFO] running `Command { std: "docker" "start" "-a" "2a3161df1855609a29941219515bd996fca62a3855fc1e305a5ca4cfe0f703ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a3161df1855609a29941219515bd996fca62a3855fc1e305a5ca4cfe0f703ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a3161df1855609a29941219515bd996fca62a3855fc1e305a5ca4cfe0f703ac", kill_on_drop: false }` [INFO] [stdout] 2a3161df1855609a29941219515bd996fca62a3855fc1e305a5ca4cfe0f703ac [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" "-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" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c7bbea2ae87ae289bb9c22672c4d988bb335ffb0c562abd1c7a2f67c882b898 [INFO] running `Command { std: "docker" "start" "-a" "8c7bbea2ae87ae289bb9c22672c4d988bb335ffb0c562abd1c7a2f67c882b898", 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 memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling once_cell v1.11.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling object v0.28.4 [INFO] [stderr] Compiling owo-colors v1.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling validator_types v0.14.0 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling serde-hjson v0.9.1 [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 pin-project-internal v1.0.10 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling validator_derive v0.14.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling pin-project v0.4.29 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling config v0.11.0 [INFO] [stderr] Compiling validator v0.14.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling actix-http v2.2.2 [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling color-spantrace v0.1.6 [INFO] [stderr] Compiling color-eyre v0.5.11 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.3 [INFO] [stderr] Compiling actix-web-httpauth v0.5.1 [INFO] [stderr] Compiling 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/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/prelude/mod.rs:129: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: 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 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 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: 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] = note: `#[warn(dead_code)]` on by default [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: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.81s [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 1` [INFO] running `Command { std: "docker" "inspect" "8c7bbea2ae87ae289bb9c22672c4d988bb335ffb0c562abd1c7a2f67c882b898", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c7bbea2ae87ae289bb9c22672c4d988bb335ffb0c562abd1c7a2f67c882b898", kill_on_drop: false }` [INFO] [stdout] 8c7bbea2ae87ae289bb9c22672c4d988bb335ffb0c562abd1c7a2f67c882b898 [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" "-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" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b38297071ab90f509204a72ba9c1b52c4b2a0a52af746e7136a9673e9fd8b00 [INFO] running `Command { std: "docker" "start" "-a" "1b38297071ab90f509204a72ba9c1b52c4b2a0a52af746e7136a9673e9fd8b00", kill_on_drop: false }` [INFO] [stderr] Compiling 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/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/prelude/mod.rs:129: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: 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 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 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: 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] = note: `#[warn(dead_code)]` on by default [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: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.05s [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 1` [INFO] running `Command { std: "docker" "inspect" "1b38297071ab90f509204a72ba9c1b52c4b2a0a52af746e7136a9673e9fd8b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b38297071ab90f509204a72ba9c1b52c4b2a0a52af746e7136a9673e9fd8b00", kill_on_drop: false }` [INFO] [stdout] 1b38297071ab90f509204a72ba9c1b52c4b2a0a52af746e7136a9673e9fd8b00 [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" "-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" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dbc9e92ae9f0f17f71e3749164a01de7bf11acd03936f5c727b8dfc5b3090110 [INFO] running `Command { std: "docker" "start" "-a" "dbc9e92ae9f0f17f71e3749164a01de7bf11acd03936f5c727b8dfc5b3090110", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `futures::compat::Future01CompatExt` [INFO] [stderr] --> src/config/crypto.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use futures::compat::Future01CompatExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `uuid::Uuid` [INFO] [stderr] --> src/config/crypto.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use uuid::Uuid; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/config/mod.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `From` is imported redundantly [INFO] [stderr] --> src/errors/mod.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::convert::From; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `From` is already defined here [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::AppResponse` [INFO] [stderr] --> src/handlers/signin.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use super::AppResponse; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `authentication::CookieJWT` [INFO] [stderr] --> src/handlers/signin.rs:2:48 [INFO] [stderr] | [INFO] [stderr] 2 | use super::{authentication::AuthenticatedUser, authentication::CookieJWT}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AppErrorCode`, `AppError`, `Auth` [INFO] [stderr] --> src/handlers/signin.rs:4:22 [INFO] [stderr] | [INFO] [stderr] 4 | config::crypto::{Auth, CryptoService}, [INFO] [stderr] | ^^^^ [INFO] [stderr] 5 | [INFO] [stderr] 6 | errors::{AppErrorCode,AppError}, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `FromRequest`, `dev::HttpResponseBuilder`, `get`, `web::Payload` [INFO] [stderr] --> src/handlers/signin.rs:9:17 [INFO] [stderr] | [INFO] [stderr] 9 | use actix_web::{web::Payload,web::Data,web::Form, FromRequest, HttpResponse, HttpRequest,dev::HttpResponseBuilder,Responder,get,HttpMessa... [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BoxFuture`, `ready` [INFO] [stderr] --> src/handlers/signin.rs:10:23 [INFO] [stderr] | [INFO] [stderr] 10 | use futures::future::{ready, BoxFuture}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `debug`, `instrument` [INFO] [stderr] --> src/handlers/signin.rs:11:15 [INFO] [stderr] | [INFO] [stderr] 11 | use tracing::{debug, instrument}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `uuid::Uuid` [INFO] [stderr] --> src/handlers/signin.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use uuid::Uuid; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/handlers/signin.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | if (username == "patient" && password == "patient") { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 23 - if (username == "patient" && password == "patient") { [INFO] [stderr] 23 + if username == "patient" && password == "patient" { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/handlers/signin.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | else if (username == "infirmiere" && password == "infirmiere"){ [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 26 - else if (username == "infirmiere" && password == "infirmiere"){ [INFO] [stderr] 26 + else if username == "infirmiere" && password == "infirmiere" { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/handlers/signin.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | else if (username == "docteur" && password == "docteur"){ [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 29 - else if (username == "docteur" && password == "docteur"){ [INFO] [stderr] 29 + else if username == "docteur" && password == "docteur" { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::AppResponse` [INFO] [stderr] --> src/handlers/authentication.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use super::AppResponse; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AppErrorCode`, `Auth` [INFO] [stderr] --> src/handlers/authentication.rs:3:22 [INFO] [stderr] | [INFO] [stderr] 3 | config::crypto::{Auth, CryptoService}, [INFO] [stderr] | ^^^^ [INFO] [stderr] 4 | [INFO] [stderr] 5 | errors::{AppErrorCode,AppError}, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HttpResponse`, `dev::HttpResponseBuilder`, `http::Cookie`, `web::Form`, `web::Json` [INFO] [stderr] --> src/handlers/authentication.rs:8:27 [INFO] [stderr] | [INFO] [stderr] 8 | use actix_web::{web::Data,web::Form, FromRequest, HttpResponse,http::Cookie, dev::HttpResponseBuilder,web::Json}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `uuid::Uuid` [INFO] [stderr] --> src/handlers/authentication.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use uuid::Uuid; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stderr] --> src/handlers/authentication.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | use serde::{Deserialize,Serialize}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HttpResponse`, `Responder`, `web` [INFO] [stderr] --> src/main.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | use actix_web::{web, App, HttpServer, Responder, middleware::Logger ,HttpResponse}; [INFO] [stderr] | ^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/handlers/signin.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | req: HttpRequest) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `HttpMessage` [INFO] [stderr] --> src/handlers/signin.rs:9:129 [INFO] [stderr] | [INFO] [stderr] 9 | ...Response, HttpRequest,dev::HttpResponseBuilder,Responder,get,HttpMessage}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bearer_result` [INFO] [stderr] --> src/handlers/authentication.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | let bearer_result = BearerAuth::from_request(req, payload).into_inner(); [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bearer_result` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cookie_result2` [INFO] [stderr] --> src/handlers/authentication.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | let cookie_result2 = CookieJWT::from_request(req , payload).into_inner(); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookie_result2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/handlers/authentication.rs:85:18 [INFO] [stderr] | [INFO] [stderr] 85 | Some(v) => {cookie_value1 = req [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cookie` [INFO] [stderr] --> src/handlers/authentication.rs:102:16 [INFO] [stderr] | [INFO] [stderr] 102 | Ok(cookie) => ready(Ok( [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookie` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `payload` [INFO] [stderr] --> src/handlers/authentication.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | payload: &mut actix_web::dev::Payload, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stderr] [INFO] [stderr] warning: type alias `AppResult` is never used [INFO] [stderr] --> src/handlers/mod.rs:8:6 [INFO] [stderr] | [INFO] [stderr] 8 | type AppResult = Result; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias `AppResponse` is never used [INFO] [stderr] --> src/handlers/mod.rs:9:6 [INFO] [stderr] | [INFO] [stderr] 9 | type AppResponse = AppResult; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `thales_challenge` (bin "thales_challenge" test) generated 29 warnings (run `cargo fix --bin "thales_challenge" --tests` to apply 19 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [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 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/thales_challenge-d566673b9af8b4da) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dbc9e92ae9f0f17f71e3749164a01de7bf11acd03936f5c727b8dfc5b3090110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbc9e92ae9f0f17f71e3749164a01de7bf11acd03936f5c727b8dfc5b3090110", kill_on_drop: false }` [INFO] [stdout] dbc9e92ae9f0f17f71e3749164a01de7bf11acd03936f5c727b8dfc5b3090110