[INFO] cloning repository https://github.com/BeckaL/rust-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BeckaL/rust-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBeckaL%2Frust-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBeckaL%2Frust-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b3c5c3e91791f1edae0d8296bfce276e5029dea [INFO] checking BeckaL/rust-api against master#18a6d911caba59605eb03db1452848a85d2e5879 for pr-112743 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBeckaL%2Frust-api" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BeckaL/rust-api on toolchain 18a6d911caba59605eb03db1452848a85d2e5879 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BeckaL/rust-api [INFO] finished tweaking git repo https://github.com/BeckaL/rust-api [INFO] tweaked toml for git repo https://github.com/BeckaL/rust-api written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/BeckaL/rust-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rocket_http v0.5.0-rc.2 [INFO] [stderr] Downloaded rustversion v1.0.8 [INFO] [stderr] Downloaded ref-cast v1.0.8 [INFO] [stderr] Downloaded multer v2.0.3 [INFO] [stderr] Downloaded ref-cast-impl v1.0.8 [INFO] [stderr] Downloaded ubyte v0.10.2 [INFO] [stderr] Downloaded rocket_codegen v0.5.0-rc.2 [INFO] [stderr] Downloaded rocket v0.5.0-rc.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0902e674aeb42e1be79cb99f81715e63777190112274652cf931cd6fc5f2df16 [INFO] running `Command { std: "docker" "start" "-a" "0902e674aeb42e1be79cb99f81715e63777190112274652cf931cd6fc5f2df16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0902e674aeb42e1be79cb99f81715e63777190112274652cf931cd6fc5f2df16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0902e674aeb42e1be79cb99f81715e63777190112274652cf931cd6fc5f2df16", kill_on_drop: false }` [INFO] [stdout] 0902e674aeb42e1be79cb99f81715e63777190112274652cf931cd6fc5f2df16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09e648af69257ddc4f8cb34aa09e296e6d556002e72ee3b495164392a6e91885 [INFO] running `Command { std: "docker" "start" "-a" "09e648af69257ddc4f8cb34aa09e296e6d556002e72ee3b495164392a6e91885", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Checking bytes v1.2.0 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling ref-cast v1.0.8 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling tracing-core v0.1.28 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling time v0.3.11 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling multer v2.0.3 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling rocket v0.5.0-rc.2 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Checking spin v0.9.4 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.8 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Checking openssl v0.10.41 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Checking pear v0.2.3 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.2 [INFO] [stderr] Checking native-tls v0.2.10 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.2 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.9 [INFO] [stderr] Checking serde_json v1.0.82 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking ubyte v0.10.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking rust-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate reqwest; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Date`, `Utc` [INFO] [stdout] --> src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{Date, Utc, DateTime, NaiveDate}; [INFO] [stdout] | ^^^^ ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::serde::json::Json` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rocket::serde::json::Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Result` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::response::content` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rocket::response::content; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate reqwest; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Date`, `Utc` [INFO] [stdout] --> src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{Date, Utc, DateTime, NaiveDate}; [INFO] [stdout] | ^^^^ ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::serde::json::Json` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rocket::serde::json::Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Result` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::response::content` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rocket::response::content; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.90s [INFO] running `Command { std: "docker" "inspect" "09e648af69257ddc4f8cb34aa09e296e6d556002e72ee3b495164392a6e91885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09e648af69257ddc4f8cb34aa09e296e6d556002e72ee3b495164392a6e91885", kill_on_drop: false }` [INFO] [stdout] 09e648af69257ddc4f8cb34aa09e296e6d556002e72ee3b495164392a6e91885