[INFO] fetching crate resman 0.19.0... [INFO] testing resman-0.19.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate resman 0.19.0 into /workspace/builds/worker-0-tc2/source [INFO] removed /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate resman 0.19.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b69812ac8e9979f0d75a091862a1d3af83e291b12c60555e9ac7ebbabaf3eac7 [INFO] running `Command { std: "docker" "start" "-a" "b69812ac8e9979f0d75a091862a1d3af83e291b12c60555e9ac7ebbabaf3eac7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b69812ac8e9979f0d75a091862a1d3af83e291b12c60555e9ac7ebbabaf3eac7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b69812ac8e9979f0d75a091862a1d3af83e291b12c60555e9ac7ebbabaf3eac7", kill_on_drop: false }` [INFO] [stdout] b69812ac8e9979f0d75a091862a1d3af83e291b12c60555e9ac7ebbabaf3eac7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18755c7dc0e0cdb0bd1c03b0f19706624b8c09da0c7ea9d17567c76f6915fd60 [INFO] running `Command { std: "docker" "start" "-a" "18755c7dc0e0cdb0bd1c03b0f19706624b8c09da0c7ea9d17567c76f6915fd60", kill_on_drop: false }` [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling resman v0.19.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rt_ref v0.3.0 [INFO] [stderr] Compiling rt_map v0.6.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 5.41s [INFO] running `Command { std: "docker" "inspect" "18755c7dc0e0cdb0bd1c03b0f19706624b8c09da0c7ea9d17567c76f6915fd60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18755c7dc0e0cdb0bd1c03b0f19706624b8c09da0c7ea9d17567c76f6915fd60", kill_on_drop: false }` [INFO] [stdout] 18755c7dc0e0cdb0bd1c03b0f19706624b8c09da0c7ea9d17567c76f6915fd60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5a097172219ce370478c3e16389348b312d053def2b89cbcda604b0f3b42528 [INFO] running `Command { std: "docker" "start" "-a" "a5a097172219ce370478c3e16389348b312d053def2b89cbcda604b0f3b42528", 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 0.86s [INFO] running `Command { std: "docker" "inspect" "a5a097172219ce370478c3e16389348b312d053def2b89cbcda604b0f3b42528", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5a097172219ce370478c3e16389348b312d053def2b89cbcda604b0f3b42528", kill_on_drop: false }` [INFO] [stdout] a5a097172219ce370478c3e16389348b312d053def2b89cbcda604b0f3b42528 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 303175801dbb9b9a75c7eed60c3306c605921b08794d4fdafa8d77427f2dce5b [INFO] running `Command { std: "docker" "start" "-a" "303175801dbb9b9a75c7eed60c3306c605921b08794d4fdafa8d77427f2dce5b", 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 r#ref::tests::debug_includes_inner_field ... ok [INFO] [stdout] test ref_mut::tests::debug_includes_inner_field ... ok [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 r#ref::tests::partial_eq_compares_value ... ok [INFO] [stdout] test resources::tests::borrow_mut_borrow_mut_returns_err ... 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::get_mut_returns_ok ... ok [INFO] [stdout] test resources::tests::get_raw_returns_some ... ok [INFO] [stdout] test resources::tests::debug_uses_placeholder_for_values ... ok [INFO] [stdout] test resources::tests::entry_or_insert_inserts_value ... ok [INFO] [stdout] test resources::tests::insert ... 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::try_remove ... ok [INFO] [stdout] test resources::tests::remove_insert ... ok [INFO] [stdout] test resources::tests::get_resource_mut_returns_some ... ok [INFO] [stdout] test resources::tests::with_capacity_reserves_enough_capacity ... ok [INFO] [stdout] test resources::tests::borrow_before_insert_panics - 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] test resources::tests::read_write_fails - should panic ... ok [INFO] [stdout] test resources::tests::write_read_fails - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests resman [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/entry.rs - entry::Entry<'a,R> (line 16) ... ok [INFO] [stdout] test src/resources.rs - resources::Resources::insert (line 94) ... ok [INFO] [stdout] test src/resources.rs - resources::Resources::new (line 34) ... ok [INFO] [stdout] test src/lib.rs - (line 93) ... ok [INFO] [stdout] test src/resources.rs - resources::Resources::capacity (line 69) ... ok [INFO] [stdout] test src/lib.rs - (line 127) ... FAILED [INFO] [stdout] test src/resources.rs - resources::Resources::with_capacity (line 49) ... ok [INFO] [stdout] test src/resources.rs - resources::Resources::insert (line 101) ... ok [INFO] [stdout] test src/lib.rs - (line 39) ... 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] 129 | 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] 144 | 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] 145 | 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] 146 | (|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[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | .fold(0, |sum, fn_res| sum + fn_res.call(&resources)); [INFO] [stdout] | ^^^^^^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 155 | .fold(0, |sum, fn_res: /* Type */| sum + fn_res.call(&resources)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [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 1.04s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.25s; merged doctests compilation took 0.21s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "303175801dbb9b9a75c7eed60c3306c605921b08794d4fdafa8d77427f2dce5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "303175801dbb9b9a75c7eed60c3306c605921b08794d4fdafa8d77427f2dce5b", kill_on_drop: false }` [INFO] [stdout] 303175801dbb9b9a75c7eed60c3306c605921b08794d4fdafa8d77427f2dce5b