[INFO] cloning repository https://github.com/EdgeKing810/ixode-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EdgeKing810/ixode-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdgeKing810%2Fixode-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdgeKing810%2Fixode-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b9652b0cc6e30b6338d9c99cf91793a8cc51ffa [INFO] checking EdgeKing810/ixode-api against master#31be8cc41148983e742fea8f559aacca0f6647db for pr-116494 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdgeKing810%2Fixode-api" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EdgeKing810/ixode-api on toolchain 31be8cc41148983e742fea8f559aacca0f6647db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31be8cc41148983e742fea8f559aacca0f6647db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EdgeKing810/ixode-api [INFO] finished tweaking git repo https://github.com/EdgeKing810/ixode-api [INFO] tweaked toml for git repo https://github.com/EdgeKing810/ixode-api written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/EdgeKing810/ixode-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" "+31be8cc41148983e742fea8f559aacca0f6647db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/lawliet89/rocket_cors` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded magic-crypt v3.1.9 [INFO] [stderr] Downloaded des v0.7.0 [INFO] [stderr] Downloaded debug-helper v0.3.12 [INFO] [stderr] Downloaded block-modes v0.8.1 [INFO] [stderr] Downloaded quoted_printable v0.4.5 [INFO] [stderr] Downloaded rocket_dyn_templates v0.1.0-rc.1 [INFO] [stderr] Downloaded ubyte v0.10.1 [INFO] [stderr] Downloaded normpath v0.3.2 [INFO] [stderr] Downloaded state v0.5.2 [INFO] [stderr] Downloaded rocket-multipart-form-data v0.10.0 [INFO] [stderr] Downloaded rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Downloaded serde_json v1.0.74 [INFO] [stderr] Downloaded rocket v0.5.0-rc.1 [INFO] [stderr] Downloaded lettre v0.10.0-rc.4 [INFO] [stderr] Downloaded rocket_http v0.5.0-rc.1 [INFO] [stderr] Downloaded loom v0.5.4 [INFO] [stderr] Downloaded redis v0.21.5 [INFO] [stderr] Downloaded crc-any v2.4.1 [INFO] [stderr] Downloaded multer v2.0.2 [INFO] [stderr] Downloaded unicase_serde v0.1.0 [INFO] [stderr] Downloaded tiger v0.1.0 [INFO] [stderr] Downloaded generator v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+31be8cc41148983e742fea8f559aacca0f6647db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] caa76ed9e5a3845ef980e07651df16ec5183c98e5d8bacd6828806837f9572a7 [INFO] running `Command { std: "docker" "start" "-a" "caa76ed9e5a3845ef980e07651df16ec5183c98e5d8bacd6828806837f9572a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "caa76ed9e5a3845ef980e07651df16ec5183c98e5d8bacd6828806837f9572a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caa76ed9e5a3845ef980e07651df16ec5183c98e5d8bacd6828806837f9572a7", kill_on_drop: false }` [INFO] [stdout] caa76ed9e5a3845ef980e07651df16ec5183c98e5d8bacd6828806837f9572a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+31be8cc41148983e742fea8f559aacca0f6647db" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a4bc450158f34914602a3f8ae35b9af75f8a36e09c45e3d8c3d361d61725f8b [INFO] running `Command { std: "docker" "start" "-a" "9a4bc450158f34914602a3f8ae35b9af75f8a36e09c45e3d8c3d361d61725f8b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling siphasher v0.3.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking yansi v0.5.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking fastrand v1.6.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Checking pear v0.2.3 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking futures-executor v0.3.19 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking debug-helper v0.3.12 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking humansize v1.1.1 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking crc-any v2.4.1 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Checking tiger v0.1.0 [INFO] [stderr] Checking des v0.7.0 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking combine v4.6.3 [INFO] [stderr] Checking normpath v0.3.2 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking quoted_printable v0.4.5 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking magic-crypt v3.1.9 [INFO] [stderr] Checking rust-argon2 v0.8.3 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Checking ubyte v0.10.1 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking unicase_serde v0.1.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking h2 v0.3.10 [INFO] [stderr] Checking lettre v0.10.0-rc.4 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Compiling chrono-tz-build v0.0.2 [INFO] [stderr] Compiling chrono-tz v0.6.1 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking rocket_http v0.5.0-rc.1 [INFO] [stderr] Checking redis v0.21.5 [INFO] [stderr] Checking tera v1.15.0 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Checking rocket_cors v0.6.0-alpha1 (https://github.com/lawliet89/rocket_cors?branch=master#d98bb2ba) [INFO] [stderr] Checking rocket-multipart-form-data v0.10.0 [INFO] [stderr] Checking rocket_dyn_templates v0.1.0-rc.1 [INFO] [stderr] Checking kinesis-db v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/components/structure.rs:745:31 [INFO] [stdout] | [INFO] [stdout] 745 | return match stype_txt.clone() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/routes/route_project/project_update.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | match match change.clone() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `routes::project::update::UpdateType` does not implement `Clone`, so calling `clone` on `&routes::project::update::UpdateType` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&&routes::project::update::UpdateType` instead of cloning the inner type [INFO] [stdout] --> src/routes/route_project/project_update.rs:133:14 [INFO] [stdout] | [INFO] [stdout] 133 | if change.clone() == &UpdateType::ID { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&&routes::project::update::UpdateType` instead of cloning the inner type [INFO] [stdout] --> src/routes/route_project/project_update.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | } else if change.clone() == &UpdateType::NAME { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&&routes::project::update::UpdateType` instead of cloning the inner type [INFO] [stdout] --> src/routes/route_project/project_update.rs:202:21 [INFO] [stdout] | [INFO] [stdout] 202 | } else if change.clone() == &UpdateType::DESCRIPTION { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&&routes::project::update::UpdateType` instead of cloning the inner type [INFO] [stdout] --> src/routes/route_project/project_update.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | } else if change.clone() == &UpdateType::APIPATH { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/routes/route_collection/collection_update.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | match match change.clone() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `routes::collection::update::UpdateType` does not implement `Clone`, so calling `clone` on `&routes::collection::update::UpdateType` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&&routes::collection::update::UpdateType` instead of cloning the inner type [INFO] [stdout] --> src/routes/route_collection/collection_update.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | if change.clone() == &UpdateType::ID { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&&routes::collection::update::UpdateType` instead of cloning the inner type [INFO] [stdout] --> src/routes/route_collection/collection_update.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | } else if change.clone() == &UpdateType::NAME { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&&routes::collection::update::UpdateType` instead of cloning the inner type [INFO] [stdout] --> src/routes/route_collection/collection_update.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | } else if change.clone() == &UpdateType::DESCRIPTION { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/routes/route_media/media_update.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | match match change.clone() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `routes::media::update::UpdateType` does not implement `Clone`, so calling `clone` on `&routes::media::update::UpdateType` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/routes/route_constraint/constraint_update.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | match match change.clone() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `routes::constraint::update::UpdateType` does not implement `Clone`, so calling `clone` on `&routes::constraint::update::UpdateType` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&&routes::constraint::update::UpdateType` instead of cloning the inner type [INFO] [stdout] --> src/routes/route_constraint/constraint_update.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | if change.clone() == &UpdateType::MIN { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&&routes::constraint::update::UpdateType` instead of cloning the inner type [INFO] [stdout] --> src/routes/route_constraint/constraint_update.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | } else if change.clone() == &UpdateType::MAX { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/routes/route_upload/upload.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | Some(name) => name.trim().clone().split(".").collect::>(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/routes/route_upload/upload.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | .trim() [INFO] [stdout] | ____________________^ [INFO] [stdout] 79 | | .clone() [INFO] [stdout] | |____________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/routes/route_upload/upload.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | .trim() [INFO] [stdout] | ____________________^ [INFO] [stdout] 95 | | .clone() [INFO] [stdout] | |____________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/components/structure.rs:745:31 [INFO] [stdout] | [INFO] [stdout] 745 | return match stype_txt.clone() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/routes/route_project/project_update.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | match match change.clone() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `routes::project::update::UpdateType` does not implement `Clone`, so calling `clone` on `&routes::project::update::UpdateType` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&&routes::project::update::UpdateType` instead of cloning the inner type [INFO] [stdout] --> src/routes/route_project/project_update.rs:133:14 [INFO] [stdout] | [INFO] [stdout] 133 | if change.clone() == &UpdateType::ID { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&&routes::project::update::UpdateType` instead of cloning the inner type [INFO] [stdout] --> src/routes/route_project/project_update.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | } else if change.clone() == &UpdateType::NAME { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&&routes::project::update::UpdateType` instead of cloning the inner type [INFO] [stdout] --> src/routes/route_project/project_update.rs:202:21 [INFO] [stdout] | [INFO] [stdout] 202 | } else if change.clone() == &UpdateType::DESCRIPTION { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&&routes::project::update::UpdateType` instead of cloning the inner type [INFO] [stdout] --> src/routes/route_project/project_update.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | } else if change.clone() == &UpdateType::APIPATH { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/routes/route_collection/collection_update.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | match match change.clone() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `routes::collection::update::UpdateType` does not implement `Clone`, so calling `clone` on `&routes::collection::update::UpdateType` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&&routes::collection::update::UpdateType` instead of cloning the inner type [INFO] [stdout] --> src/routes/route_collection/collection_update.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | if change.clone() == &UpdateType::ID { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&&routes::collection::update::UpdateType` instead of cloning the inner type [INFO] [stdout] --> src/routes/route_collection/collection_update.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | } else if change.clone() == &UpdateType::NAME { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&&routes::collection::update::UpdateType` instead of cloning the inner type [INFO] [stdout] --> src/routes/route_collection/collection_update.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | } else if change.clone() == &UpdateType::DESCRIPTION { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/routes/route_media/media_update.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | match match change.clone() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `routes::media::update::UpdateType` does not implement `Clone`, so calling `clone` on `&routes::media::update::UpdateType` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/routes/route_constraint/constraint_update.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | match match change.clone() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `routes::constraint::update::UpdateType` does not implement `Clone`, so calling `clone` on `&routes::constraint::update::UpdateType` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&&routes::constraint::update::UpdateType` instead of cloning the inner type [INFO] [stdout] --> src/routes/route_constraint/constraint_update.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | if change.clone() == &UpdateType::MIN { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&&routes::constraint::update::UpdateType` instead of cloning the inner type [INFO] [stdout] --> src/routes/route_constraint/constraint_update.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | } else if change.clone() == &UpdateType::MAX { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/routes/route_upload/upload.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | Some(name) => name.trim().clone().split(".").collect::>(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/routes/route_upload/upload.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | .trim() [INFO] [stdout] | ____________________^ [INFO] [stdout] 79 | | .clone() [INFO] [stdout] | |____________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/routes/route_upload/upload.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | .trim() [INFO] [stdout] | ____________________^ [INFO] [stdout] 95 | | .clone() [INFO] [stdout] | |____________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.58s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ubyte v0.10.1 [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "9a4bc450158f34914602a3f8ae35b9af75f8a36e09c45e3d8c3d361d61725f8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a4bc450158f34914602a3f8ae35b9af75f8a36e09c45e3d8c3d361d61725f8b", kill_on_drop: false }` [INFO] [stdout] 9a4bc450158f34914602a3f8ae35b9af75f8a36e09c45e3d8c3d361d61725f8b