[INFO] cloning repository https://github.com/TheGlenn88/queue-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheGlenn88/queue-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheGlenn88%2Fqueue-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheGlenn88%2Fqueue-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04b3a9477e432cb0ff1771c83c29b6c73426ee51 [INFO] testing TheGlenn88/queue-rs against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheGlenn88%2Fqueue-rs" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheGlenn88/queue-rs on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TheGlenn88/queue-rs [INFO] finished tweaking git repo https://github.com/TheGlenn88/queue-rs [INFO] tweaked toml for git repo https://github.com/TheGlenn88/queue-rs written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/TheGlenn88/queue-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", 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] 1e444d44bd1713c16b206d6c3e2948f3c888e10f54034579461a01a3804b7480 [INFO] running `Command { std: "docker" "start" "-a" "1e444d44bd1713c16b206d6c3e2948f3c888e10f54034579461a01a3804b7480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e444d44bd1713c16b206d6c3e2948f3c888e10f54034579461a01a3804b7480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e444d44bd1713c16b206d6c3e2948f3c888e10f54034579461a01a3804b7480", kill_on_drop: false }` [INFO] [stdout] 1e444d44bd1713c16b206d6c3e2948f3c888e10f54034579461a01a3804b7480 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 489510d21fe68a03ea51aead94c8d3a3f88478dcec1f0a6e3c158cc3b11e3800 [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" "489510d21fe68a03ea51aead94c8d3a3f88478dcec1f0a6e3c158cc3b11e3800", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling pin-project-lite v0.2.0 [INFO] [stderr] Compiling smallvec v1.5.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling v_escape v0.14.1 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling bytes v0.6.0 [INFO] [stderr] Compiling v_htmlescape v0.11.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling humantime v2.0.1 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling standback v0.2.13 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling http v0.2.2 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling rdkafka-sys v2.1.0+1.5.0 [INFO] [stderr] Compiling buf-min v0.2.0 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling bstr v0.2.14 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling parking_lot_core v0.8.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling nb-connect v1.0.2 [INFO] [stderr] Compiling socket2 v0.3.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling listenfd v0.3.3 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling pem v0.8.2 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling globset v0.4.6 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Compiling polyval v0.4.3 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling async-io v1.3.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling rand_core v0.6.0 [INFO] [stderr] Compiling ignore v0.4.17 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling ghash v0.3.0 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling async-global-executor v1.4.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling async-std v1.8.0 [INFO] [stderr] Compiling tokio v0.2.24 [INFO] [stderr] Compiling rand v0.8.0 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling v_escape_derive v0.8.4 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling combine v4.4.0 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling trust-dns-proto v0.19.6 [INFO] [stderr] Compiling mobc v0.5.12 [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 toml v0.5.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-router v0.2.5 [INFO] [stderr] Compiling trust-dns-resolver v0.19.6 [INFO] [stderr] Compiling tera v1.6.0 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling actix-http v2.2.0 [INFO] [stderr] Compiling num_enum v0.5.1 [INFO] [stderr] Compiling rdkafka v0.24.0 [INFO] [stderr] Compiling redis v0.17.0 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling actix-session v0.4.0 [INFO] [stderr] Compiling actix-files v0.4.1 [INFO] [stderr] Compiling mobc-redis v0.5.4 [INFO] [stderr] Compiling queue v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{http, web, App, Error, HttpRequest, HttpResponse, HttpServer, Responder, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `should_queue` [INFO] [stdout] --> src/main.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | if let Some(should_queue) = session.get::("should_queue").unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_queue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mobc_pool` [INFO] [stdout] --> src/main.rs:104:36 [INFO] [stdout] | [INFO] [stdout] 104 | async fn status(_req: HttpRequest, mobc_pool: web::Data) -> impl Responder { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mobc_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `exists` [INFO] [stdout] --> src/mobc_pool.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | pub async fn exists(pool: &MobcPool, key: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `incr` [INFO] [stdout] --> src/mobc_pool.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | pub async fn incr(pool: &MobcPool, key: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decr` [INFO] [stdout] --> src/mobc_pool.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | pub async fn decr(pool: &MobcPool, key: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lpop` [INFO] [stdout] --> src/mobc_pool.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | pub async fn lpop(pool: &MobcPool, key: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | session.set("should_queue", true); //TODO: don't just unwrap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7m 13s [INFO] running `Command { std: "docker" "inspect" "489510d21fe68a03ea51aead94c8d3a3f88478dcec1f0a6e3c158cc3b11e3800", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "489510d21fe68a03ea51aead94c8d3a3f88478dcec1f0a6e3c158cc3b11e3800", kill_on_drop: false }` [INFO] [stdout] 489510d21fe68a03ea51aead94c8d3a3f88478dcec1f0a6e3c158cc3b11e3800 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--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] 8b5b3e0f2a9bc8f961077c08e682f7c6077564ac3d49011fb4c5762f88f118c4 [INFO] running `Command { std: "docker" "start" "-a" "8b5b3e0f2a9bc8f961077c08e682f7c6077564ac3d49011fb4c5762f88f118c4", kill_on_drop: false }` [INFO] [stderr] Compiling queue v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{http, web, App, Error, HttpRequest, HttpResponse, HttpServer, Responder, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `should_queue` [INFO] [stdout] --> src/main.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | if let Some(should_queue) = session.get::("should_queue").unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_queue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mobc_pool` [INFO] [stdout] --> src/main.rs:104:36 [INFO] [stdout] | [INFO] [stdout] 104 | async fn status(_req: HttpRequest, mobc_pool: web::Data) -> impl Responder { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mobc_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `exists` [INFO] [stdout] --> src/mobc_pool.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | pub async fn exists(pool: &MobcPool, key: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `incr` [INFO] [stdout] --> src/mobc_pool.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | pub async fn incr(pool: &MobcPool, key: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decr` [INFO] [stdout] --> src/mobc_pool.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | pub async fn decr(pool: &MobcPool, key: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lpop` [INFO] [stdout] --> src/mobc_pool.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | pub async fn lpop(pool: &MobcPool, key: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | session.set("should_queue", true); //TODO: don't just unwrap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.90s [INFO] running `Command { std: "docker" "inspect" "8b5b3e0f2a9bc8f961077c08e682f7c6077564ac3d49011fb4c5762f88f118c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b5b3e0f2a9bc8f961077c08e682f7c6077564ac3d49011fb4c5762f88f118c4", kill_on_drop: false }` [INFO] [stdout] 8b5b3e0f2a9bc8f961077c08e682f7c6077564ac3d49011fb4c5762f88f118c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eb271e98177cd4c5ec368664f5bcd89c588c968f642c6b7c6921b8cf935e4a0c [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" "eb271e98177cd4c5ec368664f5bcd89c588c968f642c6b7c6921b8cf935e4a0c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/main.rs:3:33 [INFO] [stderr] | [INFO] [stderr] 3 | use actix_web::{http, web, App, Error, HttpRequest, HttpResponse, HttpServer, Responder, Result}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `should_queue` [INFO] [stderr] --> src/main.rs:67:21 [INFO] [stderr] | [INFO] [stderr] 67 | if let Some(should_queue) = session.get::("should_queue").unwrap() { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_queue` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mobc_pool` [INFO] [stderr] --> src/main.rs:104:36 [INFO] [stderr] | [INFO] [stderr] 104 | async fn status(_req: HttpRequest, mobc_pool: web::Data) -> impl Responder { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mobc_pool` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `exists` [INFO] [stderr] --> src/mobc_pool.rs:77:14 [INFO] [stderr] | [INFO] [stderr] 77 | pub async fn exists(pool: &MobcPool, key: &str) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `incr` [INFO] [stderr] --> src/mobc_pool.rs:84:14 [INFO] [stderr] | [INFO] [stderr] 84 | pub async fn incr(pool: &MobcPool, key: &str) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `decr` [INFO] [stderr] --> src/mobc_pool.rs:91:14 [INFO] [stderr] | [INFO] [stderr] 91 | pub async fn decr(pool: &MobcPool, key: &str) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `lpop` [INFO] [stderr] --> src/mobc_pool.rs:108:14 [INFO] [stderr] | [INFO] [stderr] 108 | pub async fn lpop(pool: &MobcPool, key: &str) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:71:13 [INFO] [stderr] | [INFO] [stderr] 71 | session.set("should_queue", true); //TODO: don't just unwrap [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/queue-f5618051927140a0 [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 [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/queue-5169bad0bb7966ef [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 [INFO] [stdout] [INFO] [stderr] Doc-tests queue [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "eb271e98177cd4c5ec368664f5bcd89c588c968f642c6b7c6921b8cf935e4a0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb271e98177cd4c5ec368664f5bcd89c588c968f642c6b7c6921b8cf935e4a0c", kill_on_drop: false }` [INFO] [stdout] eb271e98177cd4c5ec368664f5bcd89c588c968f642c6b7c6921b8cf935e4a0c