[INFO] cloning repository https://github.com/ricohgag/axum-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ricohgag/axum-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricohgag%2Faxum-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricohgag%2Faxum-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b79ece4b287fee233575aa8137f9ebd229e45075 [INFO] testing ricohgag/axum-example against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricohgag%2Faxum-example" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ricohgag/axum-example on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ricohgag/axum-example [INFO] finished tweaking git repo https://github.com/ricohgag/axum-example [INFO] tweaked toml for git repo https://github.com/ricohgag/axum-example written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ricohgag/axum-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.51 [INFO] [stderr] Downloaded tempfile v3.8.1 [INFO] [stderr] Downloaded thiserror v1.0.51 [INFO] [stderr] Downloaded hyper-util v0.1.1 [INFO] [stderr] Downloaded openssl-sys v0.9.97 [INFO] [stderr] Downloaded openssl v0.10.61 [INFO] [stderr] Downloaded zerocopy-derive v0.7.31 [INFO] [stderr] Downloaded tokio v1.35.0 [INFO] [stderr] Downloaded syn v2.0.41 [INFO] [stderr] Downloaded crossbeam-utils v0.8.17 [INFO] [stderr] Downloaded crossbeam-queue v0.3.9 [INFO] [stderr] Downloaded zerocopy v0.7.31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7aebbd4106cd3d249b2ae001c6e2bce3ec923cd6bd03032f110afe464fa14e69 [INFO] running `Command { std: "docker" "start" "-a" "7aebbd4106cd3d249b2ae001c6e2bce3ec923cd6bd03032f110afe464fa14e69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7aebbd4106cd3d249b2ae001c6e2bce3ec923cd6bd03032f110afe464fa14e69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7aebbd4106cd3d249b2ae001c6e2bce3ec923cd6bd03032f110afe464fa14e69", kill_on_drop: false }` [INFO] [stdout] 7aebbd4106cd3d249b2ae001c6e2bce3ec923cd6bd03032f110afe464fa14e69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e617579bb92fd57ae8f86eee61f6a7406a3d3ea198a840027cb82230a98b3fb2 [INFO] running `Command { std: "docker" "start" "-a" "e617579bb92fd57ae8f86eee61f6a7406a3d3ea198a840027cb82230a98b3fb2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Compiling zerocopy v0.7.31 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.17 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling deranged v0.3.10 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling time v0.3.30 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.9 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.51 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling tokio v1.35.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling h2 v0.4.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling axum-core v0.4.1 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling atomic-write-file v0.1.2 [INFO] [stderr] Compiling hyper v1.1.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stderr] Compiling axum v0.7.2 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling hyper-util v0.1.1 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling sqlx-core v0.7.3 [INFO] [stderr] Compiling serde_path_to_error v0.1.14 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling sqlx-mysql v0.7.3 [INFO] [stderr] Compiling sqlx-macros-core v0.7.3 [INFO] [stderr] Compiling sqlx-macros v0.7.3 [INFO] [stderr] Compiling sqlx v0.7.3 [INFO] [stderr] Compiling axum-sqlx-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `put` [INFO] [stdout] --> src/router/mod.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use axum::routing::{delete, post, put}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::repositories::Repositories` [INFO] [stdout] --> src/repositories/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::repositories::Repositories; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_query_param` [INFO] [stdout] --> src/repositories/user.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | async fn find_all(&self, user_query_param: &UserQueryParam) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_query_param` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/repositories/user.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut query = sqlx::query_as::<_, User>("select * from user"); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_param` [INFO] [stdout] --> src/repositories/user.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | async fn insert(&self, user_param: &UserParam) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_param` [INFO] [stdout] --> src/repositories/user.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | async fn update_by_id(&self, user_param: &UserParam) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/repositories/user.rs:63:34 [INFO] [stdout] | [INFO] [stdout] 63 | async fn delete_by_id(&self, id: i32) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update` is never used [INFO] [stdout] --> src/router/user.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn update(Extension(repo): RepoExt, Json(user_param): Json) -> R<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 15s [INFO] running `Command { std: "docker" "inspect" "e617579bb92fd57ae8f86eee61f6a7406a3d3ea198a840027cb82230a98b3fb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e617579bb92fd57ae8f86eee61f6a7406a3d3ea198a840027cb82230a98b3fb2", kill_on_drop: false }` [INFO] [stdout] e617579bb92fd57ae8f86eee61f6a7406a3d3ea198a840027cb82230a98b3fb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59dadb5ea0a1a6b7ee3688d7b39a6e43711e3be2d2e3a6d9c959941541012c6c [INFO] running `Command { std: "docker" "start" "-a" "59dadb5ea0a1a6b7ee3688d7b39a6e43711e3be2d2e3a6d9c959941541012c6c", kill_on_drop: false }` [INFO] [stderr] Compiling axum-sqlx-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `put` [INFO] [stdout] --> src/router/mod.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use axum::routing::{delete, post, put}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::repositories::Repositories` [INFO] [stdout] --> src/repositories/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::repositories::Repositories; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_query_param` [INFO] [stdout] --> src/repositories/user.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | async fn find_all(&self, user_query_param: &UserQueryParam) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_query_param` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/repositories/user.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut query = sqlx::query_as::<_, User>("select * from user"); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_param` [INFO] [stdout] --> src/repositories/user.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | async fn insert(&self, user_param: &UserParam) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_param` [INFO] [stdout] --> src/repositories/user.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | async fn update_by_id(&self, user_param: &UserParam) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/repositories/user.rs:63:34 [INFO] [stdout] | [INFO] [stdout] 63 | async fn delete_by_id(&self, id: i32) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update` is never used [INFO] [stdout] --> src/router/user.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn update(Extension(repo): RepoExt, Json(user_param): Json) -> R<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `put` [INFO] [stdout] --> src/router/mod.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use axum::routing::{delete, post, put}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::repositories::Repositories` [INFO] [stdout] --> src/repositories/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::repositories::Repositories; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_query_param` [INFO] [stdout] --> src/repositories/user.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | async fn find_all(&self, user_query_param: &UserQueryParam) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_query_param` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/repositories/user.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut query = sqlx::query_as::<_, User>("select * from user"); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_param` [INFO] [stdout] --> src/repositories/user.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | async fn insert(&self, user_param: &UserParam) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_param` [INFO] [stdout] --> src/repositories/user.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | async fn update_by_id(&self, user_param: &UserParam) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/repositories/user.rs:63:34 [INFO] [stdout] | [INFO] [stdout] 63 | async fn delete_by_id(&self, id: i32) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update` is never used [INFO] [stdout] --> src/router/user.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn update(Extension(repo): RepoExt, Json(user_param): Json) -> R<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.98s [INFO] running `Command { std: "docker" "inspect" "59dadb5ea0a1a6b7ee3688d7b39a6e43711e3be2d2e3a6d9c959941541012c6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59dadb5ea0a1a6b7ee3688d7b39a6e43711e3be2d2e3a6d9c959941541012c6c", kill_on_drop: false }` [INFO] [stdout] 59dadb5ea0a1a6b7ee3688d7b39a6e43711e3be2d2e3a6d9c959941541012c6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8462ae5628cdda519deea0605986bdc49b5d1a81ebbc8b1d2fd49959f55d78fe [INFO] running `Command { std: "docker" "start" "-a" "8462ae5628cdda519deea0605986bdc49b5d1a81ebbc8b1d2fd49959f55d78fe", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `put` [INFO] [stderr] --> src/router/mod.rs:7:35 [INFO] [stderr] | [INFO] [stderr] 7 | use axum::routing::{delete, post, put}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::repositories::Repositories` [INFO] [stderr] --> src/repositories/user.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::repositories::Repositories; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_query_param` [INFO] [stderr] --> src/repositories/user.rs:37:30 [INFO] [stderr] | [INFO] [stderr] 37 | async fn find_all(&self, user_query_param: &UserQueryParam) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_query_param` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/repositories/user.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | let mut query = sqlx::query_as::<_, User>("select * from user"); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_param` [INFO] [stderr] --> src/repositories/user.rs:55:28 [INFO] [stderr] | [INFO] [stderr] 55 | async fn insert(&self, user_param: &UserParam) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_param` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_param` [INFO] [stderr] --> src/repositories/user.rs:59:34 [INFO] [stderr] | [INFO] [stderr] 59 | async fn update_by_id(&self, user_param: &UserParam) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_param` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/repositories/user.rs:63:34 [INFO] [stderr] | [INFO] [stderr] 63 | async fn delete_by_id(&self, id: i32) -> Result<()> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: function `update` is never used [INFO] [stderr] --> src/router/user.rs:26:14 [INFO] [stderr] | [INFO] [stderr] 26 | pub async fn update(Extension(repo): RepoExt, Json(user_param): Json) -> R<()> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `axum-sqlx-demo` (lib) generated 8 warnings (run `cargo fix --lib -p axum-sqlx-demo` to apply 3 suggestions) [INFO] [stderr] warning: `axum-sqlx-demo` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/axum_sqlx_demo-4a6cdd607df2f692) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/axum_sqlx_demo-1e11880bfdcf9de1) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests axum_sqlx_demo [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8462ae5628cdda519deea0605986bdc49b5d1a81ebbc8b1d2fd49959f55d78fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8462ae5628cdda519deea0605986bdc49b5d1a81ebbc8b1d2fd49959f55d78fe", kill_on_drop: false }` [INFO] [stdout] 8462ae5628cdda519deea0605986bdc49b5d1a81ebbc8b1d2fd49959f55d78fe [INFO] testing ricohgag/axum-example against beta-2024-06-22 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricohgag%2Faxum-example" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ricohgag/axum-example on toolchain beta-2024-06-22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-06-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ricohgag/axum-example [INFO] finished tweaking git repo https://github.com/ricohgag/axum-example [INFO] tweaked toml for git repo https://github.com/ricohgag/axum-example written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ricohgag/axum-example 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" "+beta-2024-06-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-06-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b736307e79abb37415bbc0c358037191dbac121bf8aee2d9111bc34facbd6ca1 [INFO] running `Command { std: "docker" "start" "-a" "b736307e79abb37415bbc0c358037191dbac121bf8aee2d9111bc34facbd6ca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b736307e79abb37415bbc0c358037191dbac121bf8aee2d9111bc34facbd6ca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b736307e79abb37415bbc0c358037191dbac121bf8aee2d9111bc34facbd6ca1", kill_on_drop: false }` [INFO] [stdout] b736307e79abb37415bbc0c358037191dbac121bf8aee2d9111bc34facbd6ca1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-06-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb6ddcb47e285104637ca1ee649c522b69fa0aff5cede1e5b51807d53f2a39b6 [INFO] running `Command { std: "docker" "start" "-a" "eb6ddcb47e285104637ca1ee649c522b69fa0aff5cede1e5b51807d53f2a39b6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling zerocopy v0.7.31 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.17 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Compiling deranged v0.3.10 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling time v0.3.30 [INFO] [stderr] Compiling crossbeam-queue v0.3.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.30/src/format_description/parse/mod.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let items = format_items [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | Ok(items.into()) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `items` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 83 | let items: Box<_> = format_items [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `time` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "eb6ddcb47e285104637ca1ee649c522b69fa0aff5cede1e5b51807d53f2a39b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb6ddcb47e285104637ca1ee649c522b69fa0aff5cede1e5b51807d53f2a39b6", kill_on_drop: false }` [INFO] [stdout] eb6ddcb47e285104637ca1ee649c522b69fa0aff5cede1e5b51807d53f2a39b6