[INFO] fetching crate resman 0.19.0... [INFO] testing resman-0.19.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate resman 0.19.0 into /workspace/builds/worker-1-tc2/source [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate resman 0.19.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate resman 0.19.0 [INFO] tweaked toml for crates.io crate resman 0.19.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate resman 0.19.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate resman 0.19.0 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ed6e0af5617174dc85a401b0f23673b19ad96ed69a21b730de2874cc16c1d31 [INFO] running `Command { std: "docker" "start" "-a" "1ed6e0af5617174dc85a401b0f23673b19ad96ed69a21b730de2874cc16c1d31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ed6e0af5617174dc85a401b0f23673b19ad96ed69a21b730de2874cc16c1d31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ed6e0af5617174dc85a401b0f23673b19ad96ed69a21b730de2874cc16c1d31", kill_on_drop: false }` [INFO] [stdout] 1ed6e0af5617174dc85a401b0f23673b19ad96ed69a21b730de2874cc16c1d31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e96f8bb417e9c5abc982b816294f68209e142f71b2f56815b94e33bbe4096fd4 [INFO] running `Command { std: "docker" "start" "-a" "e96f8bb417e9c5abc982b816294f68209e142f71b2f56815b94e33bbe4096fd4", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling resman v0.19.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rt_ref v0.3.0 [INFO] [stderr] Compiling downcast-rs v2.0.1 [INFO] [stderr] Compiling rt_map v0.6.0 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling tynm v0.2.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resources.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn entry(&mut self) -> Entry [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] 79 | pub fn entry(&mut self) -> Entry<'_, R> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resources.rs:182:22 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn borrow(&self) -> Ref [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] 182 | pub fn borrow(&self) -> Ref<'_, R> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resources.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn try_borrow(&self) -> Result, BorrowFail> [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] 191 | pub fn try_borrow(&self) -> Result, BorrowFail> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resources.rs:204:26 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn borrow_mut(&self) -> RefMut [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] 204 | pub fn borrow_mut(&self) -> RefMut<'_, R> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resources.rs:213:30 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn try_borrow_mut(&self) -> Result, BorrowFail> [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] 213 | pub fn try_borrow_mut(&self) -> Result, BorrowFail> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.95s [INFO] running `Command { std: "docker" "inspect" "e96f8bb417e9c5abc982b816294f68209e142f71b2f56815b94e33bbe4096fd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e96f8bb417e9c5abc982b816294f68209e142f71b2f56815b94e33bbe4096fd4", kill_on_drop: false }` [INFO] [stdout] e96f8bb417e9c5abc982b816294f68209e142f71b2f56815b94e33bbe4096fd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc6dbeb50ff8af0dc555d3930246cec821e18ba9d155ad4e2cb968b4a6c26497 [INFO] running `Command { std: "docker" "start" "-a" "dc6dbeb50ff8af0dc555d3930246cec821e18ba9d155ad4e2cb968b4a6c26497", kill_on_drop: false }` [INFO] [stderr] Compiling resman v0.19.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resources.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn entry(&mut self) -> Entry [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] 79 | pub fn entry(&mut self) -> Entry<'_, R> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resources.rs:182:22 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn borrow(&self) -> Ref [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] 182 | pub fn borrow(&self) -> Ref<'_, R> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resources.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn try_borrow(&self) -> Result, BorrowFail> [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] 191 | pub fn try_borrow(&self) -> Result, BorrowFail> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resources.rs:204:26 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn borrow_mut(&self) -> RefMut [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] 204 | pub fn borrow_mut(&self) -> RefMut<'_, R> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resources.rs:213:30 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn try_borrow_mut(&self) -> Result, BorrowFail> [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] 213 | pub fn try_borrow_mut(&self) -> Result, BorrowFail> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resources.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn entry(&mut self) -> Entry [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] 79 | pub fn entry(&mut self) -> Entry<'_, R> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resources.rs:182:22 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn borrow(&self) -> Ref [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] 182 | pub fn borrow(&self) -> Ref<'_, R> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resources.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn try_borrow(&self) -> Result, BorrowFail> [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] 191 | pub fn try_borrow(&self) -> Result, BorrowFail> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resources.rs:204:26 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn borrow_mut(&self) -> RefMut [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] 204 | pub fn borrow_mut(&self) -> RefMut<'_, R> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resources.rs:213:30 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn try_borrow_mut(&self) -> Result, BorrowFail> [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] 213 | pub fn try_borrow_mut(&self) -> Result, BorrowFail> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "dc6dbeb50ff8af0dc555d3930246cec821e18ba9d155ad4e2cb968b4a6c26497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc6dbeb50ff8af0dc555d3930246cec821e18ba9d155ad4e2cb968b4a6c26497", kill_on_drop: false }` [INFO] [stdout] dc6dbeb50ff8af0dc555d3930246cec821e18ba9d155ad4e2cb968b4a6c26497 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e848627d971df2fa7adcd7f2162a6c1ae348c6a62b1442bef6007e03508e904c [INFO] running `Command { std: "docker" "start" "-a" "e848627d971df2fa7adcd7f2162a6c1ae348c6a62b1442bef6007e03508e904c", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/resources.rs:79:21 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn entry(&mut self) -> Entry [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] 79 | pub fn entry(&mut self) -> Entry<'_, R> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/resources.rs:182:22 [INFO] [stderr] | [INFO] [stderr] 182 | pub fn borrow(&self) -> Ref [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] 182 | pub fn borrow(&self) -> Ref<'_, R> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/resources.rs:191:26 [INFO] [stderr] | [INFO] [stderr] 191 | pub fn try_borrow(&self) -> Result, BorrowFail> [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] 191 | pub fn try_borrow(&self) -> Result, BorrowFail> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/resources.rs:204:26 [INFO] [stderr] | [INFO] [stderr] 204 | pub fn borrow_mut(&self) -> RefMut [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] 204 | pub fn borrow_mut(&self) -> RefMut<'_, R> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/resources.rs:213:30 [INFO] [stderr] | [INFO] [stderr] 213 | pub fn try_borrow_mut(&self) -> Result, BorrowFail> [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] 213 | pub fn try_borrow_mut(&self) -> Result, BorrowFail> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `resman` (lib) generated 5 warnings (run `cargo fix --lib -p resman` to apply 5 suggestions) [INFO] [stderr] warning: `resman` (lib test) generated 5 warnings (5 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/resman-a3a04e8e531ba027) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test ref_mut::tests::deref_mut_returns_value ... ok [INFO] [stdout] test ref_mut::tests::partial_eq_compares_value ... ok [INFO] [stdout] test resources::tests::borrow_mut_borrow_mut_returns_err ... ok [INFO] [stdout] test r#ref::tests::partial_eq_compares_value ... ok [INFO] [stdout] test r#ref::tests::debug_includes_inner_field ... ok [INFO] [stdout] test resources::tests::borrow_mut_try_borrow_returns_err ... ok [INFO] [stdout] test resources::tests::borrow_try_borrow_mut_returns_err ... ok [INFO] [stdout] test resources::tests::debug_uses_placeholder_for_values ... ok [INFO] [stdout] test resources::tests::get_mut_returns_ok ... ok [INFO] [stdout] test resources::tests::entry_or_insert_inserts_value ... ok [INFO] [stdout] test resources::tests::get_resource_mut_returns_some ... ok [INFO] [stdout] test resources::tests::insert_raw ... ok [INFO] [stdout] test resources::tests::into_inner ... ok [INFO] [stdout] test resources::tests::merge ... ok [INFO] [stdout] test resources::tests::insert ... ok [INFO] [stdout] test resources::tests::remove_insert ... ok [INFO] [stdout] test resources::tests::try_remove ... ok [INFO] [stdout] test resources::tests::with_capacity_reserves_enough_capacity ... ok [INFO] [stdout] test resources::tests::get_raw_returns_some ... ok [INFO] [stdout] test ref_mut::tests::debug_includes_inner_field ... ok [INFO] [stdout] test resources::tests::borrow_before_insert_panics - should panic ... ok [INFO] [stdout] test resources::tests::read_write_fails - should panic ... ok [INFO] [stdout] test resources::tests::write_read_fails - should panic ... ok [INFO] [stdout] test resources::tests::borrow_mut_before_insert_panics - should panic ... ok [INFO] [stdout] test resources::tests::insert_raw_panics_when_boxed_resource_does_not_match_key - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] Doc-tests resman [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/lib.rs - (line 127) ... FAILED [INFO] [stdout] test src/resources.rs - resources::Resources::insert (line 101) ... ok [INFO] [stdout] test src/resources.rs - resources::Resources::insert (line 94) ... ok [INFO] [stdout] test src/lib.rs - (line 93) ... ok [INFO] [stdout] test src/resources.rs - resources::Resources::with_capacity (line 49) ... ok [INFO] [stdout] test src/resources.rs - resources::Resources::capacity (line 69) ... ok [INFO] [stdout] test src/resources.rs - resources::Resources::new (line 34) ... ok [INFO] [stdout] test src/lib.rs - (line 39) ... ok [INFO] [stdout] test src/entry.rs - entry::Entry<'a,R> (line 16) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 127) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `resman::FnRes`, `resman::IntoFnRes` [INFO] [stdout] --> src/lib.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 5 | use resman::{FnRes, IntoFnRes, Resources}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ no `IntoFnRes` in the root [INFO] [stdout] | | [INFO] [stdout] | no `FnRes` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 233 | #[cfg(feature = "fn_res")] [INFO] [stdout] | ------------------ the item is gated behind the `fn_res` feature [INFO] [stdout] 234 | pub use crate::{ [INFO] [stdout] 235 | fn_res::FnRes, [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:237:18 [INFO] [stdout] | [INFO] [stdout] 233 | #[cfg(feature = "fn_res")] [INFO] [stdout] | ------------------ the item is gated behind the `fn_res` feature [INFO] [stdout] ... [INFO] [stdout] 237 | into_fn_res::IntoFnRes, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_fn_res` found for fn item `for<'a, 'b> fn(&'a mut u32, &'b u64) -> u64 {f1}` in the current scope [INFO] [stdout] --> src/lib.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 20 | f1.into_fn_res(), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `for<'a, 'b> fn(&'a mut u32, &'b u64) -> u64 {f1}` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_fn_res` found for fn item `for<'a, 'b> fn(&'a u32, &'b mut u64) -> u64 {f2}` in the current scope [INFO] [stdout] --> src/lib.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 21 | f2.into_fn_res(), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `for<'a, 'b> fn(&'a u32, &'b mut u64) -> u64 {f2}` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_fn_res` found for closure `{closure@src/lib.rs:22:6: 22:24}` in the current scope [INFO] [stdout] --> src/lib.rs:146:41 [INFO] [stdout] | [INFO] [stdout] 22 | (|a: &u32, b: &u64| *a as u64 + *b).into_fn_res(), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `{closure@src/lib.rs:22:6: 22:24}` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 127) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 8 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.80s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.07s; merged doctests compilation took 0.27s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e848627d971df2fa7adcd7f2162a6c1ae348c6a62b1442bef6007e03508e904c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e848627d971df2fa7adcd7f2162a6c1ae348c6a62b1442bef6007e03508e904c", kill_on_drop: false }` [INFO] [stdout] e848627d971df2fa7adcd7f2162a6c1ae348c6a62b1442bef6007e03508e904c