[INFO] cloning repository https://github.com/MikAoJk/rust-crud-rest-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MikAoJk/rust-crud-rest-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMikAoJk%2Frust-crud-rest-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMikAoJk%2Frust-crud-rest-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 61400e28d3e88bf291043865a3aef4253115dbc5 [INFO] checking MikAoJk/rust-crud-rest-api against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMikAoJk%2Frust-crud-rest-api" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MikAoJk/rust-crud-rest-api on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MikAoJk/rust-crud-rest-api [INFO] finished tweaking git repo https://github.com/MikAoJk/rust-crud-rest-api [INFO] tweaked toml for git repo https://github.com/MikAoJk/rust-crud-rest-api written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MikAoJk/rust-crud-rest-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded phf_shared v0.11.1 [INFO] [stderr] Downloaded phf v0.11.1 [INFO] [stderr] Downloaded stringprep v0.1.2 [INFO] [stderr] Downloaded postgres-types v0.2.5 [INFO] [stderr] Downloaded libc v0.2.145 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4df7a40e2964713469ae2781172a0627a34b8d1e41bb783f1ac8bf88500236f7 [INFO] running `Command { std: "docker" "start" "-a" "4df7a40e2964713469ae2781172a0627a34b8d1e41bb783f1ac8bf88500236f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4df7a40e2964713469ae2781172a0627a34b8d1e41bb783f1ac8bf88500236f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4df7a40e2964713469ae2781172a0627a34b8d1e41bb783f1ac8bf88500236f7", kill_on_drop: false }` [INFO] [stdout] 4df7a40e2964713469ae2781172a0627a34b8d1e41bb783f1ac8bf88500236f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dfb81d80c728b9a87e9156e78101e7ad706956742cc5e988deed87ed65a1785 [INFO] running `Command { std: "docker" "start" "-a" "7dfb81d80c728b9a87e9156e78101e7ad706956742cc5e988deed87ed65a1785", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.145 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Checking cpufeatures v0.2.7 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking siphasher v0.3.10 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking phf_shared v0.11.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking phf v0.11.1 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking whoami v1.4.1 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking md-5 v0.10.5 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking postgres-protocol v0.6.6 [INFO] [stderr] Checking postgres-types v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-postgres v0.7.10 [INFO] [stderr] Checking postgres v0.19.7 [INFO] [stderr] Checking rust-crud-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:14:74 [INFO] [stdout] | [INFO] [stdout] 14 | let client = create_database_client(environment_variables.databse_url.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/main.rs:22:82 [INFO] [stdout] | [INFO] [stdout] 22 | let listener = TcpListener::bind(environment_variables.server_adress_and_port.clone()).unwrap(); [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/handle_client.rs:28:87 [INFO] [stdout] | [INFO] [stdout] 28 | r if r.starts_with("POST /users") => handle_post_request(r,databse_url.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/handle_client.rs:29:87 [INFO] [stdout] | [INFO] [stdout] 29 | r if r.starts_with("GET /users/") => handle_get_request(r, databse_url.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/handle_client.rs:30:90 [INFO] [stdout] | [INFO] [stdout] 30 | r if r.starts_with("GET /users") => handle_get_all_request(r, databse_url.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/handle_client.rs:31:87 [INFO] [stdout] | [INFO] [stdout] 31 | r if r.starts_with("PUT /users/") => handle_put_request(r, databse_url.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/handle_client.rs:32:93 [INFO] [stdout] | [INFO] [stdout] 32 | r if r.starts_with("DELETE /users/") => handle_delete_request(r, databse_url.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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:14:74 [INFO] [stdout] | [INFO] [stdout] 14 | let client = create_database_client(environment_variables.databse_url.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/main.rs:22:82 [INFO] [stdout] | [INFO] [stdout] 22 | let listener = TcpListener::bind(environment_variables.server_adress_and_port.clone()).unwrap(); [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/handle_client.rs:28:87 [INFO] [stdout] | [INFO] [stdout] 28 | r if r.starts_with("POST /users") => handle_post_request(r,databse_url.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/handle_client.rs:29:87 [INFO] [stdout] | [INFO] [stdout] 29 | r if r.starts_with("GET /users/") => handle_get_request(r, databse_url.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/handle_client.rs:30:90 [INFO] [stdout] | [INFO] [stdout] 30 | r if r.starts_with("GET /users") => handle_get_all_request(r, databse_url.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/handle_client.rs:31:87 [INFO] [stdout] | [INFO] [stdout] 31 | r if r.starts_with("PUT /users/") => handle_put_request(r, databse_url.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/handle_client.rs:32:93 [INFO] [stdout] | [INFO] [stdout] 32 | r if r.starts_with("DELETE /users/") => handle_delete_request(r, databse_url.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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.72s [INFO] running `Command { std: "docker" "inspect" "7dfb81d80c728b9a87e9156e78101e7ad706956742cc5e988deed87ed65a1785", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dfb81d80c728b9a87e9156e78101e7ad706956742cc5e988deed87ed65a1785", kill_on_drop: false }` [INFO] [stdout] 7dfb81d80c728b9a87e9156e78101e7ad706956742cc5e988deed87ed65a1785 [INFO] checking MikAoJk/rust-crud-rest-api against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMikAoJk%2Frust-crud-rest-api" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MikAoJk/rust-crud-rest-api on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MikAoJk/rust-crud-rest-api [INFO] finished tweaking git repo https://github.com/MikAoJk/rust-crud-rest-api [INFO] tweaked toml for git repo https://github.com/MikAoJk/rust-crud-rest-api written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MikAoJk/rust-crud-rest-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1adc897eced45e2cd84fa13384f3ae31163e964be373ca5fcdf21c55840adcc3 [INFO] running `Command { std: "docker" "start" "-a" "1adc897eced45e2cd84fa13384f3ae31163e964be373ca5fcdf21c55840adcc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1adc897eced45e2cd84fa13384f3ae31163e964be373ca5fcdf21c55840adcc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1adc897eced45e2cd84fa13384f3ae31163e964be373ca5fcdf21c55840adcc3", kill_on_drop: false }` [INFO] [stdout] 1adc897eced45e2cd84fa13384f3ae31163e964be373ca5fcdf21c55840adcc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b936ea962706cdf98ff9653237ca3ab63b5243eb76908fcd794ea161afe0703 [INFO] running `Command { std: "docker" "start" "-a" "8b936ea962706cdf98ff9653237ca3ab63b5243eb76908fcd794ea161afe0703", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.145 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Checking cpufeatures v0.2.7 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking siphasher v0.3.10 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking phf_shared v0.11.1 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking phf v0.11.1 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking whoami v1.4.1 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.5 [INFO] [stderr] Checking postgres-protocol v0.6.6 [INFO] [stderr] Checking postgres-types v0.2.5 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking tokio-postgres v0.7.10 [INFO] [stderr] Checking postgres v0.19.7 [INFO] [stderr] Checking rust-crud-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:14:74 [INFO] [stdout] | [INFO] [stdout] 14 | let client = create_database_client(environment_variables.databse_url.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/main.rs:14:74 [INFO] [stdout] | [INFO] [stdout] 14 | let client = create_database_client(environment_variables.databse_url.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/main.rs:22:82 [INFO] [stdout] | [INFO] [stdout] 22 | let listener = TcpListener::bind(environment_variables.server_adress_and_port.clone()).unwrap(); [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/handle_client.rs:28:87 [INFO] [stdout] | [INFO] [stdout] 28 | r if r.starts_with("POST /users") => handle_post_request(r,databse_url.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/handle_client.rs:29:87 [INFO] [stdout] | [INFO] [stdout] 29 | r if r.starts_with("GET /users/") => handle_get_request(r, databse_url.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/handle_client.rs:30:90 [INFO] [stdout] | [INFO] [stdout] 30 | r if r.starts_with("GET /users") => handle_get_all_request(r, databse_url.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/handle_client.rs:31:87 [INFO] [stdout] | [INFO] [stdout] 31 | r if r.starts_with("PUT /users/") => handle_put_request(r, databse_url.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/handle_client.rs:32:93 [INFO] [stdout] | [INFO] [stdout] 32 | r if r.starts_with("DELETE /users/") => handle_delete_request(r, databse_url.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/main.rs:22:82 [INFO] [stdout] | [INFO] [stdout] 22 | let listener = TcpListener::bind(environment_variables.server_adress_and_port.clone()).unwrap(); [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/handle_client.rs:28:87 [INFO] [stdout] | [INFO] [stdout] 28 | r if r.starts_with("POST /users") => handle_post_request(r,databse_url.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/handle_client.rs:29:87 [INFO] [stdout] | [INFO] [stdout] 29 | r if r.starts_with("GET /users/") => handle_get_request(r, databse_url.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/handle_client.rs:30:90 [INFO] [stdout] | [INFO] [stdout] 30 | r if r.starts_with("GET /users") => handle_get_all_request(r, databse_url.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/handle_client.rs:31:87 [INFO] [stdout] | [INFO] [stdout] 31 | r if r.starts_with("PUT /users/") => handle_put_request(r, databse_url.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/handle_client.rs:32:93 [INFO] [stdout] | [INFO] [stdout] 32 | r if r.starts_with("DELETE /users/") => handle_delete_request(r, databse_url.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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.36s [INFO] running `Command { std: "docker" "inspect" "8b936ea962706cdf98ff9653237ca3ab63b5243eb76908fcd794ea161afe0703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b936ea962706cdf98ff9653237ca3ab63b5243eb76908fcd794ea161afe0703", kill_on_drop: false }` [INFO] [stdout] 8b936ea962706cdf98ff9653237ca3ab63b5243eb76908fcd794ea161afe0703