[INFO] fetching crate libpijul 1.0.0-beta.10... [INFO] checking libpijul-1.0.0-beta.10 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate libpijul 1.0.0-beta.10 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate libpijul 1.0.0-beta.10 [INFO] finished tweaking crates.io crate libpijul 1.0.0-beta.10 [INFO] tweaked toml for crates.io crate libpijul 1.0.0-beta.10 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libpijul 1.0.0-beta.10 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--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] Locking 181 packages to latest compatible versions [INFO] [stderr] Adding aes v0.7.5 (available: v0.8.4) [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.1) [INFO] [stderr] Adding bs58 v0.4.0 (available: v0.5.1) [INFO] [stderr] Adding curve25519-dalek v3.2.1 (available: v4.1.3) [INFO] [stderr] Adding ed25519-dalek v1.0.1 (available: v2.1.1) [INFO] [stderr] Adding env_logger v0.8.4 (available: v0.11.8) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.2.0) [INFO] [stderr] Adding getrandom v0.2.16 (available: v0.3.3) [INFO] [stderr] Adding hmac v0.11.0 (available: v0.12.1) [INFO] [stderr] Adding nom v7.1.3 (available: v8.0.0) [INFO] [stderr] Adding parking_lot v0.11.2 (available: v0.12.4) [INFO] [stderr] Adding path-slash v0.1.5 (available: v0.2.1) [INFO] [stderr] Adding pbkdf2 v0.9.0 (available: v0.12.2) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] [stderr] Adding rand_chacha v0.3.1 (available: v0.9.0) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.9) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.23) [INFO] [stderr] Adding twox-hash v1.6.3 (available: v2.1.1) [INFO] [stderr] Adding zeroize v1.3.0 (available: v1.8.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 312ef238c4c1d7a73509478938f2ee7c45dce2935092ed4c09f62325bd7ed29b [INFO] running `Command { std: "docker" "start" "-a" "312ef238c4c1d7a73509478938f2ee7c45dce2935092ed4c09f62325bd7ed29b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "312ef238c4c1d7a73509478938f2ee7c45dce2935092ed4c09f62325bd7ed29b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "312ef238c4c1d7a73509478938f2ee7c45dce2935092ed4c09f62325bd7ed29b", kill_on_drop: false }` [INFO] [stdout] 312ef238c4c1d7a73509478938f2ee7c45dce2935092ed4c09f62325bd7ed29b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5217f85d797936a9f2c046b37e5f4f0f39a93ab75f4cb7629d09b0b7fbdc90ac [INFO] running `Command { std: "docker" "start" "-a" "5217f85d797936a9f2c046b37e5f4f0f39a93ab75f4cb7629d09b0b7fbdc90ac", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking sanakirja-core v1.4.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Compiling pijul-macros v0.5.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking pbkdf2 v0.9.0 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking canonical-path v2.0.2 [INFO] [stderr] Checking diffs v0.5.1 [INFO] [stderr] Checking path-slash v0.1.5 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking detone v1.0.1 [INFO] [stderr] Checking chardetng v0.1.17 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling quickcheck_macros v1.1.0 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling zstd-seekable v0.1.23 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Checking sanakirja v1.4.3 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking libpijul v1.0.0-beta.10 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `rollback` [INFO] [stdout] --> src/tests/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | mod rollback; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `rollback`, create file "src/tests/rollback.rs" or "src/tests/rollback/mod.rs" [INFO] [stdout] = note: if there is a `mod rollback` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `text_changes` [INFO] [stdout] --> src/tests/mod.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | mod text_changes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `text_changes`, create file "src/tests/text_changes.rs" or "src/tests/text_changes/mod.rs" [INFO] [stdout] = note: if there is a `mod text_changes` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `deterministic_hash` [INFO] [stdout] --> src/lib.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg(feature = "deterministic_hash")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `canonical-path`, `default`, `flate2`, `ignore`, `lru-cache`, `mmap`, `ondisk-repos`, `path-slash`, `tar`, `tarball`, `tempfile`, `text-changes`, `zstd`, and `zstd-seekable` [INFO] [stdout] = help: consider adding `deterministic_hash` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `deterministic_hash` [INFO] [stdout] --> src/lib.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg(not(feature = "deterministic_hash"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `canonical-path`, `default`, `flate2`, `ignore`, `lru-cache`, `mmap`, `ondisk-repos`, `path-slash`, `tar`, `tarball`, `tempfile`, `text-changes`, `zstd`, and `zstd-seekable` [INFO] [stdout] = help: consider adding `deterministic_hash` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `deterministic_hash` [INFO] [stdout] --> src/lib.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg(feature = "deterministic_hash")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `canonical-path`, `default`, `flate2`, `ignore`, `lru-cache`, `mmap`, `ondisk-repos`, `path-slash`, `tar`, `tarball`, `tempfile`, `text-changes`, `zstd`, and `zstd-seekable` [INFO] [stdout] = help: consider adding `deterministic_hash` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `deterministic_hash` [INFO] [stdout] --> src/lib.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg(not(feature = "deterministic_hash"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `canonical-path`, `default`, `flate2`, `ignore`, `lru-cache`, `mmap`, `ondisk-repos`, `path-slash`, `tar`, `tarball`, `tempfile`, `text-changes`, `zstd`, and `zstd-seekable` [INFO] [stdout] = help: consider adding `deterministic_hash` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/tests/diff.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | let mut ret = retrieve(&*txn.read(), txn.read().graph(&*channel.read()), vertex)?; [INFO] [stdout] | ^^^^^^^^---------------------------------------------------------- argument #4 of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/alive/retrieve.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn retrieve( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | include_deleted: bool, [INFO] [stdout] | --------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 71 | let mut ret = retrieve(&*txn.read(), txn.read().graph(&*channel.read()), vertex, /* bool */)?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_cyclic` is never read [INFO] [stdout] --> src/diff/diff.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Replacement { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 80 | pub is_cyclic: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Replacement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `conflict_type` is never read [INFO] [stdout] --> src/diff/vertex_buffer.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Conflict { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub conflict_type: ConflictType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Conflict` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:272:26 [INFO] [stdout] | [INFO] [stdout] 272 | fn iter_working_copy(&self) -> WorkingCopyIterator { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 272 | fn iter_working_copy(&self) -> WorkingCopyIterator<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:408:22 [INFO] [stdout] | [INFO] [stdout] 408 | fn touched_files(&self, h: &pristine::Hash) -> Result>, Self::DepsError> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 408 | fn touched_files(&self, h: &pristine::Hash) -> Result>, Self::DepsError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/change/parse.rs:553:26 [INFO] [stdout] | [INFO] [stdout] 553 | fn parse_fragment(input: &str) -> IResult<&str, StringFragment> { [INFO] [stdout] | ^^^^ ---- -------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 553 | fn parse_fragment(input: &str) -> IResult<&str, StringFragment<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/changestore/filesystem.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 98 | std::cell::RefMut>, [INFO] [stdout] | ------------------------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 98 | std::cell::RefMut<'_, lru_cache::LruCache>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/diff/bin.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | a: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 8 | ) -> (HashMap>, Vec) { [INFO] [stdout] | ----- ----------- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 8 | ) -> (HashMap>, Vec>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fs.rs:433:10 [INFO] [stdout] | [INFO] [stdout] 433 | txn: &T, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 434 | inode: Inode, [INFO] [stdout] 435 | ) -> Result, T::TreeError> { [INFO] [stdout] | ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 435 | ) -> Result, T::TreeError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fs.rs:502:44 [INFO] [stdout] | [INFO] [stdout] 502 | pub fn iter_working_copy(txn: &T, root: Inode) -> WorkingCopyIterator { [INFO] [stdout] | ^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 502 | pub fn iter_working_copy(txn: &T, root: Inode) -> WorkingCopyIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/path.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn components(path: &str) -> Components { [INFO] [stdout] | ^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn components(path: &str) -> Components<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pristine/mod.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn read(&self) -> parking_lot::RwLockReadGuard { [INFO] [stdout] | ^^^^^ ---------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 124 | pub fn read(&self) -> parking_lot::RwLockReadGuard<'_, T::Channel> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pristine/mod.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn write(&self) -> parking_lot::RwLockWriteGuard { [INFO] [stdout] | ^^^^^ ----------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 127 | pub fn write(&self) -> parking_lot::RwLockWriteGuard<'_, T::Channel> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pristine/mod.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn lock(&self) -> parking_lot::MutexGuard> { [INFO] [stdout] | ^^^^^ ---------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn lock(&self) -> parking_lot::MutexGuard<'_, Remote> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/text_encoding.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 64 | / fn deserialize(deserializer: D) -> Result [INFO] [stdout] 65 | | where [INFO] [stdout] 66 | | D: serde::Deserializer<'de>, [INFO] [stdout] | |____________________________________- move the `impl` block outside of this associated function `deserialize` [INFO] [stdout] 67 | { [INFO] [stdout] 68 | impl<'de> Visitor<'de> for EncodingVisitor { [INFO] [stdout] | ^^^^^^^^^^-------^^^^^^^^^^--------------- [INFO] [stdout] | | | [INFO] [stdout] | | `EncodingVisitor` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libpijul` (lib test) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5217f85d797936a9f2c046b37e5f4f0f39a93ab75f4cb7629d09b0b7fbdc90ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5217f85d797936a9f2c046b37e5f4f0f39a93ab75f4cb7629d09b0b7fbdc90ac", kill_on_drop: false }` [INFO] [stdout] 5217f85d797936a9f2c046b37e5f4f0f39a93ab75f4cb7629d09b0b7fbdc90ac