[INFO] cloning repository https://github.com/LorneBarnaby/game_api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LorneBarnaby/game_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLorneBarnaby%2Fgame_api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLorneBarnaby%2Fgame_api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df2fab3217c0a426d6e0cc12a2fc8704d4491c81 [INFO] checking LorneBarnaby/game_api against master#8007b506ac5da629f223b755f5a5391edd5f6d01 for pr-88041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLorneBarnaby%2Fgame_api" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LorneBarnaby/game_api on toolchain 8007b506ac5da629f223b755f5a5391edd5f6d01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LorneBarnaby/game_api [INFO] finished tweaking git repo https://github.com/LorneBarnaby/game_api [INFO] tweaked toml for git repo https://github.com/LorneBarnaby/game_api written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/LorneBarnaby/game_api already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 420d19b6f4c7d0b3f111c9fc3134fd3fc918579ed1f5eef5278c2ead74f3480a [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" "420d19b6f4c7d0b3f111c9fc3134fd3fc918579ed1f5eef5278c2ead74f3480a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "420d19b6f4c7d0b3f111c9fc3134fd3fc918579ed1f5eef5278c2ead74f3480a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "420d19b6f4c7d0b3f111c9fc3134fd3fc918579ed1f5eef5278c2ead74f3480a", kill_on_drop: false }` [INFO] [stdout] 420d19b6f4c7d0b3f111c9fc3134fd3fc918579ed1f5eef5278c2ead74f3480a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "check" "--frozen" "--all" "--all-targets" "--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] 766d425ae9b7c50ef587ef1952843fc790f0d35406ddd743b07116f78e7a63a1 [INFO] running `Command { std: "docker" "start" "-a" "766d425ae9b7c50ef587ef1952843fc790f0d35406ddd743b07116f78e7a63a1", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Checking yansi v0.5.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling syntex_fmt_macros v0.5.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.10 [INFO] [stderr] Compiling rocket v0.4.10 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking filetime v0.2.14 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking object v0.25.3 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Compiling cookie v0.11.4 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Compiling derive-error-chain v0.11.2 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking dotenv v0.11.0 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Compiling rocket_http v0.4.10 [INFO] [stderr] Checking diesel v1.4.7 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Checking rocket_contrib v0.4.10 [INFO] [stderr] Checking r2d2-diesel v1.0.0 [INFO] [stderr] Checking game_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read src/../jwtRS256.key: No such file or directory (os error 2) [INFO] [stdout] --> src/models.rs:98:100 [INFO] [stdout] | [INFO] [stdout] 98 | ... match encode(&Header::new(Algorithm::RS256), &user_details, &EncodingKey::from_rsa_pem(include_bytes!("../jwtRS256.key")).unwrap()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::prelude::*` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::pg::PgConnection` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use diesel::pg::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DecodingKey`, `Validation`, `decode` [INFO] [stdout] --> src/models.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | use jsonwebtoken::{encode, decode, Header, Algorithm, Validation, EncodingKey, DecodingKey}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../jwtRS256.key: No such file or directory (os error 2) [INFO] [stdout] --> src/models.rs:98:100 [INFO] [stdout] | [INFO] [stdout] 98 | ... match encode(&Header::new(Algorithm::RS256), &user_details, &EncodingKey::from_rsa_pem(include_bytes!("../jwtRS256.key")).unwrap()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::prelude::*` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::pg::PgConnection` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use diesel::pg::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DecodingKey`, `Validation`, `decode` [INFO] [stdout] --> src/models.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | use jsonwebtoken::{encode, decode, Header, Algorithm, Validation, EncodingKey, DecodingKey}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `game_api` due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "766d425ae9b7c50ef587ef1952843fc790f0d35406ddd743b07116f78e7a63a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "766d425ae9b7c50ef587ef1952843fc790f0d35406ddd743b07116f78e7a63a1", kill_on_drop: false }` [INFO] [stdout] 766d425ae9b7c50ef587ef1952843fc790f0d35406ddd743b07116f78e7a63a1