Source: rust-sapling-streampager Version: 0.11.0-2 Severity: serious X-Debbugs-Cc: Jeremy Bícha <[email protected]>, Federico Ceratto <[email protected]> Control: affects -1 jujutsu
https://tracker.debian.org/pkg/rust-sapling-streampager Issues preventing migration: ∙ ∙ Autopkgtest for rust-sapling-streampager/0.11.0-2: amd64: Failed ♻, arm64: Failed ♻, i386: Failed ♻, ppc64el: Failed ♻, riscv64: Failed ♻, s390x: Failed ♻ ... 95s error[E0583]: file not found for module `buffer_cache` 95s --> src/lib.rs:13:1 95s | 95s 13 | mod buffer_cache; 95s | ^^^^^^^^^^^^^^^^^ 95s | 95s = help: to create the module `buffer_cache`, create file "src/buffer_cache.rs" or "src/buffer_cache/mod.rs" 95s = note: if there is a `mod buffer_cache` elsewhere in the crate already, import it with `use crate::...` instead 95s 95s error[E0583]: file not found for module `keymap_file` 95s --> src/lib.rs:25:1 95s | 95s 25 | mod keymap_file; 95s | ^^^^^^^^^^^^^^^^ 95s | 95s = help: to create the module `keymap_file`, create file "src/keymap_file.rs" or "src/keymap_file/mod.rs" 95s = note: if there is a `mod keymap_file` elsewhere in the crate already, import it with `use crate::...` instead 95s 95s error[E0432]: unresolved import `notify::DebouncedEvent` 95s --> src/loaded_file.rs:29:14 95s | 95s 29 | use notify::{DebouncedEvent, RecommendedWatcher, RecursiveMode, Watcher}; 95s | ^^^^^^^^^^^^^^ no `DebouncedEvent` in the root 95s 95s error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pest` 95s --> src/keymap_error.rs:29:19 95s | 95s 29 | Parse(#[from] pest::error::Error<crate::keymap_file::Rule>), 95s | ^^^^ use of unresolved module or unlinked crate `pest` 95s | 95s = help: if you wanted to use a crate named `pest`, use `cargo add pest` to add it to your `Cargo.toml` 95s help: there is an enum variant `termwiz::tmux_cc::parser::Rule::error`; try using the variant's enum 95s | 95s 29 - Parse(#[from] pest::error::Error<crate::keymap_file::Rule>), 95s 29 + Parse(#[from] termwiz::tmux_cc::parser::Rule::Error<crate::keymap_file::Rule>), 95s | 95s help: consider importing one of these modules 95s | 95s 3 + use crate::error; 95s | 95s 3 + use std::error; 95s | 95s 3 + use termwiz::error; 95s | 95s help: if you import `error`, refer to it directly 95s | 95s 29 - Parse(#[from] pest::error::Error<crate::keymap_file::Rule>), 95s 29 + Parse(#[from] error::Error<crate::keymap_file::Rule>), 95s | 95s 95s error[E0282]: type annotations needed 95s --> src/keymaps.rs:40:31 95s | 95s 40 | .map_err(|err| err.with_file(path))?; 95s | ^^^ --- type must be known at this point 95s | 95s help: consider giving this closure parameter an explicit type 95s | 95s 40 | .map_err(|err: /* Type */| err.with_file(path))?; 95s | ++++++++++++ 95s 95s error[E0308]: mismatched types 95s --> src/loaded_file.rs:254:46 95s | 95s 254 | ... Watcher::new(tx, Duration::from_millis(500)).expect("create watcher"); 95s | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Config`, found `Duration` 95s | | 95s | arguments to this function are incorrect 95s | 95s note: associated function defined here 95s --> /usr/share/cargo/registry/notify-8.2.0/src/lib.rs:320:8 95s | 95s 320 | fn new<F: EventHandler>(event_handler: F, config: config::Config) -> Result<Self> 95s | ^^^ 95s 95s error[E0308]: mismatched types 95s --> src/loaded_file.rs:256:36 95s | 95s 256 | ... .watch(path.clone(), RecursiveMode::NonRecursive) 95s | ----- ^^^^^^^^^^^^ expected `&Path`, found `PathBuf` 95s | | 95s | arguments to this method are incorrect 95s | 95s note: method defined here 95s --> /usr/share/cargo/registry/notify-8.2.0/src/lib.rs:338:8 95s | 95s 338 | fn watch(&mut self, path: &Path, recursive_mode: RecursiveMode) -> Result<()>; 95s | ^^^^^ 95s help: consider borrowing here 95s | 95s 256 | .watch(&path.clone(), RecursiveMode::NonRecursive) 95s | + 95s 96s error[E0282]: type annotations needed 96s --> src/loaded_file.rs:557:46 96s | 96s 557 | .with_slice(start, end, |data| { 96s | ^^^^ 96s 558 | if data 96s | ---- type must be known at this point 96s | 96s help: consider giving this closure parameter an explicit type 96s | 96s 557 | .with_slice(start, end, |data: /* Type */| { 96s | ++++++++++++ 96s 96s Some errors have detailed explanations: E0282, E0308, E0432, E0433, E0583. 96s For more information about an error, try `rustc --explain E0282`. 96s error: could not compile `sapling-streampager` (lib test) due to 8 previous errors ... 210s autopkgtest [18:24:15]: @@@@@@@@@@@@@@@@@@@@ summary 210s rust-sapling-streampager:@ FAIL non-zero exit status 101 210s librust-sapling-streampager-dev:default PASS 210s librust-sapling-streampager-dev:keymap-file FAIL non-zero exit status 101 210s librust-sapling-streampager-dev:load_file FAIL non-zero exit status 101 210s librust-sapling-streampager-dev:notify PASS 210s librust-sapling-streampager-dev: PASS

