[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] 69d325cf57af7f95e8f1521357cb5db54ce49f6a
[INFO] checking fossdd/pijul against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffossdd%2Fpijul" "/workspace/builds/worker-12/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/fossdd/pijul on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "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-12/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" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded yasna v0.4.0
[INFO] [stderr] Downloaded cryptovec v0.6.1
[INFO] [stderr] Downloaded ignore v0.4.18
[INFO] [stderr] Downloaded path-slash v0.1.4
[INFO] [stderr] Downloaded os_type v2.3.0
[INFO] [stderr] Downloaded edit v0.1.3
[INFO] [stderr] Downloaded thrussh-libsodium v0.2.1
[INFO] [stderr] Downloaded git2 v0.13.20
[INFO] [stderr] Downloaded libgit2-sys v0.12.21+1.1.0
[INFO] [stderr] Downloaded thrussh-config v0.5.0
[INFO] [stderr] Downloaded diffs v0.4.1
[INFO] [stderr] Downloaded sanakirja v1.2.5
[INFO] [stderr] Downloaded zstd-seekable v0.1.7
[INFO] [stderr] Downloaded thrussh-keys v0.20.6
[INFO] [stderr] Downloaded human-panic v1.0.3
[INFO] [stderr] Downloaded thrussh v0.32.10
[INFO] [stderr] Downloaded pager v0.16.0
[INFO] [stderr] Downloaded sanakirja-core v1.2.9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 427d6cb276e77031d67fcd8440cf567efb28d98c80fc3a1d34574f741bd55639
[INFO] running `Command { std: "docker" "start" "-a" "427d6cb276e77031d67fcd8440cf567efb28d98c80fc3a1d34574f741bd55639", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "427d6cb276e77031d67fcd8440cf567efb28d98c80fc3a1d34574f741bd55639", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "427d6cb276e77031d67fcd8440cf567efb28d98c80fc3a1d34574f741bd55639", kill_on_drop: false }`
[INFO] [stdout] 427d6cb276e77031d67fcd8440cf567efb28d98c80fc3a1d34574f741bd55639
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 780cfa7110850fed04056b5521001dc1fe60388aa744064fb0ace32c304b8913
[INFO] running `Command { std: "docker" "start" "-a" "780cfa7110850fed04056b5521001dc1fe60388aa744064fb0ace32c304b8913", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Compiling libc v0.2.97
[INFO] [stderr] Compiling autocfg v1.0.1
[INFO] [stderr] Checking cfg-if v1.0.0
[INFO] [stderr] Compiling syn v1.0.73
[INFO] [stderr] Compiling pkg-config v0.3.19
[INFO] [stderr] Compiling version_check v0.9.3
[INFO] [stderr] Checking pin-project-lite v0.2.7
[INFO] [stderr] Checking lazy_static v1.4.0
[INFO] [stderr] Checking once_cell v1.8.0
[INFO] [stderr] Compiling serde_derive v1.0.126
[INFO] [stderr] Compiling bitflags v1.2.1
[INFO] [stderr] Checking bytes v1.0.1
[INFO] [stderr] Compiling serde v1.0.126
[INFO] [stderr] Compiling futures-channel v0.3.15
[INFO] [stderr] Checking fnv v1.0.7
[INFO] [stderr] Checking pin-utils v0.1.0
[INFO] [stderr] Compiling typenum v1.13.0
[INFO] [stderr] Compiling getrandom v0.1.16
[INFO] [stderr] Compiling openssl v0.10.35
[INFO] [stderr] Compiling crc32fast v1.2.1
[INFO] [stderr] Checking itoa v0.4.7
[INFO] [stderr] Compiling same-file v1.0.6
[INFO] [stderr] Checking adler v1.0.2
[INFO] [stderr] Compiling crossbeam-utils v0.8.5
[INFO] [stderr] Checking hashbrown v0.11.2
[INFO] [stderr] Checking subtle v2.4.0
[INFO] [stderr] Compiling winapi v0.3.9
[INFO] [stderr] Checking tinyvec_macros v0.1.0
[INFO] [stderr] Compiling native-tls v0.2.7
[INFO] [stderr] Checking smallvec v1.6.1
[INFO] [stderr] Checking byteorder v1.4.3
[INFO] [stderr] Compiling crossbeam-epoch v0.9.5
[INFO] [stderr] Checking try-lock v0.2.3
[INFO] [stderr] Checking percent-encoding v2.1.0
[INFO] [stderr] Compiling regex-syntax v0.6.25
[INFO] [stderr] Checking termcolor v1.1.2
[INFO] [stderr] Checking data-encoding v2.3.2
[INFO] [stderr] Checking constant_time_eq v0.1.5
[INFO] [stderr] Checking static_assertions v1.1.0
[INFO] [stderr] Checking unicode-xid v0.2.2
[INFO] [stderr] Checking gimli v0.24.0
[INFO] [stderr] Checking arrayvec v0.5.2
[INFO] [stderr] Checking zeroize v1.3.0
[INFO] [stderr] Compiling unicode-segmentation v1.8.0
[INFO] [stderr] Checking arrayref v0.3.6
[INFO] [stderr] Compiling anyhow v1.0.41
[INFO] [stderr] Checking tower-service v0.3.1
[INFO] [stderr] Compiling whoami v1.1.2
[INFO] [stderr] Checking linked-hash-map v0.5.4
[INFO] [stderr] Compiling encoding_rs v0.8.28
[INFO] [stderr] Checking bit-vec v0.6.3
[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] Checking diffs v0.4.1
[INFO] [stderr] Checking either v1.6.1
[INFO] [stderr] Checking rustc-demangle v0.1.20
[INFO] [stderr] Checking base64 v0.13.0
[INFO] [stderr] Checking os_str_bytes v2.4.0
[INFO] [stderr] Checking vec_map v0.8.2
[INFO] [stderr] Checking strsim v0.10.0
[INFO] [stderr] Checking ipnet v2.3.1
[INFO] [stderr] Checking mime v0.3.16
[INFO] [stderr] Checking whoami v0.9.0
[INFO] [stderr] Compiling blake3 v0.3.8
[INFO] [stderr] Compiling backtrace v0.3.60
[INFO] [stderr] Checking lock_api v0.4.4
[INFO] [stderr] Checking unicode-bidi v0.3.5
[INFO] [stderr] Checking instant v0.1.9
[INFO] [stderr] Checking walkdir v2.3.2
[INFO] [stderr] Checking tinyvec v1.2.0
[INFO] [stderr] Checking thread_local v1.1.3
[INFO] [stderr] Checking tracing-core v0.1.18
[INFO] [stderr] Checking form_urlencoded v1.0.1
[INFO] [stderr] Checking http v0.2.4
[INFO] [stderr] Checking textwrap v0.12.1
[INFO] [stderr] Checking proc-macro2 v1.0.27
[INFO] [stderr] Compiling memchr v2.4.0
[INFO] [stderr] Checking log v0.4.14
[INFO] [stderr] Checking lru-cache v0.1.2
[INFO] [stderr] Checking bstr v0.2.16
[INFO] [stderr] Checking object v0.25.3
[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.8.0
[INFO] [stderr] Compiling futures-macro v0.3.15
[INFO] [stderr] Compiling futures-util v0.3.15
[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 indexmap v1.7.0
[INFO] [stderr] Compiling memoffset v0.6.4
[INFO] [stderr] Compiling num-bigint v0.4.0
[INFO] [stderr] Checking os_type v2.3.0
[INFO] [stderr] Checking tracing v0.1.26
[INFO] [stderr] Checking want v0.3.0
[INFO] [stderr] Compiling heck v0.3.3
[INFO] [stderr] Checking sanakirja-core v1.2.9
[INFO] [stderr] Compiling aho-corasick v0.7.18
[INFO] [stderr] Checking quote v1.0.9
[INFO] [stderr] Compiling openssl-sys v0.9.65
[INFO] [stderr] Compiling zstd-seekable v0.1.7
[INFO] [stderr] Compiling libsodium-sys v0.2.7
[INFO] [stderr] Checking globset v0.4.8
[INFO] [stderr] Checking unicode-normalization v0.1.19
[INFO] [stderr] Checking ignore v0.4.18
[INFO] [stderr] Checking crossbeam-deque v0.8.0
[INFO] [stderr] Checking digest v0.9.0
[INFO] [stderr] Checking crypto-mac v0.8.0
[INFO] [stderr] Checking num_cpus v1.13.0
[INFO] [stderr] Checking mio v0.7.13
[INFO] [stderr] Checking signal-hook-registry v1.4.0
[INFO] [stderr] Checking getrandom v0.2.3
[INFO] [stderr] Checking parking_lot_core v0.8.3
[INFO] [stderr] Checking memmap v0.7.0
[INFO] [stderr] Checking xattr v0.2.2
[INFO] [stderr] Checking atty v0.2.14
[INFO] [stderr] Checking filetime v0.2.14
[INFO] [stderr] Checking fs2 v0.4.3
[INFO] [stderr] Checking dirs-sys v0.3.6
[INFO] [stderr] Checking flate2 v1.0.20
[INFO] [stderr] Checking time v0.1.43
[INFO] [stderr] Checking socket2 v0.4.0
[INFO] [stderr] Checking dirs-sys-next v0.1.2
[INFO] [stderr] Checking cryptovec v0.6.1
[INFO] [stderr] Checking which v4.1.0
[INFO] [stderr] Checking errno v0.2.7
[INFO] [stderr] Checking nix v0.20.0
[INFO] [stderr] Checking terminal_size v0.1.17
[INFO] [stderr] Checking rpassword v5.0.1
[INFO] [stderr] Checking http-body v0.4.2
[INFO] [stderr] Checking env_logger v0.8.4
[INFO] [stderr] Checking dirs-next v2.0.0
[INFO] [stderr] Checking idna v0.2.3
[INFO] [stderr] Checking dirs v3.0.2
[INFO] [stderr] Checking pager v0.16.0
[INFO] [stderr] Checking threadpool v1.8.1
[INFO] [stderr] Checking rand_core v0.5.1
[INFO] [stderr] Checking tar v0.4.35
[INFO] [stderr] Checking rand_core v0.6.3
[INFO] [stderr] Checking uuid v0.8.2
[INFO] [stderr] Checking parking_lot v0.11.1
[INFO] [stderr] Checking addr2line v0.15.2
[INFO] [stderr] Checking rand_chacha v0.3.1
[INFO] [stderr] Checking url v2.2.2
[INFO] [stderr] Checking rand_chacha v0.2.2
[INFO] [stderr] Checking rand v0.8.4
[INFO] [stderr] Checking rand v0.7.3
[INFO] [stderr] Compiling regex v1.5.4
[INFO] [stderr] Checking tempfile v3.2.0
[INFO] [stderr] Checking edit v0.1.3
[INFO] [stderr] Checking yasna v0.4.0
[INFO] [stderr] Checking pijul-macros v0.4.0 (/opt/rustwide/workdir/pijul-macros)
[INFO] [stderr] Checking twox-hash v1.6.0
[INFO] [stderr] Compiling tokio-macros v1.2.0
[INFO] [stderr] Compiling thiserror-impl v1.0.26
[INFO] [stderr] Compiling clap_derive v3.0.0-beta.2
[INFO] [stderr] Checking ctrlc v3.1.9
[INFO] [stderr] Checking thiserror v1.0.26
[INFO] [stderr] Checking sanakirja v1.2.5
[INFO] [stderr] Checking clap v3.0.0-beta.2
[INFO] [stderr] Checking futures-executor v0.3.15
[INFO] [stderr] Checking futures v0.3.15
[INFO] [stderr] Checking tokio-util v0.6.7
[INFO] [stderr] Checking tokio-native-tls v0.3.0
[INFO] [stderr] Checking thrussh-config v0.5.0
[INFO] [stderr] Checking h2 v0.3.3
[INFO] [stderr] Checking toml v0.5.8
[INFO] [stderr] Checking chrono v0.4.19
[INFO] [stderr] Checking curve25519-dalek v3.1.0
[INFO] [stderr] Checking bincode v1.3.3
[INFO] [stderr] Checking serde_urlencoded v0.7.0
[INFO] [stderr] Checking serde_json v1.0.64
[INFO] [stderr] Checking hyper v0.14.9
[INFO] [stderr] Checking libpijul v1.0.0-alpha.39 (/opt/rustwide/workdir/libpijul)
[INFO] [stderr] Checking human-panic v1.0.3
[INFO] [stderr] Checking hyper-tls v0.5.0
[INFO] [stderr] Checking reqwest v0.11.4
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> libpijul/src/tag.rs:296:49
[INFO] [stdout] |
[INFO] [stdout] 296 | unsafe { P::put_mut(&mut new_page_, &new_curs, &k, &v, r) }
[INFO] [stdout] | ^^^^^^^^^ types differ in mutability
[INFO] [stdout] |
[INFO] [stdout] = note: expected mutable reference `&mut
>::Cursor`
[INFO] [stdout] found reference `&
>::Cursor`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> libpijul/src/tag.rs:296:49
[INFO] [stdout] |
[INFO] [stdout] 296 | unsafe { P::put_mut(&mut new_page_, &new_curs, &k, &v, r) }
[INFO] [stdout] | ^^^^^^^^^ types differ in mutability
[INFO] [stdout] |
[INFO] [stdout] = note: expected mutable reference `&mut
>::Cursor`
[INFO] [stdout] found reference `&
>::Cursor`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> libpijul/src/tag.rs:512:49
[INFO] [stdout] |
[INFO] [stdout] 512 | unsafe { P::put_mut(&mut new_page_, &new_curs, k, v, r) }
[INFO] [stdout] | ^^^^^^^^^ types differ in mutability
[INFO] [stdout] |
[INFO] [stdout] = note: expected mutable reference `&mut
>::Cursor`
[INFO] [stdout] found reference `&
>::Cursor`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `libpijul`
[INFO] [stderr]
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> libpijul/src/tag.rs:512:49
[INFO] [stdout] |
[INFO] [stdout] 512 | unsafe { P::put_mut(&mut new_page_, &new_curs, k, v, r) }
[INFO] [stdout] | ^^^^^^^^^ types differ in mutability
[INFO] [stdout] |
[INFO] [stdout] = note: expected mutable reference `&mut
>::Cursor`
[INFO] [stdout] found reference `&
>::Cursor`
[INFO] [stdout]
[INFO] [stdout]
[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] 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