[INFO] cloning repository https://github.com/sabahtalateh/simple-auth-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sabahtalateh/simple-auth-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsabahtalateh%2Fsimple-auth-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsabahtalateh%2Fsimple-auth-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 925a55b54b98b08657f46471b809834728dcf4c2 [INFO] testing sabahtalateh/simple-auth-server against 1.63.0 for beta-1.64-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsabahtalateh%2Fsimple-auth-server" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sabahtalateh/simple-auth-server on toolchain 1.63.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.63.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sabahtalateh/simple-auth-server [INFO] finished tweaking git repo https://github.com/sabahtalateh/simple-auth-server [INFO] tweaked toml for git repo https://github.com/sabahtalateh/simple-auth-server written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/sabahtalateh/simple-auth-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.63.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v2.0.1 [INFO] [stderr] Downloaded bindgen v0.48.1 [INFO] [stderr] Downloaded hashbrown v0.1.8 [INFO] [stderr] Downloaded actix-identity v0.1.0 [INFO] [stderr] Downloaded cexpr v0.3.5 [INFO] [stderr] Downloaded clang-sys v0.26.4 [INFO] [stderr] Downloaded argonautica v0.2.0 [INFO] [stderr] Downloaded env_logger v0.7.0 [INFO] [stderr] Downloaded jobserver v0.1.17 [INFO] [stderr] Downloaded sparkpost v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5250d73fa445df6a32a087dc36f00afe852cf3e088f9bced0219ee1d116b82d [INFO] running `Command { std: "docker" "start" "-a" "c5250d73fa445df6a32a087dc36f00afe852cf3e088f9bced0219ee1d116b82d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5250d73fa445df6a32a087dc36f00afe852cf3e088f9bced0219ee1d116b82d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5250d73fa445df6a32a087dc36f00afe852cf3e088f9bced0219ee1d116b82d", kill_on_drop: false }` [INFO] [stdout] c5250d73fa445df6a32a087dc36f00afe852cf3e088f9bced0219ee1d116b82d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5a2d4ffe7066752be4627d0bb4b8cffa9185e1c92a72de230a0c3769f0dcd7a [INFO] running `Command { std: "docker" "start" "-a" "b5a2d4ffe7066752be4627d0bb4b8cffa9185e1c92a72de230a0c3769f0dcd7a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling indexmap v1.2.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Compiling arc-swap v0.4.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling bindgen v0.48.1 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling actix-service v0.4.2 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling unicase v2.5.1 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling lock_api v0.2.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling miniz_oxide v0.3.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling jobserver v0.1.17 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling signal-hook-registry v1.1.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling cexpr v0.3.5 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling signal-hook v0.1.10 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling env_logger v0.7.0 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling openssl-sys v0.9.51 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.2 [INFO] [stderr] Compiling tokio-reactor v0.1.10 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling r2d2 v0.8.5 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.16 [INFO] [stderr] Compiling actix-utils v0.4.5 [INFO] [stderr] Compiling actix-server-config v0.1.2 [INFO] [stderr] Compiling flate2 v1.0.12 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling actix-web-codegen v0.1.2 [INFO] [stderr] Compiling diesel_derives v1.4.0 [INFO] [stderr] Compiling backtrace v0.3.38 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling dotenv v0.14.1 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling publicsuffix v1.5.3 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling actix-threadpool v0.1.2 [INFO] [stderr] Compiling actix-rt v0.2.5 [INFO] [stderr] Compiling actix-connect v0.2.5 [INFO] [stderr] Compiling actix-server v0.6.1 [INFO] [stderr] Compiling actix-testing v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling actix-router v0.1.5 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling diesel v1.4.2 [INFO] [stderr] Compiling actix-http v0.2.10 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling reqwest v0.9.22 [INFO] [stderr] Compiling sparkpost v0.5.3 [INFO] [stderr] Compiling awc v0.2.7 [INFO] [stderr] Compiling argonautica v0.2.0 [INFO] [stderr] Compiling actix-web v1.0.8 [INFO] [stderr] Compiling actix-identity v0.1.0 [INFO] [stderr] Compiling simple-auth-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `PayloadError`, `web::Bytes` [INFO] [stdout] --> src/handlers/auth_handler.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | error::{BlockingError, PayloadError}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | web, [INFO] [stdout] 10 | web::Bytes, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/handlers/auth_handler.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::email_service::send_invitation` [INFO] [stdout] --> src/handlers/invitation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::email_service::send_invitation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Async`, `Poll` [INFO] [stdout] --> src/handlers/register.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Async, Future, Poll}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/handlers/auth_handler.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | use futures::{Future, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `invitation` [INFO] [stdout] --> src/handlers/invitation.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let invitation = dbg!(query(email, pool)?); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invitation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_invitation` is never used [INFO] [stdout] --> src/email_service.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn send_invitation(invitation: &Invitation) -> Result<(), ServiceError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 16s [INFO] running `Command { std: "docker" "inspect" "b5a2d4ffe7066752be4627d0bb4b8cffa9185e1c92a72de230a0c3769f0dcd7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5a2d4ffe7066752be4627d0bb4b8cffa9185e1c92a72de230a0c3769f0dcd7a", kill_on_drop: false }` [INFO] [stdout] b5a2d4ffe7066752be4627d0bb4b8cffa9185e1c92a72de230a0c3769f0dcd7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d156912ecf977ff3aef6b4818f7e89f2e1ec3e4858fd6896573283e6d293f4d [INFO] running `Command { std: "docker" "start" "-a" "2d156912ecf977ff3aef6b4818f7e89f2e1ec3e4858fd6896573283e6d293f4d", kill_on_drop: false }` [INFO] [stderr] Compiling simple-auth-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `PayloadError`, `web::Bytes` [INFO] [stdout] --> src/handlers/auth_handler.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | error::{BlockingError, PayloadError}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | web, [INFO] [stdout] 10 | web::Bytes, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/handlers/auth_handler.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::email_service::send_invitation` [INFO] [stdout] --> src/handlers/invitation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::email_service::send_invitation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Async`, `Poll` [INFO] [stdout] --> src/handlers/register.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Async, Future, Poll}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/handlers/auth_handler.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | use futures::{Future, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `invitation` [INFO] [stdout] --> src/handlers/invitation.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let invitation = dbg!(query(email, pool)?); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invitation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_invitation` is never used [INFO] [stdout] --> src/email_service.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn send_invitation(invitation: &Invitation) -> Result<(), ServiceError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.82s [INFO] running `Command { std: "docker" "inspect" "2d156912ecf977ff3aef6b4818f7e89f2e1ec3e4858fd6896573283e6d293f4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d156912ecf977ff3aef6b4818f7e89f2e1ec3e4858fd6896573283e6d293f4d", kill_on_drop: false }` [INFO] [stdout] 2d156912ecf977ff3aef6b4818f7e89f2e1ec3e4858fd6896573283e6d293f4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 46949b04a0ca092f54eac4e051b9805f97c4770664d4f537d2c92fd098bbd2e7 [INFO] running `Command { std: "docker" "start" "-a" "46949b04a0ca092f54eac4e051b9805f97c4770664d4f537d2c92fd098bbd2e7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused imports: `PayloadError`, `web::Bytes` [INFO] [stderr] --> src/handlers/auth_handler.rs:8:28 [INFO] [stderr] | [INFO] [stderr] 8 | error::{BlockingError, PayloadError}, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 9 | web, [INFO] [stderr] 10 | web::Bytes, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Serialize` [INFO] [stderr] --> src/handlers/auth_handler.rs:16:26 [INFO] [stderr] | [INFO] [stderr] 16 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::email_service::send_invitation` [INFO] [stderr] --> src/handlers/invitation.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::email_service::send_invitation; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Async`, `Poll` [INFO] [stderr] --> src/handlers/register.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | use futures::{Async, Future, Poll}; [INFO] [stderr] | ^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Stream` [INFO] [stderr] --> src/handlers/auth_handler.rs:15:23 [INFO] [stderr] | [INFO] [stderr] 15 | use futures::{Future, Stream}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `invitation` [INFO] [stderr] --> src/handlers/invitation.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | let invitation = dbg!(query(email, pool)?); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invitation` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `send_invitation` is never used [INFO] [stderr] --> src/email_service.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn send_invitation(invitation: &Invitation) -> Result<(), ServiceError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `simple-auth-server` (bin "simple-auth-server" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/simple_auth_server-d0eb40b6f3cf2609) [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" "46949b04a0ca092f54eac4e051b9805f97c4770664d4f537d2c92fd098bbd2e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46949b04a0ca092f54eac4e051b9805f97c4770664d4f537d2c92fd098bbd2e7", kill_on_drop: false }` [INFO] [stdout] 46949b04a0ca092f54eac4e051b9805f97c4770664d4f537d2c92fd098bbd2e7