[INFO] fetching crate lb-rs 25.11.11... [INFO] testing lb-rs-25.11.11 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate lb-rs 25.11.11 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate lb-rs 25.11.11 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate lb-rs 25.11.11 [INFO] tweaked toml for crates.io crate lb-rs 25.11.11 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lb-rs 25.11.11 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lb-rs 25.11.11 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dee2ef71ff37d59423ec6f391b84be16e1ce1ec1d3595c0b668851faf82d0087 [INFO] running `Command { std: "docker" "start" "-a" "dee2ef71ff37d59423ec6f391b84be16e1ce1ec1d3595c0b668851faf82d0087", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dee2ef71ff37d59423ec6f391b84be16e1ce1ec1d3595c0b668851faf82d0087", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dee2ef71ff37d59423ec6f391b84be16e1ce1ec1d3595c0b668851faf82d0087", kill_on_drop: false }` [INFO] [stdout] dee2ef71ff37d59423ec6f391b84be16e1ce1ec1d3595c0b668851faf82d0087 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d1c2a295479692757745e94c14ed045b2abe6ef5a004c2bf6c28db79ba2df35 [INFO] running `Command { std: "docker" "start" "-a" "8d1c2a295479692757745e94c14ed045b2abe6ef5a004c2bf6c28db79ba2df35", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling ownedbytes v0.9.0 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling bitpacking v0.9.2 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling tantivy-bitpacker v0.8.0 [INFO] [stderr] Compiling tantivy-fst v0.5.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling murmurhash32 v0.3.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling roxmltree v0.19.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling kurbo v0.11.0 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling fontconfig-parser v0.5.6 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling unicode-script v0.5.6 [INFO] [stderr] Compiling unicode-ccc v0.2.0 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling unicode-bidi-mirroring v0.2.0 [INFO] [stderr] Compiling downcast-rs v2.0.1 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling fastdivide v0.4.2 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling svgtypes v0.15.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling fs4 v0.13.1 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling fontdb v0.16.2 [INFO] [stderr] Compiling rustybuzz v0.13.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling simplecss v0.2.1 [INFO] [stderr] Compiling measure_time v0.9.0 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling cryptoxide v0.4.4 [INFO] [stderr] Compiling imagesize v0.12.0 [INFO] [stderr] Compiling unicode-vo v0.1.0 [INFO] [stderr] Compiling census v0.4.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling data-url v0.3.1 [INFO] [stderr] Compiling xmlwriter v0.1.0 [INFO] [stderr] Compiling levenshtein_automata v0.2.1 [INFO] [stderr] Compiling lz4_flex v0.11.3 [INFO] [stderr] Compiling qrcodegen v1.8.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling similar v2.6.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling qrcode-generator v4.1.9 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling bip39-dict v0.1.3 [INFO] [stderr] Compiling usvg v0.41.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling bon-macros v3.6.4 [INFO] [stderr] Compiling bon v3.6.4 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling rust-stemmers v1.2.0 [INFO] [stderr] Compiling tantivy-tokenizer-api v0.5.0 [INFO] [stderr] Compiling glam v0.22.0 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling hyperloglogplus v0.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling sketches-ddsketch v0.3.0 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling db-rs v0.3.3 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling tantivy-query-grammar v0.24.0 [INFO] [stderr] Compiling db-rs-derive v0.3.3 [INFO] [stderr] Compiling bezier-rs v0.2.0 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling tantivy-common v0.9.0 [INFO] [stderr] Compiling basic-human-duration v0.2.0 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling tantivy-stacker v0.5.0 [INFO] [stderr] Compiling lb-tantivy-sstable v0.5.0 [INFO] [stderr] Compiling lb-tantivy-columnar v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling lb-tantivy v0.24.0 [INFO] [stderr] Compiling lb-rs v25.11.11 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 05s [INFO] running `Command { std: "docker" "inspect" "8d1c2a295479692757745e94c14ed045b2abe6ef5a004c2bf6c28db79ba2df35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d1c2a295479692757745e94c14ed045b2abe6ef5a004c2bf6c28db79ba2df35", kill_on_drop: false }` [INFO] [stdout] 8d1c2a295479692757745e94c14ed045b2abe6ef5a004c2bf6c28db79ba2df35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7593be8c2c967707ed1e9951956d36d3961145ddce4192137040283bf2bc804e [INFO] running `Command { std: "docker" "start" "-a" "7593be8c2c967707ed1e9951956d36d3961145ddce4192137040283bf2bc804e", kill_on_drop: false }` [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling plotters-backend v0.3.6 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling variant_count v1.1.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling plotters-svg v0.3.6 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters v0.3.6 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling indicatif v0.17.0-rc.11 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling lb-rs v25.11.11 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/api_get_document_tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use test_utils::*; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use test_utils::*; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use test_utils::*; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/api_change_document_content_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use test_utils::{assert_matches, *}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/concurrent_sync_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use test_utils::{random_name, test_config, test_core_with_account, url}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/api_billing_tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use test_utils::{ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/path_service_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use test_utils::*; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/admin_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use test_utils::*; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use test_utils::*; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/api_new_account_tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use test_utils::*; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lb_rs::io::network::ApiError` [INFO] [stdout] --> tests/api_change_document_content_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use lb_rs::io::network::ApiError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/usage_service_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use test_utils::*; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/activity_service_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use test_utils::*; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CancelSubscriptionError` and `UpgradeAccountGooglePlayError` [INFO] [stdout] --> tests/api_billing_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | CancelSubscriptionError, CancelSubscriptionRequest, FREE_TIER_USAGE_SIZE, PaymentMethod, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | StripeAccountTier, UpgradeAccountGooglePlayError, UpgradeAccountGooglePlayRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_change_document_content_tests.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | let account = core.get_account().unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 10 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_change_document_content_tests.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | let doc = core.create_at_path("test.md").await.unwrap().id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_change_document_content_tests.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | let doc = core [INFO] [stdout] | _______________^ [INFO] [stdout] 14 | | .begin_tx() [INFO] [stdout] 15 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_change_document_content_tests.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / core.client [INFO] [stdout] 25 | | .request(account, UpsertRequestV2 { updates: vec![FileDiff::new(doc.clone())] }) [INFO] [stdout] 26 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/api_move_file_tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use test_utils::*; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_change_document_content_tests.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / core.client [INFO] [stdout] 38 | | .request( [INFO] [stdout] 39 | | account, [INFO] [stdout] 40 | | ChangeDocRequestV2 { [INFO] [stdout] ... | [INFO] [stdout] 45 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_change_document_content_tests.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | let account = core.get_account().unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 51 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_change_document_content_tests.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | let doc = core.create_at_path("test.md").await.unwrap().id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_change_document_content_tests.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | let mut doc = core [INFO] [stdout] | ___________________^ [INFO] [stdout] 55 | | .begin_tx() [INFO] [stdout] 56 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_change_document_content_tests.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / core.client [INFO] [stdout] 66 | | .request(account, UpsertRequestV2 { updates: vec![FileDiff::new(doc.clone())] }) [INFO] [stdout] 67 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/concurrent_sync_tests.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | for i in 0..100 { [INFO] [stdout] 13 | let file = core.create_at_path(&format!("{i}")).await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 11 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | let account = core.get_account().unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 17 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / core.client [INFO] [stdout] 22 | | .request( [INFO] [stdout] 23 | | account, [INFO] [stdout] 24 | | UpgradeAccountStripeRequest { [INFO] [stdout] ... | [INFO] [stdout] 33 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let admin_core = test_core().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | admin_core [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `admin_core` an explicit type [INFO] [stdout] | [INFO] [stdout] 8 | let admin_core: /* Type */ = test_core().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | core.get_uncompressed_usage().await.unwrap(), [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 6 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | core.get_uncompressed_usage().await.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / admin_core [INFO] [stdout] 10 | | .create_account("admin1", &url(), false) [INFO] [stdout] 11 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let customer_core = test_core_with_account().await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | let test1 = customer_core.create_at_path("test1.md").await.unwrap(); [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `customer_core` an explicit type [INFO] [stdout] | [INFO] [stdout] 14 | let customer_core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let test1 = customer_core.create_at_path("test1.md").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let test2 = customer_core.create_at_path("test2.md").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | customer_core.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let customer_core_2 = test_core().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | customer_core_2 [INFO] [stdout] | --------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `customer_core_2` an explicit type [INFO] [stdout] | [INFO] [stdout] 20 | let customer_core_2: /* Type */ = test_core().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/concurrent_sync_tests.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | let file = core.create_at_path(&format!("{i}")).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | let account = core.get_account().unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 59 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/concurrent_sync_tests.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | / core.write_document(file.id, "t".repeat(1000).as_bytes()) [INFO] [stdout] 15 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/concurrent_sync_tests.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | core.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / customer_core_2 [INFO] [stdout] 22 | | .import_account(&account_string, Some(&url())) [INFO] [stdout] 23 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | / customer_core_2 [INFO] [stdout] 27 | | .calculate_work() [INFO] [stdout] 28 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_matches` in this scope [INFO] [stdout] --> tests/api_move_file_tests.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | assert_matches!(result, Err(ApiError::::Endpoint(UpsertError::Validation(_)))); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use std::assert_matches::assert_matches; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_matches` in this scope [INFO] [stdout] --> tests/api_move_file_tests.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use std::assert_matches::assert_matches; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 86 | let account = core.get_account().unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 85 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_matches` in this scope [INFO] [stdout] --> tests/api_move_file_tests.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | assert_matches!(result, Err(ApiError::::Endpoint(UpsertError::Validation(_)))); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use std::assert_matches::assert_matches; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / core.client [INFO] [stdout] 90 | | .request( [INFO] [stdout] 91 | | account, [INFO] [stdout] 92 | | UpgradeAccountStripeRequest { [INFO] [stdout] ... | [INFO] [stdout] 101 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_matches` in this scope [INFO] [stdout] --> tests/api_move_file_tests.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use std::assert_matches::assert_matches; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_matches` in this scope [INFO] [stdout] --> tests/api_move_file_tests.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | assert_matches!(result, Err(ApiError::::Endpoint(UpsertError::Validation(_)))); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use std::assert_matches::assert_matches; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | let document = core.create_at_path("document").await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 16 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | let document = core.create_at_path("document").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_matches` in this scope [INFO] [stdout] --> tests/api_move_file_tests.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | assert_matches!(result, Err(ApiError::::Endpoint(UpsertError::Validation(_)))); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use std::assert_matches::assert_matches; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-rs` (test "api_change_document_content_tests") due to 10 previous errors; 1 warning emitted [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | admin_core.disappear_file(test2.id).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | core.write_document(document.id, b"").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lb_rs::io::network::ApiError` [INFO] [stdout] --> tests/api_move_file_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use lb_rs::io::network::ApiError; [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: `lb_rs::model::ValidationFailure` [INFO] [stdout] --> tests/api_move_file_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use lb_rs::model::ValidationFailure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 109 | let account = core.get_account().unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 108 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | / core.client [INFO] [stdout] 113 | | .request( [INFO] [stdout] 114 | | account, [INFO] [stdout] 115 | | UpgradeAccountStripeRequest { [INFO] [stdout] ... | [INFO] [stdout] 124 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let customer_core_2 = test_core().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | customer_core_2 [INFO] [stdout] | --------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `customer_core_2` an explicit type [INFO] [stdout] | [INFO] [stdout] 38 | let customer_core_2: /* Type */ = test_core().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / customer_core_2 [INFO] [stdout] 40 | | .import_account(&account_string, Some(&url())) [INFO] [stdout] 41 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | let account = core.get_account().unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 11 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | let doc = core.create_at_path("doc.md").await.unwrap().id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let folder = core.create_at_path("folder/").await.unwrap().id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | core.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut tx = core.begin_tx().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | let doc1 = tx.db().base_metadata.get().get(&doc).unwrap().clone(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `tx` an explicit type [INFO] [stdout] | [INFO] [stdout] 17 | let mut tx: /* Type */ = core.begin_tx().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / core.client [INFO] [stdout] 24 | | .request(account, UpsertRequestV2 { updates: vec![FileDiff::edit(doc1, doc2)] }) [INFO] [stdout] 25 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | let account = core.get_account().unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 31 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | core.get_uncompressed_usage().await.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | let document = core.create_at_path("document").await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 27 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | let document = core.create_at_path("document").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / core.write_document(document.id, b"0123456789") [INFO] [stdout] 31 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | let doc = core.create_at_path("folder/doc.md").await.unwrap().id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | core.get_uncompressed_usage().await.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | core.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut tx = core.begin_tx().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | let doc1 = tx.db().base_metadata.get().get(&doc).unwrap().clone(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `tx` an explicit type [INFO] [stdout] | [INFO] [stdout] 38 | let mut tx: /* Type */ = core.begin_tx().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 55 | let account = core.get_account().unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 54 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | let doc = core.create_at_path("doc.md").await.unwrap().id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | let folder = core.create_at_path("folder/").await.unwrap().id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let mut tx = core.begin_tx().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | let doc1 = tx.db().local_metadata.get().get(&doc).unwrap().clone(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `tx` an explicit type [INFO] [stdout] | [INFO] [stdout] 60 | let mut tx: /* Type */ = core.begin_tx().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / core.client [INFO] [stdout] 65 | | .request( [INFO] [stdout] 66 | | account, [INFO] [stdout] 67 | | UpsertRequestV2 { [INFO] [stdout] ... | [INFO] [stdout] 71 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 93 | let account = core.get_account().unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 92 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | let root = core.root().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 155 | let account = core.get_account().unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 154 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 180 | let account = core.get_account().unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 179 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | let folder = core.create_at_path("folder/").await.unwrap().id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | let folder = core [INFO] [stdout] | __________________^ [INFO] [stdout] 98 | | .begin_tx() [INFO] [stdout] 99 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:107:15 [INFO] [stdout] | [INFO] [stdout] 107 | let doc = core.create_at_path("doc.md").await.unwrap().id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | let doc = core [INFO] [stdout] | _______________^ [INFO] [stdout] 109 | | .begin_tx() [INFO] [stdout] 110 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | let doc2 = core.create_at_path("folder/doc.md").await.unwrap().id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | let doc2 = core [INFO] [stdout] | ________________^ [INFO] [stdout] 120 | | .begin_tx() [INFO] [stdout] 121 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | / core.client [INFO] [stdout] 130 | | .request( [INFO] [stdout] 131 | | account, [INFO] [stdout] 132 | | UpsertRequestV2 { [INFO] [stdout] ... | [INFO] [stdout] 140 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 160 | let account = core.get_account().unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 159 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | let folder = core.create_at_path("folder/").await.unwrap().id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | let folder = core [INFO] [stdout] | __________________^ [INFO] [stdout] 164 | | .begin_tx() [INFO] [stdout] 165 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / customer_core_2 [INFO] [stdout] 45 | | .calculate_work() [INFO] [stdout] 46 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | customer_core_2.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | / customer_core_2 [INFO] [stdout] 56 | | .list_metadatas() [INFO] [stdout] 57 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | !customer_core_2 [INFO] [stdout] | __________^ [INFO] [stdout] 64 | | .list_metadatas() [INFO] [stdout] 65 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | / admin_core [INFO] [stdout] 72 | | .validate_server() [INFO] [stdout] 73 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | / core.client [INFO] [stdout] 174 | | .request(account, UpsertRequestV2 { updates: vec![FileDiff::new(folder.clone())] }) [INFO] [stdout] 175 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 196 | let account = core.get_account().unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 195 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 198 | let folder = core.create_at_path("folder1/").await.unwrap().id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:199:18 [INFO] [stdout] | [INFO] [stdout] 199 | let folder = core [INFO] [stdout] | __________________^ [INFO] [stdout] 200 | | .begin_tx() [INFO] [stdout] 201 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:209:19 [INFO] [stdout] | [INFO] [stdout] 209 | let folder2 = core.create_at_path("folder1/folder2/").await.unwrap().id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:210:19 [INFO] [stdout] | [INFO] [stdout] 210 | let folder2 = core [INFO] [stdout] | ___________________^ [INFO] [stdout] 211 | | .begin_tx() [INFO] [stdout] 212 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | / core.client [INFO] [stdout] 221 | | .request( [INFO] [stdout] 222 | | account, [INFO] [stdout] 223 | | UpsertRequestV2 { [INFO] [stdout] ... | [INFO] [stdout] 227 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 242 | let account = core.get_account().unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 241 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:245:15 [INFO] [stdout] | [INFO] [stdout] 245 | let doc = core.create_at_path("doc1.md").await.unwrap().id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:246:15 [INFO] [stdout] | [INFO] [stdout] 246 | let doc = core [INFO] [stdout] | _______________^ [INFO] [stdout] 247 | | .begin_tx() [INFO] [stdout] 248 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:256:16 [INFO] [stdout] | [INFO] [stdout] 256 | let doc2 = core.create_at_path("doc2.md").await.unwrap().id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:257:16 [INFO] [stdout] | [INFO] [stdout] 257 | let doc2 = core [INFO] [stdout] | ________________^ [INFO] [stdout] 258 | | .begin_tx() [INFO] [stdout] 259 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_move_file_tests.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | / core.client [INFO] [stdout] 268 | | .request( [INFO] [stdout] 269 | | account, [INFO] [stdout] 270 | | UpsertRequestV2 { [INFO] [stdout] ... | [INFO] [stdout] 274 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | let document1 = core.create_at_path("document1").await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 42 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | let document1 = core.create_at_path("document1").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | let document2 = core.create_at_path("document2").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | core.write_document(document1.id, b"01234").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | core.write_document(document2.id, b"56789").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | core.get_uncompressed_usage().await.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 58 | let document1 = core.create_at_path("document1").await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 57 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let admin_core = test_core().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 84 | admin_core [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `admin_core` an explicit type [INFO] [stdout] | [INFO] [stdout] 83 | let admin_core: /* Type */ = test_core().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | / admin_core [INFO] [stdout] 85 | | .create_account("admin1", &url(), false) [INFO] [stdout] 86 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | let document1 = core.create_at_path("document1").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | let document2 = core.create_at_path("document2").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let customer1 = test_core_with_account().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | let doc = customer1.create_at_path("test.md").await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `customer1` an explicit type [INFO] [stdout] | [INFO] [stdout] 89 | let customer1: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | core.write_document(document1.id, b"01234").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | let doc = customer1.create_at_path("test.md").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | core.write_document(document2.id, b"56789").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let customer2 = test_core_with_account().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | .share_file(doc.id, &customer2.get_account().unwrap().username, ShareMode::Read) [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `customer2` an explicit type [INFO] [stdout] | [INFO] [stdout] 90 | let customer2: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | core.delete(&document2.id).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / customer1 [INFO] [stdout] 94 | | .share_file(doc.id, &customer2.get_account().unwrap().username, ShareMode::Read) [INFO] [stdout] 95 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | core.get_uncompressed_usage().await.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | customer1.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | customer2.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | / admin_core [INFO] [stdout] 102 | | .validate_server() [INFO] [stdout] 103 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | / admin_core [INFO] [stdout] 110 | | .disappear_account(&customer2.get_account().unwrap().username) [INFO] [stdout] 111 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | admin_core.disappear_file(doc.id).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | customer1.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | / admin_core [INFO] [stdout] 118 | | .validate_server() [INFO] [stdout] 119 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let cust1_new_device = test_core_from(&customer1).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 126 | cust1_new_device.test_repo_integrity().await.unwrap(); [INFO] [stdout] | ---------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `cust1_new_device` an explicit type [INFO] [stdout] | [INFO] [stdout] 125 | let cust1_new_device: /* Type */ = test_core_from(&customer1).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | cust1_new_device.test_repo_integrity().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let admin_core = test_core().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 133 | admin_core [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `admin_core` an explicit type [INFO] [stdout] | [INFO] [stdout] 132 | let admin_core: /* Type */ = test_core().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_matches` in this scope [INFO] [stdout] --> tests/api_new_account_tests.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use std::assert_matches::assert_matches; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | / admin_core [INFO] [stdout] 134 | | .create_account("admin1", &url(), false) [INFO] [stdout] 135 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-rs` (test "api_move_file_tests") due to 47 previous errors; 2 warnings emitted [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let customer1 = test_core_with_account().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | let folder = customer1.create_at_path("folder/").await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `customer1` an explicit type [INFO] [stdout] | [INFO] [stdout] 138 | let customer1: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | let folder = customer1.create_at_path("folder/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | customer1.create_at_path("folder/test.md").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let customer2 = test_core_with_account().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | .share_file(folder.id, &customer2.get_account().unwrap().username, ShareMode::Read) [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `customer2` an explicit type [INFO] [stdout] | [INFO] [stdout] 139 | let customer2: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | / customer1 [INFO] [stdout] 144 | | .share_file(folder.id, &customer2.get_account().unwrap().username, ShareMode::Read) [INFO] [stdout] 145 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | customer1.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 75 | let document1 = core.create_at_path("document1").await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 74 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | let document1 = core.create_at_path("document1").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/document_tests.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use test_utils::{self, test_config}; [INFO] [stdout] | ^^^^ no external crate `test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | customer2.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | / admin_core [INFO] [stdout] 152 | | .validate_server() [INFO] [stdout] 153 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | / admin_core [INFO] [stdout] 160 | | .disappear_account(&customer2.get_account().unwrap().username) [INFO] [stdout] 161 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | admin_core.disappear_file(folder.id).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | customer1.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | / admin_core [INFO] [stdout] 168 | | .validate_server() [INFO] [stdout] 169 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let cust1_new_device = test_core_from(&customer1).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 176 | cust1_new_device.test_repo_integrity().await.unwrap(); [INFO] [stdout] | ---------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `cust1_new_device` an explicit type [INFO] [stdout] | [INFO] [stdout] 175 | let cust1_new_device: /* Type */ = test_core_from(&customer1).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | cust1_new_device.test_repo_integrity().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | let admin_core = test_core().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 183 | admin_core [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `admin_core` an explicit type [INFO] [stdout] | [INFO] [stdout] 182 | let admin_core: /* Type */ = test_core().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | / admin_core [INFO] [stdout] 184 | | .create_account("admin1", &url(), false) [INFO] [stdout] 185 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/concurrent_sync_tests.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | let file = core.create_at_path("test.md").await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 48 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | let customer1 = test_core_with_account().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | let doc = customer1.create_at_path("test.md").await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `customer1` an explicit type [INFO] [stdout] | [INFO] [stdout] 188 | let customer1: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | let document2 = core.create_at_path("document2").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | core.write_document(document1.id, b"01234").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | core.write_document(document2.id, b"56789").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | core.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let core2 = test_core_from(&core).await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | core2.get_uncompressed_usage().await.unwrap(), [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core2` an explicit type [INFO] [stdout] | [INFO] [stdout] 81 | let core2: /* Type */ = test_core_from(&core).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_matches` in this scope [INFO] [stdout] --> tests/api_new_account_tests.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use std::assert_matches::assert_matches; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/usage_service_tests.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | core2.get_uncompressed_usage().await.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/concurrent_sync_tests.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | let file = core.create_at_path("test.md").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/concurrent_sync_tests.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / core.write_document(file.id, "t".repeat(1000).as_bytes()) [INFO] [stdout] 51 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/concurrent_sync_tests.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | core.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:191:15 [INFO] [stdout] | [INFO] [stdout] 191 | let doc = customer1.create_at_path("test.md").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | let customer2 = test_core_with_account().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | .share_file(doc.id, &customer2.get_account().unwrap().username, ShareMode::Read) [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `customer2` an explicit type [INFO] [stdout] | [INFO] [stdout] 189 | let customer2: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 218 | let account = core.get_account().unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 217 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | / customer1 [INFO] [stdout] 193 | | .share_file(doc.id, &customer2.get_account().unwrap().username, ShareMode::Read) [INFO] [stdout] 194 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | customer1.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | customer2.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | / admin_core [INFO] [stdout] 201 | | .validate_server() [INFO] [stdout] 202 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | / admin_core [INFO] [stdout] 209 | | .disappear_account(&customer2.get_account().unwrap().username) [INFO] [stdout] 210 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | / admin_core [INFO] [stdout] 216 | | .validate_server() [INFO] [stdout] 217 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | / admin_core [INFO] [stdout] 224 | | .rebuild_index(ServerIndex::OwnedFiles) [INFO] [stdout] 225 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | / admin_core [INFO] [stdout] 229 | | .validate_server() [INFO] [stdout] 230 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | let cust1_new_device = test_core_from(&customer1).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 237 | cust1_new_device.test_repo_integrity().await.unwrap(); [INFO] [stdout] | ---------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `cust1_new_device` an explicit type [INFO] [stdout] | [INFO] [stdout] 236 | let cust1_new_device: /* Type */ = test_core_from(&customer1).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | cust1_new_device.test_repo_integrity().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | let admin_core = test_core().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 244 | admin_core [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `admin_core` an explicit type [INFO] [stdout] | [INFO] [stdout] 243 | let admin_core: /* Type */ = test_core().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | / admin_core [INFO] [stdout] 245 | | .create_account("admin1", &url(), false) [INFO] [stdout] 246 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | let customer1 = test_core_with_account().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | let doc = customer1.create_at_path("test.md").await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `customer1` an explicit type [INFO] [stdout] | [INFO] [stdout] 249 | let customer1: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:252:15 [INFO] [stdout] | [INFO] [stdout] 252 | let doc = customer1.create_at_path("test.md").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | let customer2 = test_core_with_account().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | .share_file(doc.id, &customer2.get_account().unwrap().username, ShareMode::Read) [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `customer2` an explicit type [INFO] [stdout] | [INFO] [stdout] 250 | let customer2: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | / customer1 [INFO] [stdout] 254 | | .share_file(doc.id, &customer2.get_account().unwrap().username, ShareMode::Read) [INFO] [stdout] 255 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | customer1.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | customer2.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | / admin_core [INFO] [stdout] 262 | | .validate_server() [INFO] [stdout] 263 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | / admin_core [INFO] [stdout] 270 | | .disappear_account(&customer1.get_account().unwrap().username) [INFO] [stdout] 271 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | / admin_core [INFO] [stdout] 277 | | .validate_server() [INFO] [stdout] 278 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | / admin_core [INFO] [stdout] 285 | | .rebuild_index(ServerIndex::SharedFiles) [INFO] [stdout] 286 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | / admin_core [INFO] [stdout] 290 | | .validate_server() [INFO] [stdout] 291 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | let cust2_new_device = test_core_from(&customer2).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 298 | cust2_new_device.test_repo_integrity().await.unwrap(); [INFO] [stdout] | ---------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `cust2_new_device` an explicit type [INFO] [stdout] | [INFO] [stdout] 297 | let cust2_new_device: /* Type */ = test_core_from(&customer2).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/admin_tests.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | cust2_new_device.test_repo_integrity().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_matches` in this scope [INFO] [stdout] --> tests/path_service_tests.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | assert_matches!(result.unwrap_err().kind, LbErrKind::PathContainsEmptyFileName); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use std::assert_matches::assert_matches; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_matches` in this scope [INFO] [stdout] --> tests/path_service_tests.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use std::assert_matches::assert_matches; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 281 | let account = core.get_account().unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 280 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | / core.client [INFO] [stdout] 285 | | .request( [INFO] [stdout] 286 | | account, [INFO] [stdout] 287 | | UpgradeAccountStripeRequest { [INFO] [stdout] ... | [INFO] [stdout] 296 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-rs` (test "admin_tests") due to 79 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | / core.client [INFO] [stdout] 301 | | .request(account, CancelSubscriptionRequest {}) [INFO] [stdout] 302 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 310 | let account = core.get_account().unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 309 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:311:16 [INFO] [stdout] | [INFO] [stdout] 311 | let root = core.root().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_matches` in this scope [INFO] [stdout] --> tests/api_get_document_tests.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use std::assert_matches::assert_matches; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_matches` in this scope [INFO] [stdout] --> tests/api_new_account_tests.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use std::assert_matches::assert_matches; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_matches` in this scope [INFO] [stdout] --> tests/path_service_tests.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use std::assert_matches::assert_matches; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lb_rs::io::network::ApiError` [INFO] [stdout] --> tests/api_get_document_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use lb_rs::io::network::ApiError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:319:12 [INFO] [stdout] | [INFO] [stdout] 319 | if core.get_usage().await.unwrap().server_usage.exact [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `lb_rs::model::ValidationFailure` [INFO] [stdout] --> tests/path_service_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use lb_rs::model::ValidationFailure; [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: `lb_rs::model::errors::LbErrKind` [INFO] [stdout] --> tests/path_service_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use lb_rs::model::errors::LbErrKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:325:20 [INFO] [stdout] | [INFO] [stdout] 325 | let file = core [INFO] [stdout] | ____________________^ [INFO] [stdout] 326 | | .create_file(&uuid::Uuid::new_v4().to_string(), &root.id, FileType::Document) [INFO] [stdout] 327 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | core.write_document(file.id, &bytes).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | core.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | / core.client [INFO] [stdout] 336 | | .request( [INFO] [stdout] 337 | | account, [INFO] [stdout] 338 | | UpgradeAccountStripeRequest { [INFO] [stdout] ... | [INFO] [stdout] 347 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_matches` in this scope [INFO] [stdout] --> tests/api_new_account_tests.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use std::assert_matches::assert_matches; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:351:16 [INFO] [stdout] | [INFO] [stdout] 351 | let file = core [INFO] [stdout] | ________________^ [INFO] [stdout] 352 | | .create_file(&uuid::Uuid::new_v4().to_string(), &root.id, FileType::Document) [INFO] [stdout] 353 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | let doc = core.create_at_path("/document").await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 9 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | core.write_document(file.id, &content).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | let doc = core.create_at_path("/document").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | core.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:375:20 [INFO] [stdout] | [INFO] [stdout] 375 | let children = core.get_children(&root.id).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | core.delete(&child.id).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | core.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | let folder = core.create_at_path("/folder/").await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 16 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let folder = core.create_at_path("/folder/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_get_document_tests.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | let account = core.get_account().unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 11 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_get_document_tests.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | let id = core.create_at_path("test.md").await.unwrap().id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_get_document_tests.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | core.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_get_document_tests.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | let old = core [INFO] [stdout] | _______________^ [INFO] [stdout] 16 | | .begin_tx() [INFO] [stdout] 17 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:383:12 [INFO] [stdout] | [INFO] [stdout] 383 | if core.get_usage().await.unwrap().server_usage.exact < FREE_TIER_USAGE_SIZE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 389 | / core.client [INFO] [stdout] 390 | | .request(account, CancelSubscriptionRequest {}) [INFO] [stdout] 391 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | let folder = core.create_at_path("/folder/").await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 23 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | let folder = core.create_at_path("/folder/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | let document = core.create_at_path("/folder/document").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | [INFO] [stdout] 36 | let document = core.create_at_path("/folder/document").await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 34 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | let document = core.create_at_path("/folder/document").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | let folder = core.get_by_path("/folder").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 46 | [INFO] [stdout] 47 | let document = core [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 45 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_matches` in this scope [INFO] [stdout] --> tests/api_new_account_tests.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use std::assert_matches::assert_matches; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_get_document_tests.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / core.client [INFO] [stdout] 31 | | .request( [INFO] [stdout] 32 | | account, [INFO] [stdout] 33 | | ChangeDocRequestV2 { [INFO] [stdout] ... | [INFO] [stdout] 42 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let document = core [INFO] [stdout] | ____________________^ [INFO] [stdout] 48 | | .create_at_path("/folder/folder/document") [INFO] [stdout] 49 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_billing_tests.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 399 | let account = core.get_account().unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 398 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_get_document_tests.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | let result = core [INFO] [stdout] | __________________^ [INFO] [stdout] 47 | | .client [INFO] [stdout] 48 | | .request(account, GetDocRequest { id, hmac: *new.document_hmac().unwrap() }) [INFO] [stdout] 49 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | let folder1 = core.get_by_path("/folder").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | let folder2 = core.get_by_path("/folder/folder").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 62 | let result = core.create_at_path("//document").await; [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 61 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 69 | core.create_at_path("/folder/document").await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 68 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | core.create_at_path("/folder/document").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 80 | core.create_at_path("/not-folder").await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 79 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | core.create_at_path("/not-folder").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 91 | let created_document = core.create_at_path("/document").await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 90 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | let created_document = core.create_at_path("/document").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | let document = core.get_by_path("/document").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 99 | let created_folder = core.create_at_path("/folder/").await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 98 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | let created_folder = core.create_at_path("/folder/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | let folder = core.get_by_path("/folder").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 107 | let created_document = core.create_at_path("/folder/document").await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 106 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | let created_document = core.create_at_path("/folder/document").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | let document = core.get_by_path("/folder/document").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 115 | let document = core.create_at_path("/document").await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 114 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | let document = core.create_at_path("/document").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | let document_path = core.get_path_by_id(document.id).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 123 | let folder = core.create_at_path("/folder/").await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 122 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | let folder = core.create_at_path("/folder/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | let folder_path = core.get_path_by_id(folder.id).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 131 | let document = core.create_at_path("/folder/document").await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 130 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | let document = core.create_at_path("/folder/document").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 132 | let document_path = core.get_path_by_id(document.id).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 139 | [INFO] [stdout] 140 | core.create_at_path("/folder/folder/document") [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 138 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | / core.create_at_path("/folder/folder/document") [INFO] [stdout] 141 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | core.create_at_path("/folder/folder/folder/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | let all_paths = core.list_paths(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 157 | [INFO] [stdout] 158 | core.create_at_path("/folder/folder/document") [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 156 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | / core.create_at_path("/folder/folder/document") [INFO] [stdout] 159 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | core.create_at_path("/folder/folder/folder/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | let all_paths = core.list_paths(Some(DocumentsOnly)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 171 | [INFO] [stdout] 172 | core.create_at_path("/folder/folder/document") [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 170 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | / core.create_at_path("/folder/folder/document") [INFO] [stdout] 173 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-rs` (test "api_billing_tests") due to 30 previous errors; 1 warning emitted [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | core.create_at_path("/folder/folder/folder/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-rs` (test "usage_service_tests") due to 32 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | let all_paths = core.list_paths(Some(FoldersOnly)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-rs` (test "concurrent_sync_tests") due to 9 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 188 | [INFO] [stdout] 189 | core.create_at_path("/folder/folder/document") [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 187 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-rs` (test "path_service_tests") due to 57 previous errors; 2 warnings emitted [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | / core.create_at_path("/folder/folder/document") [INFO] [stdout] 190 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-rs` (test "api_get_document_tests") due to 12 previous errors; 1 warning emitted [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | core.create_at_path("/folder/folder/folder/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-rs` (test "activity_service_tests") due to 1 previous error [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/path_service_tests.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | let all_paths = core.list_paths(Some(LeafNodesOnly)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_get_document_tests.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | let account = core.get_account().unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 59 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_get_document_tests.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | let id = core.create_at_path("test.md").await.unwrap().id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_get_document_tests.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | core.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_get_document_tests.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | let mut old = core [INFO] [stdout] | ___________________^ [INFO] [stdout] 64 | | .begin_tx() [INFO] [stdout] 65 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/api_new_account_tests.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 80 | let mut account = core.get_account().unwrap().clone(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 79 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/link_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use test_utils::*; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-rs` (test "api_new_account_tests") due to 7 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-rs` (test "document_tests") due to 1 previous error [INFO] [stdout] error[E0282]: type annotations needed for `[_; 2]` [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let cores = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | .map(|core| core.get_account().unwrap()) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `cores` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 19 | let cores: [_; 2] = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | let folder = cores[0].create_at_path("folder/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / cores[0] [INFO] [stdout] 27 | | .share_file(folder.id, &accounts[1].username, ShareMode::Write) [INFO] [stdout] 28 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | cores[0].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | cores[1].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `[_; 2]` [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let cores = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | .map(|core| core.get_account().unwrap()) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `cores` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 40 | let cores: [_; 2] = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let a = cores[0].create_at_path("a/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let c2 = another_client(&c1).await; [INFO] [stdout] | ^^ [INFO] [stdout] 24 | c2.sync(None).await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c2` an explicit type [INFO] [stdout] | [INFO] [stdout] 23 | let c2: /* Type */ = another_client(&c1).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | c2.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let c1 = test_core_with_account().await; [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 25 | c1.create_at_path("/a.md").await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c1` an explicit type [INFO] [stdout] | [INFO] [stdout] 22 | let c1: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | c1.create_at_path("/a.md").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | c2.create_at_path("/a.md").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let c2 = another_client(&c1).await; [INFO] [stdout] | ^^ [INFO] [stdout] 37 | c2.sync(None).await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c2` an explicit type [INFO] [stdout] | [INFO] [stdout] 36 | let c2: /* Type */ = another_client(&c1).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | c2.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let c1 = test_core_with_account().await; [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 38 | c1.create_at_path("/a/").await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c1` an explicit type [INFO] [stdout] | [INFO] [stdout] 35 | let c1: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | c1.create_at_path("/a/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | c2.create_at_path("/a/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let c2 = another_client(&c1).await; [INFO] [stdout] | ^^ [INFO] [stdout] 50 | c2.sync(None).await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c2` an explicit type [INFO] [stdout] | [INFO] [stdout] 49 | let c2: /* Type */ = another_client(&c1).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | c2.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let c1 = test_core_with_account().await; [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 51 | c1.create_at_path("/a/child/").await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c1` an explicit type [INFO] [stdout] | [INFO] [stdout] 48 | let c1: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | c1.create_at_path("/a/child/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | c2.create_at_path("/a/child/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let c2 = another_client(&c1).await; [INFO] [stdout] | ^^ [INFO] [stdout] 63 | c2.sync(None).await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c2` an explicit type [INFO] [stdout] | [INFO] [stdout] 62 | let c2: /* Type */ = another_client(&c1).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | c2.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let c1 = test_core_with_account().await; [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 64 | c1.create_at_path("/a.md").await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c1` an explicit type [INFO] [stdout] | [INFO] [stdout] 61 | let c1: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | c1.create_at_path("/a.md").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | c2.create_at_path("/a.md/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let c2 = another_client(&c1).await; [INFO] [stdout] | ^^ [INFO] [stdout] 76 | c2.sync(None).await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c2` an explicit type [INFO] [stdout] | [INFO] [stdout] 75 | let c2: /* Type */ = another_client(&c1).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | c2.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let c1 = test_core_with_account().await; [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 77 | c1.create_at_path("/a.md/").await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c1` an explicit type [INFO] [stdout] | [INFO] [stdout] 74 | let c1: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | c1.create_at_path("/a.md/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | c2.create_at_path("/a.md").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let c2 = another_client(&c1).await; [INFO] [stdout] | ^^ [INFO] [stdout] 89 | c2.sync(None).await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c2` an explicit type [INFO] [stdout] | [INFO] [stdout] 88 | let c2: /* Type */ = another_client(&c1).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | c2.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let c1 = test_core_with_account().await; [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 90 | c1.create_at_path("/a.md").await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c1` an explicit type [INFO] [stdout] | [INFO] [stdout] 87 | let c1: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | c1.create_at_path("/a.md").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | c2.create_at_path("/a.md/child/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let c2 = another_client(&c1).await; [INFO] [stdout] | ^^ [INFO] [stdout] 102 | c2.sync(None).await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c2` an explicit type [INFO] [stdout] | [INFO] [stdout] 101 | let c2: /* Type */ = another_client(&c1).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | c2.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let c1 = test_core_with_account().await; [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 103 | c1.create_at_path("/a.md/child/").await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c1` an explicit type [INFO] [stdout] | [INFO] [stdout] 100 | let c1: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | c1.create_at_path("/a.md/child/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | c2.create_at_path("/a.md").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | cores[0].create_at_path("a/b/c/d").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let c1 = test_core_with_account().await; [INFO] [stdout] | ^^ [INFO] [stdout] 114 | c1.create_at_path("/folder/a.md").await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c1` an explicit type [INFO] [stdout] | [INFO] [stdout] 113 | let c1: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | c1.create_at_path("/folder/a.md").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | c1.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let c2 = another_client(&c1).await; [INFO] [stdout] | ^^ [INFO] [stdout] 118 | c2.sync(None).await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c2` an explicit type [INFO] [stdout] | [INFO] [stdout] 117 | let c2: /* Type */ = another_client(&c1).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | c2.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | move_by_path(&c1, "/folder/a.md", "").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | c2.create_at_path("/a.md").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let c1 = test_core_with_account().await; [INFO] [stdout] | ^^ [INFO] [stdout] 131 | c1.create_at_path("/folder/a.md").await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c1` an explicit type [INFO] [stdout] | [INFO] [stdout] 130 | let c1: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | c1.create_at_path("/folder/a.md").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | c1.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | let c2 = another_client(&c1).await; [INFO] [stdout] | ^^ [INFO] [stdout] 135 | c2.sync(None).await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c2` an explicit type [INFO] [stdout] | [INFO] [stdout] 134 | let c2: /* Type */ = another_client(&c1).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | c2.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | c1.create_at_path("/a.md").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | move_by_path(&c2, "/folder/a.md", "").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let c1 = test_core_with_account().await; [INFO] [stdout] | ^^ [INFO] [stdout] 148 | c1.create_at_path("/folder/a.md/").await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c1` an explicit type [INFO] [stdout] | [INFO] [stdout] 147 | let c1: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | c1.create_at_path("/folder/a.md/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | c1.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | let c2 = another_client(&c1).await; [INFO] [stdout] | ^^ [INFO] [stdout] 152 | c2.sync(None).await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c2` an explicit type [INFO] [stdout] | [INFO] [stdout] 151 | let c2: /* Type */ = another_client(&c1).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | c2.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | move_by_path(&c1, "/folder/a.md/", "").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | c2.create_at_path("/a.md/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let c1 = test_core_with_account().await; [INFO] [stdout] | ^^ [INFO] [stdout] 165 | c1.create_at_path("/folder/a.md/").await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c1` an explicit type [INFO] [stdout] | [INFO] [stdout] 164 | let c1: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | c1.create_at_path("/folder/a.md/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | c1.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let c2 = another_client(&c1).await; [INFO] [stdout] | ^^ [INFO] [stdout] 169 | c2.sync(None).await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c2` an explicit type [INFO] [stdout] | [INFO] [stdout] 168 | let c2: /* Type */ = another_client(&c1).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | c2.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | c1.create_at_path("/a.md/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | move_by_path(&c2, "/folder/a.md/", "").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | let c1 = test_core_with_account().await; [INFO] [stdout] | ^^ [INFO] [stdout] 182 | c1.create_at_path("/folder/a.md/child/").await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c1` an explicit type [INFO] [stdout] | [INFO] [stdout] 181 | let c1: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | c1.create_at_path("/folder/a.md/child/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | c1.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | let c2 = another_client(&c1).await; [INFO] [stdout] | ^^ [INFO] [stdout] 186 | c2.sync(None).await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c2` an explicit type [INFO] [stdout] | [INFO] [stdout] 185 | let c2: /* Type */ = another_client(&c1).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | c2.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | move_by_path(&c1, "/folder/a.md/", "").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | c2.create_at_path("/a.md/child/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | let c1 = test_core_with_account().await; [INFO] [stdout] | ^^ [INFO] [stdout] 203 | c1.create_at_path("/folder/a.md/child/").await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c1` an explicit type [INFO] [stdout] | [INFO] [stdout] 202 | let c1: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | c1.create_at_path("/folder/a.md/child/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | c1.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | let c2 = another_client(&c1).await; [INFO] [stdout] | ^^ [INFO] [stdout] 207 | c2.sync(None).await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c2` an explicit type [INFO] [stdout] | [INFO] [stdout] 206 | let c2: /* Type */ = another_client(&c1).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | c2.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | c1.create_at_path("/a.md/child/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_path_conflict_resolution_tests.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | move_by_path(&c2, "/folder/a.md/", "").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let e = cores[0].create_at_path("e/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | core.sync(None).await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 15 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | core.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | core.create_at_path("/document").await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 24 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | core.create_at_path("/document").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | core.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | let account = core.get_account().unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 34 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / core.create_at_path(&format!("/{}", &account.username)) [INFO] [stdout] 37 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | core.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | core.create_at_path("/a/b/c/d").await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 49 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | core.create_at_path("/a/b/c/d").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | core.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | core.create_at_path("/document").await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 59 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | core.create_at_path("/document").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | / write_path(&core, "/document", b"document content") [INFO] [stdout] 62 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | core.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 73 | let folder = core.create_at_path("/folder/").await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 72 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | let folder = core.create_at_path("/folder/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | let doc = core.create_at_path("/document").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | core.move_file(&doc.id, &folder.id).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | core.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 85 | let doc = core.create_at_path("/document").await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 84 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | let doc = core.create_at_path("/document").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | core.rename_file(&doc.id, "document2").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | core.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 96 | let doc = core.create_at_path("/document").await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 95 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | let doc = core.create_at_path("/document").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | core.delete(&doc.id).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | core.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 107 | core.create_at_path("/folder/document").await.unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 106 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | core.create_at_path("/folder/document").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | delete_path(&core, "/folder/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | core.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let core = test_core_with_account().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 118 | core.create_at_path("/grandparent/parent/document") [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `core` an explicit type [INFO] [stdout] | [INFO] [stdout] 117 | let core: /* Type */ = test_core_with_account().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / core.create_at_path("/grandparent/parent/document") [INFO] [stdout] 119 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | delete_path(&core, "/grandparent/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_synced_client_tests.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | core.sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | cores[0].create_at_path("e/f/g/h").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-rs` (test "sync_service_synced_client_tests") due to 37 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / cores[0] [INFO] [stdout] 51 | | .share_file(a.id, &accounts[1].username, ShareMode::Write) [INFO] [stdout] 52 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-rs` (test "sync_service_path_conflict_resolution_tests") due to 78 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / cores[0] [INFO] [stdout] 55 | | .share_file(e.id, &accounts[1].username, ShareMode::Write) [INFO] [stdout] 56 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | cores[0].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | cores[1].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `[_; 2]` [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let cores = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | .map(|core| core.get_account().unwrap()) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `cores` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 68 | let cores: [_; 2] = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | let document = cores[0].create_at_path("document").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | / cores[0] [INFO] [stdout] 76 | | .write_document(document.id, b"document content") [INFO] [stdout] 77 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | / cores[0] [INFO] [stdout] 80 | | .share_file(document.id, &accounts[1].username, ShareMode::Write) [INFO] [stdout] 81 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | cores[0].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | cores[1].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `[_; 2]` [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let cores = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | .map(|core| core.get_account().unwrap()) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `cores` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 93 | let cores: [_; 2] = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | let document = cores[0].create_at_path("document").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | / cores[0] [INFO] [stdout] 101 | | .write_document(document.id, b"document content") [INFO] [stdout] 102 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | / cores[0] [INFO] [stdout] 105 | | .share_file(document.id, &accounts[1].username, ShareMode::Write) [INFO] [stdout] 106 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | cores[0].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | cores[1].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_service_pending_share_tests.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(cores[1].read_document(document.id, false).await.unwrap(), b"document content"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-rs` (test "sync_service_pending_share_tests") due to 28 previous errors [INFO] [stdout] error[E0282]: type annotations needed for `[_; 2]` [INFO] [stdout] --> tests/link_tests.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let cores = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | .map(|core| core.get_account().unwrap()) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `cores` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 80 | let cores: [_; 2] = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | let roots = [cores[0].root().await.unwrap(), cores[1].root().await.unwrap()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:85:50 [INFO] [stdout] | [INFO] [stdout] 85 | let roots = [cores[0].root().await.unwrap(), cores[1].root().await.unwrap()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | let folder = cores[0].create_at_path("folder/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / cores[0] [INFO] [stdout] 89 | | .share_file(folder.id, &accounts[1].username, ShareMode::Write) [INFO] [stdout] 90 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | cores[0].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | cores[1].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | / cores[1] [INFO] [stdout] 97 | | .create_link_at_path("link", folder.id) [INFO] [stdout] 98 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | let document = cores[1].create_at_path("link/document").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `[_; 2]` [INFO] [stdout] --> tests/link_tests.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let cores = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | .map(|core| core.get_account().unwrap()) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `cores` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 109 | let cores: [_; 2] = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | let roots = [cores[0].root().await.unwrap(), cores[1].root().await.unwrap()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:114:50 [INFO] [stdout] | [INFO] [stdout] 114 | let roots = [cores[0].root().await.unwrap(), cores[1].root().await.unwrap()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | let folder = cores[0].create_at_path("folder/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | / cores[0] [INFO] [stdout] 118 | | .share_file(folder.id, &accounts[1].username, ShareMode::Write) [INFO] [stdout] 119 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | cores[0].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | cores[1].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | / cores[1] [INFO] [stdout] 126 | | .create_link_at_path("link", folder.id) [INFO] [stdout] 127 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:130:19 [INFO] [stdout] | [INFO] [stdout] 130 | let folder1 = cores[1].create_at_path("link/folder/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `[_; 2]` [INFO] [stdout] --> tests/link_tests.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let cores = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | .map(|core| core.get_account().unwrap()) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `cores` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 138 | let cores: [_; 2] = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 143 | let roots = [cores[0].root().await.unwrap(), cores[1].root().await.unwrap()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:143:50 [INFO] [stdout] | [INFO] [stdout] 143 | let roots = [cores[0].root().await.unwrap(), cores[1].root().await.unwrap()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | let document = cores[0].create_at_path("document").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | / cores[0] [INFO] [stdout] 147 | | .share_file(document.id, &accounts[1].username, ShareMode::Write) [INFO] [stdout] 148 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | cores[0].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | cores[1].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | / cores[1] [INFO] [stdout] 155 | | .create_link_at_path("link", document.id) [INFO] [stdout] 156 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `[_; 2]` [INFO] [stdout] --> tests/link_tests.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | let cores = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | .map(|core| core.get_account().unwrap()) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `cores` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 170 | let cores: [_; 2] = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | let roots = [cores[0].root().await.unwrap(), cores[1].root().await.unwrap()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:175:50 [INFO] [stdout] | [INFO] [stdout] 175 | let roots = [cores[0].root().await.unwrap(), cores[1].root().await.unwrap()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | let folder = cores[0].create_at_path("folder/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:178:20 [INFO] [stdout] | [INFO] [stdout] 178 | let document = cores[0].create_at_path("folder/document").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | / cores[0] [INFO] [stdout] 180 | | .share_file(folder.id, &accounts[1].username, ShareMode::Write) [INFO] [stdout] 181 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | cores[0].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | cores[1].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | let _link = cores[1] [INFO] [stdout] | _________________^ [INFO] [stdout] 188 | | .create_link_at_path("link", folder.id) [INFO] [stdout] 189 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `[_; 2]` [INFO] [stdout] --> tests/link_tests.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | let cores = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | .map(|core| core.get_account().unwrap()) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `cores` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 210 | let cores: [_; 2] = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:215:18 [INFO] [stdout] | [INFO] [stdout] 215 | let roots = [cores[0].root().await.unwrap(), cores[1].root().await.unwrap()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:215:50 [INFO] [stdout] | [INFO] [stdout] 215 | let roots = [cores[0].root().await.unwrap(), cores[1].root().await.unwrap()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:217:19 [INFO] [stdout] | [INFO] [stdout] 217 | let folder1 = cores[0].create_at_path("folder/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:218:19 [INFO] [stdout] | [INFO] [stdout] 218 | let folder2 = cores[0].create_at_path("folder/folder/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:219:20 [INFO] [stdout] | [INFO] [stdout] 219 | let document = cores[0] [INFO] [stdout] | ____________________^ [INFO] [stdout] 220 | | .create_at_path("folder/folder/document") [INFO] [stdout] 221 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | / cores[0] [INFO] [stdout] 224 | | .share_file(folder1.id, &accounts[1].username, ShareMode::Write) [INFO] [stdout] 225 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | cores[0].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | cores[1].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | / cores[1] [INFO] [stdout] 232 | | .create_link_at_path("link", folder1.id) [INFO] [stdout] 233 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `[_; 2]` [INFO] [stdout] --> tests/link_tests.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | let cores = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | .map(|core| core.get_account().unwrap()) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `cores` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 261 | let cores: [_; 2] = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:266:18 [INFO] [stdout] | [INFO] [stdout] 266 | let roots = [cores[0].root().await.unwrap(), cores[1].root().await.unwrap()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:266:50 [INFO] [stdout] | [INFO] [stdout] 266 | let roots = [cores[0].root().await.unwrap(), cores[1].root().await.unwrap()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:268:19 [INFO] [stdout] | [INFO] [stdout] 268 | let folder2 = cores[0].create_at_path("folder/folder/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:269:20 [INFO] [stdout] | [INFO] [stdout] 269 | let document = cores[0] [INFO] [stdout] | ____________________^ [INFO] [stdout] 270 | | .create_at_path("folder/folder/document") [INFO] [stdout] 271 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | / cores[0] [INFO] [stdout] 274 | | .share_file(folder2.id, &accounts[1].username, ShareMode::Write) [INFO] [stdout] 275 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | cores[0].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 279 | cores[1].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | / cores[1] [INFO] [stdout] 282 | | .create_link_at_path("link", folder2.id) [INFO] [stdout] 283 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `[_; 2]` [INFO] [stdout] --> tests/link_tests.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | let cores = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | .map(|core| core.get_account().unwrap()) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `cores` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 304 | let cores: [_; 2] = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:309:18 [INFO] [stdout] | [INFO] [stdout] 309 | let roots = [cores[0].root().await.unwrap(), cores[1].root().await.unwrap()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:309:50 [INFO] [stdout] | [INFO] [stdout] 309 | let roots = [cores[0].root().await.unwrap(), cores[1].root().await.unwrap()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:311:19 [INFO] [stdout] | [INFO] [stdout] 311 | let folder1 = cores[0].create_at_path("folder/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:312:20 [INFO] [stdout] | [INFO] [stdout] 312 | let document = cores[0].create_at_path("folder/document").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | / cores[0] [INFO] [stdout] 314 | | .share_file(folder1.id, &accounts[1].username, ShareMode::Write) [INFO] [stdout] 315 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | cores[0].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 319 | cores[1].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:321:19 [INFO] [stdout] | [INFO] [stdout] 321 | let folder2 = cores[1].create_at_path("folder/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | / cores[1] [INFO] [stdout] 323 | | .create_link_at_path("folder/link", folder1.id) [INFO] [stdout] 324 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `[_; 2]` [INFO] [stdout] --> tests/link_tests.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | let cores = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | .map(|core| core.get_account().unwrap()) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `cores` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 353 | let cores: [_; 2] = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:358:18 [INFO] [stdout] | [INFO] [stdout] 358 | let roots = [cores[0].root().await.unwrap(), cores[1].root().await.unwrap()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:358:50 [INFO] [stdout] | [INFO] [stdout] 358 | let roots = [cores[0].root().await.unwrap(), cores[1].root().await.unwrap()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:360:19 [INFO] [stdout] | [INFO] [stdout] 360 | let folder1 = cores[0].create_at_path("folder/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:361:19 [INFO] [stdout] | [INFO] [stdout] 361 | let folder2 = cores[0].create_at_path("folder/folder/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:362:20 [INFO] [stdout] | [INFO] [stdout] 362 | let document = cores[0] [INFO] [stdout] | ____________________^ [INFO] [stdout] 363 | | .create_at_path("folder/folder/document") [INFO] [stdout] 364 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:366:5 [INFO] [stdout] | [INFO] [stdout] 366 | / cores[0] [INFO] [stdout] 367 | | .share_file(folder1.id, &accounts[1].username, ShareMode::Write) [INFO] [stdout] 368 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:370:5 [INFO] [stdout] | [INFO] [stdout] 370 | / cores[0] [INFO] [stdout] 371 | | .share_file(folder2.id, &accounts[1].username, ShareMode::Write) [INFO] [stdout] 372 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | cores[0].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | cores[1].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 378 | / cores[1] [INFO] [stdout] 379 | | .create_link_at_path("link1", folder1.id) [INFO] [stdout] 380 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 382 | / cores[1] [INFO] [stdout] 383 | | .create_link_at_path("link2", folder2.id) [INFO] [stdout] 384 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `[_; 2]` [INFO] [stdout] --> tests/link_tests.rs:462:9 [INFO] [stdout] | [INFO] [stdout] 462 | let cores = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | .map(|core| core.get_account().unwrap()) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `cores` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 462 | let cores: [_; 2] = [test_core_with_account().await, test_core_with_account().await]; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:468:18 [INFO] [stdout] | [INFO] [stdout] 468 | let folder = cores[0].create_at_path("lockbook/").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:469:16 [INFO] [stdout] | [INFO] [stdout] 469 | let file = cores[0] [INFO] [stdout] | ________________^ [INFO] [stdout] 470 | | .create_file("test.md", &folder.id, FileType::Document) [INFO] [stdout] 471 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:473:5 [INFO] [stdout] | [INFO] [stdout] 473 | / cores[0] [INFO] [stdout] 474 | | .share_file(folder.id, &accounts[1].username, ShareMode::Write) [INFO] [stdout] 475 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:478:5 [INFO] [stdout] | [INFO] [stdout] 478 | cores[0].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:479:5 [INFO] [stdout] | [INFO] [stdout] 479 | cores[1].sync(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:481:5 [INFO] [stdout] | [INFO] [stdout] 481 | / cores[1] [INFO] [stdout] 482 | | .create_link_at_path("link", folder.id) [INFO] [stdout] 483 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/link_tests.rs:486:16 [INFO] [stdout] | [INFO] [stdout] 486 | assert_eq!(cores[1].get_file_by_id(file.id).await.unwrap().parent, folder.id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-rs` (test "link_tests") due to 85 previous errors [INFO] running `Command { std: "docker" "inspect" "7593be8c2c967707ed1e9951956d36d3961145ddce4192137040283bf2bc804e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7593be8c2c967707ed1e9951956d36d3961145ddce4192137040283bf2bc804e", kill_on_drop: false }` [INFO] [stdout] 7593be8c2c967707ed1e9951956d36d3961145ddce4192137040283bf2bc804e