[INFO] cloning repository https://github.com/smallfangqwq/prescore-backend-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/smallfangqwq/prescore-backend-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmallfangqwq%2Fprescore-backend-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmallfangqwq%2Fprescore-backend-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a5b6efe53598fd34c5f74fa89eb561269f3a50e [INFO] checking smallfangqwq/prescore-backend-rust against try#dd2d87b6cc31907ae305875eb6be399783dc0256 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmallfangqwq%2Fprescore-backend-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/smallfangqwq/prescore-backend-rust [INFO] finished tweaking git repo https://github.com/smallfangqwq/prescore-backend-rust [INFO] tweaked toml for git repo https://github.com/smallfangqwq/prescore-backend-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/smallfangqwq/prescore-backend-rust on toolchain dd2d87b6cc31907ae305875eb6be399783dc0256 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/smallfangqwq/prescore-backend-rust 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" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d533860837f4868d564fbc57a2a04a858d197bd3b2d5b617a380b836924ed38 [INFO] running `Command { std: "docker" "start" "-a" "4d533860837f4868d564fbc57a2a04a858d197bd3b2d5b617a380b836924ed38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d533860837f4868d564fbc57a2a04a858d197bd3b2d5b617a380b836924ed38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d533860837f4868d564fbc57a2a04a858d197bd3b2d5b617a380b836924ed38", kill_on_drop: false }` [INFO] [stdout] 4d533860837f4868d564fbc57a2a04a858d197bd3b2d5b617a380b836924ed38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acad0054412ad05d9cb548bfa3bdea0fe3d890c9a2951b462b2b977a625c16c5 [INFO] running `Command { std: "docker" "start" "-a" "acad0054412ad05d9cb548bfa3bdea0fe3d890c9a2951b462b2b977a625c16c5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking unicode-properties v0.1.2 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking bytemuck v1.17.1 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking roxmltree v0.20.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking arrayref v0.3.8 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking fontconfig-parser v0.5.7 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking kurbo v0.11.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking anymap2 v0.13.0 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking unicode-script v0.5.6 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Checking unicode-ccc v0.2.0 [INFO] [stderr] Compiling pq-sys v0.6.1 [INFO] [stderr] Checking unicode-bidi-mirroring v0.2.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking rustybuzz v0.13.0 [INFO] [stderr] Checking fontdb v0.16.2 [INFO] [stderr] Checking svgtypes v0.15.2 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking publicsuffix v2.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling libwebp-sys v0.9.5 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking simplecss v0.2.1 [INFO] [stderr] Checking unicode-vo v0.1.0 [INFO] [stderr] Checking xmlwriter v0.1.0 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking imagesize v0.12.0 [INFO] [stderr] Checking data-url v0.3.1 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking roxmltree v0.19.0 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking cookie v0.16.2 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking pure-rust-locales v0.8.1 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking state v0.6.0 [INFO] [stderr] Checking usvg v0.41.0 [INFO] [stderr] Checking float-ord v0.3.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking adqselect v0.1.3 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Checking resvg v0.41.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling liquid-derive v0.26.8 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling perm_macro v0.1.0 (/opt/rustwide/workdir/perm_macro) [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling dsl_auto_type v0.1.2 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling diesel_derives v2.2.3 [INFO] [stderr] Checking postgres-protocol v0.6.7 [INFO] [stderr] Checking postgres-types v0.2.7 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Checking webp v0.3.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tokio-postgres v0.7.11 [INFO] [stderr] Checking actix-server v2.5.0 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking postgres v0.19.8 [INFO] [stderr] Checking kstring v2.0.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking liquid-core v0.26.9 [INFO] [stderr] Checking cookie_store v0.21.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking liquid-lib v0.26.9 [INFO] [stderr] Checking diesel v2.2.3 [INFO] [stderr] Checking actix-http v3.9.0 [INFO] [stderr] Checking liquid v0.26.9 [INFO] [stderr] Checking actix-web v4.9.0 [INFO] [stderr] Checking prescore_be v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] Build module: exam [INFO] [stdout] Build module: img [INFO] [stdout] Build module: paper [INFO] [stdout] Build module: token [INFO] [stdout] Build module: upload [INFO] [stdout] Build module: exam [INFO] [stdout] Build module: img [INFO] [stdout] Build module: paper [INFO] [stdout] Build module: token [INFO] [stdout] Build module: upload [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/handler/img.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | let data = crate::FONTPATH.take().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/exam.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/exam.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/exam.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/exam.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/exam.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 169 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/exam.rs:201:29 [INFO] [stdout] | [INFO] [stdout] 201 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/exam.rs:212:29 [INFO] [stdout] | [INFO] [stdout] 212 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/exam.rs:431:29 [INFO] [stdout] | [INFO] [stdout] 431 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/exam_number.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/exam_number.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/user.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/user.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/user.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/user.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/user.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/handler/img.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | let data = crate::FONTPATH.take().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/exam.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/exam.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/exam.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/exam.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/exam.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 169 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/exam.rs:201:29 [INFO] [stdout] | [INFO] [stdout] 201 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/exam.rs:212:29 [INFO] [stdout] | [INFO] [stdout] 212 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/exam.rs:431:29 [INFO] [stdout] | [INFO] [stdout] 431 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/exam_number.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/exam_number.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/user.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/user.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/user.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/user.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/model/user.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | let mut conn = unsafe { DBPOOL.clone().unwrap().get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "acad0054412ad05d9cb548bfa3bdea0fe3d890c9a2951b462b2b977a625c16c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acad0054412ad05d9cb548bfa3bdea0fe3d890c9a2951b462b2b977a625c16c5", kill_on_drop: false }` [INFO] [stdout] acad0054412ad05d9cb548bfa3bdea0fe3d890c9a2951b462b2b977a625c16c5