[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] testing blackksheepp/notion-cli against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblackksheepp%2Fnotion-cli" "/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/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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/blackksheepp/notion-cli 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/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ascii v1.1.0 [INFO] [stderr] Downloaded multipart v0.18.0 [INFO] [stderr] Downloaded safemem v0.3.3 [INFO] [stderr] Downloaded rustls-pki-types v1.8.0 [INFO] [stderr] Downloaded unicase v2.7.0 [INFO] [stderr] Downloaded rustls-pemfile v2.1.3 [INFO] [stderr] Downloaded notion v0.6.0 [INFO] [stderr] Downloaded deflate v1.0.0 [INFO] [stderr] Downloaded hyper-util v0.1.8 [INFO] [stderr] Downloaded cc v1.1.21 [INFO] [stderr] Downloaded rouille v3.6.2 [INFO] [stderr] Downloaded gzip-header v1.0.0 [INFO] [stderr] Downloaded buf_redux v0.8.4 [INFO] [stderr] Downloaded tiny_http v0.12.0 [INFO] [stderr] Downloaded webbrowser v1.0.2 [INFO] [stderr] Downloaded chunked_transfer v1.5.0 [INFO] [stderr] Downloaded sha1_smol v1.0.1 [INFO] [stderr] Downloaded rustls v0.23.13 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66e08dc5f84d1acf120d476b5c1ef13e40dbd9b6b006227f3ea6d678e088098e [INFO] running `Command { std: "docker" "start" "-a" "66e08dc5f84d1acf120d476b5c1ef13e40dbd9b6b006227f3ea6d678e088098e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66e08dc5f84d1acf120d476b5c1ef13e40dbd9b6b006227f3ea6d678e088098e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66e08dc5f84d1acf120d476b5c1ef13e40dbd9b6b006227f3ea6d678e088098e", kill_on_drop: false }` [INFO] [stdout] 66e08dc5f84d1acf120d476b5c1ef13e40dbd9b6b006227f3ea6d678e088098e [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf126a592cf15e35233a8345241ebd83b8cc8a9f444f16ed92c388758f77e7fb [INFO] running `Command { std: "docker" "start" "-a" "cf126a592cf15e35233a8345241ebd83b8cc8a9f444f16ed92c388758f77e7fb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [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 http v0.2.12 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling ipnet v2.10.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling gzip-header v1.0.0 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling chunked_transfer v1.5.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling tiny_http v0.12.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling webbrowser v1.0.2 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling rusqlite v0.32.1 [INFO] [stderr] Compiling multipart v0.18.0 [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.4.6 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.38 [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 2m 25s [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 2` [INFO] running `Command { std: "docker" "inspect" "cf126a592cf15e35233a8345241ebd83b8cc8a9f444f16ed92c388758f77e7fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf126a592cf15e35233a8345241ebd83b8cc8a9f444f16ed92c388758f77e7fb", kill_on_drop: false }` [INFO] [stdout] cf126a592cf15e35233a8345241ebd83b8cc8a9f444f16ed92c388758f77e7fb [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fc94fb17a3ce39e62d21165ae03836f1dbcd4a36c6f536c480bd8184c11457c [INFO] running `Command { std: "docker" "start" "-a" "1fc94fb17a3ce39e62d21165ae03836f1dbcd4a36c6f536c480bd8184c11457c", 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 3.74s [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 2` [INFO] running `Command { std: "docker" "inspect" "1fc94fb17a3ce39e62d21165ae03836f1dbcd4a36c6f536c480bd8184c11457c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fc94fb17a3ce39e62d21165ae03836f1dbcd4a36c6f536c480bd8184c11457c", kill_on_drop: false }` [INFO] [stdout] 1fc94fb17a3ce39e62d21165ae03836f1dbcd4a36c6f536c480bd8184c11457c [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 39f0028d8e99234bc34ee8bf6f794aebac87154f6c3b14249f5ac060c790e19c [INFO] running `Command { std: "docker" "start" "-a" "39f0028d8e99234bc34ee8bf6f794aebac87154f6c3b14249f5ac060c790e19c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `api::auth` [INFO] [stderr] --> src/components/controls.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | api::auth, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `AUTHENTICATED` [INFO] [stderr] --> src/views/home.rs:5:74 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::{components::controls::controls, utils::controls::write_ctrl, AUTHENTICATED}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stderr] --> src/api/auth.rs:16:27 [INFO] [stderr] | [INFO] [stderr] 16 | let encoded = base64::encode(format!("{}:{}", client_id, client_secret)); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_notion` is never used [INFO] [stderr] --> src/api/mod.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn get_notion() -> &'static NotionApi { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/api/mod.rs:27:14 [INFO] [stderr] | [INFO] [stderr] 27 | unsafe { NOTION.as_ref().expect("Database not initialized") } [INFO] [stderr] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/database/mod.rs:38:14 [INFO] [stderr] | [INFO] [stderr] 38 | unsafe { DATABASE.as_ref().expect("Database not initialized") } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/utils/http.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | / SERVER_HANDLE [INFO] [stderr] 26 | | .as_mut() [INFO] [stderr] | |_____________________^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/utils/http.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | / SERVER_HANDLE [INFO] [stderr] 37 | | .as_mut() [INFO] [stderr] | |_____________________^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `notion_cli` (bin "notion_cli" test) generated 8 warnings (run `cargo fix --bin "notion_cli" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [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 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/notion_cli-a47a485ebf59b1f7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "39f0028d8e99234bc34ee8bf6f794aebac87154f6c3b14249f5ac060c790e19c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39f0028d8e99234bc34ee8bf6f794aebac87154f6c3b14249f5ac060c790e19c", kill_on_drop: false }` [INFO] [stdout] 39f0028d8e99234bc34ee8bf6f794aebac87154f6c3b14249f5ac060c790e19c