[INFO] cloning repository https://github.com/enrui0206/language-delay [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/enrui0206/language-delay" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenrui0206%2Flanguage-delay", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenrui0206%2Flanguage-delay'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c9beeec40c4360502ce73a671fda4810f307be9d [INFO] checking enrui0206/language-delay against try#0f31acebf540c89e4a4d5d114959fe91973419cb for pr-147017 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenrui0206%2Flanguage-delay" "/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/enrui0206/language-delay [INFO] finished tweaking git repo https://github.com/enrui0206/language-delay [INFO] tweaked toml for git repo https://github.com/enrui0206/language-delay written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/enrui0206/language-delay on toolchain 0f31acebf540c89e4a4d5d114959fe91973419cb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/enrui0206/language-delay 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" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b0765057ba77119c27a4e7c8f42c494dfd871ce9876775eb14a8d39e89cba8b [INFO] running `Command { std: "docker" "start" "-a" "9b0765057ba77119c27a4e7c8f42c494dfd871ce9876775eb14a8d39e89cba8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b0765057ba77119c27a4e7c8f42c494dfd871ce9876775eb14a8d39e89cba8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b0765057ba77119c27a4e7c8f42c494dfd871ce9876775eb14a8d39e89cba8b", kill_on_drop: false }` [INFO] [stdout] 9b0765057ba77119c27a4e7c8f42c494dfd871ce9876775eb14a8d39e89cba8b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb8ecf53b6d6c11f13fc2d7cac9e461d433d8c2d5d3f71d2e2faafa1442ed5e6 [INFO] running `Command { std: "docker" "start" "-a" "cb8ecf53b6d6c11f13fc2d7cac9e461d433d8c2d5d3f71d2e2faafa1442ed5e6", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking getrandom v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking brotli-decompressor v4.0.2 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking base64 v0.20.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking brotli v7.0.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Checking winnow v0.7.6 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking deunicode v1.6.1 [INFO] [stderr] Compiling parse-size v1.1.0 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Checking bcrypt v0.17.0 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling libsqlite3-sys v0.32.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [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 tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [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 zstd-safe v7.2.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Compiling actix-multipart-derive v0.7.0 [INFO] [stderr] Compiling diesel_derives v2.2.4 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-server v2.5.1 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking serde_plain v1.0.2 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking actix-http v3.10.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking winres v0.1.12 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking diesel v2.2.9 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling migrations_internals v2.2.0 [INFO] [stderr] Compiling migrations_macros v2.2.0 [INFO] [stderr] Checking actix-web v4.10.2 [INFO] [stderr] Checking tera v1.20.0 [INFO] [stderr] Checking actix-multipart v0.7.2 [INFO] [stderr] Checking actix-session v0.10.1 [INFO] [stderr] Checking actix-files v0.6.6 [INFO] [stderr] Checking diesel_migrations v2.2.0 [INFO] [stderr] Checking language_delay_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::PathBuf; [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: `winres::WindowsResource` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winres::WindowsResource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::PathBuf; [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: `winres::WindowsResource` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winres::WindowsResource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let mut context = tera::Context::new(); [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: variable does not need to be mutable [INFO] [stdout] --> src/routes.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let mut context = tera::Context::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_name` [INFO] [stdout] --> src/routes.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | let user_name = match session.get::("username").unwrap() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let mut context = tera::Context::new(); [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: variable does not need to be mutable [INFO] [stdout] --> src/routes.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let mut context = tera::Context::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_name` [INFO] [stdout] --> src/routes.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | let user_name = match session.get::("username").unwrap() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Claims` is never constructed [INFO] [stdout] --> src/auth.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Claims { [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 `create_jwt` is never used [INFO] [stdout] --> src/auth.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn create_jwt(username: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_jwt` is never used [INFO] [stdout] --> src/auth.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn verify_jwt(token: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Claims` is never constructed [INFO] [stdout] --> src/auth.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Claims { [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 `create_jwt` is never used [INFO] [stdout] --> src/auth.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn create_jwt(username: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_jwt` is never used [INFO] [stdout] --> src/auth.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn verify_jwt(token: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "cb8ecf53b6d6c11f13fc2d7cac9e461d433d8c2d5d3f71d2e2faafa1442ed5e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb8ecf53b6d6c11f13fc2d7cac9e461d433d8c2d5d3f71d2e2faafa1442ed5e6", kill_on_drop: false }` [INFO] [stdout] cb8ecf53b6d6c11f13fc2d7cac9e461d433d8c2d5d3f71d2e2faafa1442ed5e6