[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] testing LorneBarnaby/game_api against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLorneBarnaby%2Fgame_api" "/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/LorneBarnaby/game_api on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-6/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2236773c383417641fa340a157d0bbc01ab6e422e5c0e0df170adf260ae3e18 [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" "a2236773c383417641fa340a157d0bbc01ab6e422e5c0e0df170adf260ae3e18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2236773c383417641fa340a157d0bbc01ab6e422e5c0e0df170adf260ae3e18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2236773c383417641fa340a157d0bbc01ab6e422e5c0e0df170adf260ae3e18", kill_on_drop: false }` [INFO] [stdout] a2236773c383417641fa340a157d0bbc01ab6e422e5c0e0df170adf260ae3e18 [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7be24ebda6c0889d96f051036fcc8d7e3ab9df6bd9e2a265d49410fe13073340 [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" "7be24ebda6c0889d96f051036fcc8d7e3ab9df6bd9e2a265d49410fe13073340", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling syntex_fmt_macros v0.5.0 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling base64 v0.9.3 [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] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [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] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling filetime v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling addr2line v0.15.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling cookie v0.11.4 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling derive-error-chain v0.11.2 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling dotenv v0.11.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] Compiling diesel v1.4.7 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling rocket_contrib v0.4.10 [INFO] [stderr] Compiling r2d2-diesel v1.0.0 [INFO] [stderr] Compiling 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: 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] running `Command { std: "docker" "inspect" "7be24ebda6c0889d96f051036fcc8d7e3ab9df6bd9e2a265d49410fe13073340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7be24ebda6c0889d96f051036fcc8d7e3ab9df6bd9e2a265d49410fe13073340", kill_on_drop: false }` [INFO] [stdout] 7be24ebda6c0889d96f051036fcc8d7e3ab9df6bd9e2a265d49410fe13073340