[INFO] fetching crate relative-path 2.0.1... [INFO] testing relative-path-2.0.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate relative-path 2.0.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate relative-path 2.0.1 [INFO] finished tweaking crates.io crate relative-path 2.0.1 [INFO] tweaked toml for crates.io crate relative-path 2.0.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate relative-path 2.0.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate relative-path 2.0.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97778ea28c39f820eea343403cc3eaaa1bf8098352290cfa054458e9ab99d43a [INFO] running `Command { std: "docker" "start" "-a" "97778ea28c39f820eea343403cc3eaaa1bf8098352290cfa054458e9ab99d43a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97778ea28c39f820eea343403cc3eaaa1bf8098352290cfa054458e9ab99d43a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97778ea28c39f820eea343403cc3eaaa1bf8098352290cfa054458e9ab99d43a", kill_on_drop: false }` [INFO] [stdout] 97778ea28c39f820eea343403cc3eaaa1bf8098352290cfa054458e9ab99d43a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a50b98cc7ce606f98409f7c4f8d39a74268f409211a7847764dfff3041937762 [INFO] running `Command { std: "docker" "start" "-a" "a50b98cc7ce606f98409f7c4f8d39a74268f409211a7847764dfff3041937762", kill_on_drop: false }` [INFO] [stderr] Compiling relative-path v2.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:775:20 [INFO] [stdout] | [INFO] [stdout] 775 | pub fn display(&self) -> Display { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 775 | pub fn display(&self) -> Display<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:818:23 [INFO] [stdout] | [INFO] [stdout] 818 | pub fn components(&self) -> Components { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 818 | pub fn components(&self) -> Components<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:842:17 [INFO] [stdout] | [INFO] [stdout] 842 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 842 | pub fn iter(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "a50b98cc7ce606f98409f7c4f8d39a74268f409211a7847764dfff3041937762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a50b98cc7ce606f98409f7c4f8d39a74268f409211a7847764dfff3041937762", kill_on_drop: false }` [INFO] [stdout] a50b98cc7ce606f98409f7c4f8d39a74268f409211a7847764dfff3041937762 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 285895bb1af37b710089199b1ef62f3cab729a101699d7d5c923875323466872 [INFO] running `Command { std: "docker" "start" "-a" "285895bb1af37b710089199b1ef62f3cab729a101699d7d5c923875323466872", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:775:20 [INFO] [stdout] | [INFO] [stdout] 775 | pub fn display(&self) -> Display { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 775 | pub fn display(&self) -> Display<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:818:23 [INFO] [stdout] | [INFO] [stdout] 818 | pub fn components(&self) -> Components { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 818 | pub fn components(&self) -> Components<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:842:17 [INFO] [stdout] | [INFO] [stdout] 842 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 842 | pub fn iter(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling relative-path v2.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:775:20 [INFO] [stdout] | [INFO] [stdout] 775 | pub fn display(&self) -> Display { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 775 | pub fn display(&self) -> Display<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:818:23 [INFO] [stdout] | [INFO] [stdout] 818 | pub fn components(&self) -> Components { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 818 | pub fn components(&self) -> Components<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:842:17 [INFO] [stdout] | [INFO] [stdout] 842 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 842 | pub fn iter(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.13s [INFO] running `Command { std: "docker" "inspect" "285895bb1af37b710089199b1ef62f3cab729a101699d7d5c923875323466872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "285895bb1af37b710089199b1ef62f3cab729a101699d7d5c923875323466872", kill_on_drop: false }` [INFO] [stdout] 285895bb1af37b710089199b1ef62f3cab729a101699d7d5c923875323466872 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0b9db856b6b3a192d0af0df3f81f01a77f3b56649d2d7431975ed902a6b83d3e [INFO] running `Command { std: "docker" "start" "-a" "0b9db856b6b3a192d0af0df3f81f01a77f3b56649d2d7431975ed902a6b83d3e", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:775:20 [INFO] [stderr] | [INFO] [stderr] 775 | pub fn display(&self) -> Display { [INFO] [stderr] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 775 | pub fn display(&self) -> Display<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:818:23 [INFO] [stderr] | [INFO] [stderr] 818 | pub fn components(&self) -> Components { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 818 | pub fn components(&self) -> Components<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:842:17 [INFO] [stderr] | [INFO] [stderr] 842 | pub fn iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 842 | pub fn iter(&self) -> Iter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `relative-path` (lib) generated 3 warnings (run `cargo fix --lib -p relative-path` to apply 3 suggestions) [INFO] [stderr] warning: `relative-path` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/relative_path-d4e4b7b5cca12755) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test path_ext::tests::assert_does_not_skip_parents ... ok [INFO] [stdout] test path_ext::tests::test_ambiguous_paths ... ok [INFO] [stdout] test path_ext::tests::test_absolute ... ok [INFO] [stdout] test path_ext::tests::test_current_directory ... ok [INFO] [stdout] test path_ext::tests::test_empty ... ok [INFO] [stdout] test path_ext::tests::test_relative ... ok [INFO] [stdout] test path_ext::tests::test_identity ... ok [INFO] [stdout] test tests::test_default ... ok [INFO] [stdout] test tests::test_compare ... ok [INFO] [stdout] test tests::test_components_iterator ... ok [INFO] [stdout] test tests::test_display ... ok [INFO] [stdout] test tests::test_decompositions ... ok [INFO] [stdout] test tests::test_eq_recievers ... ok [INFO] [stdout] test tests::test_from ... ok [INFO] [stdout] test tests::test_next_back ... ok [INFO] [stdout] test tests::test_join ... ok [INFO] [stdout] test tests::test_pop ... ok [INFO] [stdout] test tests::test_normalize ... ok [INFO] [stdout] test tests::test_push ... ok [INFO] [stdout] test tests::test_eq ... ok [INFO] [stdout] test tests::test_set_extension ... ok [INFO] [stdout] test tests::test_set_file_name ... ok [INFO] [stdout] test tests::test_stem_ext ... ok [INFO] [stdout] test tests::test_parent ... ok [INFO] [stdout] test tests::test_unix_owned_from_path ... ok [INFO] [stdout] test tests::test_unix_from_path ... ok [INFO] [stdout] test tests::test_relative_path_buf ... ok [INFO] [stdout] test tests::test_relative_to ... ok [INFO] [stdout] test tests::test_to_path_buf ... ok [INFO] [stdout] test path_ext::tests::test_subset ... ok [INFO] [stdout] test tests::test_relative_path_asref_str ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] Doc-tests relative_path [INFO] [stdout] [INFO] [stdout] running 59 tests [INFO] [stdout] test src/lib.rs - (line 117) ... FAILED [INFO] [stdout] test src/lib.rs - Box (line 1515) ... ok [INFO] [stdout] test src/lib.rs - Arc (line 1622) ... ok [INFO] [stdout] test src/lib.rs - (line 212) ... ok [INFO] [stdout] test src/lib.rs - Box (line 1560) ... ok [INFO] [stdout] test src/lib.rs - Box (line 1582) ... ok [INFO] [stdout] test src/lib.rs - (line 71) ... ok [INFO] [stdout] test src/lib.rs - (line 129) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Components<'a>::as_relative_path (line 536) ... ok [INFO] [stdout] test src/lib.rs - (line 183) ... ok [INFO] [stdout] test src/lib.rs - (line 35) ... FAILED [INFO] [stdout] test src/lib.rs - Component (line 393) ... ok [INFO] [stdout] test src/lib.rs - Component<'_> (line 447) ... ok [INFO] [stdout] test src/lib.rs - (line 198) ... ok [INFO] [stdout] test src/lib.rs - Arc (line 1601) ... ok [INFO] [stdout] test src/lib.rs - (line 153) ... ok [INFO] [stdout] test src/lib.rs - Box (line 1536) ... ok [INFO] [stdout] test src/lib.rs - Component<'a>::as_str (line 423) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::as_str (line 749) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::components (line 805) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::iter (line 832) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::extension (line 1263) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::ends_with (line 1151) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::file_name (line 1065) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::display (line 764) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::join (line 783) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::file_stem (line 1238) ... ok [INFO] [stdout] test src/lib.rs - Rc (line 1665) ... ok [INFO] [stdout] test src/lib.rs - Rc (line 1644) ... ok [INFO] [stdout] test src/lib.rs - FromPathError::kind (line 617) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::is_normalized (line 1170) ... ok [INFO] [stdout] test src/lib.rs - RelativePath (line 1687) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::from_path (line 694) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::normalize (line 1353) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::join_normalized (line 1309) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::parent (line 1036) ... ok [INFO] [stdout] test src/lib.rs - (line 249) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::with_extension (line 1286) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::to_logical_path (line 952) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::starts_with (line 1128) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::strip_prefix (line 1104) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::to_logical_path (line 942) ... ok [INFO] [stdout] test src/lib.rs - str (line 1735) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::with_file_name (line 1206) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::to_logical_path (line 971) ... ok [INFO] [stdout] test src/path_ext.rs - path_ext::PathExt::relative_to (line 102) ... ok [INFO] [stdout] test src/relative_path_buf.rs - relative_path_buf::RelativePathBuf (line 473) ... ok [INFO] [stdout] test src/relative_path_buf.rs - relative_path_buf::RelativePathBuf::into_string (line 297) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::relative (line 1414) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::to_path (line 880) ... ok [INFO] [stdout] test src/relative_path_buf.rs - relative_path_buf::RelativePathBuf::from_path (line 87) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::relative (line 1383) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::relative (line 1398) ... ok [INFO] [stdout] test src/lib.rs - String (line 1714) ... ok [INFO] [stdout] test src/relative_path_buf.rs - relative_path_buf::RelativePathBuf::set_extension (line 222) ... ok [INFO] [stdout] test src/lib.rs - RelativePath::to_path (line 861) ... ok [INFO] [stdout] test src/relative_path_buf.rs - relative_path_buf::RelativePathBuf::set_file_name (line 180) ... ok [INFO] [stdout] test src/relative_path_buf.rs - relative_path_buf::RelativePathBuf::push (line 131) ... ok [INFO] [stdout] test src/relative_path_buf.rs - relative_path_buf::RelativePathBuf::pop (line 264) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 117) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `RelativePathBuf: Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `RelativePathBuf` [INFO] [stdout] 9 | pub struct Manifest { [INFO] [stdout] 10 | source: RelativePathBuf, [INFO] [stdout] | ----------------------- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `RelativePathBuf` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 129 others [INFO] [stdout] note: required by a bound in `_doctest_main_src_lib_rs_117_0::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:1866:21 [INFO] [stdout] | [INFO] [stdout] 1864 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] 1865 | where [INFO] [stdout] 1866 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `RelativePathBuf: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 10 | source: RelativePathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `RelativePathBuf` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `RelativePathBuf` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 141 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1732:12 [INFO] [stdout] | [INFO] [stdout] 1730 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1731 | where [INFO] [stdout] 1732 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `RelativePathBuf: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 10 | source: RelativePathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `RelativePathBuf` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `RelativePathBuf` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 141 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1871:12 [INFO] [stdout] | [INFO] [stdout] 1869 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1870 | where [INFO] [stdout] 1871 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `RelativePathBuf: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `RelativePathBuf` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `RelativePathBuf` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 141 others [INFO] [stdout] note: required by a bound in `_doctest_main_src_lib_rs_117_0::_::_serde::__private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/private/de.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 24 | where [INFO] [stdout] 25 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 129) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `RelativePathBuf: Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize)] pub struct Manifest { source: RelativePathBuf } [INFO] [stdout] | ^^^^^^^^^ ----------------------- required by a bound introduced by this call [INFO] [stdout] | | [INFO] [stdout] | the trait `Serialize` is not implemented for `RelativePathBuf` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `RelativePathBuf` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 129 others [INFO] [stdout] note: required by a bound in `_doctest_main_src_lib_rs_129_0::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:1866:21 [INFO] [stdout] | [INFO] [stdout] 1864 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] 1865 | where [INFO] [stdout] 1866 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `RelativePathBuf: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:133:65 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize)] pub struct Manifest { source: RelativePathBuf } [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `RelativePathBuf` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `RelativePathBuf` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 141 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1732:12 [INFO] [stdout] | [INFO] [stdout] 1730 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1731 | where [INFO] [stdout] 1732 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `RelativePathBuf: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:133:65 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize)] pub struct Manifest { source: RelativePathBuf } [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `RelativePathBuf` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `RelativePathBuf` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 141 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1871:12 [INFO] [stdout] | [INFO] [stdout] 1869 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1870 | where [INFO] [stdout] 1871 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `RelativePathBuf: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize)] pub struct Manifest { source: RelativePathBuf } [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `RelativePathBuf` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `RelativePathBuf` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 141 others [INFO] [stdout] note: required by a bound in `_doctest_main_src_lib_rs_129_0::_::_serde::__private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/private/de.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 24 | where [INFO] [stdout] 25 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 35) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `RelativePath: Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `RelativePath` [INFO] [stdout] 9 | struct Manifest<'a> { [INFO] [stdout] 10 | / #[serde(borrow)] [INFO] [stdout] 11 | | source: &'a RelativePath, [INFO] [stdout] | |____________________________- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `RelativePath` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 129 others [INFO] [stdout] = note: required for `&RelativePath` to implement `Serialize` [INFO] [stdout] note: required by a bound in `_doctest_main_src_lib_rs_35_0::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:1866:21 [INFO] [stdout] | [INFO] [stdout] 1864 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] 1865 | where [INFO] [stdout] 1866 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&'a RelativePath: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 11 | source: &'a RelativePath, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `&'a RelativePath` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `&'a RelativePath` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 141 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1732:12 [INFO] [stdout] | [INFO] [stdout] 1730 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1731 | where [INFO] [stdout] 1732 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&'a RelativePath: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 11 | source: &'a RelativePath, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `&'a RelativePath` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `&'a RelativePath` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 141 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1871:12 [INFO] [stdout] | [INFO] [stdout] 1869 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1870 | where [INFO] [stdout] 1871 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&RelativePath: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `&RelativePath` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `&RelativePath` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 141 others [INFO] [stdout] note: required by a bound in `_doctest_main_src_lib_rs_35_0::_::_serde::__private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/private/de.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 24 | where [INFO] [stdout] 25 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 117) [INFO] [stdout] src/lib.rs - (line 129) [INFO] [stdout] src/lib.rs - (line 35) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 56 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.85s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0b9db856b6b3a192d0af0df3f81f01a77f3b56649d2d7431975ed902a6b83d3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b9db856b6b3a192d0af0df3f81f01a77f3b56649d2d7431975ed902a6b83d3e", kill_on_drop: false }` [INFO] [stdout] 0b9db856b6b3a192d0af0df3f81f01a77f3b56649d2d7431975ed902a6b83d3e