[INFO] cloning repository https://github.com/rcos/Telescope [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rcos/Telescope" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frcos%2FTelescope", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frcos%2FTelescope'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 527f45dab0dfe788c77cd79cbb3dd00cafc9509b [INFO] testing rcos/Telescope against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frcos%2FTelescope" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rcos/Telescope on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rcos/Telescope [INFO] finished tweaking git repo https://github.com/rcos/Telescope [INFO] tweaked toml for git repo https://github.com/rcos/Telescope written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/rcos/Telescope already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded qrcodegen v1.6.0 [INFO] [stderr] Downloaded actix-ratelimit v0.2.1 [INFO] [stderr] Downloaded handlebars v3.1.0 [INFO] [stderr] Downloaded openssl-src v111.10.0+1.1.1g [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b3b7464c617a781b04a6c98d11cb36d3b57d0ac011639aeb52216ec71a9b069 [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" "1b3b7464c617a781b04a6c98d11cb36d3b57d0ac011639aeb52216ec71a9b069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b3b7464c617a781b04a6c98d11cb36d3b57d0ac011639aeb52216ec71a9b069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b3b7464c617a781b04a6c98d11cb36d3b57d0ac011639aeb52216ec71a9b069", kill_on_drop: false }` [INFO] [stdout] 1b3b7464c617a781b04a6c98d11cb36d3b57d0ac011639aeb52216ec71a9b069 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "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] e4123a507edf3941291d97c4b66f8b6fd6221dfc91ebfbc87a69cd809c40a2e3 [INFO] running `Command { std: "docker" "start" "-a" "e4123a507edf3941291d97c4b66f8b6fd6221dfc91ebfbc87a69cd809c40a2e3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling bytes v0.5.5 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling cc v1.0.55 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling exitcode v1.1.2 [INFO] [stderr] Compiling qrcodegen v1.6.0 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling generic-array v0.14.2 [INFO] [stderr] Compiling addr2line v0.12.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling openssl-src v111.10.0+1.1.1g [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling backtrace v0.3.49 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling block-cipher v0.7.1 [INFO] [stderr] Compiling const-random v0.1.8 [INFO] [stderr] Compiling r2d2 v0.8.8 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling blowfish v0.5.0 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling bcrypt v0.8.1 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling dashmap v3.11.4 [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 brotli2 v0.3.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling derive_more v0.99.8 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling actix-web-codegen v0.2.2 [INFO] [stderr] Compiling v_escape_derive v0.5.6 [INFO] [stderr] Compiling actix_derive v0.5.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling juniper_codegen v0.14.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling v_escape v0.7.4 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling actix-threadpool v0.3.2 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-server v1.0.3 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling juniper v0.14.2 [INFO] [stderr] Compiling handlebars v3.1.0 [INFO] [stderr] Compiling diesel v1.4.5 [INFO] [stderr] Compiling tokio-openssl v0.4.0 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling actix-http v1.0.1 [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-files v0.2.2 [INFO] [stderr] Compiling actix-ratelimit v0.2.1 [INFO] [stderr] Compiling actix-session v0.3.0 [INFO] [stderr] Compiling telescope v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `actix_web::Error` [INFO] [stdout] --> src/web/api/users.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::root::ApiContext` [INFO] [stdout] --> src/web/api/users.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::root::ApiContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `root::Schema` [INFO] [stdout] --> src/web/api/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use root::Schema; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::BlockingError`, `web::block` [INFO] [stdout] --> src/db/actions/users.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | web::block, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | error::BlockingError [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::result::Error` [INFO] [stdout] --> src/db/actions/users.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use diesel::result::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/web/services/login.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let session = req_ctx.session(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_token` [INFO] [stdout] --> src/templates/navbar.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | if let Some(session_token) = ctx.session().get::(cookies::SESSION_COOKIE).unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_ctx` [INFO] [stdout] --> src/db/actions/emails.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | req_ctx: &RequestContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `email_addr` [INFO] [stdout] --> src/db/actions/emails.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | email_addr: String, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_email_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/db/actions/emails.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | user_id: Uuid [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_ctx` [INFO] [stdout] --> src/db/actions/users.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn get_user(req_ctx: &RequestContext, uuid: &str) -> Option { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uuid` [INFO] [stdout] --> src/db/actions/users.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn get_user(req_ctx: &RequestContext, uuid: &str) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/templates/navbar/items.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut render = self.clone(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_db_connection` [INFO] [stdout] --> src/web/context.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn get_db_connection(&self) -> PooledConnection> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_email` [INFO] [stdout] --> src/db/actions/emails.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn add_email( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_user` [INFO] [stdout] --> src/db/actions/users.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn get_user(req_ctx: &RequestContext, uuid: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6m 21s [INFO] running `Command { std: "docker" "inspect" "e4123a507edf3941291d97c4b66f8b6fd6221dfc91ebfbc87a69cd809c40a2e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4123a507edf3941291d97c4b66f8b6fd6221dfc91ebfbc87a69cd809c40a2e3", kill_on_drop: false }` [INFO] [stdout] e4123a507edf3941291d97c4b66f8b6fd6221dfc91ebfbc87a69cd809c40a2e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f19d54b90bf8f97d0d4db00f62107ac2bda3df67aa75211e94d6219775cc049a [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" "f19d54b90bf8f97d0d4db00f62107ac2bda3df67aa75211e94d6219775cc049a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling telescope v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `actix_web::Error` [INFO] [stdout] --> src/web/api/users.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::root::ApiContext` [INFO] [stdout] --> src/web/api/users.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::root::ApiContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `root::Schema` [INFO] [stdout] --> src/web/api/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use root::Schema; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::BlockingError`, `web::block` [INFO] [stdout] --> src/db/actions/users.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | web::block, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | error::BlockingError [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::result::Error` [INFO] [stdout] --> src/db/actions/users.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use diesel::result::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/web/services/login.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let session = req_ctx.session(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_token` [INFO] [stdout] --> src/templates/navbar.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | if let Some(session_token) = ctx.session().get::(cookies::SESSION_COOKIE).unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_ctx` [INFO] [stdout] --> src/db/actions/emails.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | req_ctx: &RequestContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `email_addr` [INFO] [stdout] --> src/db/actions/emails.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | email_addr: String, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_email_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/db/actions/emails.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | user_id: Uuid [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_ctx` [INFO] [stdout] --> src/db/actions/users.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn get_user(req_ctx: &RequestContext, uuid: &str) -> Option { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uuid` [INFO] [stdout] --> src/db/actions/users.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn get_user(req_ctx: &RequestContext, uuid: &str) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/templates/navbar/items.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut render = self.clone(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_db_connection` [INFO] [stdout] --> src/web/context.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn get_db_connection(&self) -> PooledConnection> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_email` [INFO] [stdout] --> src/db/actions/emails.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn add_email( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_user` [INFO] [stdout] --> src/db/actions/users.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn get_user(req_ctx: &RequestContext, uuid: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.22s [INFO] running `Command { std: "docker" "inspect" "f19d54b90bf8f97d0d4db00f62107ac2bda3df67aa75211e94d6219775cc049a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f19d54b90bf8f97d0d4db00f62107ac2bda3df67aa75211e94d6219775cc049a", kill_on_drop: false }` [INFO] [stdout] f19d54b90bf8f97d0d4db00f62107ac2bda3df67aa75211e94d6219775cc049a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] de1607e4b4c76da442d77adf8ad70654b3fd7cdcc2b1105d17704000d8245117 [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" "de1607e4b4c76da442d77adf8ad70654b3fd7cdcc2b1105d17704000d8245117", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `actix_web::Error` [INFO] [stderr] --> src/web/api/users.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use actix_web::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::root::ApiContext` [INFO] [stderr] --> src/web/api/users.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use super::root::ApiContext; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `root::Schema` [INFO] [stderr] --> src/web/api/mod.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use root::Schema; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `error::BlockingError`, `web::block` [INFO] [stderr] --> src/db/actions/users.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | web::block, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 5 | error::BlockingError [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `diesel::result::Error` [INFO] [stderr] --> src/db/actions/users.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use diesel::result::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `session` [INFO] [stderr] --> src/web/services/login.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | let session = req_ctx.session(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `session_token` [INFO] [stderr] --> src/templates/navbar.rs:70:21 [INFO] [stderr] | [INFO] [stderr] 70 | if let Some(session_token) = ctx.session().get::(cookies::SESSION_COOKIE).unwrap() { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req_ctx` [INFO] [stderr] --> src/db/actions/emails.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | req_ctx: &RequestContext, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `email_addr` [INFO] [stderr] --> src/db/actions/emails.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | email_addr: String, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_email_addr` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_id` [INFO] [stderr] --> src/db/actions/emails.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | user_id: Uuid [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req_ctx` [INFO] [stderr] --> src/db/actions/users.rs:26:23 [INFO] [stderr] | [INFO] [stderr] 26 | pub async fn get_user(req_ctx: &RequestContext, uuid: &str) -> Option { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uuid` [INFO] [stderr] --> src/db/actions/users.rs:26:49 [INFO] [stderr] | [INFO] [stderr] 26 | pub async fn get_user(req_ctx: &RequestContext, uuid: &str) -> Option { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/templates/navbar/items.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | let mut render = self.clone(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_db_connection` [INFO] [stderr] --> src/web/context.rs:85:12 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn get_db_connection(&self) -> PooledConnection> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `add_email` [INFO] [stderr] --> src/db/actions/emails.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | pub async fn add_email( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_user` [INFO] [stderr] --> src/db/actions/users.rs:26:14 [INFO] [stderr] | [INFO] [stderr] 26 | pub async fn get_user(req_ctx: &RequestContext, uuid: &str) -> Option { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 16 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/telescope-f50035c34e1126cd [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" "de1607e4b4c76da442d77adf8ad70654b3fd7cdcc2b1105d17704000d8245117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de1607e4b4c76da442d77adf8ad70654b3fd7cdcc2b1105d17704000d8245117", kill_on_drop: false }` [INFO] [stdout] de1607e4b4c76da442d77adf8ad70654b3fd7cdcc2b1105d17704000d8245117