[INFO] cloning repository https://github.com/josefjura/jot-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/josefjura/jot-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosefjura%2Fjot-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosefjura%2Fjot-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 959a5a6cb25787d340b405d2a718dc5d2ba03a2e [INFO] testing josefjura/jot-cli against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosefjura%2Fjot-cli" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/josefjura/jot-cli [INFO] finished tweaking git repo https://github.com/josefjura/jot-cli [INFO] tweaked toml for git repo https://github.com/josefjura/jot-cli written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/josefjura/jot-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/josefjura/jot-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 wasm-bindgen-futures v0.4.49 [INFO] [stderr] Downloaded thiserror v2.0.6 [INFO] [stderr] Downloaded quinn-udp v0.5.9 [INFO] [stderr] Downloaded thiserror-impl v2.0.6 [INFO] [stderr] Downloaded predicates v3.1.2 [INFO] [stderr] Downloaded assert_cmd v2.0.16 [INFO] [stderr] Downloaded config v0.15.4 [INFO] [stderr] Downloaded cc v1.2.3 [INFO] [stderr] Downloaded yaml-rust2 v0.9.0 [INFO] [stderr] Downloaded hyper v1.5.1 [INFO] [stderr] Downloaded cliclack v0.3.5 [INFO] [stderr] Downloaded webpki-roots v0.26.5 [INFO] [stderr] Downloaded bstr v1.11.1 [INFO] [stderr] Downloaded rustls v0.23.20 [INFO] [stderr] Downloaded libc v0.2.168 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a41e33cb69536b4d972ef2e5b0ad822e887aa5ee1929cce280108238386e3f6 [INFO] running `Command { std: "docker" "start" "-a" "3a41e33cb69536b4d972ef2e5b0ad822e887aa5ee1929cce280108238386e3f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a41e33cb69536b4d972ef2e5b0ad822e887aa5ee1929cce280108238386e3f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a41e33cb69536b4d972ef2e5b0ad822e887aa5ee1929cce280108238386e3f6", kill_on_drop: false }` [INFO] [stdout] 3a41e33cb69536b4d972ef2e5b0ad822e887aa5ee1929cce280108238386e3f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c158e5ac201f6d8e358fa51b332753ae7434e33a8db2d9c64ddfbc2fbe1f3b0d [INFO] running `Command { std: "docker" "start" "-a" "c158e5ac201f6d8e358fa51b332753ae7434e33a8db2d9c64ddfbc2fbe1f3b0d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cc v1.2.3 [INFO] [stderr] Compiling thiserror v2.0.6 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling rustls v0.23.20 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling predicates-core v1.0.8 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling webpki-roots v0.26.5 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling assert_cmd v2.0.16 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling predicates-tree v1.0.11 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling indicatif v0.17.9 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bstr v1.11.1 [INFO] [stderr] Compiling predicates v3.1.2 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.6 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling cliclack v0.3.5 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling clap v4.5.23 [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 hashlink v0.8.4 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling yaml-rust2 v0.9.0 [INFO] [stderr] Compiling rust-ini v0.21.1 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling tokio-rustls v0.26.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper-rustls v0.27.3 [INFO] [stderr] Compiling reqwest v0.12.9 [INFO] [stderr] Compiling webbrowser v1.0.3 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling config v0.15.4 [INFO] [stderr] Compiling jot-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `check_auth` is never used [INFO] [stdout] --> src/auth.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 16 | impl AuthFlow { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | async fn check_auth(&self, client: &mut dyn Client) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateNoteResponse` is never constructed [INFO] [stdout] --> src/model.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CreateNoteResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PreviewNote` is never constructed [INFO] [stdout] --> src/model.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct PreviewNote { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.00s [INFO] running `Command { std: "docker" "inspect" "c158e5ac201f6d8e358fa51b332753ae7434e33a8db2d9c64ddfbc2fbe1f3b0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c158e5ac201f6d8e358fa51b332753ae7434e33a8db2d9c64ddfbc2fbe1f3b0d", kill_on_drop: false }` [INFO] [stdout] c158e5ac201f6d8e358fa51b332753ae7434e33a8db2d9c64ddfbc2fbe1f3b0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e4d03154a2476f519be55087ce77f30b704212247885316dcad5c05df83eea6 [INFO] running `Command { std: "docker" "start" "-a" "7e4d03154a2476f519be55087ce77f30b704212247885316dcad5c05df83eea6", kill_on_drop: false }` [INFO] [stderr] Compiling jot-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/test/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [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: `tempfile::TempDir` [INFO] [stdout] --> src/test/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tempfile::TempDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_auth` is never used [INFO] [stdout] --> src/auth.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 16 | impl AuthFlow { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | async fn check_auth(&self, client: &mut dyn Client) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateNoteResponse` is never constructed [INFO] [stdout] --> src/model.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CreateNoteResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PreviewNote` is never constructed [INFO] [stdout] --> src/model.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct PreviewNote { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `temp_dir` is never read [INFO] [stdout] --> src/test/test_context.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TestContext { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 6 | pub temp_dir: TempDir, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.21s [INFO] running `Command { std: "docker" "inspect" "7e4d03154a2476f519be55087ce77f30b704212247885316dcad5c05df83eea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e4d03154a2476f519be55087ce77f30b704212247885316dcad5c05df83eea6", kill_on_drop: false }` [INFO] [stdout] 7e4d03154a2476f519be55087ce77f30b704212247885316dcad5c05df83eea6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fcca892b3e54740f76283eaf15f7c3f213a2999c6edd0835de0b0e4442e174a4 [INFO] running `Command { std: "docker" "start" "-a" "fcca892b3e54740f76283eaf15f7c3f213a2999c6edd0835de0b0e4442e174a4", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/test/mod.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tempfile::TempDir` [INFO] [stderr] --> src/test/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use tempfile::TempDir; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `check_auth` is never used [INFO] [stderr] --> src/auth.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 16 | impl AuthFlow { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 93 | async fn check_auth(&self, client: &mut dyn Client) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `CreateNoteResponse` is never constructed [INFO] [stderr] --> src/model.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct CreateNoteResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PreviewNote` is never constructed [INFO] [stderr] --> src/model.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct PreviewNote { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `temp_dir` is never read [INFO] [stderr] --> src/test/test_context.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct TestContext { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 6 | pub temp_dir: TempDir, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `jot-cli` (bin "jot-cli" test) generated 6 warnings (run `cargo fix --bin "jot-cli" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/jot_cli-09d4def81579af60) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test editor::test::test_parse_template_no_tags ... ok [INFO] [stdout] test editor::test::test_parse_template_no_content ... ok [INFO] [stdout] test editor::test::test_parse_template ... ok [INFO] [stdout] test utils::date::date_filter::date_value_test::test_range_from_today ... ok [INFO] [stdout] test utils::date::date_filter::date_value_test::test_range_two_dates ... ok [INFO] [stdout] test utils::date::date_filter::date_value_test::test_range_until_today ... ok [INFO] [stdout] test utils::date::date_filter::date_value_test::test_range_with_spaces ... ok [INFO] [stdout] test utils::date::date_filter::date_value_test::test_specific_date ... ok [INFO] [stdout] test utils::date::date_filter::date_value_test::test_specific_ever ... ok [INFO] [stdout] test utils::date::date_filter::date_value_test::test_specific_today ... ok [INFO] [stdout] test editor::test::test_parse_template_no_date ... ok [INFO] [stdout] test test::test_profile_env ... ok [INFO] [stdout] test test::test_profile_arg ... ok [INFO] [stdout] test test::e2e::test_login ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::e2e::test_login stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test::e2e::test_login' (29) panicked at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5: [INFO] [stdout] Unexpected stdout, failed (((var.contains(Mocking sending device code) && var.contains(Browser window should open, if not, please visit following URL to login)) && var.contains(Mocking polling for token with device code:)) && var.contains(User successfully logged in.)) [INFO] [stdout] ├── var as str: Using profile: "/tmp/.tmpwK9iy5/local.toml" [INFO] [stdout] │ Sending device code: oBWZzgxyntayr2xwMeSkcJZ9We0N5voP [INFO] [stdout] │ Mocking sending device code: oBWZzgxyntayr2xwMeSkcJZ9We0N5voP [INFO] [stdout] │ Browser window should open, if not, please visit following URL to login: mocked_instance/auth/page/oBWZzgxyntayr2xwMeSkcJZ9We0N5voP [INFO] [stdout] └── ((var.contains(Mocking sending device code) && var.contains(Browser window should open, if not, please visit following URL to login)) && var.contains(Mocking polling for token with device code:)) [INFO] [stdout] └── var.contains(Mocking polling for token with device code:) [INFO] [stdout] ├── count: 2 [INFO] [stdout] ├── var: Using profile: "/tmp/.tmpwK9iy5/local.toml" [INFO] [stdout] │ Sending device code: oBWZzgxyntayr2xwMeSkcJZ9We0N5voP [INFO] [stdout] │ Mocking sending device code: oBWZzgxyntayr2xwMeSkcJZ9We0N5voP [INFO] [stdout] │ Browser window should open, if not, please visit following URL to login: mocked_instance/auth/page/oBWZzgxyntayr2xwMeSkcJZ9We0N5voP [INFO] [stdout] └── actual count: 0 [INFO] [stdout] [INFO] [stdout] command=`JOT_PROFILE="/tmp/.tmpwK9iy5/local.toml" "/opt/rustwide/target/debug/jot-cli" "-m" "login"` [INFO] [stdout] code=0 [INFO] [stdout] stdout=``` [INFO] [stdout] Using profile: \"/tmp/.tmpwK9iy5/local.toml\" [INFO] [stdout] Sending device code: oBWZzgxyntayr2xwMeSkcJZ9We0N5voP [INFO] [stdout] Mocking sending device code: oBWZzgxyntayr2xwMeSkcJZ9We0N5voP [INFO] [stdout] Browser window should open, if not, please visit following URL to login: mocked_instance/auth/page/oBWZzgxyntayr2xwMeSkcJZ9We0N5voP [INFO] [stdout] ``` [INFO] [stdout] [INFO] [stdout] stderr="Error: No valid browsers detected. You can specify one in BROWSER environment variable\n" [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5844d17bc9b2 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5844d17bc9b2 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5844d17bc9b2 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5844d17bc9b2 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5844d17ce0ff - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5844d17ce0ff - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5844d1785b51 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5844d1785b51 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5844d1793132 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5844d1798c3f - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5844d1798ad1 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5844d15f9f4e - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5844d15f9f4e - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5844d17992ff - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5844d17992ff - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5844d179915a - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5844d1793279 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5844d177917d - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5844d17d7800 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5844d1637830 - core::panicking::panic_display::h8788a6ab41d85ca6 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:259:5 [INFO] [stdout] 20: 0x5844d1630147 - assert_cmd::assert::AssertError::panic::he053b4143a7e4014 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/assert_cmd-2.0.16/src/assert.rs:1033:9 [INFO] [stdout] 21: 0x5844d162ade7 - core::ops::function::FnOnce::call_once::h18221d3f46a276d6 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 22: 0x5844d1633864 - core::result::Result::unwrap_or_else::h2e59ce868f5fbe12 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/result.rs:1614:23 [INFO] [stdout] 23: 0x5844d15b8565 - assert_cmd::assert::Assert::stdout::h7c3c0495dd63fca1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/assert_cmd-2.0.16/src/assert.rs:364:31 [INFO] [stdout] 24: 0x5844d15cc71d - jot_cli::test::e2e::test_login::h888ad0e0cf13d58d [INFO] [stdout] at /opt/rustwide/workdir/src/test/e2e.rs:19:10 [INFO] [stdout] 25: 0x5844d15cc867 - jot_cli::test::e2e::test_login::{{closure}}::h01c1f704f947850d [INFO] [stdout] at /opt/rustwide/workdir/src/test/e2e.rs:9:16 [INFO] [stdout] 26: 0x5844d15c7fd6 - core::ops::function::FnOnce::call_once::hc13d376775aeb2f0 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x5844d15f9d0b - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 28: 0x5844d15f9d0b - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 29: 0x5844d160f7f5 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 30: 0x5844d160f7f5 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 31: 0x5844d160f7f5 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 32: 0x5844d160f7f5 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 33: 0x5844d160f7f5 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 34: 0x5844d160f7f5 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 35: 0x5844d160f7f5 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 36: 0x5844d15e6164 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 37: 0x5844d15e6164 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 38: 0x5844d15e9b0a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 39: 0x5844d15e9b0a - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 40: 0x5844d15e9b0a - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 41: 0x5844d15e9b0a - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 42: 0x5844d15e9b0a - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 43: 0x5844d15e9b0a - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 44: 0x5844d15e9b0a - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 45: 0x5844d178d1cf - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 46: 0x5844d178d1cf - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 47: 0x7529a54cfaa4 - [INFO] [stdout] 48: 0x7529a555ca34 - clone [INFO] [stdout] 49: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::e2e::test_login [INFO] [stdout] [INFO] [stdout] test result: FAILED. 13 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin jot-cli` [INFO] running `Command { std: "docker" "inspect" "fcca892b3e54740f76283eaf15f7c3f213a2999c6edd0835de0b0e4442e174a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcca892b3e54740f76283eaf15f7c3f213a2999c6edd0835de0b0e4442e174a4", kill_on_drop: false }` [INFO] [stdout] fcca892b3e54740f76283eaf15f7c3f213a2999c6edd0835de0b0e4442e174a4