[INFO] cloning repository https://github.com/lz1998/axum-sqlx-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lz1998/axum-sqlx-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flz1998%2Faxum-sqlx-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flz1998%2Faxum-sqlx-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7375c4070cab93e155f1f8401660e6f3df1adbf [INFO] testing lz1998/axum-sqlx-demo against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flz1998%2Faxum-sqlx-demo" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lz1998/axum-sqlx-demo on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lz1998/axum-sqlx-demo [INFO] finished tweaking git repo https://github.com/lz1998/axum-sqlx-demo [INFO] tweaked toml for git repo https://github.com/lz1998/axum-sqlx-demo written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate git repo https://github.com/lz1998/axum-sqlx-demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded whoami v1.1.3 [INFO] [stderr] Downloaded sqlformat v0.1.7 [INFO] [stderr] Downloaded sqlx-macros v0.5.7 [INFO] [stderr] Downloaded sqlx-core v0.5.7 [INFO] [stderr] Downloaded axum v0.2.4 [INFO] [stderr] Downloaded sqlx v0.5.7 [INFO] [stderr] Downloaded sqlx-rt v0.5.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35e8b77bf190ece5b2d95227fbcb4d0d8822f3fee75cbfa54c6639a376a92f5f [INFO] running `Command { std: "docker" "start" "-a" "35e8b77bf190ece5b2d95227fbcb4d0d8822f3fee75cbfa54c6639a376a92f5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35e8b77bf190ece5b2d95227fbcb4d0d8822f3fee75cbfa54c6639a376a92f5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35e8b77bf190ece5b2d95227fbcb4d0d8822f3fee75cbfa54c6639a376a92f5f", kill_on_drop: false }` [INFO] [stdout] 35e8b77bf190ece5b2d95227fbcb4d0d8822f3fee75cbfa54c6639a376a92f5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11b335ff7efb682c7fbd7e7a252bc1147645d6aa443684ac5e7ab7d168091021 [INFO] running `Command { std: "docker" "start" "-a" "11b335ff7efb682c7fbd7e7a252bc1147645d6aa443684ac5e7ab7d168091021", kill_on_drop: false }` [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling minimal-lexical v0.1.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling whoami v1.1.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling num-bigint v0.4.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crc v2.0.0 [INFO] [stderr] Compiling tracing-core v0.1.19 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling sqlformat v0.1.7 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling tower-http v0.1.1 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling simple_asn1 v0.5.4 [INFO] [stderr] Compiling rsa v0.4.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling tower v0.4.8 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling hyper v0.14.12 [INFO] [stderr] Compiling sqlx-rt v0.5.7 [INFO] [stderr] Compiling sqlx-core v0.5.7 [INFO] [stderr] Compiling axum v0.2.4 [INFO] [stderr] Compiling sqlx-macros v0.5.7 [INFO] [stderr] Compiling sqlx v0.5.7 [INFO] [stderr] Compiling axum-sqlx-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tower::BoxError` [INFO] [stdout] --> src/handlers.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tower::BoxError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> src/handlers.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower_http::trace::Trace` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tower_http::trace::Trace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec: Encode<'_, _>` is not satisfied [INFO] [stdout] --> src/models.rs:36:63 [INFO] [stdout] | [INFO] [stdout] 36 | sqlx::query_as("SELECT * FROM user WHERE id in (?)").bind(ids).fetch_all(pool).await [INFO] [stdout] | ---- ^^^ the trait `Encode<'_, _>` is not implemented for `Vec` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as Encode<'_, MySql>> [INFO] [stdout] note: required by a bound in `QueryAs::<'q, DB, O, >::Arguments>::bind` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.5.7/src/query_as.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn bind + Type>(mut self, value: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `QueryAs::<'q, DB, O, >::Arguments>::bind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec: Type<_>` is not satisfied [INFO] [stdout] --> src/models.rs:36:63 [INFO] [stdout] | [INFO] [stdout] 36 | sqlx::query_as("SELECT * FROM user WHERE id in (?)").bind(ids).fetch_all(pool).await [INFO] [stdout] | ---- ^^^ the trait `Type<_>` is not implemented for `Vec` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as Type> [INFO] [stdout] note: required by a bound in `QueryAs::<'q, DB, O, >::Arguments>::bind` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.5.7/src/query_as.rs:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn bind + Type>(mut self, value: T) -> Self { [INFO] [stdout] | ^^^^^^^^ required by this bound in `QueryAs::<'q, DB, O, >::Arguments>::bind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-sqlx-demo` due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "11b335ff7efb682c7fbd7e7a252bc1147645d6aa443684ac5e7ab7d168091021", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11b335ff7efb682c7fbd7e7a252bc1147645d6aa443684ac5e7ab7d168091021", kill_on_drop: false }` [INFO] [stdout] 11b335ff7efb682c7fbd7e7a252bc1147645d6aa443684ac5e7ab7d168091021