[INFO] cloning repository https://github.com/blackksheepp/notion-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/blackksheepp/notion-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblackksheepp%2Fnotion-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblackksheepp%2Fnotion-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f9edc46955b251f6b1978437b4a07ea675e1eaf2 [INFO] building blackksheepp/notion-cli against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblackksheepp%2Fnotion-cli" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/blackksheepp/notion-cli [INFO] finished tweaking git repo https://github.com/blackksheepp/notion-cli [INFO] tweaked toml for git repo https://github.com/blackksheepp/notion-cli written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/blackksheepp/notion-cli on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/blackksheepp/notion-cli 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.93 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Downloaded core-foundation v0.10.0 [INFO] [stderr] Downloaded chunked_transfer v1.5.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.93 [INFO] [stderr] Downloaded num_threads v0.1.7 [INFO] [stderr] Downloaded security-framework-sys v2.12.0 [INFO] [stderr] Downloaded unicase v2.7.0 [INFO] [stderr] Downloaded adler32 v1.2.0 [INFO] [stderr] Downloaded crossterm_winapi v0.9.1 [INFO] [stderr] Downloaded signal-hook-mio v0.2.4 [INFO] [stderr] Downloaded hyper-util v0.1.8 [INFO] [stderr] Downloaded base64 v0.13.1 [INFO] [stderr] Downloaded crossterm v0.28.1 [INFO] [stderr] Downloaded indexmap v2.4.0 [INFO] [stderr] Downloaded deflate v1.0.0 [INFO] [stderr] Downloaded rouille v3.6.2 [INFO] [stderr] Downloaded schannel v0.1.24 [INFO] [stderr] Downloaded brotli-decompressor v2.5.1 [INFO] [stderr] Downloaded serde_json v1.0.128 [INFO] [stderr] Downloaded rusqlite v0.32.1 [INFO] [stderr] Downloaded reqwest v0.12.7 [INFO] [stderr] Downloaded rustls v0.23.13 [INFO] [stderr] Downloaded gzip-header v1.0.0 [INFO] [stderr] Downloaded ascii v1.1.0 [INFO] [stderr] Downloaded tiny_http v0.12.0 [INFO] [stderr] Downloaded object v0.36.4 [INFO] [stderr] Downloaded js-sys v0.3.70 [INFO] [stderr] Downloaded notion v0.6.0 [INFO] [stderr] Downloaded ipnet v2.10.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.43 [INFO] [stderr] Downloaded buf_redux v0.8.4 [INFO] [stderr] Downloaded quick-error v1.2.3 [INFO] [stderr] Downloaded multipart v0.18.0 [INFO] [stderr] Downloaded threadpool v1.8.1 [INFO] [stderr] Downloaded fallible-streaming-iterator v0.1.9 [INFO] [stderr] Downloaded web-sys v0.3.70 [INFO] [stderr] Downloaded fuzzy-matcher v0.3.7 [INFO] [stderr] Downloaded fallible-iterator v0.3.0 [INFO] [stderr] Downloaded safemem v0.3.3 [INFO] [stderr] Downloaded twoway v0.1.8 [INFO] [stderr] Downloaded num_cpus v1.16.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.93 [INFO] [stderr] Downloaded webbrowser v1.0.2 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.93 [INFO] [stderr] Downloaded tokio v1.40.0 [INFO] [stderr] Downloaded brotli v3.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52a0017800c66a62f928eb098e4eb4bf99ac84c9d6e44443346cce0aa26234ca [INFO] running `Command { std: "docker" "start" "-a" "52a0017800c66a62f928eb098e4eb4bf99ac84c9d6e44443346cce0aa26234ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52a0017800c66a62f928eb098e4eb4bf99ac84c9d6e44443346cce0aa26234ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52a0017800c66a62f928eb098e4eb4bf99ac84c9d6e44443346cce0aa26234ca", kill_on_drop: false }` [INFO] [stdout] 52a0017800c66a62f928eb098e4eb4bf99ac84c9d6e44443346cce0aa26234ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fef0a8947bed2102d05094fecfbd62df5971fd069aab763f70e58de8d3b19709 [INFO] running `Command { std: "docker" "start" "-a" "fef0a8947bed2102d05094fecfbd62df5971fd069aab763f70e58de8d3b19709", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling ipnet v2.10.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling gzip-header v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling chunked_transfer v1.5.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling tiny_http v0.12.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling webbrowser v1.0.2 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling rusqlite v0.32.1 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling rouille v3.6.2 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling hyper-util v0.1.8 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.7 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling notion v0.6.0 [INFO] [stderr] Compiling notion_cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `api::auth` [INFO] [stdout] --> src/components/controls.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | api::auth, [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: `AUTHENTICATED` [INFO] [stdout] --> src/views/home.rs:5:74 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{components::controls::controls, utils::controls::write_ctrl, AUTHENTICATED}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/api/auth.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | let encoded = base64::encode(format!("{}:{}", client_id, client_secret)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_notion` is never used [INFO] [stdout] --> src/api/mod.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_notion() -> &'static NotionApi { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/api/mod.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { NOTION.as_ref().expect("Database not initialized") } [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] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/database/mod.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe { DATABASE.as_ref().expect("Database not initialized") } [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/utils/http.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | / SERVER_HANDLE [INFO] [stdout] 26 | | .as_mut() [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/utils/http.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / SERVER_HANDLE [INFO] [stdout] 37 | | .as_mut() [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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "fef0a8947bed2102d05094fecfbd62df5971fd069aab763f70e58de8d3b19709", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fef0a8947bed2102d05094fecfbd62df5971fd069aab763f70e58de8d3b19709", kill_on_drop: false }` [INFO] [stdout] fef0a8947bed2102d05094fecfbd62df5971fd069aab763f70e58de8d3b19709 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96163b1296328fc2058bfb9eabc84f6d622faa2e9f5a9014080f7e8860ab6f12 [INFO] running `Command { std: "docker" "start" "-a" "96163b1296328fc2058bfb9eabc84f6d622faa2e9f5a9014080f7e8860ab6f12", kill_on_drop: false }` [INFO] [stderr] Compiling notion_cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `api::auth` [INFO] [stdout] --> src/components/controls.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | api::auth, [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: `AUTHENTICATED` [INFO] [stdout] --> src/views/home.rs:5:74 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{components::controls::controls, utils::controls::write_ctrl, AUTHENTICATED}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/api/auth.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | let encoded = base64::encode(format!("{}:{}", client_id, client_secret)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_notion` is never used [INFO] [stdout] --> src/api/mod.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_notion() -> &'static NotionApi { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/api/mod.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { NOTION.as_ref().expect("Database not initialized") } [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] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/database/mod.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe { DATABASE.as_ref().expect("Database not initialized") } [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/utils/http.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | / SERVER_HANDLE [INFO] [stdout] 26 | | .as_mut() [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/utils/http.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / SERVER_HANDLE [INFO] [stdout] 37 | | .as_mut() [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] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.99s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "96163b1296328fc2058bfb9eabc84f6d622faa2e9f5a9014080f7e8860ab6f12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96163b1296328fc2058bfb9eabc84f6d622faa2e9f5a9014080f7e8860ab6f12", kill_on_drop: false }` [INFO] [stdout] 96163b1296328fc2058bfb9eabc84f6d622faa2e9f5a9014080f7e8860ab6f12