[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLorneBarnaby%2Fgame_api" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LorneBarnaby/game_api on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-7/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ec0d1c979569f64ea5f1d70814ea5c28a4f30e09c1c1d64e87d150abc36530d [INFO] running `Command { std: "docker" "start" "-a" "7ec0d1c979569f64ea5f1d70814ea5c28a4f30e09c1c1d64e87d150abc36530d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ec0d1c979569f64ea5f1d70814ea5c28a4f30e09c1c1d64e87d150abc36530d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ec0d1c979569f64ea5f1d70814ea5c28a4f30e09c1c1d64e87d150abc36530d", kill_on_drop: false }` [INFO] [stdout] 7ec0d1c979569f64ea5f1d70814ea5c28a4f30e09c1c1d64e87d150abc36530d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98573ab64004430d450a6bb46ba0ab3d63193b1d9112a14d39c3959ed86c363f [INFO] running `Command { std: "docker" "start" "-a" "98573ab64004430d450a6bb46ba0ab3d63193b1d9112a14d39c3959ed86c363f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] cookie v0.11.4 (as host dependency): aes-gcm, base64, hkdf, hmac, key-expansion, private, rand, secure, sha2, signed [INFO] [stderr] rocket_http v0.4.10 (as host dependency): private-cookies [INFO] [stderr] syn v1.0.74 (as host dependency): visit [INFO] [stderr] [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 proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling syntex_fmt_macros v0.5.0 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking humantime v1.3.0 [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 log v0.3.9 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking parking_lot v0.11.1 [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 unicode-normalization v0.1.19 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking rand v0.8.4 [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] Checking addr2line v0.15.2 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [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 aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Compiling cookie v0.11.4 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking hyper v0.10.16 [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 serde_derive v1.0.126 [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 serde v1.0.126 [INFO] [stderr] Checking serde_json v1.0.64 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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: 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: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "98573ab64004430d450a6bb46ba0ab3d63193b1d9112a14d39c3959ed86c363f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98573ab64004430d450a6bb46ba0ab3d63193b1d9112a14d39c3959ed86c363f", kill_on_drop: false }` [INFO] [stdout] 98573ab64004430d450a6bb46ba0ab3d63193b1d9112a14d39c3959ed86c363f