[INFO] fetching crate gitcube 0.1.0... [INFO] testing gitcube-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate gitcube 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate gitcube 0.1.0 [INFO] finished tweaking crates.io crate gitcube 0.1.0 [INFO] tweaked toml for crates.io crate gitcube 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gitcube 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 293 packages to latest compatible versions [INFO] [stderr] Adding actix-web v0.7.19 (available: v4.11.0) [INFO] [stderr] Adding bytes v0.4.12 (available: v1.10.1) [INFO] [stderr] Adding dotenv v0.9.0 (available: v0.15.0) [INFO] [stderr] Adding fern v0.5.9 (available: v0.7.1) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding mysql v14.2.0 (available: v26.0.1) [INFO] [stderr] Adding regex v1.0.6 (available: v1.11.2) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding tera v0.11.20 (available: v1.20.0) [INFO] [stderr] Adding uuid v0.7.4 (available: v1.18.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71e74f9103024879b4a3e590523e952c17b7972bad791bda2cab0794d48d2827 [INFO] running `Command { std: "docker" "start" "-a" "71e74f9103024879b4a3e590523e952c17b7972bad791bda2cab0794d48d2827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71e74f9103024879b4a3e590523e952c17b7972bad791bda2cab0794d48d2827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71e74f9103024879b4a3e590523e952c17b7972bad791bda2cab0794d48d2827", kill_on_drop: false }` [INFO] [stdout] 71e74f9103024879b4a3e590523e952c17b7972bad791bda2cab0794d48d2827 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54a70e99f4b76b8752aadff635108de9b1c327205aa3d2064957e3754076fdd5 [INFO] running `Command { std: "docker" "start" "-a" "54a70e99f4b76b8752aadff635108de9b1c327205aa3d2064957e3754076fdd5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling unic-char-range v0.7.0 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling unic-common v0.7.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling unic-ucd-version v0.7.0 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling unic-char-property v0.7.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-signal v0.2.9 [INFO] [stderr] Compiling v_escape_derive v0.5.6 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling v_escape v0.7.4 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling unic-ucd-segment v0.7.0 [INFO] [stderr] Compiling actix-web v0.7.19 [INFO] [stderr] Compiling checked v0.5.0 [INFO] [stderr] Compiling atoi v0.2.4 [INFO] [stderr] Compiling tower-service v0.1.0 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling cookie v0.11.5 [INFO] [stderr] Compiling unic-segment v0.7.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling fern v0.5.9 [INFO] [stderr] Compiling argparse v0.2.2 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling actix_derive v0.3.2 [INFO] [stderr] Compiling mysql_common v0.12.0 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling dotenv v0.9.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling trust-dns-proto v0.6.3 [INFO] [stderr] Compiling trust-dns-proto v0.5.0 [INFO] [stderr] Compiling mysql v14.2.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling trust-dns-resolver v0.10.3 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling actix v0.7.9 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling actix-net v0.2.6 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling tera v0.11.20 [INFO] [stderr] Compiling gitcube v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Store` [INFO] [stdout] --> src/main.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use argparse::{ArgumentParser, StoreTrue, Store}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `trace` and `warn` [INFO] [stdout] --> src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use log::{info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::middleware::csrf` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use actix_web::middleware::csrf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/controllers/git.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Binary` and `http::Method` [INFO] [stdout] --> src/controllers/git.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{http::Method, Path, Query, Binary, HttpRequest, HttpResponse, HttpMessage}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RequestSession` [INFO] [stdout] --> src/controllers/git.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::middleware::session::{RequestSession}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::git::repo::Repository` [INFO] [stdout] --> src/controllers/repo.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use ::git::repo::Repository; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/controllers/org.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{Form, Path, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/controllers/status.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/controllers/status.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Form`, `Path`, and `Query` [INFO] [stdout] --> src/controllers/status.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{Path, Query, Form, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Stdio` [INFO] [stdout] --> src/git/branch.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::Stdio; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Stdio` [INFO] [stdout] --> src/git/repo.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::Stdio; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/git/repo.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::ExitStatus` [INFO] [stdout] --> src/git/repo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::process::ExitStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Stdio` [INFO] [stdout] --> src/git/tree.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::Stdio; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpTryFrom` and `header` [INFO] [stdout] --> src/middleware/auth.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::http::{header, HttpTryFrom}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `App` [INFO] [stdout] --> src/middleware/auth.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{App, HttpRequest, HttpResponse, Result}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Response` [INFO] [stdout] --> src/middleware/auth.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::middleware::{Middleware, Started, Response}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::AppEnv` [INFO] [stdout] --> src/middleware/auth.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ::AppEnv; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/models/repo.rs:63:62 [INFO] [stdout] | [INFO] [stdout] 63 | create_time:NaiveDateTime::from(repo.get(4).unwrap()).format("%Y-%m-%d %H:%M:%S").to_string(), [INFO] [stdout] | ------------- ^^^ cannot infer type of the type parameter `T` declared on the method `get` [INFO] [stdout] | | [INFO] [stdout] | type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `NaiveDateTime: From<_>` found in the following crates: `chrono`, `core`: [INFO] [stdout] - impl From for NaiveDateTime; [INFO] [stdout] - impl From for T; [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 63 | create_time:NaiveDateTime::from(repo.get::(4).unwrap()).format("%Y-%m-%d %H:%M:%S").to_string(), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/models/repo.rs:93:62 [INFO] [stdout] | [INFO] [stdout] 93 | create_time:NaiveDateTime::from(repo.get(4).unwrap()).format("%Y-%m-%d %H:%M:%S").to_string(), [INFO] [stdout] | ------------- ^^^ cannot infer type of the type parameter `T` declared on the method `get` [INFO] [stdout] | | [INFO] [stdout] | type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `NaiveDateTime: From<_>` found in the following crates: `chrono`, `core`: [INFO] [stdout] - impl From for NaiveDateTime; [INFO] [stdout] - impl From for T; [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 93 | create_time:NaiveDateTime::from(repo.get::(4).unwrap()).format("%Y-%m-%d %H:%M:%S").to_string(), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpMessage` [INFO] [stdout] --> src/controllers/git.rs:5:79 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{http::Method, Path, Query, Binary, HttpRequest, HttpResponse, HttpMessage}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/controllers/user.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn profile_user((cur_user, req, path, query):(&User, &HttpRequest, &Path<(String,)>, &Query>)) -> Htt... [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/controllers/user.rs:144:36 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn profile_org((cur_user, req, path, query):(&User, &HttpRequest, &Path<(String,)>, &Query>)) -> Http... [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/controllers/repo.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn star_repo((req, path): (HttpRequest, Path<(String,String)>)) -> HttpResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/controllers/repo.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn watch_repo((req, path): (HttpRequest, Path<(String,String)>)) -> HttpResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uuid` [INFO] [stdout] --> src/controllers/org.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let uuid = user.uuid; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_fullname` [INFO] [stdout] --> src/controllers/org.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let user_fullname = user.fullname; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_fullname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tree_path` [INFO] [stdout] --> src/git/tree.rs:128:38 [INFO] [stdout] | [INFO] [stdout] 128 | fn get_tree(&self, commit: &str, tree_path:&str) -> Option{ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tree_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/error.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | _ => None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/error.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 60 | Error::IoError(ref err) => Some(err), [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 61 | Error::MySqlError(ref err) => Some(err), [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] 62 | _ => None, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gitcube` (bin "gitcube") due to 2 previous errors; 31 warnings emitted [INFO] running `Command { std: "docker" "inspect" "54a70e99f4b76b8752aadff635108de9b1c327205aa3d2064957e3754076fdd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54a70e99f4b76b8752aadff635108de9b1c327205aa3d2064957e3754076fdd5", kill_on_drop: false }` [INFO] [stdout] 54a70e99f4b76b8752aadff635108de9b1c327205aa3d2064957e3754076fdd5