[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] 895aa477dbf0343e1b3221d82ebe9e8212c89383 [INFO] checking MikAoJk/rust-crud-rest-api against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMikAoJk%2Frust-crud-rest-api" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MikAoJk/rust-crud-rest-api on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-1-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-postgres v0.7.11 [INFO] [stderr] Downloaded postgres-protocol v0.6.7 [INFO] [stderr] Downloaded postgres-types v0.2.7 [INFO] [stderr] Downloaded postgres v0.19.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8184aa1808eb25482ef6746c78a8e1164ea95959e14ad2803665e5e14034c8cf [INFO] running `Command { std: "docker" "start" "-a" "8184aa1808eb25482ef6746c78a8e1164ea95959e14ad2803665e5e14034c8cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8184aa1808eb25482ef6746c78a8e1164ea95959e14ad2803665e5e14034c8cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8184aa1808eb25482ef6746c78a8e1164ea95959e14ad2803665e5e14034c8cf", kill_on_drop: false }` [INFO] [stdout] 8184aa1808eb25482ef6746c78a8e1164ea95959e14ad2803665e5e14034c8cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef677e8c299684faa556bacda5fd4284c89a4fd938f9201e5750094f17351614 [INFO] running `Command { std: "docker" "start" "-a" "ef677e8c299684faa556bacda5fd4284c89a4fd938f9201e5750094f17351614", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.145 [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 futures-core v0.3.28 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking cpufeatures v0.2.7 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Checking siphasher v0.3.10 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking phf_shared v0.11.1 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking futures-channel v0.3.28 [INFO] [stderr] Checking phf v0.11.1 [INFO] [stderr] Checking whoami v1.4.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking md-5 v0.10.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking parking_lot_core v0.9.7 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking postgres-protocol v0.6.7 [INFO] [stderr] Checking postgres-types v0.2.7 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking futures-util v0.3.28 [INFO] [stderr] Checking tokio-postgres v0.7.11 [INFO] [stderr] Checking postgres v0.19.8 [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 6.05s [INFO] running `Command { std: "docker" "inspect" "ef677e8c299684faa556bacda5fd4284c89a4fd938f9201e5750094f17351614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef677e8c299684faa556bacda5fd4284c89a4fd938f9201e5750094f17351614", kill_on_drop: false }` [INFO] [stdout] ef677e8c299684faa556bacda5fd4284c89a4fd938f9201e5750094f17351614 [INFO] checking MikAoJk/rust-crud-rest-api against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMikAoJk%2Frust-crud-rest-api" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MikAoJk/rust-crud-rest-api on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-1-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3a194059978ff68aff3fbf76541c6ac544eb58ec78d0d856678844eb011b757 [INFO] running `Command { std: "docker" "start" "-a" "e3a194059978ff68aff3fbf76541c6ac544eb58ec78d0d856678844eb011b757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3a194059978ff68aff3fbf76541c6ac544eb58ec78d0d856678844eb011b757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3a194059978ff68aff3fbf76541c6ac544eb58ec78d0d856678844eb011b757", kill_on_drop: false }` [INFO] [stdout] e3a194059978ff68aff3fbf76541c6ac544eb58ec78d0d856678844eb011b757 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 270192663d7847049f68952f63a916c83f794eda415404bca82c12a4848b4c8c [INFO] running `Command { std: "docker" "start" "-a" "270192663d7847049f68952f63a916c83f794eda415404bca82c12a4848b4c8c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.145 [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 futures-core v0.3.28 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking cpufeatures v0.2.7 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Checking siphasher v0.3.10 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking phf_shared v0.11.1 [INFO] [stderr] Checking futures-channel v0.3.28 [INFO] [stderr] Checking whoami v1.4.1 [INFO] [stderr] Checking phf v0.11.1 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking parking_lot_core v0.9.7 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking md-5 v0.10.5 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking postgres-protocol v0.6.7 [INFO] [stderr] Checking postgres-types v0.2.7 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking futures-util v0.3.28 [INFO] [stderr] Checking tokio-postgres v0.7.11 [INFO] [stderr] Checking postgres v0.19.8 [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/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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handle_client.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn handle_client(mut stream: TcpStream, databse_url: &str) { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | match stream.read(&mut buffer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handle_client.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn handle_client(mut stream: TcpStream, databse_url: &str) { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | match stream.read(&mut buffer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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: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: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: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: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: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/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] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-crud-api` (bin "rust-crud-api") due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-crud-api` (bin "rust-crud-api" test) due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "270192663d7847049f68952f63a916c83f794eda415404bca82c12a4848b4c8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "270192663d7847049f68952f63a916c83f794eda415404bca82c12a4848b4c8c", kill_on_drop: false }` [INFO] [stdout] 270192663d7847049f68952f63a916c83f794eda415404bca82c12a4848b4c8c