[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] checking blackksheepp/notion-cli/f9edc46955b251f6b1978437b4a07ea675e1eaf2 against master#6f34f4ee074ce0affc7bbf4e2c835f66cd576f13 for pr-147017 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblackksheepp%2Fnotion-cli" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/blackksheepp/notion-cli on toolchain 6f34f4ee074ce0affc7bbf4e2c835f66cd576f13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "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" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gzip-header v1.0.0 [INFO] [stderr] Downloaded webbrowser v1.0.2 [INFO] [stderr] Downloaded rouille v3.6.2 [INFO] [stderr] Downloaded notion v0.6.0 [INFO] [stderr] Downloaded multipart v0.18.0 [INFO] [stderr] Downloaded rusqlite v0.32.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4bae9adb4839482053bbb35d698b87af45a212de661bae5b794f79b4f634819b [INFO] running `Command { std: "docker" "start" "-a" "4bae9adb4839482053bbb35d698b87af45a212de661bae5b794f79b4f634819b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bae9adb4839482053bbb35d698b87af45a212de661bae5b794f79b4f634819b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bae9adb4839482053bbb35d698b87af45a212de661bae5b794f79b4f634819b", kill_on_drop: false }` [INFO] [stdout] 4bae9adb4839482053bbb35d698b87af45a212de661bae5b794f79b4f634819b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdba83268bdccb3024110ccdec45dd0981725b77ebae393c9a95f7a345df3db7 [INFO] running `Command { std: "docker" "start" "-a" "cdba83268bdccb3024110ccdec45dd0981725b77ebae393c9a95f7a345df3db7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking gzip-header v1.0.0 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking chunked_transfer v1.5.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking tiny_http v0.12.0 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Checking brotli v3.5.0 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking webbrowser v1.0.2 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking regex v1.10.6 [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 thiserror-impl v1.0.63 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking indexmap v2.4.0 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking rusqlite v0.32.1 [INFO] [stderr] Checking multipart v0.18.0 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking rouille v3.6.2 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper-util v0.1.8 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking notion v0.6.0 [INFO] [stderr] Checking 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: 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] [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 56.43s [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 5` [INFO] running `Command { std: "docker" "inspect" "cdba83268bdccb3024110ccdec45dd0981725b77ebae393c9a95f7a345df3db7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdba83268bdccb3024110ccdec45dd0981725b77ebae393c9a95f7a345df3db7", kill_on_drop: false }` [INFO] [stdout] cdba83268bdccb3024110ccdec45dd0981725b77ebae393c9a95f7a345df3db7