[INFO] cloning repository https://github.com/CalGH/axum-crud [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CalGH/axum-crud" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCalGH%2Faxum-crud", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCalGH%2Faxum-crud'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f012612329dbedacddf0fc2fd1684d2ef1e0eabc [INFO] checking CalGH/axum-crud/f012612329dbedacddf0fc2fd1684d2ef1e0eabc against try#24cd45d7714ba43afd4b8e62fb677b069b21c4a5 for pr-129543 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCalGH%2Faxum-crud" "/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/CalGH/axum-crud on toolchain 24cd45d7714ba43afd4b8e62fb677b069b21c4a5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+24cd45d7714ba43afd4b8e62fb677b069b21c4a5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CalGH/axum-crud [INFO] finished tweaking git repo https://github.com/CalGH/axum-crud [INFO] tweaked toml for git repo https://github.com/CalGH/axum-crud written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/CalGH/axum-crud 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" "+24cd45d7714ba43afd4b8e62fb677b069b21c4a5" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+24cd45d7714ba43afd4b8e62fb677b069b21c4a5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 871040b64e34bc07d891d830f0fd25c61406ae86778a9a976f72852896e72977 [INFO] running `Command { std: "docker" "start" "-a" "871040b64e34bc07d891d830f0fd25c61406ae86778a9a976f72852896e72977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "871040b64e34bc07d891d830f0fd25c61406ae86778a9a976f72852896e72977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "871040b64e34bc07d891d830f0fd25c61406ae86778a9a976f72852896e72977", kill_on_drop: false }` [INFO] [stdout] 871040b64e34bc07d891d830f0fd25c61406ae86778a9a976f72852896e72977 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+24cd45d7714ba43afd4b8e62fb677b069b21c4a5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aee81d83bdae22a36a141880b558bb9dd4908ae85bd8f598080a0ddb2c8e4651 [INFO] running `Command { std: "docker" "start" "-a" "aee81d83bdae22a36a141880b558bb9dd4908ae85bd8f598080a0ddb2c8e4651", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling serde v1.0.178 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Compiling serde_derive v1.0.178 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking stringprep v0.1.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Checking md-5 v0.10.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Checking postgres-protocol v0.6.5 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking postgres-types v0.2.5 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling tokio-openssl v0.6.3 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling axum v0.6.19 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling matchit v0.7.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking serde_path_to_error v0.1.14 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling async-trait v0.1.72 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling pin-project v1.1.2 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Compiling axum-macros v0.3.8 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling postgres-from-row-derive v0.5.2 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking deadpool v0.8.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking signal-hook-tokio v0.3.1 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking tokio-postgres v0.7.8 [INFO] [stderr] Checking deadpool-postgres v0.9.0 [INFO] [stderr] Checking postgres-openssl v0.5.0 [INFO] [stderr] Checking postgres-from-row v0.5.2 [INFO] [stderr] Compiling crud-macros v0.1.0 (/opt/rustwide/workdir/crud-macros) [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking axum-server v0.5.1 [INFO] [stderr] Checking axum-crud v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error::SqlState` [INFO] [stdout] --> src/api/queries.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio_postgres::{row::Row, error::SqlState, types::Type}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::SqlState` [INFO] [stdout] --> src/api/queries.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio_postgres::{row::Row, error::SqlState, types::Type}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/handlers/root.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/handlers/root.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_one` and `post_put_or_delete_one` [INFO] [stdout] --> src/handlers/root.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::api::{get_one,post_put_or_delete_one}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_one` and `post_put_or_delete_one` [INFO] [stdout] --> src/handlers/root.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::api::{get_one,post_put_or_delete_one}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::City` [INFO] [stdout] --> src/handlers/root.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::models::City; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::City` [INFO] [stdout] --> src/handlers/root.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::models::City; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::routes::Appstate` [INFO] [stdout] --> src/handlers/root.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::routes::Appstate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::routes::Appstate` [INFO] [stdout] --> src/handlers/root.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::routes::Appstate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug_handler` [INFO] [stdout] --> src/handlers/root.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use axum::{async_trait, debug_handler}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug_handler` [INFO] [stdout] --> src/handlers/root.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use axum::{async_trait, debug_handler}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `response::IntoResponse` [INFO] [stdout] --> src/handlers/root.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | response::IntoResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::test` [INFO] [stdout] --> src/tests/queries.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::test; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `response::IntoResponse` [INFO] [stdout] --> src/handlers/root.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | response::IntoResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/tests/queries.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tests::utils::common::setuptests` [INFO] [stdout] --> src/tests/queries.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::tests::utils::common::setuptests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::test` [INFO] [stdout] --> src/tests/queries.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::test; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/api/queries.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | fn from(value: NoResults) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/api/queries.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | fn from(value: NoResults) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setuptests` is never used [INFO] [stdout] --> src/tests/utils/common.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) async fn setuptests() -> (deadpool_postgres::Pool, Client) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 23s [INFO] running `Command { std: "docker" "inspect" "aee81d83bdae22a36a141880b558bb9dd4908ae85bd8f598080a0ddb2c8e4651", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aee81d83bdae22a36a141880b558bb9dd4908ae85bd8f598080a0ddb2c8e4651", kill_on_drop: false }` [INFO] [stdout] aee81d83bdae22a36a141880b558bb9dd4908ae85bd8f598080a0ddb2c8e4651