[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#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [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] validating manifest of git repo https://github.com/blackksheepp/notion-cli on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded notion v0.6.0 [INFO] [stderr] Downloaded rouille v3.6.2 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 326758acde616538380fc8840d4ffe90d39b95546953be6ea75e151c0342f0d8 [INFO] running `Command { std: "docker" "start" "-a" "326758acde616538380fc8840d4ffe90d39b95546953be6ea75e151c0342f0d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "326758acde616538380fc8840d4ffe90d39b95546953be6ea75e151c0342f0d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "326758acde616538380fc8840d4ffe90d39b95546953be6ea75e151c0342f0d8", kill_on_drop: false }` [INFO] [stdout] 326758acde616538380fc8840d4ffe90d39b95546953be6ea75e151c0342f0d8 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc4ea0a957e2333f418930bd6ae4a24fdd824925d9cbc2fd17f0cb3bae635874 [INFO] running `Command { std: "docker" "start" "-a" "bc4ea0a957e2333f418930bd6ae4a24fdd824925d9cbc2fd17f0cb3bae635874", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [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 cc v1.1.21 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling http v0.2.12 [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 syn v2.0.77 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling ipnet v2.10.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling gzip-header v1.0.0 [INFO] [stderr] Compiling buf_redux v0.8.4 [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 url v2.5.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling chunked_transfer v1.5.0 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling tiny_http v0.12.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling webbrowser v1.0.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling crossterm v0.28.1 [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 serde_derive v1.0.210 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [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 hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling rusqlite v0.32.1 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling regex v1.10.6 [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 serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling rouille v3.6.2 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-util v0.1.8 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling notion v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.7 [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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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 is discouraged [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 is discouraged [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 35s [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" "bc4ea0a957e2333f418930bd6ae4a24fdd824925d9cbc2fd17f0cb3bae635874", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc4ea0a957e2333f418930bd6ae4a24fdd824925d9cbc2fd17f0cb3bae635874", kill_on_drop: false }` [INFO] [stdout] bc4ea0a957e2333f418930bd6ae4a24fdd824925d9cbc2fd17f0cb3bae635874 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a9c74b1aa587a966a9c71af0537b9146924fd7144a923a49fc2aec48c04652e [INFO] running `Command { std: "docker" "start" "-a" "1a9c74b1aa587a966a9c71af0537b9146924fd7144a923a49fc2aec48c04652e", 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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 is discouraged [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 is discouraged [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 1.61s [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" "1a9c74b1aa587a966a9c71af0537b9146924fd7144a923a49fc2aec48c04652e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a9c74b1aa587a966a9c71af0537b9146924fd7144a923a49fc2aec48c04652e", kill_on_drop: false }` [INFO] [stdout] 1a9c74b1aa587a966a9c71af0537b9146924fd7144a923a49fc2aec48c04652e [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 47111ec7a46a9c9d62f0e454f2caf90950d8894c3162e49f35faaa6993c87c17 [INFO] running `Command { std: "docker" "start" "-a" "47111ec7a46a9c9d62f0e454f2caf90950d8894c3162e49f35faaa6993c87c17", 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)]` 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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [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 is discouraged [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 is discouraged [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.75s [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/notion_cli-324d613caa9072ea) [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" "47111ec7a46a9c9d62f0e454f2caf90950d8894c3162e49f35faaa6993c87c17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47111ec7a46a9c9d62f0e454f2caf90950d8894c3162e49f35faaa6993c87c17", kill_on_drop: false }` [INFO] [stdout] 47111ec7a46a9c9d62f0e454f2caf90950d8894c3162e49f35faaa6993c87c17