[INFO] cloning repository https://github.com/SEQUOIIA/url [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SEQUOIIA/url" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSEQUOIIA%2Furl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSEQUOIIA%2Furl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 49729aa487d09640e2b39ccd0c06ca6896f7317a [INFO] building SEQUOIIA/url against try#14accda7ba2c586835d15379a621955d9f047371 for pr-103610 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSEQUOIIA%2Furl" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SEQUOIIA/url on toolchain 14accda7ba2c586835d15379a621955d9f047371 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+14accda7ba2c586835d15379a621955d9f047371" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SEQUOIIA/url [INFO] finished tweaking git repo https://github.com/SEQUOIIA/url [INFO] tweaked toml for git repo https://github.com/SEQUOIIA/url written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/SEQUOIIA/url already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+14accda7ba2c586835d15379a621955d9f047371" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+14accda7ba2c586835d15379a621955d9f047371" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9fd2d1b7e5b784e77b2578bafa8ff6e4e175d589d48a2bcc8c267aa5ed1df36b [INFO] running `Command { std: "docker" "start" "-a" "9fd2d1b7e5b784e77b2578bafa8ff6e4e175d589d48a2bcc8c267aa5ed1df36b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9fd2d1b7e5b784e77b2578bafa8ff6e4e175d589d48a2bcc8c267aa5ed1df36b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fd2d1b7e5b784e77b2578bafa8ff6e4e175d589d48a2bcc8c267aa5ed1df36b", kill_on_drop: false }` [INFO] [stdout] 9fd2d1b7e5b784e77b2578bafa8ff6e4e175d589d48a2bcc8c267aa5ed1df36b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+14accda7ba2c586835d15379a621955d9f047371" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa10ccbbca140c991acfc6fe06cf61348bfb01d782c133acee5423de0adff916 [INFO] running `Command { std: "docker" "start" "-a" "fa10ccbbca140c991acfc6fe06cf61348bfb01d782c133acee5423de0adff916", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling local-waker v0.1.2 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling zstd-safe v4.1.4+zstd.1.5.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling clap_lex v0.1.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling nano-id v0.2.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling clap v3.1.12 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_yaml v0.8.23 [INFO] [stderr] Compiling actix-web-codegen v4.0.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling config v0.13.1 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling zstd v0.10.0+zstd.1.5.2 [INFO] [stderr] Compiling actix-http v3.0.4 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Compiling actix-web v4.0.1 [INFO] [stderr] Compiling diesel_migrations v1.4.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling seqtf_url v0.1.0 (/opt/rustwide/workdir/app) [INFO] [stdout] warning: unused import: `DATABASE_URL` [INFO] [stdout] --> app/src/config.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::model::db::{DATABASE_URL, get_db_path}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter` [INFO] [stdout] --> app/src/model/error.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::private::DisplayAsDisplay` [INFO] [stdout] --> app/src/model/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use thiserror::private::DisplayAsDisplay; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> app/src/web.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::private::DisplayAsDisplay` [INFO] [stdout] --> app/src/web.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use thiserror::private::DisplayAsDisplay; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::error::Error::RequestError` [INFO] [stdout] --> app/src/web.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::model::error::Error::RequestError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> app/src/web.rs:238:80 [INFO] [stdout] | [INFO] [stdout] 238 | }).await?.map_err(actix_web::error::ErrorInternalServerError)?;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> app/src/web.rs:142:64 [INFO] [stdout] | [INFO] [stdout] 142 | return if let diesel::result::Error::DatabaseError(kind, _) = db_err { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_trace_level` is never used [INFO] [stdout] --> app/src/main.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn get_trace_level(input : &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> app/src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | embedded_migrations::run_with_output(&conn, &mut std::io::stdout()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling seqtf_url_cli v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stdout] warning: unused import: `std::env::VarError` [INFO] [stdout] --> cli/src/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env::VarError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> cli/src/commands/new.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Response` [INFO] [stdout] --> cli/src/commands/new.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use reqwest::{Error, Response}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> cli/src/commands/delete.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Response` [INFO] [stdout] --> cli/src/commands/delete.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use reqwest::{Error, Response}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> cli/src/commands/key.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Response` [INFO] [stdout] --> cli/src/commands/key.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use reqwest::{Error, Response}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_matches` [INFO] [stdout] --> cli/src/commands/key.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | Some(("list", sub_matches)) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unknown`, `CustomError`, `Message`, `IoError` and `YamlError` are never constructed [INFO] [stdout] --> cli/src/config.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub enum ConfigError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 99 | #[error("unknown config error")] [INFO] [stdout] 100 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 101 | #[error("config error: {0:?}")] [INFO] [stdout] 102 | CustomError(Box), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 103 | #[error("config error: {0}")] [INFO] [stdout] 104 | Message(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 105 | #[error("io error: {0:?}")] [INFO] [stdout] 106 | IoError(std::io::Error), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 107 | #[error("yaml error: {0:?}")] [INFO] [stdout] 108 | YamlError(serde_yaml::Error) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> cli/src/model/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Result = core::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CustomError`, `Message` and `ConfigErr` are never constructed [INFO] [stdout] --> cli/src/model/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | CustomError(Box), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | #[error("error: {0}")] [INFO] [stdout] 13 | Message(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | #[error("config error: {0:?}")] [INFO] [stdout] 15 | ConfigErr(ConfigError), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `app` is never read [INFO] [stdout] --> cli/src/commands/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CommandData<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | app: Command<'a>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> cli/src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | app.print_help(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 21s [INFO] running `Command { std: "docker" "inspect" "fa10ccbbca140c991acfc6fe06cf61348bfb01d782c133acee5423de0adff916", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa10ccbbca140c991acfc6fe06cf61348bfb01d782c133acee5423de0adff916", kill_on_drop: false }` [INFO] [stdout] fa10ccbbca140c991acfc6fe06cf61348bfb01d782c133acee5423de0adff916 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+14accda7ba2c586835d15379a621955d9f047371" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40e12d7380690e1fca30621665c78c77e971396fd7456435e4a1ac95aad9790d [INFO] running `Command { std: "docker" "start" "-a" "40e12d7380690e1fca30621665c78c77e971396fd7456435e4a1ac95aad9790d", kill_on_drop: false }` [INFO] [stderr] Compiling seqtf_url v0.1.0 (/opt/rustwide/workdir/app) [INFO] [stderr] Compiling seqtf_url_cli v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stdout] warning: unused import: `std::env::VarError` [INFO] [stdout] --> cli/src/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env::VarError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> cli/src/commands/new.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Response` [INFO] [stdout] --> cli/src/commands/new.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use reqwest::{Error, Response}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> cli/src/commands/delete.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Response` [INFO] [stdout] --> cli/src/commands/delete.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use reqwest::{Error, Response}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> cli/src/commands/key.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Response` [INFO] [stdout] --> cli/src/commands/key.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use reqwest::{Error, Response}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DATABASE_URL` [INFO] [stdout] --> app/src/config.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::model::db::{DATABASE_URL, get_db_path}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter` [INFO] [stdout] --> app/src/model/error.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::private::DisplayAsDisplay` [INFO] [stdout] --> app/src/model/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use thiserror::private::DisplayAsDisplay; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> app/src/web.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::private::DisplayAsDisplay` [INFO] [stdout] --> app/src/web.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use thiserror::private::DisplayAsDisplay; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::error::Error::RequestError` [INFO] [stdout] --> app/src/web.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::model::error::Error::RequestError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> app/src/web.rs:238:80 [INFO] [stdout] | [INFO] [stdout] 238 | }).await?.map_err(actix_web::error::ErrorInternalServerError)?;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_matches` [INFO] [stdout] --> cli/src/commands/key.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | Some(("list", sub_matches)) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> app/src/web.rs:142:64 [INFO] [stdout] | [INFO] [stdout] 142 | return if let diesel::result::Error::DatabaseError(kind, _) = db_err { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unknown`, `CustomError`, `Message`, `IoError` and `YamlError` are never constructed [INFO] [stdout] --> cli/src/config.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub enum ConfigError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 99 | #[error("unknown config error")] [INFO] [stdout] 100 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 101 | #[error("config error: {0:?}")] [INFO] [stdout] 102 | CustomError(Box), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 103 | #[error("config error: {0}")] [INFO] [stdout] 104 | Message(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 105 | #[error("io error: {0:?}")] [INFO] [stdout] 106 | IoError(std::io::Error), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 107 | #[error("yaml error: {0:?}")] [INFO] [stdout] 108 | YamlError(serde_yaml::Error) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> cli/src/model/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Result = core::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CustomError`, `Message` and `ConfigErr` are never constructed [INFO] [stdout] --> cli/src/model/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | CustomError(Box), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | #[error("error: {0}")] [INFO] [stdout] 13 | Message(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | #[error("config error: {0:?}")] [INFO] [stdout] 15 | ConfigErr(ConfigError), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `app` is never read [INFO] [stdout] --> cli/src/commands/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CommandData<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | app: Command<'a>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_trace_level` is never used [INFO] [stdout] --> app/src/main.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn get_trace_level(input : &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> cli/src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | app.print_help(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> app/src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | embedded_migrations::run_with_output(&conn, &mut std::io::stdout()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.40s [INFO] running `Command { std: "docker" "inspect" "40e12d7380690e1fca30621665c78c77e971396fd7456435e4a1ac95aad9790d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40e12d7380690e1fca30621665c78c77e971396fd7456435e4a1ac95aad9790d", kill_on_drop: false }` [INFO] [stdout] 40e12d7380690e1fca30621665c78c77e971396fd7456435e4a1ac95aad9790d