[INFO] cloning repository https://github.com/ThomasPokorny/Rust-Axum-REST-API-Template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThomasPokorny/Rust-Axum-REST-API-Template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasPokorny%2FRust-Axum-REST-API-Template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasPokorny%2FRust-Axum-REST-API-Template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 493274d5a7e49e9f41c623da3c24bf3ec527a524 [INFO] checking ThomasPokorny/Rust-Axum-REST-API-Template against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasPokorny%2FRust-Axum-REST-API-Template" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ThomasPokorny/Rust-Axum-REST-API-Template [INFO] finished tweaking git repo https://github.com/ThomasPokorny/Rust-Axum-REST-API-Template [INFO] tweaked toml for git repo https://github.com/ThomasPokorny/Rust-Axum-REST-API-Template written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ThomasPokorny/Rust-Axum-REST-API-Template 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/ThomasPokorny/Rust-Axum-REST-API-Template 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] 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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63367033653a4e2d30698fb38f7119b63bf769c38ec6d9d91b53ab02f74c26df [INFO] running `Command { std: "docker" "start" "-a" "63367033653a4e2d30698fb38f7119b63bf769c38ec6d9d91b53ab02f74c26df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63367033653a4e2d30698fb38f7119b63bf769c38ec6d9d91b53ab02f74c26df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63367033653a4e2d30698fb38f7119b63bf769c38ec6d9d91b53ab02f74c26df", kill_on_drop: false }` [INFO] [stdout] 63367033653a4e2d30698fb38f7119b63bf769c38ec6d9d91b53ab02f74c26df [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=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] eef38781bef9a035003ea3c4798dc40d9909342937683a57190f2dc40451a9bd [INFO] running `Command { std: "docker" "start" "-a" "eef38781bef9a035003ea3c4798dc40d9909342937683a57190f2dc40451a9bd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling zstd-safe v7.0.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking brotli v3.4.0 [INFO] [stderr] Checking iri-string v0.7.0 [INFO] [stderr] Checking http-range-header v0.4.0 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking quote v1.0.35 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling o2o-impl v0.4.8 [INFO] [stderr] Compiling o2o-macros v0.4.8 [INFO] [stderr] Checking o2o v0.4.8 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling diesel_derives v2.1.2 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling utoipa-gen v4.3.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking axum-core v0.4.3 [INFO] [stderr] Checking zstd v0.13.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking deadpool-runtime v0.1.3 [INFO] [stderr] Checking hyper v1.2.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking async-compression v0.4.6 [INFO] [stderr] Checking deadpool v0.12.0 [INFO] [stderr] Checking deadpool-sync v0.1.2 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.15 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking diesel v2.1.6 [INFO] [stderr] Checking axum v0.7.5 [INFO] [stderr] Checking utoipa v4.2.3 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking migrations_internals v2.1.0 [INFO] [stderr] Compiling migrations_macros v2.1.0 [INFO] [stderr] Checking diesel_migrations v2.1.0 [INFO] [stderr] Checking deadpool-diesel v0.6.1 [INFO] [stderr] Checking axum-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/platform/db/migration.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | 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 `axum-template` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/platform/db/migration.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | 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 `axum-template` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "eef38781bef9a035003ea3c4798dc40d9909342937683a57190f2dc40451a9bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eef38781bef9a035003ea3c4798dc40d9909342937683a57190f2dc40451a9bd", kill_on_drop: false }` [INFO] [stdout] eef38781bef9a035003ea3c4798dc40d9909342937683a57190f2dc40451a9bd