[INFO] cloning repository https://github.com/liudesheng9/econ-society-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/liudesheng9/econ-society-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliudesheng9%2Fecon-society-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliudesheng9%2Fecon-society-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da8b2dd3262cd589f48d82cf693b61b2839895bb [INFO] checking liudesheng9/econ-society-backend against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliudesheng9%2Fecon-society-backend" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/liudesheng9/econ-society-backend [INFO] finished tweaking git repo https://github.com/liudesheng9/econ-society-backend [INFO] tweaked toml for git repo https://github.com/liudesheng9/econ-society-backend written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/liudesheng9/econ-society-backend 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/liudesheng9/econ-society-backend 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] ef9ea8c461996e0b20c04025e1d4ed667437303ba52d810bfc8fba69c7e1b93a [INFO] running `Command { std: "docker" "start" "-a" "ef9ea8c461996e0b20c04025e1d4ed667437303ba52d810bfc8fba69c7e1b93a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef9ea8c461996e0b20c04025e1d4ed667437303ba52d810bfc8fba69c7e1b93a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef9ea8c461996e0b20c04025e1d4ed667437303ba52d810bfc8fba69c7e1b93a", kill_on_drop: false }` [INFO] [stdout] ef9ea8c461996e0b20c04025e1d4ed667437303ba52d810bfc8fba69c7e1b93a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] b508f28d9f82c2fb1e6ef30624a62240d28e42175444780613f9ddafecf147bc [INFO] running `Command { std: "docker" "start" "-a" "b508f28d9f82c2fb1e6ef30624a62240d28e42175444780613f9ddafecf147bc", kill_on_drop: false }` [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Checking toml_write v0.1.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Checking winnow v0.7.9 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling pq-sys v0.7.1 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling diesel_derives v2.2.5 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking unicase_serde v0.1.0 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Checking email-encoding v0.2.1 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking quoted_printable v0.4.8 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling migrations_internals v2.2.0 [INFO] [stderr] Compiling migrations_macros v2.2.0 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking lettre v0.10.4 [INFO] [stderr] Checking diesel v2.2.10 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking redis v0.24.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking rocket_cors v0.6.0 [INFO] [stderr] Checking diesel_migrations v2.2.0 [INFO] [stderr] Checking econ-society-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/email/models.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [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: `diesel::prelude::*` [INFO] [stdout] --> src/google_scholar/models.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/email/models.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [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: `diesel::prelude::*` [INFO] [stdout] --> src/google_scholar/models.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::current_users` [INFO] [stdout] --> src/user_mutate/api_functions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::schema::current_users; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::AsyncCommands` [INFO] [stdout] --> src/utils/rds_conn.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use redis::AsyncCommands; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::current_users` [INFO] [stdout] --> src/user_mutate/api_functions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::schema::current_users; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::AsyncCommands` [INFO] [stdout] --> src/utils/rds_conn.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use redis::AsyncCommands; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/utils/db.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | 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] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/utils/db.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | 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 `econ-society-backend` (bin "econ-society-backend") due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `econ-society-backend` (bin "econ-society-backend" test) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b508f28d9f82c2fb1e6ef30624a62240d28e42175444780613f9ddafecf147bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b508f28d9f82c2fb1e6ef30624a62240d28e42175444780613f9ddafecf147bc", kill_on_drop: false }` [INFO] [stdout] b508f28d9f82c2fb1e6ef30624a62240d28e42175444780613f9ddafecf147bc