[INFO] updating cached repository https://github.com/andrewburch/RustyLocker [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11778ed9756770b10cad8246dfc8e30d7e4f0868 [INFO] testing andrewburch/RustyLocker 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%2Fandrewburch%2FRustyLocker" "/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/andrewburch/RustyLocker 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/andrewburch/RustyLocker [INFO] finished tweaking git repo https://github.com/andrewburch/RustyLocker [INFO] tweaked toml for git repo https://github.com/andrewburch/RustyLocker written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/andrewburch/RustyLocker 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] 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] b689e6f13daf52f8b0d826031b5566a977c1fb86e113cd9c96c12095157d0dd4 [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" "b689e6f13daf52f8b0d826031b5566a977c1fb86e113cd9c96c12095157d0dd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b689e6f13daf52f8b0d826031b5566a977c1fb86e113cd9c96c12095157d0dd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b689e6f13daf52f8b0d826031b5566a977c1fb86e113cd9c96c12095157d0dd4", kill_on_drop: false }` [INFO] [stdout] b689e6f13daf52f8b0d826031b5566a977c1fb86e113cd9c96c12095157d0dd4 [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] [stdout] a23257afca6d524b0c28b306f194dede3514c3733c616dd26d92ca69004da8db [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" "a23257afca6d524b0c28b306f194dede3514c3733c616dd26d92ca69004da8db", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling serde v1.0.100 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling arrayref v0.3.5 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling constant_time_eq v0.1.3 [INFO] [stderr] Compiling arc-swap v0.4.2 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling fallible-iterator v0.1.6 [INFO] [stderr] Compiling md5 v0.3.8 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling spin v0.5.1 [INFO] [stderr] Compiling actix-service v0.4.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling getrandom v0.1.8 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.1.1 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.0 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling signal-hook v0.1.10 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling crypto-mac v0.5.2 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling hmac v0.5.0 [INFO] [stderr] Compiling blowfish v0.4.0 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling postgres-protocol v0.3.2 [INFO] [stderr] Compiling flate2 v1.0.9 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling bcrypt v0.5.0 [INFO] [stderr] Compiling actix-utils v0.4.5 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling postgres-shared v0.4.2 [INFO] [stderr] Compiling backtrace v0.3.34 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling actix-server-config v0.1.2 [INFO] [stderr] Compiling postgres v0.15.2 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling actix-web-codegen v0.1.2 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling actix-threadpool v0.1.2 [INFO] [stderr] Compiling actix-rt v0.2.5 [INFO] [stderr] Compiling actix-server v0.6.0 [INFO] [stderr] Compiling actix-connect v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.1.5 [INFO] [stderr] Compiling rust_decimal v1.0.2 [INFO] [stderr] Compiling actix-http v0.2.10 [INFO] [stderr] Compiling jsonwebtoken v6.0.1 [INFO] [stderr] Compiling awc v0.2.5 [INFO] [stderr] Compiling actix-web v1.0.7 [INFO] [stderr] Compiling rusty_locker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bcrypt::verify` [INFO] [stdout] --> src/security/authentication.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bcrypt::verify; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decode` [INFO] [stdout] --> src/security/authentication.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use jsonwebtoken::{decode, encode, Header}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/security/authentication.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Local` [INFO] [stdout] --> src/security/models.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Duration, Local}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/security/models.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(obj: T) -> AuthenticatedRequest { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/security/models.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn value(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/security/models.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(username: String, password: String) -> User { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/security/models.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get(self, key: String) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 34s [INFO] running `Command { std: "docker" "inspect" "a23257afca6d524b0c28b306f194dede3514c3733c616dd26d92ca69004da8db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a23257afca6d524b0c28b306f194dede3514c3733c616dd26d92ca69004da8db", kill_on_drop: false }` [INFO] [stdout] a23257afca6d524b0c28b306f194dede3514c3733c616dd26d92ca69004da8db [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] a562b75df289b6249904d964e7a97a84397e1a42d125f47f8af7deacf65aad7b [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" "a562b75df289b6249904d964e7a97a84397e1a42d125f47f8af7deacf65aad7b", kill_on_drop: false }` [INFO] [stderr] Compiling rusty_locker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `decode` [INFO] [stdout] --> src/security/authentication.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use jsonwebtoken::{decode, encode, Header}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/security/authentication.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Local` [INFO] [stdout] --> src/security/models.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Duration, Local}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&str` with `std::vec::Vec` [INFO] [stdout] --> src/security/authentication.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | / assert_eq!( [INFO] [stdout] 124 | | "$2y$12$lGSatx1dooJ/4fSy/cGebeLxqDy/wki/9LbhsOTDTnr/EpIQxfOF2", [INFO] [stdout] 125 | | password_hash [INFO] [stdout] 126 | | ); [INFO] [stdout] | |__________^ no implementation for `&str == std::vec::Vec` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::cmp::PartialEq>` is not implemented for `&str` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_locker`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a562b75df289b6249904d964e7a97a84397e1a42d125f47f8af7deacf65aad7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a562b75df289b6249904d964e7a97a84397e1a42d125f47f8af7deacf65aad7b", kill_on_drop: false }` [INFO] [stdout] a562b75df289b6249904d964e7a97a84397e1a42d125f47f8af7deacf65aad7b