[INFO] cloning repository https://github.com/VentGrey/rest-rust-api-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VentGrey/rest-rust-api-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVentGrey%2Frest-rust-api-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVentGrey%2Frest-rust-api-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72dc741ea5ce3036578cf66a4c3d153f9fc13e07 [INFO] checking VentGrey/rest-rust-api-template against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVentGrey%2Frest-rust-api-template" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/VentGrey/rest-rust-api-template on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/VentGrey/rest-rust-api-template [INFO] finished tweaking git repo https://github.com/VentGrey/rest-rust-api-template [INFO] tweaked toml for git repo https://github.com/VentGrey/rest-rust-api-template written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/VentGrey/rest-rust-api-template 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pear_codegen v0.2.3 [INFO] [stderr] Downloaded ubyte v0.10.2 [INFO] [stderr] Downloaded ref-cast-impl v1.0.7 [INFO] [stderr] Downloaded ref-cast v1.0.7 [INFO] [stderr] Downloaded devise v0.3.1 [INFO] [stderr] Downloaded pear v0.2.3 [INFO] [stderr] Downloaded multer v2.0.2 [INFO] [stderr] Downloaded devise_codegen v0.3.1 [INFO] [stderr] Downloaded devise_core v0.3.1 [INFO] [stderr] Downloaded rocket_http v0.5.0-rc.2 [INFO] [stderr] Downloaded generator v0.7.0 [INFO] [stderr] Downloaded figment v0.10.6 [INFO] [stderr] Downloaded rocket_codegen v0.5.0-rc.2 [INFO] [stderr] Downloaded rocket v0.5.0-rc.2 [INFO] [stderr] Downloaded libsqlite3-sys v0.22.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d176e0cc4f33027366f7f42bd725a4c5feb02d72f44718dae6b03674c041f019 [INFO] running `Command { std: "docker" "start" "-a" "d176e0cc4f33027366f7f42bd725a4c5feb02d72f44718dae6b03674c041f019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d176e0cc4f33027366f7f42bd725a4c5feb02d72f44718dae6b03674c041f019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d176e0cc4f33027366f7f42bd725a4c5feb02d72f44718dae6b03674c041f019", kill_on_drop: false }` [INFO] [stdout] d176e0cc4f33027366f7f42bd725a4c5feb02d72f44718dae6b03674c041f019 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0854f3d4bc2fe57fb74e84ff76be06ad6d9e7aea7c7e8740d99c00267fe6459a [INFO] running `Command { std: "docker" "start" "-a" "0854f3d4bc2fe57fb74e84ff76be06ad6d9e7aea7c7e8740d99c00267fe6459a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling ref-cast v1.0.7 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking http v0.2.7 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking polyval v0.5.3 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Checking ghash v0.4.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio v1.18.2 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Compiling rocket v0.5.0-rc.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.7 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.2 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.2 [INFO] [stderr] Checking tokio-util v0.7.2 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking ubyte v0.10.2 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking rest-rust-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/models.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use diesel; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate diesel; [INFO] [stdout] | -------------------- the item `diesel` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> src/models.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] 3 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/routes.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn index(conn: DbConn) -> Json { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new` [INFO] [stdout] --> src/routes.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(conn: DbConn, new_cat: Json) -> Json { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `show` [INFO] [stdout] --> src/routes.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn show(conn: DbConn, id: i32) -> Json { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update` [INFO] [stdout] --> src/routes.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn update(conn: DbConn, id: i32, cat: Json) -> Json { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/models.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use diesel; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate diesel; [INFO] [stdout] | -------------------- the item `diesel` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/routes.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn delete(id: i32, conn: DbConn) -> Json { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> src/models.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] 3 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `name` [INFO] [stdout] --> src/routes.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn name(name: String, conn: DbConn) -> Json { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/static_files.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn index() -> io::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `all` [INFO] [stdout] --> src/static_files.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn all(file: PathBuf) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/routes.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn index(conn: DbConn) -> Json { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new` [INFO] [stdout] --> src/routes.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(conn: DbConn, new_cat: Json) -> Json { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `show` [INFO] [stdout] --> src/routes.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn show(conn: DbConn, id: i32) -> Json { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update` [INFO] [stdout] --> src/routes.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn update(conn: DbConn, id: i32, cat: Json) -> Json { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/routes.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn delete(id: i32, conn: DbConn) -> Json { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `name` [INFO] [stdout] --> src/routes.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn name(name: String, conn: DbConn) -> Json { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/static_files.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn index() -> io::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `all` [INFO] [stdout] --> src/static_files.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn all(file: PathBuf) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.91s [INFO] running `Command { std: "docker" "inspect" "0854f3d4bc2fe57fb74e84ff76be06ad6d9e7aea7c7e8740d99c00267fe6459a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0854f3d4bc2fe57fb74e84ff76be06ad6d9e7aea7c7e8740d99c00267fe6459a", kill_on_drop: false }` [INFO] [stdout] 0854f3d4bc2fe57fb74e84ff76be06ad6d9e7aea7c7e8740d99c00267fe6459a