[INFO] fetching crate ctxmap 0.5.0... [INFO] testing ctxmap-0.5.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate ctxmap 0.5.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate ctxmap 0.5.0 [INFO] finished tweaking crates.io crate ctxmap 0.5.0 [INFO] tweaked toml for crates.io crate ctxmap 0.5.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ctxmap 0.5.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66942411260c9fb6c7ca87fd94bf4093b9410c9965f1c34e5cbd4186b5f22bfd [INFO] running `Command { std: "docker" "start" "-a" "66942411260c9fb6c7ca87fd94bf4093b9410c9965f1c34e5cbd4186b5f22bfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66942411260c9fb6c7ca87fd94bf4093b9410c9965f1c34e5cbd4186b5f22bfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66942411260c9fb6c7ca87fd94bf4093b9410c9965f1c34e5cbd4186b5f22bfd", kill_on_drop: false }` [INFO] [stdout] 66942411260c9fb6c7ca87fd94bf4093b9410c9965f1c34e5cbd4186b5f22bfd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1889d87aa0bfa17e006f8b79828082bce3384a0d0c35b1e2a1ee2d739accf164 [INFO] running `Command { std: "docker" "start" "-a" "1889d87aa0bfa17e006f8b79828082bce3384a0d0c35b1e2a1ee2d739accf164", kill_on_drop: false }` [INFO] [stderr] Compiling ctxmap v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn view(&mut self) -> CtxMapView { [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] 141 | pub fn view(&mut self) -> CtxMapView<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:174:48 [INFO] [stdout] | [INFO] [stdout] 174 | if let Some(Some(value)) = (*self.values.get()).get(index) { [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec>>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[Option>]` [INFO] [stdout] --> src/lib.rs:174:48 [INFO] [stdout] | [INFO] [stdout] 174 | if let Some(Some(value)) = (*self.values.get()).get(index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get` require a reference [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:570:5 [INFO] [stdout] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 174 | if let Some(Some(value)) = (&(*self.values.get())).get(index) { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:207:48 [INFO] [stdout] | [INFO] [stdout] 207 | if let Some(Some(value)) = (*self.values.get()).get_mut(index) { [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec>>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut [Option>]` [INFO] [stdout] --> src/lib.rs:207:48 [INFO] [stdout] | [INFO] [stdout] 207 | if let Some(Some(value)) = (*self.values.get()).get_mut(index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get_mut` require a reference [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:597:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 207 | if let Some(Some(value)) = (&mut (*self.values.get())).get_mut(index) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn view(&mut self) -> CtxMapView { [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] 303 | pub fn view(&mut self) -> CtxMapView<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "1889d87aa0bfa17e006f8b79828082bce3384a0d0c35b1e2a1ee2d739accf164", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1889d87aa0bfa17e006f8b79828082bce3384a0d0c35b1e2a1ee2d739accf164", kill_on_drop: false }` [INFO] [stdout] 1889d87aa0bfa17e006f8b79828082bce3384a0d0c35b1e2a1ee2d739accf164 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee6b92fcf31e384478dcc9074d0350d40662ac578825bc910e2af77f59fa3f95 [INFO] running `Command { std: "docker" "start" "-a" "ee6b92fcf31e384478dcc9074d0350d40662ac578825bc910e2af77f59fa3f95", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn view(&mut self) -> CtxMapView { [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] 141 | pub fn view(&mut self) -> CtxMapView<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:174:48 [INFO] [stdout] | [INFO] [stdout] 174 | if let Some(Some(value)) = (*self.values.get()).get(index) { [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec>>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[Option>]` [INFO] [stdout] --> src/lib.rs:174:48 [INFO] [stdout] | [INFO] [stdout] 174 | if let Some(Some(value)) = (*self.values.get()).get(index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get` require a reference [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:570:5 [INFO] [stdout] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 174 | if let Some(Some(value)) = (&(*self.values.get())).get(index) { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:207:48 [INFO] [stdout] | [INFO] [stdout] 207 | if let Some(Some(value)) = (*self.values.get()).get_mut(index) { [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec>>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut [Option>]` [INFO] [stdout] --> src/lib.rs:207:48 [INFO] [stdout] | [INFO] [stdout] 207 | if let Some(Some(value)) = (*self.values.get()).get_mut(index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get_mut` require a reference [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:597:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 207 | if let Some(Some(value)) = (&mut (*self.values.get())).get_mut(index) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ctxmap v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn view(&mut self) -> CtxMapView { [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] 303 | pub fn view(&mut self) -> CtxMapView<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn view(&mut self) -> CtxMapView { [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] 141 | pub fn view(&mut self) -> CtxMapView<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:174:48 [INFO] [stdout] | [INFO] [stdout] 174 | if let Some(Some(value)) = (*self.values.get()).get(index) { [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec>>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[Option>]` [INFO] [stdout] --> src/lib.rs:174:48 [INFO] [stdout] | [INFO] [stdout] 174 | if let Some(Some(value)) = (*self.values.get()).get(index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get` require a reference [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:570:5 [INFO] [stdout] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 174 | if let Some(Some(value)) = (&(*self.values.get())).get(index) { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:207:48 [INFO] [stdout] | [INFO] [stdout] 207 | if let Some(Some(value)) = (*self.values.get()).get_mut(index) { [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec>>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut [Option>]` [INFO] [stdout] --> src/lib.rs:207:48 [INFO] [stdout] | [INFO] [stdout] 207 | if let Some(Some(value)) = (*self.values.get()).get_mut(index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get_mut` require a reference [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:597:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 207 | if let Some(Some(value)) = (&mut (*self.values.get())).get_mut(index) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn view(&mut self) -> CtxMapView { [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] 303 | pub fn view(&mut self) -> CtxMapView<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "ee6b92fcf31e384478dcc9074d0350d40662ac578825bc910e2af77f59fa3f95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee6b92fcf31e384478dcc9074d0350d40662ac578825bc910e2af77f59fa3f95", kill_on_drop: false }` [INFO] [stdout] ee6b92fcf31e384478dcc9074d0350d40662ac578825bc910e2af77f59fa3f95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cbd78453376da83056a708e6e8292295c1bad1e95b5567de015171050b0f32f9 [INFO] running `Command { std: "docker" "start" "-a" "cbd78453376da83056a708e6e8292295c1bad1e95b5567de015171050b0f32f9", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:141:17 [INFO] [stderr] | [INFO] [stderr] 141 | pub fn view(&mut self) -> CtxMapView { [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] 141 | pub fn view(&mut self) -> CtxMapView<'_, S> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/lib.rs:174:48 [INFO] [stderr] | [INFO] [stderr] 174 | if let Some(Some(value)) = (*self.values.get()).get(index) { [INFO] [stderr] | ^^-----------------^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*mut Vec>>` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&[Option>]` [INFO] [stderr] --> src/lib.rs:174:48 [INFO] [stderr] | [INFO] [stderr] 174 | if let Some(Some(value)) = (*self.values.get()).get(index) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: method calls to `get` require a reference [INFO] [stderr] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:570:5 [INFO] [stderr] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 174 | if let Some(Some(value)) = (&(*self.values.get())).get(index) { [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/lib.rs:207:48 [INFO] [stderr] | [INFO] [stderr] 207 | if let Some(Some(value)) = (*self.values.get()).get_mut(index) { [INFO] [stderr] | ^^-----------------^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*mut Vec>>` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&mut [Option>]` [INFO] [stderr] --> src/lib.rs:207:48 [INFO] [stderr] | [INFO] [stderr] 207 | if let Some(Some(value)) = (*self.values.get()).get_mut(index) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: method calls to `get_mut` require a reference [INFO] [stderr] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:597:5 [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 207 | if let Some(Some(value)) = (&mut (*self.values.get())).get_mut(index) { [INFO] [stderr] | +++++ + [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:303:17 [INFO] [stderr] | [INFO] [stderr] 303 | pub fn view(&mut self) -> CtxMapView { [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] 303 | pub fn view(&mut self) -> CtxMapView<'_, S> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `ctxmap` (lib) generated 4 warnings [INFO] [stderr] warning: `ctxmap` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ctxmap-40cb1fc136807fdd) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ctxmap [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/lib.rs - key (line 537) ... ok [INFO] [stdout] test src/lib.rs - key (line 552) ... ok [INFO] [stdout] test src/lib.rs - schema (line 507) ... ok [INFO] [stdout] test src/lib.rs - CtxMap::get (line 149) ... ok [INFO] [stdout] test src/lib.rs - CtxMap::new (line 70) ... ok [INFO] [stdout] test src/lib.rs - key (line 569) ... ok [INFO] [stdout] test src/lib.rs - key (line 529) ... ok [INFO] [stdout] test src/lib.rs - key (line 579) ... ok [INFO] [stdout] test src/lib.rs - CtxMap::with (line 92) ... ok [INFO] [stdout] test src/lib.rs - CtxMap::with_mut (line 116) ... ok [INFO] [stdout] test src/lib.rs - (line 15) ... ok [INFO] [stdout] test src/lib.rs - CtxMap::get_mut (line 188) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.82s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cbd78453376da83056a708e6e8292295c1bad1e95b5567de015171050b0f32f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbd78453376da83056a708e6e8292295c1bad1e95b5567de015171050b0f32f9", kill_on_drop: false }` [INFO] [stdout] cbd78453376da83056a708e6e8292295c1bad1e95b5567de015171050b0f32f9