[INFO] fetching crate az 1.2.1... [INFO] checking az-1.2.1 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate az 1.2.1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate az 1.2.1 on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate az 1.2.1 [INFO] finished tweaking crates.io crate az 1.2.1 [INFO] tweaked toml for crates.io crate az 1.2.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbf03f292e499d8e466cdff5931387b224b4064403c4ef6d2486aed24a991523 [INFO] running `Command { std: "docker" "start" "-a" "bbf03f292e499d8e466cdff5931387b224b4064403c4ef6d2486aed24a991523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbf03f292e499d8e466cdff5931387b224b4064403c4ef6d2486aed24a991523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbf03f292e499d8e466cdff5931387b224b4064403c4ef6d2486aed24a991523", kill_on_drop: false }` [INFO] [stdout] bbf03f292e499d8e466cdff5931387b224b4064403c4ef6d2486aed24a991523 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddf364e9e81c900f7253cfce52c6cf584299a54d21f99c84cd0a85618276bc90 [INFO] running `Command { std: "docker" "start" "-a" "ddf364e9e81c900f7253cfce52c6cf584299a54d21f99c84cd0a85618276bc90", kill_on_drop: false }` [INFO] [stderr] Compiling az v1.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/tests/mod.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | assert_eq!(r.borrow().az::(), 12); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/tests/mod.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | assert_eq!(r.borrow().checked_as::(), Some(12)); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/tests/mod.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | assert_eq!(r.borrow().saturating_as::(), 12); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/tests/mod.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | assert_eq!(r.borrow().borrow().wrapping_as::(), 12); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/tests/mod.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | assert_eq!(r.borrow().borrow().wrapping_as::(), 12); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/tests/mod.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | assert_eq!(r.borrow().overflowing_as::(), (12, false)); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/tests/mod.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 199 | assert_eq!(r.borrow().unwrapped_as::(), 12); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/tests/mod.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | assert_eq!(r.borrow().checked_as::(), None); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/tests/mod.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | assert_eq!(r.borrow().saturating_as::(), 0); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/tests/mod.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | assert_eq!(r.borrow().wrapping_as::(), 5u32.wrapping_neg()); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/tests/mod.rs:205:10 [INFO] [stdout] | [INFO] [stdout] 205 | r.borrow().overflowing_as::(), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.10s [INFO] running `Command { std: "docker" "inspect" "ddf364e9e81c900f7253cfce52c6cf584299a54d21f99c84cd0a85618276bc90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddf364e9e81c900f7253cfce52c6cf584299a54d21f99c84cd0a85618276bc90", kill_on_drop: false }` [INFO] [stdout] ddf364e9e81c900f7253cfce52c6cf584299a54d21f99c84cd0a85618276bc90 [INFO] checking az-1.2.1 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate az 1.2.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate az 1.2.1 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate az 1.2.1 [INFO] finished tweaking crates.io crate az 1.2.1 [INFO] tweaked toml for crates.io crate az 1.2.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b716729ce8b4c5a48748d06e329c3975c27db4ce4d00fbc3823408e7ad5ad5b [INFO] running `Command { std: "docker" "start" "-a" "0b716729ce8b4c5a48748d06e329c3975c27db4ce4d00fbc3823408e7ad5ad5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b716729ce8b4c5a48748d06e329c3975c27db4ce4d00fbc3823408e7ad5ad5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b716729ce8b4c5a48748d06e329c3975c27db4ce4d00fbc3823408e7ad5ad5b", kill_on_drop: false }` [INFO] [stdout] 0b716729ce8b4c5a48748d06e329c3975c27db4ce4d00fbc3823408e7ad5ad5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40363bf92a6c18444474187865cbde4f69a11d608c83e6df3afe2f284b892d36 [INFO] running `Command { std: "docker" "start" "-a" "40363bf92a6c18444474187865cbde4f69a11d608c83e6df3afe2f284b892d36", kill_on_drop: false }` [INFO] [stderr] Compiling az v1.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/mod.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | / impl Cast for &'_ I { [INFO] [stdout] 163 | | fn cast(self) -> u32 { [INFO] [stdout] 164 | | self.0.cast() [INFO] [stdout] 165 | | } [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `borrow_as` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/mod.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | / impl CheckedCast for &'_ I { [INFO] [stdout] 168 | | fn checked_cast(self) -> Option { [INFO] [stdout] 169 | | self.0.checked_cast() [INFO] [stdout] 170 | | } [INFO] [stdout] 171 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `borrow_as` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/mod.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | / impl SaturatingCast for &'_ I { [INFO] [stdout] 173 | | fn saturating_cast(self) -> u32 { [INFO] [stdout] 174 | | self.0.saturating_cast() [INFO] [stdout] 175 | | } [INFO] [stdout] 176 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `borrow_as` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/mod.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | / impl WrappingCast for &'_ I { [INFO] [stdout] 178 | | fn wrapping_cast(self) -> u32 { [INFO] [stdout] 179 | | self.0.wrapping_cast() [INFO] [stdout] 180 | | } [INFO] [stdout] 181 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `borrow_as` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/mod.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | / impl OverflowingCast for &'_ I { [INFO] [stdout] 183 | | fn overflowing_cast(self) -> (u32, bool) { [INFO] [stdout] 184 | | self.0.overflowing_cast() [INFO] [stdout] 185 | | } [INFO] [stdout] 186 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `borrow_as` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/mod.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | / impl UnwrappedCast for &'_ I { [INFO] [stdout] 188 | | fn unwrapped_cast(self) -> u32 { [INFO] [stdout] 189 | | self.0.unwrapped_cast() [INFO] [stdout] 190 | | } [INFO] [stdout] 191 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `borrow_as` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/tests/mod.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | assert_eq!(r.borrow().az::(), 12); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/tests/mod.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | assert_eq!(r.borrow().checked_as::(), Some(12)); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/tests/mod.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | assert_eq!(r.borrow().saturating_as::(), 12); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/tests/mod.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | assert_eq!(r.borrow().borrow().wrapping_as::(), 12); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/tests/mod.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | assert_eq!(r.borrow().borrow().wrapping_as::(), 12); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/tests/mod.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | assert_eq!(r.borrow().overflowing_as::(), (12, false)); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/tests/mod.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 199 | assert_eq!(r.borrow().unwrapped_as::(), 12); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/tests/mod.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | assert_eq!(r.borrow().checked_as::(), None); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/tests/mod.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | assert_eq!(r.borrow().saturating_as::(), 0); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/tests/mod.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | assert_eq!(r.borrow().wrapping_as::(), 5u32.wrapping_neg()); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/tests/mod.rs:205:10 [INFO] [stdout] | [INFO] [stdout] 205 | r.borrow().overflowing_as::(), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `az` (lib test) due to 7 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "40363bf92a6c18444474187865cbde4f69a11d608c83e6df3afe2f284b892d36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40363bf92a6c18444474187865cbde4f69a11d608c83e6df3afe2f284b892d36", kill_on_drop: false }` [INFO] [stdout] 40363bf92a6c18444474187865cbde4f69a11d608c83e6df3afe2f284b892d36