[INFO] cloning repository https://github.com/diogomattioli/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/diogomattioli/axum-crud" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiogomattioli%2Faxum-crud", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiogomattioli%2Faxum-crud'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] febadf88a471abec605b41587473b65ad24ffa06 [INFO] testing diogomattioli/axum-crud against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiogomattioli%2Faxum-crud" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/diogomattioli/axum-crud [INFO] finished tweaking git repo https://github.com/diogomattioli/axum-crud [INFO] tweaked toml for git repo https://github.com/diogomattioli/axum-crud written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/diogomattioli/axum-crud on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/diogomattioli/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded axum v0.7.5 [INFO] [stderr] Downloaded cc v1.1.31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5d6253dcdc330ed18d689b756fad76a8b3c8ce1762ee349ffaedacccf36a4eb [INFO] running `Command { std: "docker" "start" "-a" "d5d6253dcdc330ed18d689b756fad76a8b3c8ce1762ee349ffaedacccf36a4eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5d6253dcdc330ed18d689b756fad76a8b3c8ce1762ee349ffaedacccf36a4eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5d6253dcdc330ed18d689b756fad76a8b3c8ce1762ee349ffaedacccf36a4eb", kill_on_drop: false }` [INFO] [stdout] d5d6253dcdc330ed18d689b756fad76a8b3c8ce1762ee349ffaedacccf36a4eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b73dccfbc33e436ed04fa26c9aca27f3c6ac921c689111a3db8acd0a6598db68 [INFO] running `Command { std: "docker" "start" "-a" "b73dccfbc33e436ed04fa26c9aca27f3c6ac921c689111a3db8acd0a6598db68", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling validator_derive v0.18.2 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper-util v0.1.5 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling validator v0.18.1 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Compiling sqlx v0.8.2 [INFO] [stderr] Compiling axum_crud v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `sub_create` is never used [INFO] [stdout] --> src/crud.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | pub async fn sub_create( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sub_retrieve` is never used [INFO] [stdout] --> src/crud.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | pub async fn sub_retrieve( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sub_update` is never used [INFO] [stdout] --> src/crud.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | pub async fn sub_update( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sub_delete` is never used [INFO] [stdout] --> src/crud.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | pub async fn sub_delete( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sub_list` is never used [INFO] [stdout] --> src/list.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn sub_list( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MatchParent` is never used [INFO] [stdout] --> src/prelude.rs:127:11 [INFO] [stdout] | [INFO] [stdout] 127 | pub trait MatchParent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubDummy` is never constructed [INFO] [stdout] --> src/types/sub_dummy.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct SubDummy { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.31s [INFO] running `Command { std: "docker" "inspect" "b73dccfbc33e436ed04fa26c9aca27f3c6ac921c689111a3db8acd0a6598db68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b73dccfbc33e436ed04fa26c9aca27f3c6ac921c689111a3db8acd0a6598db68", kill_on_drop: false }` [INFO] [stdout] b73dccfbc33e436ed04fa26c9aca27f3c6ac921c689111a3db8acd0a6598db68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1549983ca571731b3173358cb09fc6a06efcbdd5c1a1f4394fc4bc5a9d875820 [INFO] running `Command { std: "docker" "start" "-a" "1549983ca571731b3173358cb09fc6a06efcbdd5c1a1f4394fc4bc5a9d875820", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling sqlx-sqlite v0.8.2 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Compiling sqlx v0.8.2 [INFO] [stderr] Compiling axum_crud v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 24.83s [INFO] running `Command { std: "docker" "inspect" "1549983ca571731b3173358cb09fc6a06efcbdd5c1a1f4394fc4bc5a9d875820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1549983ca571731b3173358cb09fc6a06efcbdd5c1a1f4394fc4bc5a9d875820", kill_on_drop: false }` [INFO] [stdout] 1549983ca571731b3173358cb09fc6a06efcbdd5c1a1f4394fc4bc5a9d875820 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8e3051b3f198210f4423c125c90de877394eede3af30f4ab7de9b51cd21c85f9 [INFO] running `Command { std: "docker" "start" "-a" "8e3051b3f198210f4423c125c90de877394eede3af30f4ab7de9b51cd21c85f9", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/axum_crud-b12879ef92d75d50) [INFO] [stdout] [INFO] [stdout] running 49 tests [INFO] [stdout] test crud::tests::create_empty ... ok [INFO] [stdout] test crud::tests::create_no_content_type ... ok [INFO] [stdout] test crud::tests::create_invalid ... ok [INFO] [stdout] test crud::tests::create_ok ... ok [INFO] [stdout] test crud::tests::create_bad_json ... ok [INFO] [stdout] test crud::tests::create_ok_location ... ok [INFO] [stdout] test crud::tests::create_sub_not_found ... ok [INFO] [stdout] test crud::tests::delete_bad_id ... ok [INFO] [stdout] test crud::tests::create_ok_x_item_id ... ok [INFO] [stdout] test crud::tests::delete_inexistent ... ok [INFO] [stdout] test crud::tests::create_wrong_content_type ... ok [INFO] [stdout] test crud::tests::retrieve_inexsistent ... ok [INFO] [stdout] test crud::tests::retrieve_bad_id ... ok [INFO] [stdout] test crud::tests::create_sub_mismatch ... ok [INFO] [stdout] test crud::tests::create_sub_ok ... ok [INFO] [stdout] test crud::tests::delete_invalid ... ok [INFO] [stdout] test crud::tests::delete_ok ... ok [INFO] [stdout] test crud::tests::update_empty ... ok [INFO] [stdout] test crud::tests::update_invalid ... ok [INFO] [stdout] test crud::tests::update_no_content_type ... ok [INFO] [stdout] test crud::tests::update_inexistent ... ok [INFO] [stdout] test crud::tests::retrieve_sub_mismatch ... ok [INFO] [stdout] test crud::tests::update_bad_id ... ok [INFO] [stdout] test crud::tests::update_bad_json ... ok [INFO] [stdout] test crud::tests::retrieve_ok ... ok [INFO] [stdout] test crud::tests::delete_sub_ok ... ok [INFO] [stdout] test crud::tests::update_ok ... ok [INFO] [stdout] test crud::tests::delete_sub_not_found ... ok [INFO] [stdout] test crud::tests::retrieve_sub_not_found ... ok [INFO] [stdout] test crud::tests::update_sub_mismatch_data ... ok [INFO] [stdout] test crud::tests::retrieve_sub_ok ... ok [INFO] [stdout] test crud::tests::delete_sub_mismatch ... ok [INFO] [stdout] test prelude::tests::query_create_where ... ok [INFO] [stdout] test prelude::tests::query_tokens ... ok [INFO] [stdout] test list::tests::list_empty ... ok [INFO] [stdout] test crud::tests::update_wrong_content_type ... ok [INFO] [stdout] test crud::tests::update_sub_not_found ... ok [INFO] [stdout] test crud::tests::update_sub_ok ... ok [INFO] [stdout] test crud::tests::update_sub_mismatch ... ok [INFO] [stdout] test list::tests::list_ok ... ok [INFO] [stdout] test list::tests::list_search ... ok [INFO] [stdout] test list::tests::list_order ... ok [INFO] [stdout] test list::tests::list_sub_ok ... ok [INFO] [stdout] test list::tests::list_sub_search ... ok [INFO] [stdout] test list::tests::list_offset_and_limit ... ok [INFO] [stdout] test list::tests::list_paging_total ... ok [INFO] [stdout] test list::tests::list_offset ... ok [INFO] [stdout] test list::tests::list_limit ... ok [INFO] [stdout] test list::tests::list_paging_size ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 49 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8e3051b3f198210f4423c125c90de877394eede3af30f4ab7de9b51cd21c85f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e3051b3f198210f4423c125c90de877394eede3af30f4ab7de9b51cd21c85f9", kill_on_drop: false }` [INFO] [stdout] 8e3051b3f198210f4423c125c90de877394eede3af30f4ab7de9b51cd21c85f9