[INFO] cloning repository https://github.com/haelshot/rust_atm_api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/haelshot/rust_atm_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaelshot%2Frust_atm_api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaelshot%2Frust_atm_api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07730deb2e25f56e245c5215b37458f154f72f1f [INFO] checking haelshot/rust_atm_api against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaelshot%2Frust_atm_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] started tweaking git repo https://github.com/haelshot/rust_atm_api [INFO] finished tweaking git repo https://github.com/haelshot/rust_atm_api [INFO] tweaked toml for git repo https://github.com/haelshot/rust_atm_api written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/haelshot/rust_atm_api on toolchain 943e2200e35c3825486c4671b6cab0107a07f8c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/haelshot/rust_atm_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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a57c22c3d1a585ddf34bb316a8bdd7ac8273cfb56a1b078c2e1ca439917f8791 [INFO] running `Command { std: "docker" "start" "-a" "a57c22c3d1a585ddf34bb316a8bdd7ac8273cfb56a1b078c2e1ca439917f8791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a57c22c3d1a585ddf34bb316a8bdd7ac8273cfb56a1b078c2e1ca439917f8791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a57c22c3d1a585ddf34bb316a8bdd7ac8273cfb56a1b078c2e1ca439917f8791", kill_on_drop: false }` [INFO] [stdout] a57c22c3d1a585ddf34bb316a8bdd7ac8273cfb56a1b078c2e1ca439917f8791 [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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5498f7b1158b6296f583bf1e7da9222f3b928d1121de628fadefc9d64bb5144e [INFO] running `Command { std: "docker" "start" "-a" "5498f7b1158b6296f583bf1e7da9222f3b928d1121de628fadefc9d64bb5144e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling winnow v0.6.11 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling pq-sys v0.6.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking retain_mut v0.1.9 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling axum-macros v0.3.8 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling dsl_auto_type v0.1.0 [INFO] [stderr] Compiling diesel_derives v2.2.0 [INFO] [stderr] Checking serde v1.0.203 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking hyper v0.14.29 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking deadpool v0.9.5 [INFO] [stderr] Checking deadpool-sync v0.1.3 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking diesel v2.2.0 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Checking migrations_internals v2.2.0 [INFO] [stderr] Compiling migrations_macros v2.2.0 [INFO] [stderr] Checking diesel_migrations v2.2.0 [INFO] [stderr] Checking deadpool-diesel v0.4.1 [INFO] [stderr] Checking rust_atm_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `post` [INFO] [stdout] --> src/app.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::routing::{get, post}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post` [INFO] [stdout] --> src/app.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::routing::{get, post}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/main.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | pub const MIGRATIONS: EmbeddedMigrations = embed_migrations!("migrations/"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `embed_migrations` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/app.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn app_router(state: AppState) -> Router { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/main.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | pub const MIGRATIONS: EmbeddedMigrations = embed_migrations!("migrations/"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `embed_migrations` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_atm_api` (bin "rust_atm_api") due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/app.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn app_router(state: AppState) -> Router { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_atm_api` (bin "rust_atm_api" test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5498f7b1158b6296f583bf1e7da9222f3b928d1121de628fadefc9d64bb5144e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5498f7b1158b6296f583bf1e7da9222f3b928d1121de628fadefc9d64bb5144e", kill_on_drop: false }` [INFO] [stdout] 5498f7b1158b6296f583bf1e7da9222f3b928d1121de628fadefc9d64bb5144e