[INFO] cloning repository https://github.com/nully0x/ajps-aau [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nully0x/ajps-aau" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnully0x%2Fajps-aau", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnully0x%2Fajps-aau'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef24e8d671d43980a5c83c9af647d262d8cda439 [INFO] building nully0x/ajps-aau against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnully0x%2Fajps-aau" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nully0x/ajps-aau [INFO] finished tweaking git repo https://github.com/nully0x/ajps-aau [INFO] tweaked toml for git repo https://github.com/nully0x/ajps-aau written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nully0x/ajps-aau on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nully0x/ajps-aau 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator v0.20.0 [INFO] [stderr] Downloaded parse-size v1.1.0 [INFO] [stderr] Downloaded bcrypt v0.17.0 [INFO] [stderr] Downloaded actix-multipart-derive v0.7.0 [INFO] [stderr] Downloaded hashlink v0.9.1 [INFO] [stderr] Downloaded actix-multipart v0.7.2 [INFO] [stderr] Downloaded actix-session v0.10.1 [INFO] [stderr] Downloaded jiff-static v0.2.5 [INFO] [stderr] Downloaded miniz_oxide v0.8.7 [INFO] [stderr] Downloaded serde_plain v1.0.2 [INFO] [stderr] Downloaded cc v1.2.18 [INFO] [stderr] Downloaded askama_escape v0.13.0 [INFO] [stderr] Downloaded rusqlite v0.32.1 [INFO] [stderr] Downloaded jiff v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60636c5f7ee918b8867b2ccedfd3c54672a25a07d7da547f739f0e53e3d2b812 [INFO] running `Command { std: "docker" "start" "-a" "60636c5f7ee918b8867b2ccedfd3c54672a25a07d7da547f739f0e53e3d2b812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60636c5f7ee918b8867b2ccedfd3c54672a25a07d7da547f739f0e53e3d2b812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60636c5f7ee918b8867b2ccedfd3c54672a25a07d7da547f739f0e53e3d2b812", kill_on_drop: false }` [INFO] [stdout] 60636c5f7ee918b8867b2ccedfd3c54672a25a07d7da547f739f0e53e3d2b812 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9c83355e3159eea07b0978ab7ab53426f41f94ef72719826d860732e603f389 [INFO] running `Command { std: "docker" "start" "-a" "f9c83355e3159eea07b0978ab7ab53426f41f94ef72719826d860732e603f389", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling miniz_oxide v0.8.7 [INFO] [stderr] Compiling brotli-decompressor v4.0.2 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.2.18 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling parse-size v1.1.0 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling jiff v0.2.5 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling http-range v0.1.5 [INFO] [stderr] Compiling bcrypt v0.17.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling askama_escape v0.13.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling actix-multipart-derive v0.7.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling serde_plain v1.0.2 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling actix-server v2.5.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling askama v0.12.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling rusqlite v0.32.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling validator v0.20.0 [INFO] [stderr] Compiling actix-http v3.10.0 [INFO] [stderr] Compiling actix-web v4.10.2 [INFO] [stderr] Compiling actix-files v0.6.6 [INFO] [stderr] Compiling actix-multipart v0.7.2 [INFO] [stderr] Compiling actix-session v0.10.1 [INFO] [stderr] Compiling journal-site v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Result as RusqliteResult` [INFO] [stdout] --> src/db/admin_repository.rs:2:55 [INFO] [stdout] | [INFO] [stdout] 2 | use rusqlite::{params, Connection, OptionalExtension, Result as RusqliteResult}; [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: `actix_web::web::Bytes` [INFO] [stdout] --> src/utils/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::web::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes/submissions.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut created_at = None; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/db/journal_repository.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | let naive_dt = NaiveDateTime::from_timestamp_opt(publication_date_timestamp, 0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/db/journal_repository.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 24 | let publication_date = DateTime::::from_utc(naive_dt, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/db/journal_repository.rs:29:44 [INFO] [stdout] | [INFO] [stdout] 29 | .map(|dt| DateTime::::from_utc(dt, Utc)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/db/submission_repository.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | .map(|dt| DateTime::::from_utc(dt, Utc)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryStreamExt` [INFO] [stdout] --> src/utils/mod.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/routes/admin.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 54 | struct AdminSubmissionsTemplate { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | title: &'static str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result as RusqliteResult` [INFO] [stdout] --> src/db/admin_repository.rs:2:55 [INFO] [stdout] | [INFO] [stdout] 2 | use rusqlite::{params, Connection, OptionalExtension, Result as RusqliteResult}; [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: `actix_web::web::Bytes` [INFO] [stdout] --> src/utils/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::web::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes/submissions.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut created_at = None; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/db/journal_repository.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | let naive_dt = NaiveDateTime::from_timestamp_opt(publication_date_timestamp, 0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/db/journal_repository.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 24 | let publication_date = DateTime::::from_utc(naive_dt, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/db/journal_repository.rs:29:44 [INFO] [stdout] | [INFO] [stdout] 29 | .map(|dt| DateTime::::from_utc(dt, Utc)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/db/submission_repository.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | .map(|dt| DateTime::::from_utc(dt, Utc)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryStreamExt` [INFO] [stdout] --> src/utils/mod.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JournalConfig` is never constructed [INFO] [stdout] --> src/config.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct JournalConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_journal_config` is never used [INFO] [stdout] --> src/config.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_journal_config() -> JournalConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_journals_by_volume_issue` is never used [INFO] [stdout] --> src/db/journal_repository.rs:337:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl JournalRepository { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 337 | pub fn get_journals_by_volume_issue( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unauthorized` is never constructed [INFO] [stdout] --> src/errors/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum SubmissionError { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | Unauthorized(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubmissionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pdf_url` is never used [INFO] [stdout] --> src/models/journals.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Journal { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn pdf_url(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pdf_filename` is never used [INFO] [stdout] --> src/models/submission.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Submission { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn pdf_filename(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/routes/admin.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 54 | struct AdminSubmissionsTemplate { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | title: &'static str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdminLoginTemplate` is never constructed [INFO] [stdout] --> src/routes/admin.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | struct AdminLoginTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 40s [INFO] running `Command { std: "docker" "inspect" "f9c83355e3159eea07b0978ab7ab53426f41f94ef72719826d860732e603f389", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9c83355e3159eea07b0978ab7ab53426f41f94ef72719826d860732e603f389", kill_on_drop: false }` [INFO] [stdout] f9c83355e3159eea07b0978ab7ab53426f41f94ef72719826d860732e603f389 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ce2609516fa85062e704f941504050588528a30eafbb7fbc15b0f40515846f2 [INFO] running `Command { std: "docker" "start" "-a" "4ce2609516fa85062e704f941504050588528a30eafbb7fbc15b0f40515846f2", kill_on_drop: false }` [INFO] [stderr] Compiling journal-site v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Result as RusqliteResult` [INFO] [stdout] --> src/db/admin_repository.rs:2:55 [INFO] [stdout] | [INFO] [stdout] 2 | use rusqlite::{params, Connection, OptionalExtension, Result as RusqliteResult}; [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: `actix_web::web::Bytes` [INFO] [stdout] --> src/utils/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::web::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes/submissions.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut created_at = None; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/db/journal_repository.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | let naive_dt = NaiveDateTime::from_timestamp_opt(publication_date_timestamp, 0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/db/journal_repository.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 24 | let publication_date = DateTime::::from_utc(naive_dt, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/db/journal_repository.rs:29:44 [INFO] [stdout] | [INFO] [stdout] 29 | .map(|dt| DateTime::::from_utc(dt, Utc)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/db/submission_repository.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | .map(|dt| DateTime::::from_utc(dt, Utc)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryStreamExt` [INFO] [stdout] --> src/utils/mod.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/routes/admin.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 54 | struct AdminSubmissionsTemplate { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | title: &'static str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result as RusqliteResult` [INFO] [stdout] --> src/db/admin_repository.rs:2:55 [INFO] [stdout] | [INFO] [stdout] 2 | use rusqlite::{params, Connection, OptionalExtension, Result as RusqliteResult}; [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: `actix_web::web::Bytes` [INFO] [stdout] --> src/utils/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::web::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result as RusqliteResult` [INFO] [stdout] --> src/db/admin_repository.rs:2:55 [INFO] [stdout] | [INFO] [stdout] 2 | use rusqlite::{params, Connection, OptionalExtension, Result as RusqliteResult}; [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: `actix_web::web::Bytes` [INFO] [stdout] --> src/utils/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::web::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes/submissions.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut created_at = None; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/db/journal_repository.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | let naive_dt = NaiveDateTime::from_timestamp_opt(publication_date_timestamp, 0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/db/journal_repository.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 24 | let publication_date = DateTime::::from_utc(naive_dt, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/db/journal_repository.rs:29:44 [INFO] [stdout] | [INFO] [stdout] 29 | .map(|dt| DateTime::::from_utc(dt, Utc)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/db/submission_repository.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | .map(|dt| DateTime::::from_utc(dt, Utc)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes/submissions.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut created_at = None; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/db/journal_repository.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | let naive_dt = NaiveDateTime::from_timestamp_opt(publication_date_timestamp, 0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/db/journal_repository.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 24 | let publication_date = DateTime::::from_utc(naive_dt, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/db/journal_repository.rs:29:44 [INFO] [stdout] | [INFO] [stdout] 29 | .map(|dt| DateTime::::from_utc(dt, Utc)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/db/submission_repository.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | .map(|dt| DateTime::::from_utc(dt, Utc)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryStreamExt` [INFO] [stdout] --> src/utils/mod.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryStreamExt` [INFO] [stdout] --> src/utils/mod.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/routes/admin.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 54 | struct AdminSubmissionsTemplate { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | title: &'static str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JournalConfig` is never constructed [INFO] [stdout] --> src/config.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct JournalConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_journal_config` is never used [INFO] [stdout] --> src/config.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_journal_config() -> JournalConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_journals_by_volume_issue` is never used [INFO] [stdout] --> src/db/journal_repository.rs:337:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl JournalRepository { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 337 | pub fn get_journals_by_volume_issue( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unauthorized` is never constructed [INFO] [stdout] --> src/errors/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum SubmissionError { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | Unauthorized(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubmissionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pdf_url` is never used [INFO] [stdout] --> src/models/journals.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Journal { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn pdf_url(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pdf_filename` is never used [INFO] [stdout] --> src/models/submission.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Submission { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn pdf_filename(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/routes/admin.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 54 | struct AdminSubmissionsTemplate { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | title: &'static str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdminLoginTemplate` is never constructed [INFO] [stdout] --> src/routes/admin.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | struct AdminLoginTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.43s [INFO] running `Command { std: "docker" "inspect" "4ce2609516fa85062e704f941504050588528a30eafbb7fbc15b0f40515846f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ce2609516fa85062e704f941504050588528a30eafbb7fbc15b0f40515846f2", kill_on_drop: false }` [INFO] [stdout] 4ce2609516fa85062e704f941504050588528a30eafbb7fbc15b0f40515846f2