[INFO] fetching crate df-web 0.1.28... [INFO] testing df-web-0.1.28 against 1.90.0 for beta-1.91-3 [INFO] extracting crate df-web 0.1.28 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate df-web 0.1.28 [INFO] finished tweaking crates.io crate df-web 0.1.28 [INFO] tweaked toml for crates.io crate df-web 0.1.28 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate df-web 0.1.28 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate df-web 0.1.28 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stderrlog v0.5.4 [INFO] [stderr] Downloaded df-crypto v0.1.5 [INFO] [stderr] Downloaded df-file v0.1.3 [INFO] [stderr] Downloaded sha256 v1.1.2 [INFO] [stderr] Downloaded block-padding v0.3.2 [INFO] [stderr] Downloaded rgb v0.8.36 [INFO] [stderr] Downloaded zopfli v0.7.2 [INFO] [stderr] Downloaded zune-inflate v0.2.52 [INFO] [stderr] Downloaded cfb v0.7.3 [INFO] [stderr] Downloaded zip v0.6.4 [INFO] [stderr] Downloaded spin v0.9.6 [INFO] [stderr] Downloaded oxipng v8.0.0 [INFO] [stderr] Downloaded aes v0.8.2 [INFO] [stderr] Downloaded df-excel v0.1.9 [INFO] [stderr] Downloaded quick-xml v0.27.1 [INFO] [stderr] Downloaded libdeflater v0.11.0 [INFO] [stderr] Downloaded libdeflate-sys v0.11.0 [INFO] [stderr] Downloaded is-terminal v0.4.4 [INFO] [stderr] Downloaded openssl v0.10.47 [INFO] [stderr] Downloaded exr v1.6.3 [INFO] [stderr] Downloaded wild v2.1.0 [INFO] [stderr] Downloaded openssl-sys v0.9.82 [INFO] [stderr] Downloaded simd-adler32 v0.3.4 [INFO] [stderr] Downloaded tiff v0.8.1 [INFO] [stderr] Downloaded umya-spreadsheet v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae763dab852ff39ea6ec07b91ff737b087c045e553299785566820dee55e14ff [INFO] running `Command { std: "docker" "start" "-a" "ae763dab852ff39ea6ec07b91ff737b087c045e553299785566820dee55e14ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae763dab852ff39ea6ec07b91ff737b087c045e553299785566820dee55e14ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae763dab852ff39ea6ec07b91ff737b087c045e553299785566820dee55e14ff", kill_on_drop: false }` [INFO] [stdout] ae763dab852ff39ea6ec07b91ff737b087c045e553299785566820dee55e14ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eec9ae0076ca0fe70933b92a33866fac412e01e963766f63e220a146bc21e807 [INFO] running `Command { std: "docker" "start" "-a" "eec9ae0076ca0fe70933b92a33866fac412e01e963766f63e220a146bc21e807", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling proc-macro2 v1.0.51 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling openssl v0.10.47 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling time v0.3.20 [INFO] [stderr] Compiling openssl-sys v0.9.82 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha256 v1.1.2 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling uuid v1.3.0 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling df-crypto v0.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling df-web v0.1.28 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:136:56 [INFO] [stdout] | [INFO] [stdout] 136 | match TcpListener::bind(config.url.as_str().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/request.rs:53:76 [INFO] [stdout] | [INFO] [stdout] 53 | let data = self._write(code.clone(), contents.clone(), content_type.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/header.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | header["method"] = list[0].clone().into(); [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/header.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | header["uri"] = list[1].clone().into(); [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/header.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | header["version"] = list[2].clone().into(); [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/header.rs:31:76 [INFO] [stdout] | [INFO] [stdout] 31 | header[row[0].to_string().to_lowercase().as_str()] = row[1].clone().into(); [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/header.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | let query = query[1].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/header.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | let key = row[0].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/header.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | let value = row[1].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/header.rs:79:58 [INFO] [stdout] | [INFO] [stdout] 79 | headers["boundary"] = boundary[1].clone().into(); [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/body.rs:32:63 [INFO] [stdout] | [INFO] [stdout] 32 | body_list["post"][row[0].clone()] = row[1].clone().into(); [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/body.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | body_list["post"][row[0].clone()] = row[1].clone().into(); [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/body.rs:71:76 [INFO] [stdout] | [INFO] [stdout] 71 | let text = text.trim_end_matches(format!("\r\n--{}--\r\n", boundary.clone()).as_str()).to_string(); [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/body.rs:72:46 [INFO] [stdout] | [INFO] [stdout] 72 | let fg = format!("--{}\r\n", boundary.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/body.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | let list: Vec<&str> = text.split(fg.as_str().clone()).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/body.rs:78:56 [INFO] [stdout] | [INFO] [stdout] 78 | let item = item.trim_start_matches(boundary.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/body.rs:91:55 [INFO] [stdout] | [INFO] [stdout] 91 | body_list["post"][name] = value[0].clone().into(); [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/body.rs:121:83 [INFO] [stdout] | [INFO] [stdout] 121 | file_data["mode"] = JsonValue::String(_content_type_mode(types.clone()).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/body.rs:126:60 [INFO] [stdout] | [INFO] [stdout] 126 | let temp = format!("{}/../temp", public.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/body.rs:127:67 [INFO] [stdout] | [INFO] [stdout] 127 | let filename = format!("{}/../temp/{}", public.clone(), temp_file); [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/body.rs:135:72 [INFO] [stdout] | [INFO] [stdout] 135 | match fs::write(file_data["temp"].as_str().unwrap().clone(), file.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/body.rs:135:86 [INFO] [stdout] | [INFO] [stdout] 135 | match fs::write(file_data["temp"].as_str().unwrap().clone(), file.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/body.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | let query = query[1].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/body.rs:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | let key = row[0].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/body.rs:172:31 [INFO] [stdout] | [INFO] [stdout] 172 | let value = row[1].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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.28s [INFO] running `Command { std: "docker" "inspect" "eec9ae0076ca0fe70933b92a33866fac412e01e963766f63e220a146bc21e807", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eec9ae0076ca0fe70933b92a33866fac412e01e963766f63e220a146bc21e807", kill_on_drop: false }` [INFO] [stdout] eec9ae0076ca0fe70933b92a33866fac412e01e963766f63e220a146bc21e807 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 407d610ba28cdb971bc188c5e53abe078cb13fed5ae18c2491bc22fe78ea1546 [INFO] running `Command { std: "docker" "start" "-a" "407d610ba28cdb971bc188c5e53abe078cb13fed5ae18c2491bc22fe78ea1546", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.7 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling futures-core v0.3.26 [INFO] [stderr] Compiling simd-adler32 v0.3.4 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling futures-sink v0.3.26 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling spin v0.9.6 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling block-padding v0.3.2 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling half v2.2.1 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling libdeflate-sys v0.11.0 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling zune-inflate v0.2.52 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling serde v1.0.154 [INFO] [stderr] Compiling io-lifetimes v1.0.6 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rustix v0.36.9 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling stderrlog v0.5.4 [INFO] [stderr] Compiling cfb v0.7.3 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling zopfli v0.7.2 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling aes v0.8.2 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling rgb v0.8.36 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling png v0.17.7 [INFO] [stderr] Compiling zip v0.6.4 [INFO] [stderr] Compiling md-5 v0.10.5 [INFO] [stderr] Compiling filetime v0.2.20 [INFO] [stderr] Compiling thousands v0.2.0 [INFO] [stderr] Compiling wild v2.1.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:136:56 [INFO] [stdout] | [INFO] [stdout] 136 | match TcpListener::bind(config.url.as_str().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/request.rs:53:76 [INFO] [stdout] | [INFO] [stdout] 53 | let data = self._write(code.clone(), contents.clone(), content_type.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/header.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | header["method"] = list[0].clone().into(); [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/header.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | header["uri"] = list[1].clone().into(); [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/header.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | header["version"] = list[2].clone().into(); [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/header.rs:31:76 [INFO] [stdout] | [INFO] [stdout] 31 | header[row[0].to_string().to_lowercase().as_str()] = row[1].clone().into(); [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/header.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | let query = query[1].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/header.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | let key = row[0].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/header.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | let value = row[1].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/header.rs:79:58 [INFO] [stdout] | [INFO] [stdout] 79 | headers["boundary"] = boundary[1].clone().into(); [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/body.rs:32:63 [INFO] [stdout] | [INFO] [stdout] 32 | body_list["post"][row[0].clone()] = row[1].clone().into(); [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/body.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | body_list["post"][row[0].clone()] = row[1].clone().into(); [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/body.rs:71:76 [INFO] [stdout] | [INFO] [stdout] 71 | let text = text.trim_end_matches(format!("\r\n--{}--\r\n", boundary.clone()).as_str()).to_string(); [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/body.rs:72:46 [INFO] [stdout] | [INFO] [stdout] 72 | let fg = format!("--{}\r\n", boundary.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/body.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | let list: Vec<&str> = text.split(fg.as_str().clone()).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/body.rs:78:56 [INFO] [stdout] | [INFO] [stdout] 78 | let item = item.trim_start_matches(boundary.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/body.rs:91:55 [INFO] [stdout] | [INFO] [stdout] 91 | body_list["post"][name] = value[0].clone().into(); [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/body.rs:121:83 [INFO] [stdout] | [INFO] [stdout] 121 | file_data["mode"] = JsonValue::String(_content_type_mode(types.clone()).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/body.rs:126:60 [INFO] [stdout] | [INFO] [stdout] 126 | let temp = format!("{}/../temp", public.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/body.rs:127:67 [INFO] [stdout] | [INFO] [stdout] 127 | let filename = format!("{}/../temp/{}", public.clone(), temp_file); [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/body.rs:135:72 [INFO] [stdout] | [INFO] [stdout] 135 | match fs::write(file_data["temp"].as_str().unwrap().clone(), file.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/body.rs:135:86 [INFO] [stdout] | [INFO] [stdout] 135 | match fs::write(file_data["temp"].as_str().unwrap().clone(), file.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/body.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | let query = query[1].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/body.rs:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | let key = row[0].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/body.rs:172:31 [INFO] [stdout] | [INFO] [stdout] 172 | let value = row[1].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] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling exr v1.6.3 [INFO] [stderr] Compiling libdeflater v0.11.0 [INFO] [stderr] Compiling is-terminal v0.4.4 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling fancy-regex v0.11.0 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling quick-xml v0.27.1 [INFO] [stderr] Compiling tiff v0.8.1 [INFO] [stderr] Compiling clap v3.2.23 [INFO] [stderr] Compiling image v0.24.5 [INFO] [stderr] Compiling umya-spreadsheet v0.9.1 [INFO] [stderr] Compiling oxipng v8.0.0 [INFO] [stderr] Compiling df-file v0.1.3 [INFO] [stderr] Compiling df-excel v0.1.9 [INFO] [stderr] Compiling df-web v0.1.28 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:136:56 [INFO] [stdout] | [INFO] [stdout] 136 | match TcpListener::bind(config.url.as_str().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/request.rs:53:76 [INFO] [stdout] | [INFO] [stdout] 53 | let data = self._write(code.clone(), contents.clone(), content_type.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/header.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | header["method"] = list[0].clone().into(); [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/header.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | header["uri"] = list[1].clone().into(); [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/header.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | header["version"] = list[2].clone().into(); [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/header.rs:31:76 [INFO] [stdout] | [INFO] [stdout] 31 | header[row[0].to_string().to_lowercase().as_str()] = row[1].clone().into(); [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/header.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | let query = query[1].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/header.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | let key = row[0].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/header.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | let value = row[1].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/header.rs:79:58 [INFO] [stdout] | [INFO] [stdout] 79 | headers["boundary"] = boundary[1].clone().into(); [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/body.rs:32:63 [INFO] [stdout] | [INFO] [stdout] 32 | body_list["post"][row[0].clone()] = row[1].clone().into(); [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/body.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | body_list["post"][row[0].clone()] = row[1].clone().into(); [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/body.rs:71:76 [INFO] [stdout] | [INFO] [stdout] 71 | let text = text.trim_end_matches(format!("\r\n--{}--\r\n", boundary.clone()).as_str()).to_string(); [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/body.rs:72:46 [INFO] [stdout] | [INFO] [stdout] 72 | let fg = format!("--{}\r\n", boundary.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/body.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | let list: Vec<&str> = text.split(fg.as_str().clone()).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/body.rs:78:56 [INFO] [stdout] | [INFO] [stdout] 78 | let item = item.trim_start_matches(boundary.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/body.rs:91:55 [INFO] [stdout] | [INFO] [stdout] 91 | body_list["post"][name] = value[0].clone().into(); [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/body.rs:121:83 [INFO] [stdout] | [INFO] [stdout] 121 | file_data["mode"] = JsonValue::String(_content_type_mode(types.clone()).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/body.rs:126:60 [INFO] [stdout] | [INFO] [stdout] 126 | let temp = format!("{}/../temp", public.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/body.rs:127:67 [INFO] [stdout] | [INFO] [stdout] 127 | let filename = format!("{}/../temp/{}", public.clone(), temp_file); [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/body.rs:135:72 [INFO] [stdout] | [INFO] [stdout] 135 | match fs::write(file_data["temp"].as_str().unwrap().clone(), file.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/body.rs:135:86 [INFO] [stdout] | [INFO] [stdout] 135 | match fs::write(file_data["temp"].as_str().unwrap().clone(), file.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/body.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | let query = query[1].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/body.rs:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | let key = row[0].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/body.rs:172:31 [INFO] [stdout] | [INFO] [stdout] 172 | let value = row[1].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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 41.54s [INFO] running `Command { std: "docker" "inspect" "407d610ba28cdb971bc188c5e53abe078cb13fed5ae18c2491bc22fe78ea1546", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "407d610ba28cdb971bc188c5e53abe078cb13fed5ae18c2491bc22fe78ea1546", kill_on_drop: false }` [INFO] [stdout] 407d610ba28cdb971bc188c5e53abe078cb13fed5ae18c2491bc22fe78ea1546 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c6ad083bdbee00a04fb5a2c89d8f03c0dc9738f83947d633af88b1c6f066dd8c [INFO] running `Command { std: "docker" "start" "-a" "c6ad083bdbee00a04fb5a2c89d8f03c0dc9738f83947d633af88b1c6f066dd8c", kill_on_drop: false }` [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:136:56 [INFO] [stderr] | [INFO] [stderr] 136 | match TcpListener::bind(config.url.as_str().clone()) { [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/request.rs:53:76 [INFO] [stderr] | [INFO] [stderr] 53 | let data = self._write(code.clone(), contents.clone(), content_type.clone()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/header.rs:25:35 [INFO] [stderr] | [INFO] [stderr] 25 | header["method"] = list[0].clone().into(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/header.rs:26:32 [INFO] [stderr] | [INFO] [stderr] 26 | header["uri"] = list[1].clone().into(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/header.rs:27:36 [INFO] [stderr] | [INFO] [stderr] 27 | header["version"] = list[2].clone().into(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/header.rs:31:76 [INFO] [stderr] | [INFO] [stderr] 31 | header[row[0].to_string().to_lowercase().as_str()] = row[1].clone().into(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/header.rs:46:29 [INFO] [stderr] | [INFO] [stderr] 46 | let query = query[1].clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/header.rs:53:29 [INFO] [stderr] | [INFO] [stderr] 53 | let key = row[0].clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/header.rs:54:31 [INFO] [stderr] | [INFO] [stderr] 54 | let value = row[1].clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/header.rs:79:58 [INFO] [stderr] | [INFO] [stderr] 79 | headers["boundary"] = boundary[1].clone().into(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/body.rs:32:63 [INFO] [stderr] | [INFO] [stderr] 32 | body_list["post"][row[0].clone()] = row[1].clone().into(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/body.rs:32:45 [INFO] [stderr] | [INFO] [stderr] 32 | body_list["post"][row[0].clone()] = row[1].clone().into(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/body.rs:71:76 [INFO] [stderr] | [INFO] [stderr] 71 | let text = text.trim_end_matches(format!("\r\n--{}--\r\n", boundary.clone()).as_str()).to_string(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/body.rs:72:46 [INFO] [stderr] | [INFO] [stderr] 72 | let fg = format!("--{}\r\n", boundary.clone()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/body.rs:73:53 [INFO] [stderr] | [INFO] [stderr] 73 | let list: Vec<&str> = text.split(fg.as_str().clone()).collect(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/body.rs:78:56 [INFO] [stderr] | [INFO] [stderr] 78 | let item = item.trim_start_matches(boundary.clone()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/body.rs:91:55 [INFO] [stderr] | [INFO] [stderr] 91 | body_list["post"][name] = value[0].clone().into(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/body.rs:121:83 [INFO] [stderr] | [INFO] [stderr] 121 | file_data["mode"] = JsonValue::String(_content_type_mode(types.clone()).clone()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/body.rs:126:60 [INFO] [stderr] | [INFO] [stderr] 126 | let temp = format!("{}/../temp", public.clone()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/body.rs:127:67 [INFO] [stderr] | [INFO] [stderr] 127 | let filename = format!("{}/../temp/{}", public.clone(), temp_file); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/body.rs:135:72 [INFO] [stderr] | [INFO] [stderr] 135 | match fs::write(file_data["temp"].as_str().unwrap().clone(), file.clone()) { [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/body.rs:135:86 [INFO] [stderr] | [INFO] [stderr] 135 | match fs::write(file_data["temp"].as_str().unwrap().clone(), file.clone()) { [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/body.rs:163:29 [INFO] [stderr] | [INFO] [stderr] 163 | let query = query[1].clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/body.rs:171:29 [INFO] [stderr] | [INFO] [stderr] 171 | let key = row[0].clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/body.rs:172:31 [INFO] [stderr] | [INFO] [stderr] 172 | let value = row[1].clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `df-web` (lib) generated 25 warnings (run `cargo fix --lib -p df-web` to apply 25 suggestions) [INFO] [stderr] warning: `df-web` (lib test) generated 25 warnings (25 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/df_web-369e13bccd02b25c) [INFO] [stderr] Doc-tests df_web [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c6ad083bdbee00a04fb5a2c89d8f03c0dc9738f83947d633af88b1c6f066dd8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6ad083bdbee00a04fb5a2c89d8f03c0dc9738f83947d633af88b1c6f066dd8c", kill_on_drop: false }` [INFO] [stdout] c6ad083bdbee00a04fb5a2c89d8f03c0dc9738f83947d633af88b1c6f066dd8c