[INFO] fetching crate lnotebook 0.1.9... [INFO] testing lnotebook-0.1.9 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] extracting crate lnotebook 0.1.9 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate lnotebook 0.1.9 [INFO] finished tweaking crates.io crate lnotebook 0.1.9 [INFO] tweaked toml for crates.io crate lnotebook 0.1.9 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lnotebook 0.1.9 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 230 packages to latest compatible versions [INFO] [stderr] Adding sqlx v0.7.4 (available: v0.8.6) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [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] Downloading crates ... [INFO] [stderr] Downloaded proc-macro-error v1.0.4 [INFO] [stderr] Downloaded matchers v0.2.0 [INFO] [stderr] Downloaded signal-hook-registry v1.4.6 [INFO] [stderr] Downloaded structopt-derive v0.4.18 [INFO] [stderr] Downloaded nu-ansi-term v0.50.1 [INFO] [stderr] Downloaded urlencoding v2.1.3 [INFO] [stderr] Downloaded vec_map v0.8.2 [INFO] [stderr] Downloaded etcetera v0.8.0 [INFO] [stderr] Downloaded sqlx-macros v0.7.4 [INFO] [stderr] Downloaded wasite v0.1.0 [INFO] [stderr] Downloaded crc v3.3.0 [INFO] [stderr] Downloaded dotenvy v0.15.7 [INFO] [stderr] Downloaded sqlx-macros-core v0.7.4 [INFO] [stderr] Downloaded pem-rfc7468 v0.7.0 [INFO] [stderr] Downloaded sqlx-mysql v0.7.4 [INFO] [stderr] Downloaded rsa v0.9.8 [INFO] [stderr] Downloaded sqlx-postgres v0.7.4 [INFO] [stderr] Downloaded num-bigint-dig v0.8.4 [INFO] [stderr] Downloaded tracing-subscriber v0.3.20 [INFO] [stderr] Downloaded sqlx v0.7.4 [INFO] [stderr] Downloaded hkdf v0.12.4 [INFO] [stderr] Downloaded sqlx-core v0.7.4 [INFO] [stderr] Downloaded futures-intrusive v0.5.0 [INFO] [stderr] Downloaded unicode_categories v0.1.1 [INFO] [stderr] Downloaded vcpkg v0.2.15 [INFO] [stderr] Downloaded sqlx-sqlite v0.7.4 [INFO] [stderr] Downloaded flume v0.11.1 [INFO] [stderr] Downloaded allocator-api2 v0.2.21 [INFO] [stderr] Downloaded structopt v0.3.26 [INFO] [stderr] Downloaded pkcs1 v0.7.5 [INFO] [stderr] Downloaded hashlink v0.8.4 [INFO] [stderr] Downloaded sqlformat v0.2.6 [INFO] [stderr] Downloaded ansi_term v0.12.1 [INFO] [stderr] Downloaded strsim v0.8.0 [INFO] [stderr] Downloaded whoami v1.6.1 [INFO] [stderr] Downloaded atoi v2.0.0 [INFO] [stderr] Downloaded crc-catalog v2.4.0 [INFO] [stderr] Downloaded proc-macro-error-attr v1.0.4 [INFO] [stderr] Downloaded libsqlite3-sys v0.27.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c4bb71f4bbdf02e3b80be5bae2d00491e2e3425be60d4ed3d69fafffa8d7c5e [INFO] running `Command { std: "docker" "start" "-a" "5c4bb71f4bbdf02e3b80be5bae2d00491e2e3425be60d4ed3d69fafffa8d7c5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c4bb71f4bbdf02e3b80be5bae2d00491e2e3425be60d4ed3d69fafffa8d7c5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c4bb71f4bbdf02e3b80be5bae2d00491e2e3425be60d4ed3d69fafffa8d7c5e", kill_on_drop: false }` [INFO] [stdout] 5c4bb71f4bbdf02e3b80be5bae2d00491e2e3425be60d4ed3d69fafffa8d7c5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11bdaeacff2d747a8ff727c363287336935f5f92c1645d97d27900098232582e [INFO] running `Command { std: "docker" "start" "-a" "11bdaeacff2d747a8ff727c363287336935f5f92c1645d97d27900098232582e", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling lnotebook v0.1.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [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" "11bdaeacff2d747a8ff727c363287336935f5f92c1645d97d27900098232582e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11bdaeacff2d747a8ff727c363287336935f5f92c1645d97d27900098232582e", kill_on_drop: false }` [INFO] [stdout] 11bdaeacff2d747a8ff727c363287336935f5f92c1645d97d27900098232582e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da5a55e4de5f6b72abca5b44d503486d7e0da19e4e598286c6168b0fb8f3e7b2 [INFO] running `Command { std: "docker" "start" "-a" "da5a55e4de5f6b72abca5b44d503486d7e0da19e4e598286c6168b0fb8f3e7b2", kill_on_drop: false }` [INFO] [stderr] Compiling lnotebook v0.1.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.58s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [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" "da5a55e4de5f6b72abca5b44d503486d7e0da19e4e598286c6168b0fb8f3e7b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da5a55e4de5f6b72abca5b44d503486d7e0da19e4e598286c6168b0fb8f3e7b2", kill_on_drop: false }` [INFO] [stdout] da5a55e4de5f6b72abca5b44d503486d7e0da19e4e598286c6168b0fb8f3e7b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1e294a8697a06b1e412c597c5f15bbb7606486fd0b384fc8d806cf3ee0e50927 [INFO] running `Command { std: "docker" "start" "-a" "1e294a8697a06b1e412c597c5f15bbb7606486fd0b384fc8d806cf3ee0e50927", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [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/lib.rs (/opt/rustwide/target/debug/deps/lnotebook-ad66764494e43a6d) [INFO] [stderr] Doc-tests lnotebook [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] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/commands.rs - commands::clear (line 266) ... FAILED [INFO] [stdout] test src/commands.rs - commands::upd_notename (line 353) ... FAILED [INFO] [stdout] test src/commands.rs - commands::upd (line 307) ... FAILED [INFO] [stdout] test src/commands.rs - commands::del (line 161) ... FAILED [INFO] [stdout] test src/lib.rs - get_db_url (line 21) ... FAILED [INFO] [stdout] test src/commands.rs - commands::add (line 104) ... FAILED [INFO] [stdout] test src/commands.rs - commands::del_all (line 207) ... FAILED [INFO] [stdout] test src/commands.rs - commands::Note (line 18) ... FAILED [INFO] [stdout] test src/commands/execute_commands.rs - commands::execute_commands (line 16) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/commands.rs - commands::clear (line 266) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `PgPool` in this scope [INFO] [stdout] --> src/commands.rs:267:32 [INFO] [stdout] | [INFO] [stdout] 3 | async fn delete_example(pool: &PgPool) -> Result<(), NotebookError> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use sqlx::PgPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NotebookError` in this scope [INFO] [stdout] --> src/commands.rs:267:54 [INFO] [stdout] | [INFO] [stdout] 3 | async fn delete_example(pool: &PgPool) -> Result<(), NotebookError> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::NotebookError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add` in this scope [INFO] [stdout] --> src/commands.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 4 | add("clear_note", "meow meow meow meow", pool).await?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::commands::add; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `clear` in this scope [INFO] [stdout] --> src/commands.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 6 | clear("clear_note", pool).await?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::commands::clear; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `select_one` in this scope [INFO] [stdout] --> src/commands.rs:271:15 [INFO] [stdout] | [INFO] [stdout] 7 | let row = select_one("clear_note", pool).await?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::commands::select_one; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/commands.rs - commands::upd_notename (line 353) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `PgPool` in this scope [INFO] [stdout] --> src/commands.rs:354:38 [INFO] [stdout] | [INFO] [stdout] 3 | async fn upd_notename_example(pool: &PgPool) -> Result<(), NotebookError> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use sqlx::PgPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NotebookError` in this scope [INFO] [stdout] --> src/commands.rs:354:60 [INFO] [stdout] | [INFO] [stdout] 3 | async fn upd_notename_example(pool: &PgPool) -> Result<(), NotebookError> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::NotebookError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add` in this scope [INFO] [stdout] --> src/commands.rs:355:4 [INFO] [stdout] | [INFO] [stdout] 4 | add("wrlng_nptenAme", "", pool).await?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::commands::add; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `upd_notename` in this scope [INFO] [stdout] --> src/commands.rs:358:18 [INFO] [stdout] | [INFO] [stdout] 7 | let upd_row = upd_notename("wrlng_nptenAme", "not_wrong_name", pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::commands::upd_notename; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/commands.rs - commands::upd (line 307) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `PgPool` in this scope [INFO] [stdout] --> src/commands.rs:308:29 [INFO] [stdout] | [INFO] [stdout] 3 | async fn upd_example(pool: &PgPool) -> Result<(), NotebookError> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use sqlx::PgPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NotebookError` in this scope [INFO] [stdout] --> src/commands.rs:308:51 [INFO] [stdout] | [INFO] [stdout] 3 | async fn upd_example(pool: &PgPool) -> Result<(), NotebookError> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::NotebookError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add` in this scope [INFO] [stdout] --> src/commands.rs:309:4 [INFO] [stdout] | [INFO] [stdout] 4 | add("wrong_note", "Thos is erong nlte", pool).await?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::commands::add; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `upd` in this scope [INFO] [stdout] --> src/commands.rs:312:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut upd_row = upd("wrong_note", "This is NOT wrong note", pool).await?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::commands::upd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/commands.rs - commands::del (line 161) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `PgPool` in this scope [INFO] [stdout] --> src/commands.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 3 | async fn delete_example(pool: &PgPool) -> Result<(), NotebookError> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use sqlx::PgPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NotebookError` in this scope [INFO] [stdout] --> src/commands.rs:162:54 [INFO] [stdout] | [INFO] [stdout] 3 | async fn delete_example(pool: &PgPool) -> Result<(), NotebookError> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::NotebookError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add` in this scope [INFO] [stdout] --> src/commands.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 4 | add("bad_cat", "Buy new slippers. The old ones were ruined by the cat", pool).await?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::commands::add; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del` in this scope [INFO] [stdout] --> src/commands.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 6 | del(&row.note_name, pool).await?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::commands::del; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `row` in this scope [INFO] [stdout] --> src/commands.rs:165:10 [INFO] [stdout] | [INFO] [stdout] 6 | del(&row.note_name, pool).await?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `select_one` in this scope [INFO] [stdout] --> src/commands.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 9 | select_one("bad_cat", pool).await?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::commands::select_one; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - get_db_url (line 21) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Notebook` in this scope [INFO] [stdout] --> src/lib.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 3 | async fn get_url_example() -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | async fn get_url_example() -> Result { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NotebookError` in this scope [INFO] [stdout] --> src/lib.rs:22:48 [INFO] [stdout] | [INFO] [stdout] 3 | async fn get_url_example() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::NotebookError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_db_url` in this scope [INFO] [stdout] --> src/lib.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 5 | let db = get_db_url().await?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::get_db_url; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `row` in this scope [INFO] [stdout] --> src/lib.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 9 | Ok(row) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `assert_eq` [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq(db, "postgres://your_usname:your_password@localhost/your_db"); [INFO] [stdout] | ^^^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(db, "postgres://your_usname:your_password@localhost/your_db"); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/commands.rs - commands::add (line 104) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `PgPool` in this scope [INFO] [stdout] --> src/commands.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 3 | async fn add_example(pool: &PgPool) -> Result<(), NotebookError> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use sqlx::PgPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NotebookError` in this scope [INFO] [stdout] --> src/commands.rs:105:51 [INFO] [stdout] | [INFO] [stdout] 3 | async fn add_example(pool: &PgPool) -> Result<(), NotebookError> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::NotebookError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add` in this scope [INFO] [stdout] --> src/commands.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 4 | add("add_note", "Added a some note so you don't forget", pool).await?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::commands::add; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `select_one` in this scope [INFO] [stdout] --> src/commands.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 6 | let row = select_one("add_note", pool).await?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::commands::select_one; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/commands.rs - commands::del_all (line 207) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `PgPool` in this scope [INFO] [stdout] --> src/commands.rs:208:36 [INFO] [stdout] | [INFO] [stdout] 3 | async fn delete_all_example(pool: &PgPool) -> Result<(), NotebookError> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use sqlx::PgPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NotebookError` in this scope [INFO] [stdout] --> src/commands.rs:208:58 [INFO] [stdout] | [INFO] [stdout] 3 | async fn delete_all_example(pool: &PgPool) -> Result<(), NotebookError> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::NotebookError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add` in this scope [INFO] [stdout] --> src/commands.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 5 | add( [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::commands::add; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add` in this scope [INFO] [stdout] --> src/commands.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 11 | add( [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::commands::add; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add` in this scope [INFO] [stdout] --> src/commands.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 17 | add("empty", "", pool).await?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::commands::add; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_all` in this scope [INFO] [stdout] --> src/commands.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 19 | del_all(pool).await?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::commands::del_all; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `display_all` in this scope [INFO] [stdout] --> src/commands.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 22 | display_all(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::commands::display_all; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/commands.rs - commands::Note (line 18) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `PgPool` in this scope [INFO] [stdout] --> src/commands.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 3 | async fn struct_example(pool: &PgPool) -> Result<(), NotebookError> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use sqlx::PgPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NotebookError` in this scope [INFO] [stdout] --> src/commands.rs:19:54 [INFO] [stdout] | [INFO] [stdout] 3 | async fn struct_example(pool: &PgPool) -> Result<(), NotebookError> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::NotebookError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add` in this scope [INFO] [stdout] --> src/commands.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 5 | let row = add("early_sleep", "I'll go to bed early today", pool).await?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use lnotebook::commands::add; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/commands/execute_commands.rs - commands::execute_commands (line 16) stdout ---- [INFO] [stdout] error: cannot find macro `event` in this scope [INFO] [stdout] --> src/commands/execute_commands.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 16 | event!(Level::DEBUG, "Connect to db"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use tracing::event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `event` in this scope [INFO] [stdout] --> src/commands/execute_commands.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 23 | event!(Level::DEBUG, "Command executed"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use tracing::event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fmt` [INFO] [stdout] --> src/commands/execute_commands.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 6 | .with(fmt::layer()) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `fmt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fmt`, use `cargo add fmt` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 3 + use tracing_subscriber::fmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EnvFilter` [INFO] [stdout] --> src/commands/execute_commands.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 7 | .with(EnvFilter::new("debug")) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `EnvFilter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use tracing_subscriber::EnvFilter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_db_url` in this scope [INFO] [stdout] --> src/commands/execute_commands.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 11 | let db_url = get_db_url().await?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use lnotebook::get_db_url; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PgPool` [INFO] [stdout] --> src/commands/execute_commands.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 14 | let db = PgPool::connect(&db_url).await?; [INFO] [stdout] | ^^^^^^ use of undeclared type `PgPool` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use sqlx::PgPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NoteCommand` [INFO] [stdout] --> src/commands/execute_commands.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 19 | let a = NoteCommand::new().await?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `NoteCommand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use lnotebook::NoteCommand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with` found for struct `Registry` in the current scope [INFO] [stdout] --> src/commands/execute_commands.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 5 | / tracing_subscriber::registry() [INFO] [stdout] 6 | | .with(fmt::layer()) [INFO] [stdout] | | -^^^^ method not found in `Registry` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-subscriber-0.3.20/src/layer/mod.rs:1502:8 [INFO] [stdout] | [INFO] [stdout] 1502 | fn with(self, layer: L) -> Layered [INFO] [stdout] | ---- the method is available for `Registry` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `SubscriberExt` which provides `with` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use tracing_subscriber::prelude::__tracing_subscriber_SubscriberExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/commands.rs - commands::Note (line 18) [INFO] [stdout] src/commands.rs - commands::add (line 104) [INFO] [stdout] src/commands.rs - commands::clear (line 266) [INFO] [stdout] src/commands.rs - commands::del (line 161) [INFO] [stdout] src/commands.rs - commands::del_all (line 207) [INFO] [stdout] src/commands.rs - commands::upd (line 307) [INFO] [stdout] src/commands.rs - commands::upd_notename (line 353) [INFO] [stdout] src/commands/execute_commands.rs - commands::execute_commands (line 16) [INFO] [stdout] src/lib.rs - get_db_url (line 21) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.47s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1e294a8697a06b1e412c597c5f15bbb7606486fd0b384fc8d806cf3ee0e50927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e294a8697a06b1e412c597c5f15bbb7606486fd0b384fc8d806cf3ee0e50927", kill_on_drop: false }` [INFO] [stdout] 1e294a8697a06b1e412c597c5f15bbb7606486fd0b384fc8d806cf3ee0e50927