[INFO] cloning repository https://github.com/Logarithmus/railway-project-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Logarithmus/railway-project-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLogarithmus%2Frailway-project-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLogarithmus%2Frailway-project-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d2aa8218e422a87bc9075dced6e80ba68ab025d [INFO] testing Logarithmus/railway-project-rs against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLogarithmus%2Frailway-project-rs" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Logarithmus/railway-project-rs on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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] e98d4924bb104e85f90a64569ec1725522b82c0660a6d496b6cf028016f9dcec [INFO] running `Command { std: "docker" "start" "-a" "e98d4924bb104e85f90a64569ec1725522b82c0660a6d496b6cf028016f9dcec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e98d4924bb104e85f90a64569ec1725522b82c0660a6d496b6cf028016f9dcec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e98d4924bb104e85f90a64569ec1725522b82c0660a6d496b6cf028016f9dcec", kill_on_drop: false }` [INFO] [stdout] e98d4924bb104e85f90a64569ec1725522b82c0660a6d496b6cf028016f9dcec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=forbid" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d14a171940d6a5e8f7ce8450ae68f6c7fcc5298bb433ee4b84bb42acf8c2217a [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" "d14a171940d6a5e8f7ce8450ae68f6c7fcc5298bb433ee4b84bb42acf8c2217a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling smallvec v1.0.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling mime v0.3.14 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling bindgen v0.48.1 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling lock_api v0.3.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand v0.6.5 [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 unicode-bidi v0.3.4 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling miniz_oxide v0.3.5 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling tokio-sync v0.1.7 [INFO] [stderr] Compiling actix-service v0.4.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling tokio-executor v0.1.9 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [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 parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling content_inspector v0.2.4 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling jobserver v0.1.17 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling directories v1.0.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling signal-hook v0.1.12 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling diesel-derive-enum v0.4.4 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling rand_chacha v0.2.1 [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 scheduled-thread-pool v0.2.3 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling r2d2 v0.8.8 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.11 [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 libloading v0.5.2 [INFO] [stderr] Compiling onig_sys v69.1.0 [INFO] [stderr] Compiling ansi_colours v1.0.1 [INFO] [stderr] Compiling actix-codec v0.1.2 [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 tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling bigdecimal v0.1.0 [INFO] [stderr] Compiling actix-utils v0.4.7 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling webpki v0.19.1 [INFO] [stderr] Compiling sct v0.5.0 [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 tokio-rustls v0.9.4 [INFO] [stderr] Compiling actix-server-config v0.1.2 [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 derive_builder v0.7.2 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling actix-threadpool v0.1.2 [INFO] [stderr] Compiling v_escape v0.7.4 [INFO] [stderr] Compiling const-random-macro v0.1.6 [INFO] [stderr] Compiling actix-rt v0.2.6 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling yarte_helpers v0.3.5 [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 actix-connect v0.2.5 [INFO] [stderr] Compiling diesel v1.4.3 [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 actix-router v0.1.5 [INFO] [stderr] Compiling plist v0.4.2 [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-identity v0.1.0 [INFO] [stderr] Compiling actix-files v0.1.7 [INFO] [stderr] Compiling yarte v0.3.5 [INFO] [stderr] Compiling railway-project-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::responders::Pool` [INFO] [stdout] --> src/controllers/account.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::responders::Pool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_identity::Identity` [INFO] [stdout] --> src/controllers/account.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_identity::Identity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web` [INFO] [stdout] --> src/controllers/account.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{web, Responder}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_identity::Identity` [INFO] [stdout] --> src/controllers/login.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_identity::Identity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> src/responders.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::{IdUser, User}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::prelude` [INFO] [stdout] --> src/controllers/register.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/controllers/board.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pool: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `station` [INFO] [stdout] --> src/controllers/board.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | station: Option<&str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_station` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/controllers/board.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pool: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/responders.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | (_, _, Some(username)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/responders.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | (_, _, Some(username)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `admin` [INFO] [stdout] --> src/controllers/admin.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn admin(identity: Identity) -> impl Responder { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_all_stations` [INFO] [stdout] --> src/controllers/board.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_all_stations(pool: web::Data) -> Result, diesel::result::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `carriages` [INFO] [stdout] --> src/controllers/buy.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn carriages(identity: Identity) -> impl Responder { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ticket` [INFO] [stdout] --> src/controllers/buy.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn ticket() -> impl Responder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6m 59s [INFO] running `Command { std: "docker" "inspect" "d14a171940d6a5e8f7ce8450ae68f6c7fcc5298bb433ee4b84bb42acf8c2217a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d14a171940d6a5e8f7ce8450ae68f6c7fcc5298bb433ee4b84bb42acf8c2217a", kill_on_drop: false }` [INFO] [stdout] d14a171940d6a5e8f7ce8450ae68f6c7fcc5298bb433ee4b84bb42acf8c2217a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=forbid" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e402bd45babb5cf3523888ca2ca9db08cf62332babde88248fafa0297c86318b [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" "e402bd45babb5cf3523888ca2ca9db08cf62332babde88248fafa0297c86318b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling railway-project-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::responders::Pool` [INFO] [stdout] --> src/controllers/account.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::responders::Pool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_identity::Identity` [INFO] [stdout] --> src/controllers/account.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_identity::Identity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web` [INFO] [stdout] --> src/controllers/account.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{web, Responder}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_identity::Identity` [INFO] [stdout] --> src/controllers/login.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_identity::Identity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> src/responders.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::{IdUser, User}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::prelude` [INFO] [stdout] --> src/controllers/register.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/controllers/board.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pool: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `station` [INFO] [stdout] --> src/controllers/board.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | station: Option<&str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_station` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/controllers/board.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pool: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/responders.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | (_, _, Some(username)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/responders.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | (_, _, Some(username)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `admin` [INFO] [stdout] --> src/controllers/admin.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn admin(identity: Identity) -> impl Responder { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_all_stations` [INFO] [stdout] --> src/controllers/board.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_all_stations(pool: web::Data) -> Result, diesel::result::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `carriages` [INFO] [stdout] --> src/controllers/buy.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn carriages(identity: Identity) -> impl Responder { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ticket` [INFO] [stdout] --> src/controllers/buy.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn ticket() -> impl Responder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.46s [INFO] running `Command { std: "docker" "inspect" "e402bd45babb5cf3523888ca2ca9db08cf62332babde88248fafa0297c86318b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e402bd45babb5cf3523888ca2ca9db08cf62332babde88248fafa0297c86318b", kill_on_drop: false }` [INFO] [stdout] e402bd45babb5cf3523888ca2ca9db08cf62332babde88248fafa0297c86318b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=forbid" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b48f58510ad04c98966e15d818e47d96687eb9ae27fc930ddc592808a092af71 [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" "b48f58510ad04c98966e15d818e47d96687eb9ae27fc930ddc592808a092af71", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.55s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/railway_project_rs-6b67f7463a2526ed) [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" "b48f58510ad04c98966e15d818e47d96687eb9ae27fc930ddc592808a092af71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b48f58510ad04c98966e15d818e47d96687eb9ae27fc930ddc592808a092af71", kill_on_drop: false }` [INFO] [stdout] b48f58510ad04c98966e15d818e47d96687eb9ae27fc930ddc592808a092af71