[INFO] cloning repository https://github.com/andrewburch/RustyLocker [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andrewburch/RustyLocker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewburch%2FRustyLocker"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewburch%2FRustyLocker'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 11778ed9756770b10cad8246dfc8e30d7e4f0868 [INFO] testing andrewburch/RustyLocker against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewburch%2FRustyLocker" "/workspace/builds/worker-9/source"` [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-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/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 `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust_decimal v1.0.2 [INFO] running `"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" "/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] 555c9559061118026296ed2acf0724f3b51bcd82f75d6394ae3df94b13d55a2d [INFO] running `"docker" "start" "-a" "555c9559061118026296ed2acf0724f3b51bcd82f75d6394ae3df94b13d55a2d"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling futures v0.1.28 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling serde v1.0.100 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling rustc-demangle v0.1.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling arrayref v0.3.5 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling constant_time_eq v0.1.3 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling arc-swap v0.4.2 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling fallible-iterator v0.1.6 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling md5 v0.3.8 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling spin v0.5.1 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [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-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling actix-service v0.4.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling stringprep v0.1.2 [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 socket2 v0.3.11 [INFO] [stderr] Compiling getrandom v0.1.8 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling signal-hook-registry v1.1.1 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling threadpool v1.7.1 [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 url v1.7.2 [INFO] [stderr] Compiling signal-hook v0.1.10 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling crypto-mac v0.5.2 [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_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 flate2 v1.0.9 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling hmac v0.5.0 [INFO] [stderr] Compiling backtrace v0.3.34 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling blowfish v0.4.0 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling postgres-protocol v0.3.2 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling actix-codec v0.1.2 [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 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 bcrypt v0.5.0 [INFO] [stderr] Compiling postgres v0.15.2 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling actix-web-codegen v0.1.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] [stderr] warning: unused import: `bcrypt::verify` [INFO] [stderr] --> src/security/authentication.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use bcrypt::verify; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `decode` [INFO] [stderr] --> src/security/authentication.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonwebtoken::{decode, encode, Header}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/security/authentication.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Duration`, `Local` [INFO] [stderr] --> src/security/models.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use chrono::{Duration, Local}; [INFO] [stderr] | ^^^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/security/models.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn new(obj: T) -> AuthenticatedRequest { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `value` [INFO] [stderr] --> src/security/models.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn value(&self) -> &T { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/security/models.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn new(username: String, password: String) -> User { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get` [INFO] [stderr] --> src/security/models.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn get(self, key: String) -> Option { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 30s [INFO] running `"docker" "inspect" "555c9559061118026296ed2acf0724f3b51bcd82f75d6394ae3df94b13d55a2d"` [INFO] running `"docker" "rm" "-f" "555c9559061118026296ed2acf0724f3b51bcd82f75d6394ae3df94b13d55a2d"` [INFO] [stdout] 555c9559061118026296ed2acf0724f3b51bcd82f75d6394ae3df94b13d55a2d [INFO] running `"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" "/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] b8abc50df5e64baa5854131839d598263ef9fdcb290cf96e6832258aba80499e [INFO] running `"docker" "start" "-a" "b8abc50df5e64baa5854131839d598263ef9fdcb290cf96e6832258aba80499e"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling rusty_locker v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `decode` [INFO] [stderr] --> src/security/authentication.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonwebtoken::{decode, encode, Header}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/security/authentication.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Duration`, `Local` [INFO] [stderr] --> src/security/models.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use chrono::{Duration, Local}; [INFO] [stderr] | ^^^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `&str` with `std::vec::Vec` [INFO] [stderr] --> src/security/authentication.rs:123:9 [INFO] [stderr] | [INFO] [stderr] 123 | / assert_eq!( [INFO] [stderr] 124 | | "$2y$12$lGSatx1dooJ/4fSy/cGebeLxqDy/wki/9LbhsOTDTnr/EpIQxfOF2", [INFO] [stderr] 125 | | password_hash [INFO] [stderr] 126 | | ); [INFO] [stderr] | |__________^ no implementation for `&str == std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq>` is not implemented for `&str` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `rusty_locker`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "b8abc50df5e64baa5854131839d598263ef9fdcb290cf96e6832258aba80499e"` [INFO] running `"docker" "rm" "-f" "b8abc50df5e64baa5854131839d598263ef9fdcb290cf96e6832258aba80499e"` [INFO] [stdout] b8abc50df5e64baa5854131839d598263ef9fdcb290cf96e6832258aba80499e