[INFO] updating cached repository https://github.com/Logarithmus/railway-project-rs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 45d2bc15ea9c7b78b09c3dbdbc778e0e3b672dff [INFO] testing Logarithmus/railway-project-rs against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLogarithmus%2Frailway-project-rs" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Logarithmus/railway-project-rs on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Logarithmus/railway-project-rs [INFO] finished tweaking git repo https://github.com/Logarithmus/railway-project-rs [INFO] tweaked toml for git repo https://github.com/Logarithmus/railway-project-rs written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Logarithmus/railway-project-rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 18a1d36256d410a3515c27f23fdb35188deea4f0cdf5eb7165a5fc143cbcfac6 [INFO] running `"docker" "start" "-a" "18a1d36256d410a3515c27f23fdb35188deea4f0cdf5eb7165a5fc143cbcfac6"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling smallvec v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Compiling mime v0.3.14 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling bindgen v0.48.1 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling actix-service v0.4.2 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling tokio-sync v0.1.7 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling miniz_oxide v0.3.5 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling lock_api v0.3.2 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling tokio-executor v0.1.9 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling directories v1.0.2 [INFO] [stderr] Compiling jobserver v0.1.17 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling content_inspector v0.2.4 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling tokio-timer v0.2.12 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling signal-hook v0.1.12 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.20 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.3 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling diesel-derive-enum v0.4.4 [INFO] [stderr] Compiling r2d2 v0.8.8 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling onig_sys v69.1.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling ansi_colours v1.0.1 [INFO] [stderr] Compiling tokio-reactor v0.1.11 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling console v0.7.7 [INFO] [stderr] Compiling toolchain_find v0.1.4 [INFO] [stderr] Compiling actix-utils v0.4.7 [INFO] [stderr] Compiling bigdecimal v0.1.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [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 darling_core v0.9.0 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling webpki v0.19.1 [INFO] [stderr] Compiling sct v0.5.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling onig v4.3.3 [INFO] [stderr] Compiling rustls v0.15.2 [INFO] [stderr] Compiling webpki-roots v0.16.0 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling v_eval v0.1.0 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling v_escape_derive v0.5.6 [INFO] [stderr] Compiling actix-web-codegen v0.1.3 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Compiling tokio-rustls v0.9.4 [INFO] [stderr] Compiling actix-server-config v0.1.2 [INFO] [stderr] Compiling v_escape v0.7.4 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling yarte_helpers v0.3.5 [INFO] [stderr] Compiling actix-threadpool v0.1.2 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling actix-rt v0.2.6 [INFO] [stderr] Compiling const-random-macro v0.1.6 [INFO] [stderr] Compiling actix-server v0.6.1 [INFO] [stderr] Compiling const-random v0.1.6 [INFO] [stderr] Compiling ahash v0.2.18 [INFO] [stderr] Compiling actix-testing v0.1.0 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling diesel v1.4.3 [INFO] [stderr] Compiling actix-connect v0.2.5 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling argonautica v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.42 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling plist v0.4.2 [INFO] [stderr] Compiling actix-router v0.1.5 [INFO] [stderr] Compiling toml v0.5.5 [INFO] [stderr] Compiling actix-http v0.2.11 [INFO] [stderr] Compiling syntect v3.2.0 [INFO] [stderr] Compiling yarte_config v0.3.5 [INFO] [stderr] Compiling prettyprint v0.7.0 [INFO] [stderr] Compiling awc v0.2.8 [INFO] [stderr] Compiling yarte_derive v0.3.5 [INFO] [stderr] Compiling actix-web v1.0.9 [INFO] [stderr] Compiling actix-files v0.1.7 [INFO] [stderr] Compiling actix-identity v0.1.0 [INFO] [stderr] Compiling yarte v0.3.5 [INFO] [stderr] Compiling railway-project-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `crate::responders::Pool` [INFO] [stderr] --> src/controllers/account.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::responders::Pool; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_identity::Identity` [INFO] [stderr] --> src/controllers/account.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use actix_identity::Identity; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `web` [INFO] [stderr] --> src/controllers/account.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | use actix_web::{web, Responder}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_identity::Identity` [INFO] [stderr] --> src/controllers/login.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use actix_identity::Identity; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `User` [INFO] [stderr] --> src/responders.rs:2:29 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::models::{IdUser, User}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `diesel::prelude` [INFO] [stderr] --> src/controllers/register.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use diesel::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pool` [INFO] [stderr] --> src/controllers/board.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | pool: web::Data, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `station` [INFO] [stderr] --> src/controllers/board.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | station: Option<&str>, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_station` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pool` [INFO] [stderr] --> src/controllers/board.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | pool: web::Data, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `username` [INFO] [stderr] --> src/responders.rs:103:21 [INFO] [stderr] | [INFO] [stderr] 103 | (_, _, Some(username)) => { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `username` [INFO] [stderr] --> src/responders.rs:143:21 [INFO] [stderr] | [INFO] [stderr] 143 | (_, _, Some(username)) => { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `admin` [INFO] [stderr] --> src/controllers/admin.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn admin(identity: Identity) -> impl Responder { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_all_stations` [INFO] [stderr] --> src/controllers/board.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | fn get_all_stations(pool: web::Data) -> Result, diesel::result::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `carriages` [INFO] [stderr] --> src/controllers/buy.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn carriages(identity: Identity) -> impl Responder { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `ticket` [INFO] [stderr] --> src/controllers/buy.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn ticket() -> impl Responder { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 15 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5m 16s [INFO] running `"docker" "inspect" "18a1d36256d410a3515c27f23fdb35188deea4f0cdf5eb7165a5fc143cbcfac6"` [INFO] running `"docker" "rm" "-f" "18a1d36256d410a3515c27f23fdb35188deea4f0cdf5eb7165a5fc143cbcfac6"` [INFO] [stdout] 18a1d36256d410a3515c27f23fdb35188deea4f0cdf5eb7165a5fc143cbcfac6 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e8109b1f1a6d28214827e192e03709bcc566940ebdd6c92b30d1800ab292505e [INFO] running `"docker" "start" "-a" "e8109b1f1a6d28214827e192e03709bcc566940ebdd6c92b30d1800ab292505e"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling railway-project-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `crate::responders::Pool` [INFO] [stderr] --> src/controllers/account.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::responders::Pool; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_identity::Identity` [INFO] [stderr] --> src/controllers/account.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use actix_identity::Identity; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `web` [INFO] [stderr] --> src/controllers/account.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | use actix_web::{web, Responder}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_identity::Identity` [INFO] [stderr] --> src/controllers/login.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use actix_identity::Identity; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `User` [INFO] [stderr] --> src/responders.rs:2:29 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::models::{IdUser, User}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `diesel::prelude` [INFO] [stderr] --> src/controllers/register.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use diesel::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pool` [INFO] [stderr] --> src/controllers/board.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | pool: web::Data, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `station` [INFO] [stderr] --> src/controllers/board.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | station: Option<&str>, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_station` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pool` [INFO] [stderr] --> src/controllers/board.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | pool: web::Data, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `username` [INFO] [stderr] --> src/responders.rs:103:21 [INFO] [stderr] | [INFO] [stderr] 103 | (_, _, Some(username)) => { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `username` [INFO] [stderr] --> src/responders.rs:143:21 [INFO] [stderr] | [INFO] [stderr] 143 | (_, _, Some(username)) => { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `admin` [INFO] [stderr] --> src/controllers/admin.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn admin(identity: Identity) -> impl Responder { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_all_stations` [INFO] [stderr] --> src/controllers/board.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | fn get_all_stations(pool: web::Data) -> Result, diesel::result::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `carriages` [INFO] [stderr] --> src/controllers/buy.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn carriages(identity: Identity) -> impl Responder { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `ticket` [INFO] [stderr] --> src/controllers/buy.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn ticket() -> impl Responder { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 15 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.57s [INFO] running `"docker" "inspect" "e8109b1f1a6d28214827e192e03709bcc566940ebdd6c92b30d1800ab292505e"` [INFO] running `"docker" "rm" "-f" "e8109b1f1a6d28214827e192e03709bcc566940ebdd6c92b30d1800ab292505e"` [INFO] [stdout] e8109b1f1a6d28214827e192e03709bcc566940ebdd6c92b30d1800ab292505e [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3bc239fde7dadd0830cf1443dccd53397cd1aea38fac5f233a0ea5bbac773e04 [INFO] running `"docker" "start" "-a" "3bc239fde7dadd0830cf1443dccd53397cd1aea38fac5f233a0ea5bbac773e04"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: unused import: `crate::responders::Pool` [INFO] [stderr] --> src/controllers/account.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::responders::Pool; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_identity::Identity` [INFO] [stderr] --> src/controllers/account.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use actix_identity::Identity; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `web` [INFO] [stderr] --> src/controllers/account.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | use actix_web::{web, Responder}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_identity::Identity` [INFO] [stderr] --> src/controllers/login.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use actix_identity::Identity; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `User` [INFO] [stderr] --> src/responders.rs:2:29 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::models::{IdUser, User}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `diesel::prelude` [INFO] [stderr] --> src/controllers/register.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use diesel::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pool` [INFO] [stderr] --> src/controllers/board.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | pool: web::Data, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `station` [INFO] [stderr] --> src/controllers/board.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | station: Option<&str>, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_station` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pool` [INFO] [stderr] --> src/controllers/board.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | pool: web::Data, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `username` [INFO] [stderr] --> src/responders.rs:103:21 [INFO] [stderr] | [INFO] [stderr] 103 | (_, _, Some(username)) => { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `username` [INFO] [stderr] --> src/responders.rs:143:21 [INFO] [stderr] | [INFO] [stderr] 143 | (_, _, Some(username)) => { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `admin` [INFO] [stderr] --> src/controllers/admin.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn admin(identity: Identity) -> impl Responder { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_all_stations` [INFO] [stderr] --> src/controllers/board.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | fn get_all_stations(pool: web::Data) -> Result, diesel::result::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `carriages` [INFO] [stderr] --> src/controllers/buy.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn carriages(identity: Identity) -> impl Responder { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `ticket` [INFO] [stderr] --> src/controllers/buy.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn ticket() -> impl Responder { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 15 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.46s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/railway_project_rs-b568717222ebea8a [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 `"docker" "inspect" "3bc239fde7dadd0830cf1443dccd53397cd1aea38fac5f233a0ea5bbac773e04"` [INFO] running `"docker" "rm" "-f" "3bc239fde7dadd0830cf1443dccd53397cd1aea38fac5f233a0ea5bbac773e04"` [INFO] [stdout] 3bc239fde7dadd0830cf1443dccd53397cd1aea38fac5f233a0ea5bbac773e04