[INFO] cloning repository https://github.com/Jucian0/rust-real-world [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jucian0/rust-real-world" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJucian0%2Frust-real-world", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJucian0%2Frust-real-world'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92268d293481b13f926842b634ba1a8e22c40a37 [INFO] testing Jucian0/rust-real-world against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJucian0%2Frust-real-world" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jucian0/rust-real-world on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jucian0/rust-real-world [INFO] finished tweaking git repo https://github.com/Jucian0/rust-real-world [INFO] tweaked toml for git repo https://github.com/Jucian0/rust-real-world written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Jucian0/rust-real-world already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-threadpool v0.3.1 [INFO] [stderr] Downloaded scheduled-thread-pool v0.2.4 [INFO] [stderr] Downloaded listenfd v0.3.3 [INFO] [stderr] Downloaded hashbrown v0.6.3 [INFO] [stderr] Downloaded blowfish v0.4.0 [INFO] [stderr] Downloaded actix-rt v1.1.0 [INFO] [stderr] Downloaded arc-swap v0.4.5 [INFO] [stderr] Downloaded actix-testing v1.0.0 [INFO] [stderr] Downloaded actix-http v0.2.11 [INFO] [stderr] Downloaded actix-redis v0.8.1 [INFO] [stderr] Downloaded actix-session v0.3.0 [INFO] [stderr] Downloaded actix-macros v0.1.1 [INFO] [stderr] Downloaded actix-rt v0.2.6 [INFO] [stderr] Downloaded ahash v0.2.18 [INFO] [stderr] Downloaded backoff v0.1.6 [INFO] [stderr] Downloaded actix-identity v0.2.1 [INFO] [stderr] Downloaded if_chain v1.0.0 [INFO] [stderr] Downloaded redis-async v0.6.2 [INFO] [stderr] Downloaded actix-server v1.0.2 [INFO] [stderr] Downloaded pem v0.7.0 [INFO] [stderr] Downloaded bcrypt v0.4.0 [INFO] [stderr] Downloaded parking_lot_core v0.7.1 [INFO] [stderr] Downloaded actix-web-codegen v0.2.1 [INFO] [stderr] Downloaded derive_more v0.99.5 [INFO] [stderr] Downloaded diesel v1.4.4 [INFO] [stderr] Downloaded winapi-util v0.1.4 [INFO] [stderr] Downloaded jsonwebtoken v7.1.0 [INFO] [stderr] Downloaded r2d2 v0.8.8 [INFO] [stderr] Downloaded tokio v0.2.18 [INFO] [stderr] Downloaded backtrace-sys v0.1.35 [INFO] [stderr] Downloaded validator_derive v0.10.0 [INFO] [stderr] Downloaded validator v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d5af49159bcf6ae8969c6bf9031509fea3ef951238f74e03453672f12f519de [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8d5af49159bcf6ae8969c6bf9031509fea3ef951238f74e03453672f12f519de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d5af49159bcf6ae8969c6bf9031509fea3ef951238f74e03453672f12f519de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d5af49159bcf6ae8969c6bf9031509fea3ef951238f74e03453672f12f519de", kill_on_drop: false }` [INFO] [stdout] 8d5af49159bcf6ae8969c6bf9031509fea3ef951238f74e03453672f12f519de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e4fc2283393455dc014a1aff36ee203d72c5f4e4d84c5ddcb70ff20462bdfd7a [INFO] running `Command { std: "docker" "start" "-a" "e4fc2283393455dc014a1aff36ee203d72c5f4e4d84c5ddcb70ff20462bdfd7a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling instant v0.1.2 [INFO] [stderr] Compiling if_chain v1.0.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling actix-service v0.4.2 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.7.1 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling listenfd v0.3.3 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling blake2b_simd v0.5.10 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling pem v0.7.0 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling backoff v0.1.6 [INFO] [stderr] Compiling blowfish v0.4.0 [INFO] [stderr] Compiling tokio v0.2.18 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling const-random v0.1.8 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling rust-argon2 v0.5.1 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling bcrypt v0.4.0 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling ahash v0.2.18 [INFO] [stderr] Compiling r2d2 v0.8.8 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling actix-utils v0.4.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling actix-server-config v0.1.2 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling derive_more v0.99.5 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.30 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling actix-web-codegen v0.2.1 [INFO] [stderr] Compiling actix_derive v0.5.0 [INFO] [stderr] Compiling actix-threadpool v0.1.2 [INFO] [stderr] Compiling actix-rt v0.2.6 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling dotenv v0.14.1 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling redis-async v0.6.2 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling actix-threadpool v0.3.1 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-rt v1.1.0 [INFO] [stderr] Compiling actix-connect v0.2.5 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling actix-server v1.0.2 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling actix-testing v1.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling diesel v1.4.4 [INFO] [stderr] Compiling simple_asn1 v0.4.0 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling validator v0.10.0 [INFO] [stderr] Compiling actix-http v0.2.11 [INFO] [stderr] Compiling jsonwebtoken v7.1.0 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling validator_derive v0.10.0 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix v0.9.0 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling actix-session v0.3.0 [INFO] [stderr] Compiling actix-identity v0.2.1 [INFO] [stderr] Compiling actix-redis v0.8.1 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Compiling diesel_migrations v1.4.0 [INFO] [stderr] Compiling rust-web-api-01 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/email/api.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new>(email: T, name: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/email/api.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(sender: Contact) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_recipient` [INFO] [stdout] --> src/email/api.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn add_recipient>(mut self, recipient: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_subject` [INFO] [stdout] --> src/email/api.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn set_subject>(mut self, subject: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_html` [INFO] [stdout] --> src/email/api.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn set_html>(mut self, html: T) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send` [INFO] [stdout] --> src/email/api.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn send(self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decode_token` [INFO] [stdout] --> src/utils/jwt.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn decode_token(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5m 03s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: actix-web v2.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 12` [INFO] running `Command { std: "docker" "inspect" "e4fc2283393455dc014a1aff36ee203d72c5f4e4d84c5ddcb70ff20462bdfd7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4fc2283393455dc014a1aff36ee203d72c5f4e4d84c5ddcb70ff20462bdfd7a", kill_on_drop: false }` [INFO] [stdout] e4fc2283393455dc014a1aff36ee203d72c5f4e4d84c5ddcb70ff20462bdfd7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffe25a91a9ad9d38d9cbde08c471e86b12af2e66da8df898f4d70e812349ea11 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ffe25a91a9ad9d38d9cbde08c471e86b12af2e66da8df898f4d70e812349ea11", kill_on_drop: false }` [INFO] [stderr] Compiling rust-web-api-01 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/email/api.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new>(email: T, name: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/email/api.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(sender: Contact) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_recipient` [INFO] [stdout] --> src/email/api.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn add_recipient>(mut self, recipient: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_subject` [INFO] [stdout] --> src/email/api.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn set_subject>(mut self, subject: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_html` [INFO] [stdout] --> src/email/api.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn set_html>(mut self, html: T) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send` [INFO] [stdout] --> src/email/api.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn send(self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decode_token` [INFO] [stdout] --> src/utils/jwt.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn decode_token(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.38s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: actix-web v2.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 13` [INFO] running `Command { std: "docker" "inspect" "ffe25a91a9ad9d38d9cbde08c471e86b12af2e66da8df898f4d70e812349ea11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffe25a91a9ad9d38d9cbde08c471e86b12af2e66da8df898f4d70e812349ea11", kill_on_drop: false }` [INFO] [stdout] ffe25a91a9ad9d38d9cbde08c471e86b12af2e66da8df898f4d70e812349ea11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6f114504467a11405b07a2c84d86eeba8a1481f2f66f6c968a6be0dca3086ab1 [INFO] running `Command { std: "docker" "start" "-a" "6f114504467a11405b07a2c84d86eeba8a1481f2f66f6c968a6be0dca3086ab1", kill_on_drop: false }` [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/email/api.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn new>(email: T, name: T) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/email/api.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn new(sender: Contact) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_recipient` [INFO] [stderr] --> src/email/api.rs:53:12 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn add_recipient>(mut self, recipient: T) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_subject` [INFO] [stderr] --> src/email/api.rs:58:12 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn set_subject>(mut self, subject: T) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_html` [INFO] [stderr] --> src/email/api.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn set_html>(mut self, html: T) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `send` [INFO] [stderr] --> src/email/api.rs:68:12 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn send(self) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `decode_token` [INFO] [stderr] --> src/utils/jwt.rs:48:8 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn decode_token(token: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust-web-api-01` (bin "rust-web-api-01" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: actix-web v2.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 14` [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_web_api_01-8664f4912d357a1b) [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" "6f114504467a11405b07a2c84d86eeba8a1481f2f66f6c968a6be0dca3086ab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f114504467a11405b07a2c84d86eeba8a1481f2f66f6c968a6be0dca3086ab1", kill_on_drop: false }` [INFO] [stdout] 6f114504467a11405b07a2c84d86eeba8a1481f2f66f6c968a6be0dca3086ab1