[INFO] cloning repository https://github.com/fossdd/pijul [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fossdd/pijul" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffossdd%2Fpijul", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffossdd%2Fpijul'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3cebc3f4d89d228a156960b1276a80c3a6dc3d84 [INFO] checking fossdd/pijul against master#c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 for pr-86194 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffossdd%2Fpijul" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fossdd/pijul on toolchain c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fossdd/pijul [INFO] finished tweaking git repo https://github.com/fossdd/pijul [INFO] tweaked toml for git repo https://github.com/fossdd/pijul written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/fossdd/pijul already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8ee3873658c50272f4c337033787d9f9e3884ceb82e3f7102da0dfa8ea8b151 [INFO] running `Command { std: "docker" "start" "-a" "b8ee3873658c50272f4c337033787d9f9e3884ceb82e3f7102da0dfa8ea8b151", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8ee3873658c50272f4c337033787d9f9e3884ceb82e3f7102da0dfa8ea8b151", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8ee3873658c50272f4c337033787d9f9e3884ceb82e3f7102da0dfa8ea8b151", kill_on_drop: false }` [INFO] [stdout] b8ee3873658c50272f4c337033787d9f9e3884ceb82e3f7102da0dfa8ea8b151 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c51829f2522175d4822cdc12bf615ddc43f99488351986a10a987d3a8d6dabdf [INFO] running `Command { std: "docker" "start" "-a" "c51829f2522175d4822cdc12bf615ddc43f99488351986a10a987d3a8d6dabdf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking httpdate v1.0.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking path-slash v0.1.4 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking canonical-path v2.0.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking diffs v0.4.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking whoami v0.9.0 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking sanakirja-core v1.2.8 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling libsodium-sys v0.2.6 [INFO] [stderr] Compiling zstd-seekable v0.1.7 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking filetime v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking cryptovec v0.6.1 [INFO] [stderr] Checking errno v0.2.7 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking backtrace v0.3.57 [INFO] [stderr] Checking which v4.1.0 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking rpassword v5.0.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking dirs v3.0.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking pager v0.16.0 [INFO] [stderr] Checking tar v0.4.33 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking http-body v0.4.1 [INFO] [stderr] Checking globset v0.4.6 [INFO] [stderr] Checking os_type v2.2.0 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking yasna v0.3.2 [INFO] [stderr] Checking twox-hash v1.6.0 [INFO] [stderr] Checking ignore v0.4.17 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking edit v0.1.3 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking pijul-macros v0.4.0 (/opt/rustwide/workdir/pijul-macros) [INFO] [stderr] Checking ctrlc v3.1.9 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking sanakirja v1.2.0 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking thrussh-config v0.5.0 [INFO] [stderr] Checking h2 v0.3.2 [INFO] [stderr] Checking hyper v0.14.7 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking curve25519-dalek v3.1.0 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking human-panic v1.0.3 [INFO] [stderr] Checking libpijul v1.0.0-alpha.39 (/opt/rustwide/workdir/libpijul) [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.3 [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/mod.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | state.record( [INFO] [stdout] | ^^^^^^ expected 7 arguments [INFO] [stdout] 35 | txn, [INFO] [stdout] | --- [INFO] [stdout] 36 | Algorithm::default(), [INFO] [stdout] | -------------------- [INFO] [stdout] 37 | &mut *channel.lock().unwrap(), [INFO] [stdout] | ----------------------------- [INFO] [stdout] 38 | repo, [INFO] [stdout] | ---- [INFO] [stdout] 39 | store, [INFO] [stdout] | ----- [INFO] [stdout] 40 | prefix, [INFO] [stdout] | ------ supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/record.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn record< [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | &mut self, [INFO] [stdout] | --------- [INFO] [stdout] 280 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 281 | diff_algorithm: diff::Algorithm, [INFO] [stdout] | ------------------------------- [INFO] [stdout] 282 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 283 | working_copy: Arc, [INFO] [stdout] | -------------------- [INFO] [stdout] 284 | changes: &C, [INFO] [stdout] | ----------- [INFO] [stdout] 285 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 286 | _n_workers: usize, [INFO] [stdout] | ----------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for reference `&pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/mod.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | &mut *channel.lock().unwrap(), [INFO] [stdout] | ^^^^ method not found in `&pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/mod.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | rec.contents, [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `Vec`, found struct `std::sync::Arc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `std::sync::Arc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 8 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/mod.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | output::output_repository_no_pending(repo, changes, txn, channel.clone(), "", true, None, 1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---- ------- --- --------------- -- ---- ---- - supplied 8 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 9 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | txn.add_file("dir/file").unwrap(); [INFO] [stdout] | ^^^^^^^^ ---------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | assert!(txn.add_file("dir/file").is_err()); [INFO] [stdout] | ^^^^^^^^ ---------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | let channel = channel_.lock().unwrap(); [INFO] [stdout] | ^^^^ method not found in `pristine::ChannelRef>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `lock` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | txn.add_dir("dir/file")?; [INFO] [stdout] | ^^^^^^^ ---------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:290:8 [INFO] [stdout] | [INFO] [stdout] 290 | fn add_dir(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | txn.write().unwrap().add_file("dir/file").unwrap(); [INFO] [stdout] | ^^^^^^^^ ---------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | txn.write().unwrap().add_file("dir2/file").unwrap(); [INFO] [stdout] | ^^^^^^^^ ----------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:174:26 [INFO] [stdout] | [INFO] [stdout] 174 | txn.write().unwrap().add_file("a/b/c/d/e")?; [INFO] [stdout] | ^^^^^^^^ ----------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 8 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 192 | repo2, [INFO] [stdout] | ----- [INFO] [stdout] 193 | changes, [INFO] [stdout] | ------- [INFO] [stdout] 194 | txn.clone(), [INFO] [stdout] | ----------- [INFO] [stdout] 195 | channel.clone(), [INFO] [stdout] | --------------- [INFO] [stdout] 196 | "", [INFO] [stdout] | -- [INFO] [stdout] 197 | true, [INFO] [stdout] | ---- [INFO] [stdout] 198 | None, [INFO] [stdout] | ---- [INFO] [stdout] 199 | 1, [INFO] [stdout] | - supplied 8 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:221:26 [INFO] [stdout] | [INFO] [stdout] 221 | txn.write().unwrap().add_file("dir/file")?; [INFO] [stdout] | ^^^^^^^^ ---------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `working_copy::memory::Writer` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | .write_all(b"a\nb\nc\n") [INFO] [stdout] | ^^^^^^^^^ method not found in `working_copy::memory::Writer` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/working_copy/memory.rs:324:1 [INFO] [stdout] | [INFO] [stdout] 324 | pub struct Writer { [INFO] [stdout] | ----------------- method `write_all` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::io::Write;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:236:34 [INFO] [stdout] | [INFO] [stdout] 236 | debug_to_file(&txn, &channel.borrow(), "debug").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Arc, ()>>>>: pristine::GraphIter` is not satisfied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | debug_to_file(&txn, &channel.borrow(), "debug").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `pristine::GraphIter` is not implemented for `std::sync::Arc, ()>>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:898:52 [INFO] [stdout] | [INFO] [stdout] 898 | pub fn debug_to_file, T: GraphIter + ChannelTxnT>( [INFO] [stdout] | --------- required by this bound in `pristine::debug_to_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Arc, ()>>>>: pristine::ChannelTxnT` is not satisfied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | debug_to_file(&txn, &channel.borrow(), "debug").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `pristine::ChannelTxnT` is not implemented for `std::sync::Arc, ()>>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:898:64 [INFO] [stdout] | [INFO] [stdout] 898 | pub fn debug_to_file, T: GraphIter + ChannelTxnT>( [INFO] [stdout] | ----------- required by this bound in `pristine::debug_to_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `GenericTxn` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | txn.write().unwrap().add_file("dir/file")?; [INFO] [stdout] | ^^^^^ method not found in `GenericTxn, ()>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/sanakirja.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct GenericTxn> { [INFO] [stdout] | --------------------------------------------------------------------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::io::Write` [INFO] [stdout] candidate #2: `std::hash::Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `GenericTxn` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:252:27 [INFO] [stdout] | [INFO] [stdout] 252 | let mut channel = txn.write().unwrap().open_or_create_channel("main")?; [INFO] [stdout] | ^^^^^ method not found in `GenericTxn, ()>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/sanakirja.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct GenericTxn> { [INFO] [stdout] | --------------------------------------------------------------------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::io::Write` [INFO] [stdout] candidate #2: `std::hash::Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:255:23 [INFO] [stdout] | [INFO] [stdout] 255 | record_all_output(&mut repo, &changes, &mut txn, &mut channel, "")?; [INFO] [stdout] | ^^^^^^^^^ expected struct `std::sync::Arc`, found `&mut working_copy::memory::Memory` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc<_>` [INFO] [stdout] found mutable reference `&mut working_copy::memory::Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `solved_conflicts` [INFO] [stdout] --> libpijul/src/diff/vertex_buffer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub solved_conflicts: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:255:34 [INFO] [stdout] | [INFO] [stdout] 255 | record_all_output(&mut repo, &changes, &mut txn, &mut channel, "")?; [INFO] [stdout] | ^^^^^^^^ expected struct `std::sync::Arc`, found `&changestore::memory::Memory` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc<_>` [INFO] [stdout] found reference `&changestore::memory::Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:255:44 [INFO] [stdout] | [INFO] [stdout] 255 | record_all_output(&mut repo, &changes, &mut txn, &mut channel, "")?; [INFO] [stdout] | ^^^^^^^^ expected struct `std::sync::Arc`, found mutable reference [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc>` [INFO] [stdout] found mutable reference `&mut GenericTxn, ()>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:257:10 [INFO] [stdout] | [INFO] [stdout] 257 | repo.write_file::<_, std::io::Error, _>("dir/file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:257:10 [INFO] [stdout] | [INFO] [stdout] 257 | repo.write_file::<_, std::io::Error, _>("dir/file", |w| { [INFO] [stdout] | __________^^^^^^^^^^_________________________----------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 258 | | w.write_all(b"a\nb\nc\ne\nf\n")?; [INFO] [stdout] 259 | | Ok(()) [INFO] [stdout] 260 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:261:23 [INFO] [stdout] | [INFO] [stdout] 261 | record_all_output(&mut repo, &changes, &mut txn, &mut channel, "")?; [INFO] [stdout] | ^^^^^^^^^ expected struct `std::sync::Arc`, found `&mut working_copy::memory::Memory` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc<_>` [INFO] [stdout] found mutable reference `&mut working_copy::memory::Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:261:34 [INFO] [stdout] | [INFO] [stdout] 261 | record_all_output(&mut repo, &changes, &mut txn, &mut channel, "")?; [INFO] [stdout] | ^^^^^^^^ expected struct `std::sync::Arc`, found `&changestore::memory::Memory` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc<_>` [INFO] [stdout] found reference `&changestore::memory::Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:261:44 [INFO] [stdout] | [INFO] [stdout] 261 | record_all_output(&mut repo, &changes, &mut txn, &mut channel, "")?; [INFO] [stdout] | ^^^^^^^^ expected struct `std::sync::Arc`, found mutable reference [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc>` [INFO] [stdout] found mutable reference `&mut GenericTxn, ()>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:262:10 [INFO] [stdout] | [INFO] [stdout] 262 | repo.write_file::<_, std::io::Error, _>("dir/file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:262:10 [INFO] [stdout] | [INFO] [stdout] 262 | repo.write_file::<_, std::io::Error, _>("dir/file", |w| { [INFO] [stdout] | __________^^^^^^^^^^_________________________----------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 263 | | w.write_all(b"a\nb\nc\nf\n")?; [INFO] [stdout] 264 | | Ok(()) [INFO] [stdout] 265 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:266:34 [INFO] [stdout] | [INFO] [stdout] 266 | debug_to_file(&txn, &channel.borrow(), "debug0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef<_>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:267:23 [INFO] [stdout] | [INFO] [stdout] 267 | record_all_output(&mut repo, &changes, &mut txn, &mut channel, "")?; [INFO] [stdout] | ^^^^^^^^^ expected struct `std::sync::Arc`, found `&mut working_copy::memory::Memory` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc<_>` [INFO] [stdout] found mutable reference `&mut working_copy::memory::Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:267:34 [INFO] [stdout] | [INFO] [stdout] 267 | record_all_output(&mut repo, &changes, &mut txn, &mut channel, "")?; [INFO] [stdout] | ^^^^^^^^ expected struct `std::sync::Arc`, found `&changestore::memory::Memory` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc<_>` [INFO] [stdout] found reference `&changestore::memory::Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:267:44 [INFO] [stdout] | [INFO] [stdout] 267 | record_all_output(&mut repo, &changes, &mut txn, &mut channel, "")?; [INFO] [stdout] | ^^^^^^^^ expected struct `std::sync::Arc`, found mutable reference [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc>` [INFO] [stdout] found mutable reference `&mut GenericTxn, ()>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:268:34 [INFO] [stdout] | [INFO] [stdout] 268 | debug_to_file(&txn, &channel.borrow(), "debug1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef<_>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 269 | repo.write_file::<_, std::io::Error, _>("dir/file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 269 | repo.write_file::<_, std::io::Error, _>("dir/file", |w| { [INFO] [stdout] | __________^^^^^^^^^^_________________________----------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 270 | | w.write_all(b"a\nb\nc\n")?; [INFO] [stdout] 271 | | Ok(()) [INFO] [stdout] 272 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:273:23 [INFO] [stdout] | [INFO] [stdout] 273 | record_all_output(&mut repo, &changes, &mut txn, &mut channel, "")?; [INFO] [stdout] | ^^^^^^^^^ expected struct `std::sync::Arc`, found `&mut working_copy::memory::Memory` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc<_>` [INFO] [stdout] found mutable reference `&mut working_copy::memory::Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:273:34 [INFO] [stdout] | [INFO] [stdout] 273 | record_all_output(&mut repo, &changes, &mut txn, &mut channel, "")?; [INFO] [stdout] | ^^^^^^^^ expected struct `std::sync::Arc`, found `&changestore::memory::Memory` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc<_>` [INFO] [stdout] found reference `&changestore::memory::Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:273:44 [INFO] [stdout] | [INFO] [stdout] 273 | record_all_output(&mut repo, &changes, &mut txn, &mut channel, "")?; [INFO] [stdout] | ^^^^^^^^ expected struct `std::sync::Arc`, found mutable reference [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc>` [INFO] [stdout] found mutable reference `&mut GenericTxn, ()>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:277:34 [INFO] [stdout] | [INFO] [stdout] 277 | debug_to_file(&txn, &channel.borrow(), "debug2").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef<_>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `GenericTxn` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | txn.write().unwrap().commit()?; [INFO] [stdout] | ^^^^^ method not found in `GenericTxn, ()>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/sanakirja.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct GenericTxn> { [INFO] [stdout] | --------------------------------------------------------------------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::io::Write` [INFO] [stdout] candidate #2: `std::hash::Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:294:15 [INFO] [stdout] | [INFO] [stdout] 294 | txn_alice.add_file("file")?; [INFO] [stdout] | ^^^^^^^^ ------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:298:40 [INFO] [stdout] | [INFO] [stdout] 298 | debug_to_file(&txn_alice, &channel.borrow(), "debug0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:302:40 [INFO] [stdout] | [INFO] [stdout] 302 | debug_to_file(&txn_alice, &channel.borrow(), "debug1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:308:49 [INFO] [stdout] | [INFO] [stdout] 308 | apply::apply_change(&changes, &mut txn_bob, &mut channel, &alice0)?; [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 310 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 311 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 312 | &mut txn_bob, [INFO] [stdout] | ------------ [INFO] [stdout] 313 | &mut channel, [INFO] [stdout] | ------------ [INFO] [stdout] 314 | "", [INFO] [stdout] | -- [INFO] [stdout] 315 | true, [INFO] [stdout] | ---- [INFO] [stdout] 316 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:318:38 [INFO] [stdout] | [INFO] [stdout] 318 | debug_to_file(&txn_bob, &channel.borrow(), "debug_bob1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:322:49 [INFO] [stdout] | [INFO] [stdout] 322 | apply::apply_change(&changes, &mut txn_bob, &mut channel, &alice1)?; [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 324 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 325 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 326 | &mut txn_bob, [INFO] [stdout] | ------------ [INFO] [stdout] 327 | &mut channel, [INFO] [stdout] | ------------ [INFO] [stdout] 328 | "", [INFO] [stdout] | -- [INFO] [stdout] 329 | true, [INFO] [stdout] | ---- [INFO] [stdout] 330 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:332:38 [INFO] [stdout] | [INFO] [stdout] 332 | debug_to_file(&txn_bob, &channel.borrow(), "debug_bob2").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:352:15 [INFO] [stdout] | [INFO] [stdout] 352 | txn_alice.add_file("file")?; [INFO] [stdout] | ^^^^^^^^ ------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:357:40 [INFO] [stdout] | [INFO] [stdout] 357 | debug_to_file(&txn_alice, &channel.borrow(), "debug0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:358:15 [INFO] [stdout] | [INFO] [stdout] 358 | txn_alice.add_dir("dir")?; [INFO] [stdout] | ^^^^^^^ ----- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:290:8 [INFO] [stdout] | [INFO] [stdout] 290 | fn add_dir(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:359:15 [INFO] [stdout] | [INFO] [stdout] 359 | txn_alice.move_file("file", "dir/file2")?; [INFO] [stdout] | ^^^^^^^^^ ------ ----------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | fn move_file(&mut self, a: &str, b: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^^ --------- ------- ------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:366:40 [INFO] [stdout] | [INFO] [stdout] 366 | debug_to_file(&txn_alice, &channel.borrow(), "debug1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:374:40 [INFO] [stdout] | [INFO] [stdout] 374 | debug_to_file(&txn_alice, &channel.borrow(), "debug2").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:381:49 [INFO] [stdout] | [INFO] [stdout] 381 | apply::apply_change(&changes, &mut txn_bob, &mut channel, &alice0)?; [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 382 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 383 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 384 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 385 | &mut txn_bob, [INFO] [stdout] | ------------ [INFO] [stdout] 386 | &mut channel, [INFO] [stdout] | ------------ [INFO] [stdout] 387 | "", [INFO] [stdout] | -- [INFO] [stdout] 388 | true, [INFO] [stdout] | ---- [INFO] [stdout] 389 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:393:49 [INFO] [stdout] | [INFO] [stdout] 393 | apply::apply_change(&changes, &mut txn_bob, &mut channel, &alice1)?; [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 395 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 396 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 397 | &mut txn_bob, [INFO] [stdout] | ------------ [INFO] [stdout] 398 | &mut channel, [INFO] [stdout] | ------------ [INFO] [stdout] 399 | "", [INFO] [stdout] | -- [INFO] [stdout] 400 | true, [INFO] [stdout] | ---- [INFO] [stdout] 401 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:407:49 [INFO] [stdout] | [INFO] [stdout] 407 | apply::apply_change(&changes, &mut txn_bob, &mut channel, &alice2)?; [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 409 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 410 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 411 | &mut txn_bob, [INFO] [stdout] | ------------ [INFO] [stdout] 412 | &mut channel, [INFO] [stdout] | ------------ [INFO] [stdout] 413 | "", [INFO] [stdout] | -- [INFO] [stdout] 414 | true, [INFO] [stdout] | ---- [INFO] [stdout] 415 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:435:15 [INFO] [stdout] | [INFO] [stdout] 435 | txn_alice.add_file("file")?; [INFO] [stdout] | ^^^^^^^^ ------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:436:15 [INFO] [stdout] | [INFO] [stdout] 436 | txn_alice.add_file("file2")?; [INFO] [stdout] | ^^^^^^^^ ------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:440:15 [INFO] [stdout] | [INFO] [stdout] 440 | txn_alice.move_file("file", "file2")?; [INFO] [stdout] | ^^^^^^^^^ ------ ------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | fn move_file(&mut self, a: &str, b: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^^ --------- ------- ------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:443:40 [INFO] [stdout] | [INFO] [stdout] 443 | debug_to_file(&txn_alice, &channel.borrow(), "debug1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:470:15 [INFO] [stdout] | [INFO] [stdout] 470 | txn_alice.add_file("a")?; [INFO] [stdout] | ^^^^^^^^ --- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:475:15 [INFO] [stdout] | [INFO] [stdout] 475 | txn_alice.move_file("a", "b")?; [INFO] [stdout] | ^^^^^^^^^ --- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | fn move_file(&mut self, a: &str, b: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^^ --------- ------- ------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:478:40 [INFO] [stdout] | [INFO] [stdout] 478 | debug_to_file(&txn_alice, &channel.borrow(), "debug1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:481:15 [INFO] [stdout] | [INFO] [stdout] 481 | txn_alice.move_file("b", "a")?; [INFO] [stdout] | ^^^^^^^^^ --- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | fn move_file(&mut self, a: &str, b: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^^ --------- ------- ------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:484:40 [INFO] [stdout] | [INFO] [stdout] 484 | debug_to_file(&txn_alice, &channel.borrow(), "debug2").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:492:33 [INFO] [stdout] | [INFO] [stdout] 492 | .apply_change(&changes, &mut channel_bob, &alice1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:494:5 [INFO] [stdout] | [INFO] [stdout] 494 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 495 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 496 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 497 | &mut txn_bob, [INFO] [stdout] | ------------ [INFO] [stdout] 498 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 499 | "", [INFO] [stdout] | -- [INFO] [stdout] 500 | true, [INFO] [stdout] | ---- [INFO] [stdout] 501 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:505:42 [INFO] [stdout] | [INFO] [stdout] 505 | debug_to_file(&txn_bob, &channel_bob.borrow(), "debug_bob1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:507:33 [INFO] [stdout] | [INFO] [stdout] 507 | .apply_change(&changes, &mut channel_bob, &alice2) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:509:42 [INFO] [stdout] | [INFO] [stdout] 509 | debug_to_file(&txn_bob, &channel_bob.borrow(), "debug_bob2").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:510:5 [INFO] [stdout] | [INFO] [stdout] 510 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 511 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 512 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 513 | &mut txn_bob, [INFO] [stdout] | ------------ [INFO] [stdout] 514 | &mut channel, [INFO] [stdout] | ------------ [INFO] [stdout] 515 | "", [INFO] [stdout] | -- [INFO] [stdout] 516 | true, [INFO] [stdout] | ---- [INFO] [stdout] 517 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:521:33 [INFO] [stdout] | [INFO] [stdout] 521 | .apply_change(&changes, &mut channel_bob, &alice3) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:523:42 [INFO] [stdout] | [INFO] [stdout] 523 | debug_to_file(&txn_bob, &channel_bob.borrow(), "debug_bob3").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:524:5 [INFO] [stdout] | [INFO] [stdout] 524 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 525 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 526 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 527 | &mut txn_bob, [INFO] [stdout] | ------------ [INFO] [stdout] 528 | &mut channel, [INFO] [stdout] | ------------ [INFO] [stdout] 529 | "", [INFO] [stdout] | -- [INFO] [stdout] 530 | true, [INFO] [stdout] | ---- [INFO] [stdout] 531 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:537:46 [INFO] [stdout] | [INFO] [stdout] 537 | debug_to_file(&txn_bob, &channel_bob.borrow(), "debug_bob4").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:541:37 [INFO] [stdout] | [INFO] [stdout] 541 | .apply_change(&changes, &mut channel, &bob1) [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:543:44 [INFO] [stdout] | [INFO] [stdout] 543 | debug_to_file(&txn_alice, &channel.borrow(), "debug_alice2").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:545:25 [INFO] [stdout] | [INFO] [stdout] 545 | let conflicts = output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 546 | &mut repo_alice, [INFO] [stdout] | --------------- [INFO] [stdout] 547 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 548 | &mut txn_alice, [INFO] [stdout] | -------------- [INFO] [stdout] 549 | &mut channel, [INFO] [stdout] | ------------ [INFO] [stdout] 550 | "", [INFO] [stdout] | -- [INFO] [stdout] 551 | true, [INFO] [stdout] | ---- [INFO] [stdout] 552 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:559:37 [INFO] [stdout] | [INFO] [stdout] 559 | .apply_change(&changes, &mut channel, &bob2) [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:561:44 [INFO] [stdout] | [INFO] [stdout] 561 | debug_to_file(&txn_alice, &channel.borrow(), "debug_alice3").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:562:25 [INFO] [stdout] | [INFO] [stdout] 562 | let conflicts = output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 563 | &mut repo_alice, [INFO] [stdout] | --------------- [INFO] [stdout] 564 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 565 | &mut txn_alice, [INFO] [stdout] | -------------- [INFO] [stdout] 566 | &mut channel, [INFO] [stdout] | ------------ [INFO] [stdout] 567 | "", [INFO] [stdout] | -- [INFO] [stdout] 568 | true, [INFO] [stdout] | ---- [INFO] [stdout] 569 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:575:25 [INFO] [stdout] | [INFO] [stdout] 575 | let conflicts = output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 576 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 577 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 578 | &mut txn_bob, [INFO] [stdout] | ------------ [INFO] [stdout] 579 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 580 | "", [INFO] [stdout] | -- [INFO] [stdout] 581 | true, [INFO] [stdout] | ---- [INFO] [stdout] 582 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:584:46 [INFO] [stdout] | [INFO] [stdout] 584 | debug_to_file(&txn_bob, &channel_bob.borrow(), "debug_bob4").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:588:9 [INFO] [stdout] | [INFO] [stdout] 588 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 589 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 590 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 591 | &mut txn_bob, [INFO] [stdout] | ------------ [INFO] [stdout] 592 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 593 | "", [INFO] [stdout] | -- [INFO] [stdout] 594 | true, [INFO] [stdout] | ---- [INFO] [stdout] 595 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:603:37 [INFO] [stdout] | [INFO] [stdout] 603 | .apply_change(&changes, &mut channel, &bob1) [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:605:44 [INFO] [stdout] | [INFO] [stdout] 605 | debug_to_file(&txn_alice, &channel.borrow(), "debug_alice2").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:607:25 [INFO] [stdout] | [INFO] [stdout] 607 | let conflicts = output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 608 | &mut repo_alice, [INFO] [stdout] | --------------- [INFO] [stdout] 609 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 610 | &mut txn_alice, [INFO] [stdout] | -------------- [INFO] [stdout] 611 | &mut channel, [INFO] [stdout] | ------------ [INFO] [stdout] 612 | "", [INFO] [stdout] | -- [INFO] [stdout] 613 | true, [INFO] [stdout] | ---- [INFO] [stdout] 614 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:625:37 [INFO] [stdout] | [INFO] [stdout] 625 | .apply_change(&changes, &mut channel, &bob2) [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:627:25 [INFO] [stdout] | [INFO] [stdout] 627 | let conflicts = output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 628 | &mut repo_alice, [INFO] [stdout] | --------------- [INFO] [stdout] 629 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 630 | &mut txn_alice, [INFO] [stdout] | -------------- [INFO] [stdout] 631 | &mut channel, [INFO] [stdout] | ------------ [INFO] [stdout] 632 | "", [INFO] [stdout] | -- [INFO] [stdout] 633 | true, [INFO] [stdout] | ---- [INFO] [stdout] 634 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:640:25 [INFO] [stdout] | [INFO] [stdout] 640 | let conflicts = output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 641 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 642 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 643 | &mut txn_bob, [INFO] [stdout] | ------------ [INFO] [stdout] 644 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 645 | "", [INFO] [stdout] | -- [INFO] [stdout] 646 | true, [INFO] [stdout] | ---- [INFO] [stdout] 647 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:668:15 [INFO] [stdout] | [INFO] [stdout] 668 | txn_alice.add_file("dir/file")?; [INFO] [stdout] | ^^^^^^^^ ---------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:669:15 [INFO] [stdout] | [INFO] [stdout] 669 | txn_alice.add_file("dir/file2")?; [INFO] [stdout] | ^^^^^^^^ ----------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:674:40 [INFO] [stdout] | [INFO] [stdout] 674 | debug_to_file(&txn_alice, &channel.borrow(), "debug0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:679:15 [INFO] [stdout] | [INFO] [stdout] 679 | txn_alice.move_file("dir/file", "dir2/file")?; [INFO] [stdout] | ^^^^^^^^^ ---------- ----------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | fn move_file(&mut self, a: &str, b: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^^ --------- ------- ------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:680:15 [INFO] [stdout] | [INFO] [stdout] 680 | txn_alice.move_file("dir/file2", "dir2/file2")?; [INFO] [stdout] | ^^^^^^^^^ ----------- ------------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | fn move_file(&mut self, a: &str, b: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^^ --------- ------- ------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:684:40 [INFO] [stdout] | [INFO] [stdout] 684 | debug_to_file(&txn_alice, &channel.borrow(), "debug1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:685:5 [INFO] [stdout] | [INFO] [stdout] 685 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 686 | &mut repo_alice, [INFO] [stdout] | --------------- [INFO] [stdout] 687 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 688 | &mut txn_alice, [INFO] [stdout] | -------------- [INFO] [stdout] 689 | &mut channel, [INFO] [stdout] | ------------ [INFO] [stdout] 690 | "", [INFO] [stdout] | -- [INFO] [stdout] 691 | true, [INFO] [stdout] | ---- [INFO] [stdout] 692 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:694:40 [INFO] [stdout] | [INFO] [stdout] 694 | debug_to_file(&txn_alice, &channel.borrow(), "debug2").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:698:15 [INFO] [stdout] | [INFO] [stdout] 698 | txn_alice.move_file("dir2/file", "dir/file").unwrap_or(()); [INFO] [stdout] | ^^^^^^^^^ ----------- ---------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | fn move_file(&mut self, a: &str, b: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^^ --------- ------- ------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:699:15 [INFO] [stdout] | [INFO] [stdout] 699 | txn_alice.move_file("dir2/file2", "dir/file2").unwrap_or(()); [INFO] [stdout] | ^^^^^^^^^ ------------ ----------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | fn move_file(&mut self, a: &str, b: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^^ --------- ------- ------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:704:11 [INFO] [stdout] | [INFO] [stdout] 704 | state.record( [INFO] [stdout] | ^^^^^^ expected 7 arguments [INFO] [stdout] 705 | &mut txn_alice, [INFO] [stdout] | -------------- [INFO] [stdout] 706 | Algorithm::default(), [INFO] [stdout] | -------------------- [INFO] [stdout] 707 | &mut channel.borrow_mut(), [INFO] [stdout] | ------------------------- [INFO] [stdout] 708 | &mut repo_alice, [INFO] [stdout] | --------------- [INFO] [stdout] 709 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 710 | "dir", [INFO] [stdout] | ----- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/record.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn record< [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | &mut self, [INFO] [stdout] | --------- [INFO] [stdout] 280 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 281 | diff_algorithm: diff::Algorithm, [INFO] [stdout] | ------------------------------- [INFO] [stdout] 282 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 283 | working_copy: Arc, [INFO] [stdout] | -------------------- [INFO] [stdout] 284 | changes: &C, [INFO] [stdout] | ----------- [INFO] [stdout] 285 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 286 | _n_workers: usize, [INFO] [stdout] | ----------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow_mut` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:707:22 [INFO] [stdout] | [INFO] [stdout] 707 | &mut channel.borrow_mut(), [INFO] [stdout] | ^^^^^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow_mut` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::BorrowMut;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/add_file.rs:713:11 [INFO] [stdout] | [INFO] [stdout] 713 | state.record( [INFO] [stdout] | ^^^^^^ expected 7 arguments [INFO] [stdout] 714 | &mut txn_alice, [INFO] [stdout] | -------------- [INFO] [stdout] 715 | Algorithm::default(), [INFO] [stdout] | -------------------- [INFO] [stdout] 716 | &mut channel.borrow_mut(), [INFO] [stdout] | ------------------------- [INFO] [stdout] 717 | &mut repo_alice, [INFO] [stdout] | --------------- [INFO] [stdout] 718 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 719 | "dir2", [INFO] [stdout] | ------ supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/record.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn record< [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | &mut self, [INFO] [stdout] | --------- [INFO] [stdout] 280 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 281 | diff_algorithm: diff::Algorithm, [INFO] [stdout] | ------------------------------- [INFO] [stdout] 282 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 283 | working_copy: Arc, [INFO] [stdout] | -------------------- [INFO] [stdout] 284 | changes: &C, [INFO] [stdout] | ----------- [INFO] [stdout] 285 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 286 | _n_workers: usize, [INFO] [stdout] | ----------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow_mut` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:716:22 [INFO] [stdout] | [INFO] [stdout] 716 | &mut channel.borrow_mut(), [INFO] [stdout] | ^^^^^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow_mut` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::BorrowMut;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:732:9 [INFO] [stdout] | [INFO] [stdout] 732 | rec.contents, [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `Vec`, found struct `std::sync::Arc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `std::sync::Arc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:752:40 [INFO] [stdout] | [INFO] [stdout] 752 | debug_to_file(&txn_alice, &channel.borrow(), "debug3").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:754:63 [INFO] [stdout] | [INFO] [stdout] 754 | let (alive, reachable) = check_alive(&txn_alice, &channel.borrow().graph); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `GenericTxn` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:779:9 [INFO] [stdout] | [INFO] [stdout] 779 | txn.write().unwrap().add_file("filedir").unwrap(); [INFO] [stdout] | ^^^^^ method not found in `GenericTxn, ()>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/sanakirja.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct GenericTxn> { [INFO] [stdout] | --------------------------------------------------------------------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::io::Write` [INFO] [stdout] candidate #2: `std::hash::Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `GenericTxn` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:781:27 [INFO] [stdout] | [INFO] [stdout] 781 | let mut channel = txn.write().unwrap().open_or_create_channel("main").unwrap(); [INFO] [stdout] | ^^^^^ method not found in `GenericTxn, ()>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/sanakirja.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct GenericTxn> { [INFO] [stdout] | --------------------------------------------------------------------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::io::Write` [INFO] [stdout] candidate #2: `std::hash::Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `GenericTxn` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:786:9 [INFO] [stdout] | [INFO] [stdout] 786 | txn.write().unwrap().add_file("filedir/file").unwrap(); [INFO] [stdout] | ^^^^^ method not found in `GenericTxn, ()>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/sanakirja.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct GenericTxn> { [INFO] [stdout] | --------------------------------------------------------------------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::io::Write` [INFO] [stdout] candidate #2: `std::hash::Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:788:34 [INFO] [stdout] | [INFO] [stdout] 788 | debug_to_file(&txn, &channel.borrow(), "debug").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `GenericTxn` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:803:13 [INFO] [stdout] | [INFO] [stdout] 803 | txn.write().unwrap().add_file("dir/file")?; [INFO] [stdout] | ^^^^^ method not found in `GenericTxn, ()>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/sanakirja.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct GenericTxn> { [INFO] [stdout] | --------------------------------------------------------------------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::io::Write` [INFO] [stdout] candidate #2: `std::hash::Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `GenericTxn` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:804:31 [INFO] [stdout] | [INFO] [stdout] 804 | let mut channel = txn.write().unwrap().open_or_create_channel("main")?; [INFO] [stdout] | ^^^^^ method not found in `GenericTxn, ()>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/sanakirja.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct GenericTxn> { [INFO] [stdout] | --------------------------------------------------------------------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::io::Write` [INFO] [stdout] candidate #2: `std::hash::Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:805:27 [INFO] [stdout] | [INFO] [stdout] 805 | record_all_output(&mut repo, &changes, &mut txn, &mut channel, "")?; [INFO] [stdout] | ^^^^^^^^^ expected struct `std::sync::Arc`, found `&mut working_copy::memory::Memory` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc<_>` [INFO] [stdout] found mutable reference `&mut working_copy::memory::Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:805:38 [INFO] [stdout] | [INFO] [stdout] 805 | record_all_output(&mut repo, &changes, &mut txn, &mut channel, "")?; [INFO] [stdout] | ^^^^^^^^ expected struct `std::sync::Arc`, found `&changestore::memory::Memory` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc<_>` [INFO] [stdout] found reference `&changestore::memory::Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:805:48 [INFO] [stdout] | [INFO] [stdout] 805 | record_all_output(&mut repo, &changes, &mut txn, &mut channel, "")?; [INFO] [stdout] | ^^^^^^^^ expected struct `std::sync::Arc`, found mutable reference [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc>` [INFO] [stdout] found mutable reference `&mut GenericTxn, ()>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:806:38 [INFO] [stdout] | [INFO] [stdout] 806 | debug_to_file(&txn, &channel.borrow(), "debug").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef<_>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `GenericTxn` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:825:31 [INFO] [stdout] | [INFO] [stdout] 825 | let mut channel = txn.write().unwrap().open_or_create_channel("main")?; [INFO] [stdout] | ^^^^^ method not found in `GenericTxn, ()>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/sanakirja.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct GenericTxn> { [INFO] [stdout] | --------------------------------------------------------------------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::io::Write` [INFO] [stdout] candidate #2: `std::hash::Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:826:27 [INFO] [stdout] | [INFO] [stdout] 826 | record_all_output(&mut repo, &changes, &mut txn, &mut channel, "")?; [INFO] [stdout] | ^^^^^^^^^ expected struct `std::sync::Arc`, found `&mut working_copy::memory::Memory` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc<_>` [INFO] [stdout] found mutable reference `&mut working_copy::memory::Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:826:38 [INFO] [stdout] | [INFO] [stdout] 826 | record_all_output(&mut repo, &changes, &mut txn, &mut channel, "")?; [INFO] [stdout] | ^^^^^^^^ expected struct `std::sync::Arc`, found `&changestore::memory::Memory` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc<_>` [INFO] [stdout] found reference `&changestore::memory::Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:826:48 [INFO] [stdout] | [INFO] [stdout] 826 | record_all_output(&mut repo, &changes, &mut txn, &mut channel, "")?; [INFO] [stdout] | ^^^^^^^^ expected struct `std::sync::Arc`, found mutable reference [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc>` [INFO] [stdout] found mutable reference `&mut GenericTxn, ()>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:827:38 [INFO] [stdout] | [INFO] [stdout] 827 | debug_to_file(&txn, &channel.borrow(), "debug").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef<_>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `GenericTxn` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:845:27 [INFO] [stdout] | [INFO] [stdout] 845 | let mut channel = txn.write().unwrap().open_or_create_channel("main")?; [INFO] [stdout] | ^^^^^ method not found in `GenericTxn, ()>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/sanakirja.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct GenericTxn> { [INFO] [stdout] | --------------------------------------------------------------------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::io::Write` [INFO] [stdout] candidate #2: `std::hash::Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:846:31 [INFO] [stdout] | [INFO] [stdout] 846 | assert!(record_all_output(&mut repo, &changes, &mut txn, &mut channel, "dir").is_err()); [INFO] [stdout] | ^^^^^^^^^ expected struct `std::sync::Arc`, found `&mut working_copy::memory::Memory` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc<_>` [INFO] [stdout] found mutable reference `&mut working_copy::memory::Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:846:42 [INFO] [stdout] | [INFO] [stdout] 846 | assert!(record_all_output(&mut repo, &changes, &mut txn, &mut channel, "dir").is_err()); [INFO] [stdout] | ^^^^^^^^ expected struct `std::sync::Arc`, found `&changestore::memory::Memory` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc<_>` [INFO] [stdout] found reference `&changestore::memory::Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:846:52 [INFO] [stdout] | [INFO] [stdout] 846 | assert!(record_all_output(&mut repo, &changes, &mut txn, &mut channel, "dir").is_err()); [INFO] [stdout] | ^^^^^^^^ expected struct `std::sync::Arc`, found mutable reference [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc>` [INFO] [stdout] found mutable reference `&mut GenericTxn, ()>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `GenericTxn` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:859:27 [INFO] [stdout] | [INFO] [stdout] 859 | let mut channel = txn.write().unwrap().open_or_create_channel("main")?; [INFO] [stdout] | ^^^^^ method not found in `GenericTxn, ()>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/sanakirja.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct GenericTxn> { [INFO] [stdout] | --------------------------------------------------------------------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::io::Write` [INFO] [stdout] candidate #2: `std::hash::Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `GenericTxn` in the current scope [INFO] [stdout] --> libpijul/src/tests/add_file.rs:862:9 [INFO] [stdout] | [INFO] [stdout] 862 | txn.write().unwrap().add_file("file")?; [INFO] [stdout] | ^^^^^ method not found in `GenericTxn, ()>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/sanakirja.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct GenericTxn> { [INFO] [stdout] | --------------------------------------------------------------------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::io::Write` [INFO] [stdout] candidate #2: `std::hash::Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:863:23 [INFO] [stdout] | [INFO] [stdout] 863 | record_all_output(&mut repo, &changes, &mut txn, &mut channel, "")?; [INFO] [stdout] | ^^^^^^^^^ expected struct `std::sync::Arc`, found `&mut working_copy::memory::Memory` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc<_>` [INFO] [stdout] found mutable reference `&mut working_copy::memory::Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:863:34 [INFO] [stdout] | [INFO] [stdout] 863 | record_all_output(&mut repo, &changes, &mut txn, &mut channel, "")?; [INFO] [stdout] | ^^^^^^^^ expected struct `std::sync::Arc`, found `&changestore::memory::Memory` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc<_>` [INFO] [stdout] found reference `&changestore::memory::Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:863:44 [INFO] [stdout] | [INFO] [stdout] 863 | record_all_output(&mut repo, &changes, &mut txn, &mut channel, "")?; [INFO] [stdout] | ^^^^^^^^ expected struct `std::sync::Arc`, found mutable reference [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc>` [INFO] [stdout] found mutable reference `&mut GenericTxn, ()>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:865:23 [INFO] [stdout] | [INFO] [stdout] 865 | record_all_output(&mut repo, &changes, &mut txn, &mut channel, "")?; [INFO] [stdout] | ^^^^^^^^^ expected struct `std::sync::Arc`, found `&mut working_copy::memory::Memory` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc<_>` [INFO] [stdout] found mutable reference `&mut working_copy::memory::Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:865:34 [INFO] [stdout] | [INFO] [stdout] 865 | record_all_output(&mut repo, &changes, &mut txn, &mut channel, "")?; [INFO] [stdout] | ^^^^^^^^ expected struct `std::sync::Arc`, found `&changestore::memory::Memory` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc<_>` [INFO] [stdout] found reference `&changestore::memory::Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/add_file.rs:865:44 [INFO] [stdout] | [INFO] [stdout] 865 | record_all_output(&mut repo, &changes, &mut txn, &mut channel, "")?; [INFO] [stdout] | ^^^^^^^^ expected struct `std::sync::Arc`, found mutable reference [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc>` [INFO] [stdout] found mutable reference `&mut GenericTxn, ()>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/change.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | txn.add_file("file")?; [INFO] [stdout] | ^^^^^^^^ ------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/change.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | txn.add_file("file2")?; [INFO] [stdout] | ^^^^^^^^ ------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/change.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | .record( [INFO] [stdout] | ^^^^^^ expected 7 arguments [INFO] [stdout] 46 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 47 | Algorithm::Myers, [INFO] [stdout] | ---------------- [INFO] [stdout] 48 | &mut channel.borrow_mut(), [INFO] [stdout] | ------------------------- [INFO] [stdout] 49 | &mut repo, [INFO] [stdout] | --------- [INFO] [stdout] 50 | &store, [INFO] [stdout] | ------ [INFO] [stdout] 51 | "", [INFO] [stdout] | -- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/record.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn record< [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | &mut self, [INFO] [stdout] | --------- [INFO] [stdout] 280 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 281 | diff_algorithm: diff::Algorithm, [INFO] [stdout] | ------------------------------- [INFO] [stdout] 282 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 283 | working_copy: Arc, [INFO] [stdout] | -------------------- [INFO] [stdout] 284 | changes: &C, [INFO] [stdout] | ----------- [INFO] [stdout] 285 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 286 | _n_workers: usize, [INFO] [stdout] | ----------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow_mut` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/change.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | &mut channel.borrow_mut(), [INFO] [stdout] | ^^^^^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow_mut` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::BorrowMut;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/change.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | rec.contents, [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `Vec`, found struct `std::sync::Arc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `std::sync::Arc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/change.rs:80:34 [INFO] [stdout] | [INFO] [stdout] 80 | debug_to_file(&txn, &channel.borrow(), "debug")?; [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/change.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | state.record( [INFO] [stdout] | ^^^^^^ expected 7 arguments [INFO] [stdout] 97 | txn, [INFO] [stdout] | --- [INFO] [stdout] 98 | Algorithm::default(), [INFO] [stdout] | -------------------- [INFO] [stdout] 99 | &mut channel.borrow_mut(), [INFO] [stdout] | ------------------------- [INFO] [stdout] 100 | repo, [INFO] [stdout] | ---- [INFO] [stdout] 101 | store, [INFO] [stdout] | ----- [INFO] [stdout] 102 | prefix, [INFO] [stdout] | ------ supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/record.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn record< [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | &mut self, [INFO] [stdout] | --------- [INFO] [stdout] 280 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 281 | diff_algorithm: diff::Algorithm, [INFO] [stdout] | ------------------------------- [INFO] [stdout] 282 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 283 | working_copy: Arc, [INFO] [stdout] | -------------------- [INFO] [stdout] 284 | changes: &C, [INFO] [stdout] | ----------- [INFO] [stdout] 285 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 286 | _n_workers: usize, [INFO] [stdout] | ----------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow_mut` found for mutable reference `&mut pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/change.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | &mut channel.borrow_mut(), [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::BorrowMut;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/change.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | rec.contents, [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `Vec`, found struct `std::sync::Arc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `std::sync::Arc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/change.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | txn.add_file("file")?; [INFO] [stdout] | ^^^^^^^^ ------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/change.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | txn.add_file("file2")?; [INFO] [stdout] | ^^^^^^^^ ------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/change.rs:152:10 [INFO] [stdout] | [INFO] [stdout] 152 | repo.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/change.rs:152:10 [INFO] [stdout] | [INFO] [stdout] 152 | repo.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | __________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 153 | | write!(w, "a\nx\nc\ne\ny\nf\n")?; [INFO] [stdout] 154 | | Ok(()) [INFO] [stdout] 155 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/change.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | txn.move_file("file", "file3")?; [INFO] [stdout] | ^^^^^^^^^ ------ ------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | fn move_file(&mut self, a: &str, b: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^^ --------- ------- ------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/change.rs:174:44 [INFO] [stdout] | [INFO] [stdout] 174 | apply::apply_change(&store, &mut txn2, &mut channel2, &h0)?; [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/change.rs:175:44 [INFO] [stdout] | [INFO] [stdout] 175 | apply::apply_change(&store, &mut txn2, &mut channel2, &h1)?; [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/change.rs:176:44 [INFO] [stdout] | [INFO] [stdout] 176 | apply::apply_change(&store, &mut txn2, &mut channel2, &h2)?; [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/change.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 178 | &mut repo2, [INFO] [stdout] | ---------- [INFO] [stdout] 179 | &store, [INFO] [stdout] | ------ [INFO] [stdout] 180 | &mut txn2, [INFO] [stdout] | --------- [INFO] [stdout] 181 | &mut channel2, [INFO] [stdout] | ------------- [INFO] [stdout] 182 | "", [INFO] [stdout] | -- [INFO] [stdout] 183 | true, [INFO] [stdout] | ---- [INFO] [stdout] 184 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/change.rs:187:10 [INFO] [stdout] | [INFO] [stdout] 187 | txn2.move_file("file", "file4")?; [INFO] [stdout] | ^^^^^^^^^ ------ ------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | fn move_file(&mut self, a: &str, b: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^^ --------- ------- ------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/change.rs:190:44 [INFO] [stdout] | [INFO] [stdout] 190 | apply::apply_change(&store, &mut txn2, &mut channel2, &h3)?; [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/change.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 192 | &mut repo2, [INFO] [stdout] | ---------- [INFO] [stdout] 193 | &store, [INFO] [stdout] | ------ [INFO] [stdout] 194 | &mut txn2, [INFO] [stdout] | --------- [INFO] [stdout] 195 | &mut channel2, [INFO] [stdout] | ------------- [INFO] [stdout] 196 | "", [INFO] [stdout] | -- [INFO] [stdout] 197 | true, [INFO] [stdout] | ---- [INFO] [stdout] 198 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/clone.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | txn.add_file("file")?; [INFO] [stdout] | ^^^^^^^^ ------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/clone.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | debug_to_file(&txn, &channel.borrow(), "debug0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/clone.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | repo.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/clone.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | repo.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ______________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 25 | | w.write_all(contents2).unwrap(); [INFO] [stdout] 26 | | Ok(()) [INFO] [stdout] 27 | | }) [INFO] [stdout] | |_________- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/clone.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | debug_to_file(&txn, &channel.borrow(), "debug1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for tuple `(&small_string::SmallStr, pristine::ChannelRef>>>)` in the current scope [INFO] [stdout] --> libpijul/src/tests/clone.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | for x in txn.log(&channel.borrow(), 0).unwrap() { [INFO] [stdout] | ^^^^^^ method not found in `(&small_string::SmallStr, pristine::ChannelRef>>>)` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/clone.rs:54:54 [INFO] [stdout] | [INFO] [stdout] 54 | apply::apply_change(&changes, &mut txn2, &mut channel, h).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/clone.rs:55:43 [INFO] [stdout] | [INFO] [stdout] 55 | debug_to_file(&txn2, &channel.borrow(), "debug2").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/clone.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 57 | &mut repo2, [INFO] [stdout] | ---------- [INFO] [stdout] 58 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 59 | &mut txn2, [INFO] [stdout] | --------- [INFO] [stdout] 60 | &mut channel, [INFO] [stdout] | ------------ [INFO] [stdout] 61 | "", [INFO] [stdout] | -- [INFO] [stdout] 62 | true, [INFO] [stdout] | ---- [INFO] [stdout] 63 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/clone.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | txn.add_file("a/b/c/d")?; [INFO] [stdout] | ^^^^^^^^ --------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/clone.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | txn.add_file("e/f/g/h")?; [INFO] [stdout] | ^^^^^^^^ --------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/clone.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | txn.add_file("i/j/k/l")?; [INFO] [stdout] | ^^^^^^^^ --------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/clone.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 99 | repo.write_file::<_, std::io::Error, _>("a/b/c/d", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/clone.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 99 | repo.write_file::<_, std::io::Error, _>("a/b/c/d", |w| { [INFO] [stdout] | ______________^^^^^^^^^^_________________________---------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 100 | | w.write_all(b"edits\n")?; [INFO] [stdout] 101 | | Ok(()) [INFO] [stdout] 102 | | })?; [INFO] [stdout] | |_________- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/clone.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | repo.write_file::<_, std::io::Error, _>("e/f/g/h", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/clone.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | repo.write_file::<_, std::io::Error, _>("e/f/g/h", |w| { [INFO] [stdout] | ______________^^^^^^^^^^_________________________---------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 104 | | w.write_all(b"edits\n")?; [INFO] [stdout] 105 | | Ok(()) [INFO] [stdout] 106 | | })?; [INFO] [stdout] | |_________- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/clone.rs:119:50 [INFO] [stdout] | [INFO] [stdout] 119 | apply::apply_change(&changes, &mut txn2, &mut channel, &h).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/clone.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 121 | &mut repo2, [INFO] [stdout] | ---------- [INFO] [stdout] 122 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 123 | &mut txn2, [INFO] [stdout] | --------- [INFO] [stdout] 124 | &mut channel, [INFO] [stdout] | ------------ [INFO] [stdout] 125 | "e/f", [INFO] [stdout] | ----- [INFO] [stdout] 126 | true, [INFO] [stdout] | ---- [INFO] [stdout] 127 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/clone.rs:137:50 [INFO] [stdout] | [INFO] [stdout] 137 | apply::apply_change(&changes, &mut txn2, &mut channel, &h2).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/clone.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 139 | &mut repo2, [INFO] [stdout] | ---------- [INFO] [stdout] 140 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 141 | &mut txn2, [INFO] [stdout] | --------- [INFO] [stdout] 142 | &mut channel, [INFO] [stdout] | ------------ [INFO] [stdout] 143 | "", [INFO] [stdout] | -- [INFO] [stdout] 144 | true, [INFO] [stdout] | ---- [INFO] [stdout] 145 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | txn.add_file("file")?; [INFO] [stdout] | ^^^^^^^^ ------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | debug_to_file(&txn, &channel_alice.borrow(), "debug_init").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &init_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 27 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 28 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 29 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 30 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 31 | "", [INFO] [stdout] | -- [INFO] [stdout] 32 | true, [INFO] [stdout] | ---- [INFO] [stdout] 33 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ______________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 44 | | w.write_all(bob).unwrap(); [INFO] [stdout] 45 | | Ok(()) [INFO] [stdout] 46 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:47:40 [INFO] [stdout] | [INFO] [stdout] 47 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ________________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 54 | | w.write_all(alice).unwrap(); [INFO] [stdout] 55 | | Ok(()) [INFO] [stdout] 56 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 58 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:61:45 [INFO] [stdout] | [INFO] [stdout] 61 | apply::apply_change(&changes, &mut txn, &mut channel_alice, &bob_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 63 | &mut repo_alice, [INFO] [stdout] | --------------- [INFO] [stdout] 64 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 65 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 66 | &mut channel_alice, [INFO] [stdout] | ------------------ [INFO] [stdout] 67 | "", [INFO] [stdout] | -- [INFO] [stdout] 68 | true, [INFO] [stdout] | ---- [INFO] [stdout] 69 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ________________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 105 | | for (n, l) in conflict.iter().enumerate() { [INFO] [stdout] 106 | | if n == 0 || n == 2 || n == 3 || n == 7 || n == 8 || n == 10 { [INFO] [stdout] 107 | | writeln!(w, "{}", l)? [INFO] [stdout] ... | [INFO] [stdout] 114 | | Ok(()) [INFO] [stdout] 115 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:118:40 [INFO] [stdout] | [INFO] [stdout] 118 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice2").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:121:45 [INFO] [stdout] | [INFO] [stdout] 121 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &alice_h).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 123 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 124 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 125 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 126 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 127 | "", [INFO] [stdout] | -- [INFO] [stdout] 128 | true, [INFO] [stdout] | ---- [INFO] [stdout] 129 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:131:38 [INFO] [stdout] | [INFO] [stdout] 131 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:137:45 [INFO] [stdout] | [INFO] [stdout] 137 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &resolution).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 139 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 140 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 141 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 142 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 143 | "", [INFO] [stdout] | -- [INFO] [stdout] 144 | true, [INFO] [stdout] | ---- [INFO] [stdout] 145 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:147:38 [INFO] [stdout] | [INFO] [stdout] 147 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob2").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | crate::unrecord::unrecord(&mut txn, &mut channel_bob, &changes, &resolution).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ -------- ---------------- -------- ----------- supplied 4 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 5 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/unrecord/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn unrecord( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | txn: &mut T, [INFO] [stdout] | ----------- [INFO] [stdout] 49 | channel: &ChannelRef, [INFO] [stdout] | ----------------------- [INFO] [stdout] 50 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 51 | hash: &Hash, [INFO] [stdout] | ----------- [INFO] [stdout] 52 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:153:38 [INFO] [stdout] | [INFO] [stdout] 153 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob3").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 155 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 156 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 157 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 158 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 159 | "", [INFO] [stdout] | -- [INFO] [stdout] 160 | true, [INFO] [stdout] | ---- [INFO] [stdout] 161 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | txn.add_file("file")?; [INFO] [stdout] | ^^^^^^^^ ------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:186:40 [INFO] [stdout] | [INFO] [stdout] 186 | debug_to_file(&txn, &channel_alice.borrow(), "debug_init").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:191:45 [INFO] [stdout] | [INFO] [stdout] 191 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &init_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 193 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 194 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 195 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 196 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 197 | "", [INFO] [stdout] | -- [INFO] [stdout] 198 | true, [INFO] [stdout] | ---- [INFO] [stdout] 199 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:211:45 [INFO] [stdout] | [INFO] [stdout] 211 | apply::apply_change(&changes, &mut txn, &mut channel_charlie, &init_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 213 | &mut repo_charlie, [INFO] [stdout] | ----------------- [INFO] [stdout] 214 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 215 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 216 | &mut channel_charlie, [INFO] [stdout] | -------------------- [INFO] [stdout] 217 | "", [INFO] [stdout] | -- [INFO] [stdout] 218 | true, [INFO] [stdout] | ---- [INFO] [stdout] 219 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 223 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 223 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ______________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 224 | | w.write_all(bob).unwrap(); [INFO] [stdout] 225 | | Ok(()) [INFO] [stdout] 226 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:227:40 [INFO] [stdout] | [INFO] [stdout] 227 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:228:38 [INFO] [stdout] | [INFO] [stdout] 228 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 230 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | repo_charlie.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | repo_charlie.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | __________________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 234 | | w.write_all(charlie).unwrap(); [INFO] [stdout] 235 | | Ok(()) [INFO] [stdout] 236 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:244:42 [INFO] [stdout] | [INFO] [stdout] 244 | debug_to_file(&txn, &channel_charlie.borrow(), "debug_charlie0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:247:16 [INFO] [stdout] | [INFO] [stdout] 247 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:247:16 [INFO] [stdout] | [INFO] [stdout] 247 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ________________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 248 | | w.write_all(alice).unwrap(); [INFO] [stdout] 249 | | Ok(()) [INFO] [stdout] 250 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:252:40 [INFO] [stdout] | [INFO] [stdout] 252 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:255:45 [INFO] [stdout] | [INFO] [stdout] 255 | apply::apply_change(&changes, &mut txn, &mut channel_alice, &bob_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 257 | &mut repo_alice, [INFO] [stdout] | --------------- [INFO] [stdout] 258 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 259 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 260 | &mut channel_alice, [INFO] [stdout] | ------------------ [INFO] [stdout] 261 | "", [INFO] [stdout] | -- [INFO] [stdout] 262 | true, [INFO] [stdout] | ---- [INFO] [stdout] 263 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:292:40 [INFO] [stdout] | [INFO] [stdout] 292 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:296:16 [INFO] [stdout] | [INFO] [stdout] 296 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:296:16 [INFO] [stdout] | [INFO] [stdout] 296 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ________________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 297 | | for l in conflict.iter().filter(|l| l.len() == 1) { [INFO] [stdout] 298 | | writeln!(w, "{}", l)? [INFO] [stdout] 299 | | } [INFO] [stdout] 300 | | Ok(()) [INFO] [stdout] 301 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:306:40 [INFO] [stdout] | [INFO] [stdout] 306 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice2").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:309:45 [INFO] [stdout] | [INFO] [stdout] 309 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &alice_h).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking thrussh-libsodium v0.2.1 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:310:45 [INFO] [stdout] | [INFO] [stdout] 310 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &charlie_h).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 312 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 313 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 314 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 315 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 316 | "", [INFO] [stdout] | -- [INFO] [stdout] 317 | true, [INFO] [stdout] | ---- [INFO] [stdout] 318 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:320:38 [INFO] [stdout] | [INFO] [stdout] 320 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking thrussh-keys v0.20.3 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:325:45 [INFO] [stdout] | [INFO] [stdout] 325 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &resolution).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 326 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 327 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 328 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 329 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 330 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 331 | "", [INFO] [stdout] | -- [INFO] [stdout] 332 | true, [INFO] [stdout] | ---- [INFO] [stdout] 333 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:355:14 [INFO] [stdout] | [INFO] [stdout] 355 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:355:14 [INFO] [stdout] | [INFO] [stdout] 355 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ______________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 356 | | for l in conflict.iter().filter(|l| l.len() == 1) { [INFO] [stdout] 357 | | writeln!(w, "{}", l)? [INFO] [stdout] 358 | | } [INFO] [stdout] 359 | | Ok(()) [INFO] [stdout] 360 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:367:45 [INFO] [stdout] | [INFO] [stdout] 367 | apply::apply_change(&changes, &mut txn, &mut channel_charlie, &alice_h).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:368:45 [INFO] [stdout] | [INFO] [stdout] 368 | apply::apply_change(&changes, &mut txn, &mut channel_charlie, &bob_h).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 369 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 370 | &mut repo_charlie, [INFO] [stdout] | ----------------- [INFO] [stdout] 371 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 372 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 373 | &mut channel_charlie, [INFO] [stdout] | -------------------- [INFO] [stdout] 374 | "", [INFO] [stdout] | -- [INFO] [stdout] 375 | true, [INFO] [stdout] | ---- [INFO] [stdout] 376 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:378:42 [INFO] [stdout] | [INFO] [stdout] 378 | debug_to_file(&txn, &channel_charlie.borrow(), "debug_charlie1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:383:45 [INFO] [stdout] | [INFO] [stdout] 383 | apply::apply_change(&changes, &mut txn, &mut channel_charlie, &resolution).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking thrussh v0.32.8 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:384:45 [INFO] [stdout] | [INFO] [stdout] 384 | apply::apply_change(&changes, &mut txn, &mut channel_charlie, &resolution2).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 386 | &mut repo_charlie, [INFO] [stdout] | ----------------- [INFO] [stdout] 387 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 388 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 389 | &mut channel_charlie, [INFO] [stdout] | -------------------- [INFO] [stdout] 390 | "", [INFO] [stdout] | -- [INFO] [stdout] 391 | true, [INFO] [stdout] | ---- [INFO] [stdout] 392 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | txn.add_file("file")?; [INFO] [stdout] | ^^^^^^^^ ------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:421:40 [INFO] [stdout] | [INFO] [stdout] 421 | debug_to_file(&txn, &channel_alice.borrow(), "debug_init").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:426:45 [INFO] [stdout] | [INFO] [stdout] 426 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &init_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 428 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 429 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 430 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 431 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 432 | "", [INFO] [stdout] | -- [INFO] [stdout] 433 | true, [INFO] [stdout] | ---- [INFO] [stdout] 434 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:439:14 [INFO] [stdout] | [INFO] [stdout] 439 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:439:14 [INFO] [stdout] | [INFO] [stdout] 439 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ______________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 440 | | w.write_all(bob).unwrap(); [INFO] [stdout] 441 | | Ok(()) [INFO] [stdout] 442 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:443:40 [INFO] [stdout] | [INFO] [stdout] 443 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:444:38 [INFO] [stdout] | [INFO] [stdout] 444 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:446:38 [INFO] [stdout] | [INFO] [stdout] 446 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:449:16 [INFO] [stdout] | [INFO] [stdout] 449 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:449:16 [INFO] [stdout] | [INFO] [stdout] 449 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ________________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 450 | | w.write_all(alice).unwrap(); [INFO] [stdout] 451 | | Ok(()) [INFO] [stdout] 452 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:454:40 [INFO] [stdout] | [INFO] [stdout] 454 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:457:45 [INFO] [stdout] | [INFO] [stdout] 457 | apply::apply_change(&changes, &mut txn, &mut channel_alice, &bob_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:458:5 [INFO] [stdout] | [INFO] [stdout] 458 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 459 | &mut repo_alice, [INFO] [stdout] | --------------- [INFO] [stdout] 460 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 461 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 462 | &mut channel_alice, [INFO] [stdout] | ------------------ [INFO] [stdout] 463 | "", [INFO] [stdout] | -- [INFO] [stdout] 464 | true, [INFO] [stdout] | ---- [INFO] [stdout] 465 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:467:40 [INFO] [stdout] | [INFO] [stdout] 467 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:474:16 [INFO] [stdout] | [INFO] [stdout] 474 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:474:16 [INFO] [stdout] | [INFO] [stdout] 474 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ________________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 475 | | for l in conflict.iter() { [INFO] [stdout] 476 | | if l.len() == 1 { [INFO] [stdout] 477 | | if is_conflict < 2 { [INFO] [stdout] ... | [INFO] [stdout] 488 | | Ok(()) [INFO] [stdout] 489 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:494:40 [INFO] [stdout] | [INFO] [stdout] 494 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice2").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:497:45 [INFO] [stdout] | [INFO] [stdout] 497 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &alice_h).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 498 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 499 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 500 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 501 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 502 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 503 | "", [INFO] [stdout] | -- [INFO] [stdout] 504 | true, [INFO] [stdout] | ---- [INFO] [stdout] 505 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:507:38 [INFO] [stdout] | [INFO] [stdout] 507 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:511:45 [INFO] [stdout] | [INFO] [stdout] 511 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &resolution).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:512:5 [INFO] [stdout] | [INFO] [stdout] 512 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 513 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 514 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 515 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 516 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 517 | "", [INFO] [stdout] | -- [INFO] [stdout] 518 | true, [INFO] [stdout] | ---- [INFO] [stdout] 519 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:521:38 [INFO] [stdout] | [INFO] [stdout] 521 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:543:9 [INFO] [stdout] | [INFO] [stdout] 543 | txn.add_file("file")?; [INFO] [stdout] | ^^^^^^^^ ------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:545:40 [INFO] [stdout] | [INFO] [stdout] 545 | debug_to_file(&txn, &channel_alice.borrow(), "debug_init").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:549:45 [INFO] [stdout] | [INFO] [stdout] 549 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &init_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:550:5 [INFO] [stdout] | [INFO] [stdout] 550 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 551 | &mut repo, [INFO] [stdout] | --------- [INFO] [stdout] 552 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 553 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 554 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 555 | "", [INFO] [stdout] | -- [INFO] [stdout] 556 | true, [INFO] [stdout] | ---- [INFO] [stdout] 557 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:562:10 [INFO] [stdout] | [INFO] [stdout] 562 | repo.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:562:10 [INFO] [stdout] | [INFO] [stdout] 562 | repo.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | __________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 563 | | w.write_all(bob).unwrap(); [INFO] [stdout] 564 | | Ok(()) [INFO] [stdout] 565 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:566:40 [INFO] [stdout] | [INFO] [stdout] 566 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:567:38 [INFO] [stdout] | [INFO] [stdout] 567 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:569:38 [INFO] [stdout] | [INFO] [stdout] 569 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:572:10 [INFO] [stdout] | [INFO] [stdout] 572 | repo.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:572:10 [INFO] [stdout] | [INFO] [stdout] 572 | repo.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | __________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 573 | | w.write_all(alice).unwrap(); [INFO] [stdout] 574 | | Ok(()) [INFO] [stdout] 575 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:577:40 [INFO] [stdout] | [INFO] [stdout] 577 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:580:45 [INFO] [stdout] | [INFO] [stdout] 580 | apply::apply_change(&changes, &mut txn, &mut channel_alice, &bob_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:581:5 [INFO] [stdout] | [INFO] [stdout] 581 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 582 | &mut repo, [INFO] [stdout] | --------- [INFO] [stdout] 583 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 584 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 585 | &mut channel_alice, [INFO] [stdout] | ------------------ [INFO] [stdout] 586 | "", [INFO] [stdout] | -- [INFO] [stdout] 587 | true, [INFO] [stdout] | ---- [INFO] [stdout] 588 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:595:10 [INFO] [stdout] | [INFO] [stdout] 595 | repo.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:595:10 [INFO] [stdout] | [INFO] [stdout] 595 | repo.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | __________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 596 | | let mut ended = false; [INFO] [stdout] 597 | | let mut n = 0; [INFO] [stdout] 598 | | for l in conflict.iter() { [INFO] [stdout] ... | [INFO] [stdout] 617 | | Ok(()) [INFO] [stdout] 618 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:621:40 [INFO] [stdout] | [INFO] [stdout] 621 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:624:5 [INFO] [stdout] | [INFO] [stdout] 624 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 625 | &mut repo, [INFO] [stdout] | --------- [INFO] [stdout] 626 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 627 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 628 | &mut channel_alice, [INFO] [stdout] | ------------------ [INFO] [stdout] 629 | "", [INFO] [stdout] | -- [INFO] [stdout] 630 | true, [INFO] [stdout] | ---- [INFO] [stdout] 631 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:636:40 [INFO] [stdout] | [INFO] [stdout] 636 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice2").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pijul v1.0.0-alpha.48 (/opt/rustwide/workdir/pijul) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:640:45 [INFO] [stdout] | [INFO] [stdout] 640 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &alice_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:641:45 [INFO] [stdout] | [INFO] [stdout] 641 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &resolution)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 643 | &mut repo, [INFO] [stdout] | --------- [INFO] [stdout] 644 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 645 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 646 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 647 | "", [INFO] [stdout] | -- [INFO] [stdout] 648 | true, [INFO] [stdout] | ---- [INFO] [stdout] 649 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:676:9 [INFO] [stdout] | [INFO] [stdout] 676 | txn.add_file("file")?; [INFO] [stdout] | ^^^^^^^^ ------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:678:40 [INFO] [stdout] | [INFO] [stdout] 678 | debug_to_file(&txn, &channel_alice.borrow(), "debug_init").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:682:45 [INFO] [stdout] | [INFO] [stdout] 682 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &init_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:683:5 [INFO] [stdout] | [INFO] [stdout] 683 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 684 | &mut repo, [INFO] [stdout] | --------- [INFO] [stdout] 685 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 686 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 687 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 688 | "", [INFO] [stdout] | -- [INFO] [stdout] 689 | true, [INFO] [stdout] | ---- [INFO] [stdout] 690 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:695:10 [INFO] [stdout] | [INFO] [stdout] 695 | repo.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:695:10 [INFO] [stdout] | [INFO] [stdout] 695 | repo.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | __________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 696 | | w.write_all(bob).unwrap(); [INFO] [stdout] 697 | | Ok(()) [INFO] [stdout] 698 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:699:40 [INFO] [stdout] | [INFO] [stdout] 699 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:700:38 [INFO] [stdout] | [INFO] [stdout] 700 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:702:38 [INFO] [stdout] | [INFO] [stdout] 702 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:705:10 [INFO] [stdout] | [INFO] [stdout] 705 | repo.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:705:10 [INFO] [stdout] | [INFO] [stdout] 705 | repo.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | __________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 706 | | w.write_all(alice).unwrap(); [INFO] [stdout] 707 | | Ok(()) [INFO] [stdout] 708 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:710:40 [INFO] [stdout] | [INFO] [stdout] 710 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:713:45 [INFO] [stdout] | [INFO] [stdout] 713 | apply::apply_change(&changes, &mut txn, &mut channel_alice, &bob_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:714:5 [INFO] [stdout] | [INFO] [stdout] 714 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 715 | &mut repo, [INFO] [stdout] | --------- [INFO] [stdout] 716 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 717 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 718 | &mut channel_alice, [INFO] [stdout] | ------------------ [INFO] [stdout] 719 | "", [INFO] [stdout] | -- [INFO] [stdout] 720 | true, [INFO] [stdout] | ---- [INFO] [stdout] 721 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:728:10 [INFO] [stdout] | [INFO] [stdout] 728 | repo.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:728:10 [INFO] [stdout] | [INFO] [stdout] 728 | repo.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | __________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 729 | | for l in conflict.iter() { [INFO] [stdout] 730 | | debug!("line: {:?}", l); [INFO] [stdout] 731 | | if l.len() > 5 && l.as_bytes()[0] != b'<' { [INFO] [stdout] ... | [INFO] [stdout] 737 | | Ok(()) [INFO] [stdout] 738 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:741:40 [INFO] [stdout] | [INFO] [stdout] 741 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:745:5 [INFO] [stdout] | [INFO] [stdout] 745 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 746 | &mut repo, [INFO] [stdout] | --------- [INFO] [stdout] 747 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 748 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 749 | &mut channel_alice, [INFO] [stdout] | ------------------ [INFO] [stdout] 750 | "", [INFO] [stdout] | -- [INFO] [stdout] 751 | true, [INFO] [stdout] | ---- [INFO] [stdout] 752 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:757:40 [INFO] [stdout] | [INFO] [stdout] 757 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice2").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:760:45 [INFO] [stdout] | [INFO] [stdout] 760 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &alice_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:761:45 [INFO] [stdout] | [INFO] [stdout] 761 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &resolution)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:762:5 [INFO] [stdout] | [INFO] [stdout] 762 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 763 | &mut repo, [INFO] [stdout] | --------- [INFO] [stdout] 764 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 765 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 766 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 767 | "", [INFO] [stdout] | -- [INFO] [stdout] 768 | true, [INFO] [stdout] | ---- [INFO] [stdout] 769 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:800:9 [INFO] [stdout] | [INFO] [stdout] 800 | txn.add_file("file")?; [INFO] [stdout] | ^^^^^^^^ ------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:802:40 [INFO] [stdout] | [INFO] [stdout] 802 | debug_to_file(&txn, &channel_alice.borrow(), "debug_init").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:806:45 [INFO] [stdout] | [INFO] [stdout] 806 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &init_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:807:5 [INFO] [stdout] | [INFO] [stdout] 807 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 808 | &mut repo, [INFO] [stdout] | --------- [INFO] [stdout] 809 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 810 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 811 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 812 | "", [INFO] [stdout] | -- [INFO] [stdout] 813 | true, [INFO] [stdout] | ---- [INFO] [stdout] 814 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:823:18 [INFO] [stdout] | [INFO] [stdout] 823 | repo.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:823:18 [INFO] [stdout] | [INFO] [stdout] 823 | repo.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | __________________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 824 | | w.write_all(bob).unwrap(); [INFO] [stdout] 825 | | Ok(()) [INFO] [stdout] 826 | | }) [INFO] [stdout] | |_____________- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:837:18 [INFO] [stdout] | [INFO] [stdout] 837 | repo.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:837:18 [INFO] [stdout] | [INFO] [stdout] 837 | repo.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | __________________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 838 | | w.write_all(alice).unwrap(); [INFO] [stdout] 839 | | Ok(()) [INFO] [stdout] 840 | | }) [INFO] [stdout] | |_____________- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:848:49 [INFO] [stdout] | [INFO] [stdout] 848 | apply::apply_change(&changes, &mut txn, &mut channel_alice, bob_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:850:5 [INFO] [stdout] | [INFO] [stdout] 850 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 851 | &mut repo, [INFO] [stdout] | --------- [INFO] [stdout] 852 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 853 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 854 | &mut channel_alice, [INFO] [stdout] | ------------------ [INFO] [stdout] 855 | "", [INFO] [stdout] | -- [INFO] [stdout] 856 | true, [INFO] [stdout] | ---- [INFO] [stdout] 857 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:864:10 [INFO] [stdout] | [INFO] [stdout] 864 | repo.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:864:10 [INFO] [stdout] | [INFO] [stdout] 864 | repo.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | __________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 865 | | let mut ended = false; [INFO] [stdout] 866 | | for l in conflict.iter() { [INFO] [stdout] 867 | | debug!("line: {:?}", l); [INFO] [stdout] ... | [INFO] [stdout] 879 | | Ok(()) [INFO] [stdout] 880 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:883:40 [INFO] [stdout] | [INFO] [stdout] 883 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:887:5 [INFO] [stdout] | [INFO] [stdout] 887 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 888 | &mut repo, [INFO] [stdout] | --------- [INFO] [stdout] 889 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 890 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 891 | &mut channel_alice, [INFO] [stdout] | ------------------ [INFO] [stdout] 892 | "", [INFO] [stdout] | -- [INFO] [stdout] 893 | true, [INFO] [stdout] | ---- [INFO] [stdout] 894 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:899:40 [INFO] [stdout] | [INFO] [stdout] 899 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice2").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:904:49 [INFO] [stdout] | [INFO] [stdout] 904 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &*alice_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `w` [INFO] [stdout] --> pijul/src/progress.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | w: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:906:45 [INFO] [stdout] | [INFO] [stdout] 906 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &conflict_edits)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:907:5 [INFO] [stdout] | [INFO] [stdout] 907 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 908 | &mut repo, [INFO] [stdout] | --------- [INFO] [stdout] 909 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 910 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 911 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 912 | "", [INFO] [stdout] | -- [INFO] [stdout] 913 | true, [INFO] [stdout] | ---- [INFO] [stdout] 914 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:916:38 [INFO] [stdout] | [INFO] [stdout] 916 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:943:9 [INFO] [stdout] | [INFO] [stdout] 943 | txn.add_file("file")?; [INFO] [stdout] | ^^^^^^^^ ------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:945:40 [INFO] [stdout] | [INFO] [stdout] 945 | debug_to_file(&txn, &channel_alice.borrow(), "debug_init").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `w` [INFO] [stdout] --> pijul/src/progress.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | w: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:950:45 [INFO] [stdout] | [INFO] [stdout] 950 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &init_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:951:5 [INFO] [stdout] | [INFO] [stdout] 951 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 952 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 953 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 954 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 955 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 956 | "", [INFO] [stdout] | -- [INFO] [stdout] 957 | true, [INFO] [stdout] | ---- [INFO] [stdout] 958 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:967:14 [INFO] [stdout] | [INFO] [stdout] 967 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:967:14 [INFO] [stdout] | [INFO] [stdout] 967 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ______________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 968 | | w.write_all(bob).unwrap(); [INFO] [stdout] 969 | | Ok(()) [INFO] [stdout] 970 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:971:40 [INFO] [stdout] | [INFO] [stdout] 971 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:972:38 [INFO] [stdout] | [INFO] [stdout] 972 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:974:38 [INFO] [stdout] | [INFO] [stdout] 974 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:977:16 [INFO] [stdout] | [INFO] [stdout] 977 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:977:16 [INFO] [stdout] | [INFO] [stdout] 977 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ________________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 978 | | w.write_all(alice).unwrap(); [INFO] [stdout] 979 | | Ok(()) [INFO] [stdout] 980 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:982:40 [INFO] [stdout] | [INFO] [stdout] 982 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:985:45 [INFO] [stdout] | [INFO] [stdout] 985 | apply::apply_change(&changes, &mut txn, &mut channel_alice, &bob_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:986:5 [INFO] [stdout] | [INFO] [stdout] 986 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 987 | &mut repo_alice, [INFO] [stdout] | --------------- [INFO] [stdout] 988 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 989 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 990 | &mut channel_alice, [INFO] [stdout] | ------------------ [INFO] [stdout] 991 | "", [INFO] [stdout] | -- [INFO] [stdout] 992 | true, [INFO] [stdout] | ---- [INFO] [stdout] 993 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1018:40 [INFO] [stdout] | [INFO] [stdout] 1018 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1022:16 [INFO] [stdout] | [INFO] [stdout] 1022 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1022:16 [INFO] [stdout] | [INFO] [stdout] 1022 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ________________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 1023 | | for l in conflict.iter().filter(|l| l.len() <= 2) { [INFO] [stdout] 1024 | | writeln!(w, "{}", l)? [INFO] [stdout] 1025 | | } [INFO] [stdout] 1026 | | Ok(()) [INFO] [stdout] 1027 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1033:40 [INFO] [stdout] | [INFO] [stdout] 1033 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice2").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1036:45 [INFO] [stdout] | [INFO] [stdout] 1036 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &alice_h).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1037:5 [INFO] [stdout] | [INFO] [stdout] 1037 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1038 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 1039 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1040 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 1041 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 1042 | "", [INFO] [stdout] | -- [INFO] [stdout] 1043 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1044 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1046:38 [INFO] [stdout] | [INFO] [stdout] 1046 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1051:45 [INFO] [stdout] | [INFO] [stdout] 1051 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &resolution).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1052:38 [INFO] [stdout] | [INFO] [stdout] 1052 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob2").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1053:5 [INFO] [stdout] | [INFO] [stdout] 1053 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1054 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 1055 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1056 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 1057 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 1058 | "", [INFO] [stdout] | -- [INFO] [stdout] 1059 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1060 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1083:9 [INFO] [stdout] | [INFO] [stdout] 1083 | txn.add_file("file")?; [INFO] [stdout] | ^^^^^^^^ ------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1085:40 [INFO] [stdout] | [INFO] [stdout] 1085 | debug_to_file(&txn, &channel_alice.borrow(), "debug_init").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1090:45 [INFO] [stdout] | [INFO] [stdout] 1090 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &init_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1091:5 [INFO] [stdout] | [INFO] [stdout] 1091 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1092 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 1093 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1094 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 1095 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 1096 | "", [INFO] [stdout] | -- [INFO] [stdout] 1097 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1098 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1107:14 [INFO] [stdout] | [INFO] [stdout] 1107 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1107:14 [INFO] [stdout] | [INFO] [stdout] 1107 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ______________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 1108 | | w.write_all(bob).unwrap(); [INFO] [stdout] 1109 | | Ok(()) [INFO] [stdout] 1110 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1111:40 [INFO] [stdout] | [INFO] [stdout] 1111 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1112:38 [INFO] [stdout] | [INFO] [stdout] 1112 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1114:38 [INFO] [stdout] | [INFO] [stdout] 1114 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1117:16 [INFO] [stdout] | [INFO] [stdout] 1117 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1117:16 [INFO] [stdout] | [INFO] [stdout] 1117 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ________________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 1118 | | w.write_all(alice).unwrap(); [INFO] [stdout] 1119 | | Ok(()) [INFO] [stdout] 1120 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1122:40 [INFO] [stdout] | [INFO] [stdout] 1122 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1125:45 [INFO] [stdout] | [INFO] [stdout] 1125 | apply::apply_change(&changes, &mut txn, &mut channel_alice, &bob_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1126:5 [INFO] [stdout] | [INFO] [stdout] 1126 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1127 | &mut repo_alice, [INFO] [stdout] | --------------- [INFO] [stdout] 1128 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1129 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 1130 | &mut channel_alice, [INFO] [stdout] | ------------------ [INFO] [stdout] 1131 | "", [INFO] [stdout] | -- [INFO] [stdout] 1132 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1133 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1150:40 [INFO] [stdout] | [INFO] [stdout] 1150 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1155:14 [INFO] [stdout] | [INFO] [stdout] 1155 | .record( [INFO] [stdout] | ^^^^^^ expected 7 arguments [INFO] [stdout] 1156 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 1157 | Algorithm::default(), [INFO] [stdout] | -------------------- [INFO] [stdout] 1158 | &mut channel_alice.borrow_mut(), [INFO] [stdout] | ------------------------------- [INFO] [stdout] 1159 | &mut repo_alice, [INFO] [stdout] | --------------- [INFO] [stdout] 1160 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1161 | "", [INFO] [stdout] | -- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/record.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn record< [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | &mut self, [INFO] [stdout] | --------- [INFO] [stdout] 280 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 281 | diff_algorithm: diff::Algorithm, [INFO] [stdout] | ------------------------------- [INFO] [stdout] 282 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 283 | working_copy: Arc, [INFO] [stdout] | -------------------- [INFO] [stdout] 284 | changes: &C, [INFO] [stdout] | ----------- [INFO] [stdout] 285 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 286 | _n_workers: usize, [INFO] [stdout] | ----------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow_mut` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1158:36 [INFO] [stdout] | [INFO] [stdout] 1158 | &mut channel_alice.borrow_mut(), [INFO] [stdout] | ^^^^^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow_mut` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::BorrowMut;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1169:16 [INFO] [stdout] | [INFO] [stdout] 1169 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1169:16 [INFO] [stdout] | [INFO] [stdout] 1169 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ________________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 1170 | | write!(w, "x")?; [INFO] [stdout] 1171 | | Ok(()) [INFO] [stdout] 1172 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1178:40 [INFO] [stdout] | [INFO] [stdout] 1178 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice2").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1181:45 [INFO] [stdout] | [INFO] [stdout] 1181 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &alice_h).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1182:5 [INFO] [stdout] | [INFO] [stdout] 1182 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1183 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 1184 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1185 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 1186 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 1187 | "", [INFO] [stdout] | -- [INFO] [stdout] 1188 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1189 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1191:38 [INFO] [stdout] | [INFO] [stdout] 1191 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1196:45 [INFO] [stdout] | [INFO] [stdout] 1196 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &resolution).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1197:38 [INFO] [stdout] | [INFO] [stdout] 1197 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob2").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1198:5 [INFO] [stdout] | [INFO] [stdout] 1198 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1199 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 1200 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1201 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 1202 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 1203 | "", [INFO] [stdout] | -- [INFO] [stdout] 1204 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1205 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1331:9 [INFO] [stdout] | [INFO] [stdout] 1331 | txn.add_file("file")?; [INFO] [stdout] | ^^^^^^^^ ------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1333:40 [INFO] [stdout] | [INFO] [stdout] 1333 | debug_to_file(&txn, &channel_alice.borrow(), "debug_init").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1338:45 [INFO] [stdout] | [INFO] [stdout] 1338 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &init_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1339:5 [INFO] [stdout] | [INFO] [stdout] 1339 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1340 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 1341 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1342 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 1343 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 1344 | "", [INFO] [stdout] | -- [INFO] [stdout] 1345 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1346 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1355:14 [INFO] [stdout] | [INFO] [stdout] 1355 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1355:14 [INFO] [stdout] | [INFO] [stdout] 1355 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ______________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 1356 | | w.write_all(bob).unwrap(); [INFO] [stdout] 1357 | | Ok(()) [INFO] [stdout] 1358 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1359:40 [INFO] [stdout] | [INFO] [stdout] 1359 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1360:38 [INFO] [stdout] | [INFO] [stdout] 1360 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1362:38 [INFO] [stdout] | [INFO] [stdout] 1362 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1365:16 [INFO] [stdout] | [INFO] [stdout] 1365 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1365:16 [INFO] [stdout] | [INFO] [stdout] 1365 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ________________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 1366 | | w.write_all(alice).unwrap(); [INFO] [stdout] 1367 | | Ok(()) [INFO] [stdout] 1368 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1370:40 [INFO] [stdout] | [INFO] [stdout] 1370 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1373:45 [INFO] [stdout] | [INFO] [stdout] 1373 | apply::apply_change(&changes, &mut txn, &mut channel_alice, &bob_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1374:5 [INFO] [stdout] | [INFO] [stdout] 1374 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1375 | &mut repo_alice, [INFO] [stdout] | --------------- [INFO] [stdout] 1376 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1377 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 1378 | &mut channel_alice, [INFO] [stdout] | ------------------ [INFO] [stdout] 1379 | "", [INFO] [stdout] | -- [INFO] [stdout] 1380 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1381 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1386:40 [INFO] [stdout] | [INFO] [stdout] 1386 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1390:16 [INFO] [stdout] | [INFO] [stdout] 1390 | repo_alice.write_file::<_, std::io::Error, _>("file", |mut w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1390:16 [INFO] [stdout] | [INFO] [stdout] 1390 | repo_alice.write_file::<_, std::io::Error, _>("file", |mut w| { [INFO] [stdout] | ________________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 1391 | | resolve(&buf, &mut w)?; [INFO] [stdout] 1392 | | Ok(()) [INFO] [stdout] 1393 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1396:40 [INFO] [stdout] | [INFO] [stdout] 1396 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice2").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1399:45 [INFO] [stdout] | [INFO] [stdout] 1399 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &alice_h).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1400:5 [INFO] [stdout] | [INFO] [stdout] 1400 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1401 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 1402 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1403 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 1404 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 1405 | "", [INFO] [stdout] | -- [INFO] [stdout] 1406 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1407 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1409:38 [INFO] [stdout] | [INFO] [stdout] 1409 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1415:45 [INFO] [stdout] | [INFO] [stdout] 1415 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &resolution).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1416:5 [INFO] [stdout] | [INFO] [stdout] 1416 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1417 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 1418 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1419 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 1420 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 1421 | "", [INFO] [stdout] | -- [INFO] [stdout] 1422 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1423 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1425:38 [INFO] [stdout] | [INFO] [stdout] 1425 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob2").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1455:9 [INFO] [stdout] | [INFO] [stdout] 1455 | txn.add_file("file")?; [INFO] [stdout] | ^^^^^^^^ ------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1457:40 [INFO] [stdout] | [INFO] [stdout] 1457 | debug_to_file(&txn, &channel_alice.borrow(), "debug_init").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1462:45 [INFO] [stdout] | [INFO] [stdout] 1462 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &init_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1463:5 [INFO] [stdout] | [INFO] [stdout] 1463 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1464 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 1465 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1466 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 1467 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 1468 | "", [INFO] [stdout] | -- [INFO] [stdout] 1469 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1470 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1480:14 [INFO] [stdout] | [INFO] [stdout] 1480 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1480:14 [INFO] [stdout] | [INFO] [stdout] 1480 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ______________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 1481 | | w.write_all(bob).unwrap(); [INFO] [stdout] 1482 | | Ok(()) [INFO] [stdout] 1483 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1484:40 [INFO] [stdout] | [INFO] [stdout] 1484 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1485:38 [INFO] [stdout] | [INFO] [stdout] 1485 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1487:38 [INFO] [stdout] | [INFO] [stdout] 1487 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1491:16 [INFO] [stdout] | [INFO] [stdout] 1491 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1491:16 [INFO] [stdout] | [INFO] [stdout] 1491 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ________________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 1492 | | w.write_all(alice).unwrap(); [INFO] [stdout] 1493 | | Ok(()) [INFO] [stdout] 1494 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1496:40 [INFO] [stdout] | [INFO] [stdout] 1496 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1500:45 [INFO] [stdout] | [INFO] [stdout] 1500 | apply::apply_change(&changes, &mut txn, &mut channel_alice, &bob_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1501:5 [INFO] [stdout] | [INFO] [stdout] 1501 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1502 | &mut repo_alice, [INFO] [stdout] | --------------- [INFO] [stdout] 1503 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1504 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 1505 | &mut channel_alice, [INFO] [stdout] | ------------------ [INFO] [stdout] 1506 | "", [INFO] [stdout] | -- [INFO] [stdout] 1507 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1508 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1510:40 [INFO] [stdout] | [INFO] [stdout] 1510 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1515:16 [INFO] [stdout] | [INFO] [stdout] 1515 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1515:16 [INFO] [stdout] | [INFO] [stdout] 1515 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ________________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 1516 | | let buf = std::str::from_utf8(&buf).unwrap(); [INFO] [stdout] 1517 | | w.write_all(buf.replace("x\n", "u\nx\n").as_bytes())?; [INFO] [stdout] 1518 | | Ok(()) [INFO] [stdout] 1519 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1522:40 [INFO] [stdout] | [INFO] [stdout] 1522 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice2").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1525:45 [INFO] [stdout] | [INFO] [stdout] 1525 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &alice_h).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1526:5 [INFO] [stdout] | [INFO] [stdout] 1526 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1527 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 1528 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1529 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 1530 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 1531 | "", [INFO] [stdout] | -- [INFO] [stdout] 1532 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1533 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1539:14 [INFO] [stdout] | [INFO] [stdout] 1539 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1539:14 [INFO] [stdout] | [INFO] [stdout] 1539 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ______________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 1540 | | let buf = std::str::from_utf8(&buf).unwrap(); [INFO] [stdout] 1541 | | w.write_all(buf.replace("x\n", "i\nx\n").as_bytes())?; [INFO] [stdout] 1542 | | Ok(()) [INFO] [stdout] 1543 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1547:38 [INFO] [stdout] | [INFO] [stdout] 1547 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob1").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1552:45 [INFO] [stdout] | [INFO] [stdout] 1552 | apply::apply_change(&changes, &mut txn, &mut channel_alice, &resolution_bob).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1553:5 [INFO] [stdout] | [INFO] [stdout] 1553 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1554 | &mut repo_alice, [INFO] [stdout] | --------------- [INFO] [stdout] 1555 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1556 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 1557 | &mut channel_alice, [INFO] [stdout] | ------------------ [INFO] [stdout] 1558 | "", [INFO] [stdout] | -- [INFO] [stdout] 1559 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1560 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1562:40 [INFO] [stdout] | [INFO] [stdout] 1562 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice3").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1568:45 [INFO] [stdout] | [INFO] [stdout] 1568 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &resolution_alice).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1569:5 [INFO] [stdout] | [INFO] [stdout] 1569 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1570 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 1571 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1572 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 1573 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 1574 | "", [INFO] [stdout] | -- [INFO] [stdout] 1575 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1576 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1605:15 [INFO] [stdout] | [INFO] [stdout] 1605 | txn_alice.add_file("file").unwrap(); [INFO] [stdout] | ^^^^^^^^ ------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1612:18 [INFO] [stdout] | [INFO] [stdout] 1612 | .write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1612:18 [INFO] [stdout] | [INFO] [stdout] 1612 | .write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | __________________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 1613 | | w.write_all(c)?; [INFO] [stdout] 1614 | | Ok(()) [INFO] [stdout] 1615 | | }) [INFO] [stdout] | |_________________- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1630:49 [INFO] [stdout] | [INFO] [stdout] 1630 | apply::apply_change(&changes, &mut txn_bob, &mut channel_bob, &p_alice[0]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1631:5 [INFO] [stdout] | [INFO] [stdout] 1631 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1632 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 1633 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1634 | &mut txn_bob, [INFO] [stdout] | ------------ [INFO] [stdout] 1635 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 1636 | "", [INFO] [stdout] | -- [INFO] [stdout] 1637 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1638 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1640:42 [INFO] [stdout] | [INFO] [stdout] 1640 | debug_to_file(&txn_bob, &channel_bob.borrow(), "debug_bob")?; [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1644:14 [INFO] [stdout] | [INFO] [stdout] 1644 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1644:14 [INFO] [stdout] | [INFO] [stdout] 1644 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ______________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 1645 | | w.write_all(b"x\nc\n")?; [INFO] [stdout] 1646 | | Ok(()) [INFO] [stdout] 1647 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1650:42 [INFO] [stdout] | [INFO] [stdout] 1650 | debug_to_file(&txn_bob, &channel_bob.borrow(), "debug_bob0")?; [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1655:53 [INFO] [stdout] | [INFO] [stdout] 1655 | apply::apply_change(&changes, &mut txn_bob, &mut channel_bob, p).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1656:46 [INFO] [stdout] | [INFO] [stdout] 1656 | debug_to_file(&txn_bob, &channel_bob.borrow(), &format!("debug_bob_{}", n))?; [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1661:5 [INFO] [stdout] | [INFO] [stdout] 1661 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1662 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 1663 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1664 | &mut txn_bob, [INFO] [stdout] | ------------ [INFO] [stdout] 1665 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 1666 | "", [INFO] [stdout] | -- [INFO] [stdout] 1667 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1668 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1678:14 [INFO] [stdout] | [INFO] [stdout] 1678 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1678:14 [INFO] [stdout] | [INFO] [stdout] 1678 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ______________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 1679 | | w.write_all(b"x\nc\n")?; [INFO] [stdout] 1680 | | Ok(()) [INFO] [stdout] 1681 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1684:42 [INFO] [stdout] | [INFO] [stdout] 1684 | debug_to_file(&txn_bob, &channel_bob.borrow(), "debug_bob2")?; [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1685:5 [INFO] [stdout] | [INFO] [stdout] 1685 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1686 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 1687 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1688 | &mut txn_bob, [INFO] [stdout] | ------------ [INFO] [stdout] 1689 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 1690 | "", [INFO] [stdout] | -- [INFO] [stdout] 1691 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1692 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1700:51 [INFO] [stdout] | [INFO] [stdout] 1700 | apply::apply_change(&changes, &mut txn_alice, &mut channel_alice, &p_bob).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1701:46 [INFO] [stdout] | [INFO] [stdout] 1701 | debug_to_file(&txn_alice, &channel_alice.borrow(), "debug_alice1")?; [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1702:5 [INFO] [stdout] | [INFO] [stdout] 1702 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1703 | &mut repo_alice, [INFO] [stdout] | --------------- [INFO] [stdout] 1704 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1705 | &mut txn_alice, [INFO] [stdout] | -------------- [INFO] [stdout] 1706 | &mut channel_alice, [INFO] [stdout] | ------------------ [INFO] [stdout] 1707 | "", [INFO] [stdout] | -- [INFO] [stdout] 1708 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1709 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1717:51 [INFO] [stdout] | [INFO] [stdout] 1717 | apply::apply_change(&changes, &mut txn_alice, &mut channel_alice, &resolution).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1718:5 [INFO] [stdout] | [INFO] [stdout] 1718 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1719 | &mut repo_alice, [INFO] [stdout] | --------------- [INFO] [stdout] 1720 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1721 | &mut txn_alice, [INFO] [stdout] | -------------- [INFO] [stdout] 1722 | &mut channel_alice, [INFO] [stdout] | ------------------ [INFO] [stdout] 1723 | "", [INFO] [stdout] | -- [INFO] [stdout] 1724 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1725 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1727:46 [INFO] [stdout] | [INFO] [stdout] 1727 | debug_to_file(&txn_alice, &channel_alice.borrow(), "debug_alice2")?; [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1749:15 [INFO] [stdout] | [INFO] [stdout] 1749 | txn_alice.add_file("file").unwrap(); [INFO] [stdout] | ^^^^^^^^ ------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1756:18 [INFO] [stdout] | [INFO] [stdout] 1756 | .write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1756:18 [INFO] [stdout] | [INFO] [stdout] 1756 | .write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | __________________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 1757 | | w.write_all(c)?; [INFO] [stdout] 1758 | | Ok(()) [INFO] [stdout] 1759 | | }) [INFO] [stdout] | |_________________- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1774:49 [INFO] [stdout] | [INFO] [stdout] 1774 | apply::apply_change(&changes, &mut txn_bob, &mut channel_bob, &p_alice[0]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1775:5 [INFO] [stdout] | [INFO] [stdout] 1775 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1776 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 1777 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1778 | &mut txn_bob, [INFO] [stdout] | ------------ [INFO] [stdout] 1779 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 1780 | "", [INFO] [stdout] | -- [INFO] [stdout] 1781 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1782 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1787:14 [INFO] [stdout] | [INFO] [stdout] 1787 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1787:14 [INFO] [stdout] | [INFO] [stdout] 1787 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ______________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 1788 | | w.write_all(b"a\nb\nx\ny\nz\nc\nd\n")?; [INFO] [stdout] 1789 | | Ok(()) [INFO] [stdout] 1790 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1792:42 [INFO] [stdout] | [INFO] [stdout] 1792 | debug_to_file(&txn_bob, &channel_bob.borrow(), "debug_bob0")?; [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1796:53 [INFO] [stdout] | [INFO] [stdout] 1796 | apply::apply_change(&changes, &mut txn_bob, &mut channel_bob, p).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1798:42 [INFO] [stdout] | [INFO] [stdout] 1798 | debug_to_file(&txn_bob, &channel_bob.borrow(), "debug_bob1")?; [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1799:5 [INFO] [stdout] | [INFO] [stdout] 1799 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1800 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 1801 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1802 | &mut txn_bob, [INFO] [stdout] | ------------ [INFO] [stdout] 1803 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 1804 | "", [INFO] [stdout] | -- [INFO] [stdout] 1805 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1806 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1808:42 [INFO] [stdout] | [INFO] [stdout] 1808 | debug_to_file(&txn_bob, &channel_bob.borrow(), "debug_bob1_")?; [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1816:14 [INFO] [stdout] | [INFO] [stdout] 1816 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1816:14 [INFO] [stdout] | [INFO] [stdout] 1816 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ______________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 1817 | | w.write_all(b"a\nz\nd\n")?; [INFO] [stdout] 1818 | | Ok(()) [INFO] [stdout] 1819 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1822:5 [INFO] [stdout] | [INFO] [stdout] 1822 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1823 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 1824 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1825 | &mut txn_bob, [INFO] [stdout] | ------------ [INFO] [stdout] 1826 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 1827 | "", [INFO] [stdout] | -- [INFO] [stdout] 1828 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1829 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1831:42 [INFO] [stdout] | [INFO] [stdout] 1831 | debug_to_file(&txn_bob, &channel_bob.borrow(), "debug_bob2")?; [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1837:51 [INFO] [stdout] | [INFO] [stdout] 1837 | apply::apply_change(&changes, &mut txn_alice, &mut channel_alice, &p_bob).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1838:51 [INFO] [stdout] | [INFO] [stdout] 1838 | apply::apply_change(&changes, &mut txn_alice, &mut channel_alice, &resolution).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1839:5 [INFO] [stdout] | [INFO] [stdout] 1839 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1840 | &mut repo_alice, [INFO] [stdout] | --------------- [INFO] [stdout] 1841 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1842 | &mut txn_alice, [INFO] [stdout] | -------------- [INFO] [stdout] 1843 | &mut channel_alice, [INFO] [stdout] | ------------------ [INFO] [stdout] 1844 | "", [INFO] [stdout] | -- [INFO] [stdout] 1845 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1846 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1871:9 [INFO] [stdout] | [INFO] [stdout] 1871 | txn.add_file("file")?; [INFO] [stdout] | ^^^^^^^^ ------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/lib.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn add_file(&mut self, path: &str, salt: u64) -> Result<(), fs::FsError> { [INFO] [stdout] | ^^^^^^^^ --------- ---------- --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1873:40 [INFO] [stdout] | [INFO] [stdout] 1873 | debug_to_file(&txn, &channel_alice.borrow(), "debug_init").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1878:45 [INFO] [stdout] | [INFO] [stdout] 1878 | apply::apply_change(&changes, &mut txn, &mut channel_bob, &init_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1879:5 [INFO] [stdout] | [INFO] [stdout] 1879 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1880 | &mut repo_bob, [INFO] [stdout] | ------------- [INFO] [stdout] 1881 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1882 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 1883 | &mut channel_bob, [INFO] [stdout] | ---------------- [INFO] [stdout] 1884 | "", [INFO] [stdout] | -- [INFO] [stdout] 1885 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1886 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1898:45 [INFO] [stdout] | [INFO] [stdout] 1898 | apply::apply_change(&changes, &mut txn, &mut channel_charlie, &init_h)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected struct `Channel`, found struct `pristine::ChannelRef` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Channel` [INFO] [stdout] found mutable reference `&mut pristine::ChannelRef, ()>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1899:5 [INFO] [stdout] | [INFO] [stdout] 1899 | output::output_repository_no_pending( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 1900 | &mut repo_charlie, [INFO] [stdout] | ----------------- [INFO] [stdout] 1901 | &changes, [INFO] [stdout] | -------- [INFO] [stdout] 1902 | &mut txn, [INFO] [stdout] | -------- [INFO] [stdout] 1903 | &mut channel_charlie, [INFO] [stdout] | -------------------- [INFO] [stdout] 1904 | "", [INFO] [stdout] | -- [INFO] [stdout] 1905 | true, [INFO] [stdout] | ---- [INFO] [stdout] 1906 | None, [INFO] [stdout] | ---- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> libpijul/src/output/output.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn output_repository_no_pending< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | repo: Arc, [INFO] [stdout] | ------------ [INFO] [stdout] 38 | changes: &P, [INFO] [stdout] | ----------- [INFO] [stdout] 39 | txn: Arc>, [INFO] [stdout] | ------------------- [INFO] [stdout] 40 | channel: ChannelRef, [INFO] [stdout] | ---------------------- [INFO] [stdout] 41 | prefix: &str, [INFO] [stdout] | ------------ [INFO] [stdout] 42 | output_name_conflicts: bool, [INFO] [stdout] | --------------------------- [INFO] [stdout] 43 | if_modified_since: Option, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 44 | n_workers: usize, [INFO] [stdout] | ---------------- [INFO] [stdout] 45 | salt: u64, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1910:16 [INFO] [stdout] | [INFO] [stdout] 1910 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1910:16 [INFO] [stdout] | [INFO] [stdout] 1910 | repo_alice.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ________________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 1911 | | w.write_all(alice).unwrap(); [INFO] [stdout] 1912 | | Ok(()) [INFO] [stdout] 1913 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1915:40 [INFO] [stdout] | [INFO] [stdout] 1915 | debug_to_file(&txn, &channel_alice.borrow(), "debug_alice0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1918:14 [INFO] [stdout] | [INFO] [stdout] 1918 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ^^^^^^^^^^------------------------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1918:14 [INFO] [stdout] | [INFO] [stdout] 1918 | repo_bob.write_file::<_, std::io::Error, _>("file", |w| { [INFO] [stdout] | ______________^^^^^^^^^^_________________________------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 1 argument [INFO] [stdout] 1919 | | w.write_all(bob).unwrap(); [INFO] [stdout] 1920 | | Ok(()) [INFO] [stdout] 1921 | | })?; [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> libpijul/src/working_copy/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn write_file(&self, file: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `pristine::ChannelRef` in the current scope [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1923:38 [INFO] [stdout] | [INFO] [stdout] 1923 | debug_to_file(&txn, &channel_bob.borrow(), "debug_bob0").unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pristine::ChannelRef, ()>>>` [INFO] [stdout] | [INFO] [stdout] ::: libpijul/src/pristine/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelRef { [INFO] [stdout] | ------------------------------------- method `borrow` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::borrow::Borrow;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> libpijul/src/tests/conflict.rs:1926:18 [INFO] [stdout] | [WARN] too many lines in the log, truncating it