[INFO] fetching crate apint 0.2.0...
[INFO] checking apint-0.2.0 against master#6526e5c772f2da07db745c94ca6bb0a591a39ba4 for pr-80920
[INFO] extracting crate apint 0.2.0 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate apint 0.2.0 on toolchain 6526e5c772f2da07db745c94ca6bb0a591a39ba4
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate apint 0.2.0
[INFO] finished tweaking crates.io crate apint 0.2.0
[INFO] tweaked toml for crates.io crate apint 0.2.0 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f855c3a68424d2097dbb3619276824c87b4236cfcbe41be60c31465368054bdd
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "f855c3a68424d2097dbb3619276824c87b4236cfcbe41be60c31465368054bdd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f855c3a68424d2097dbb3619276824c87b4236cfcbe41be60c31465368054bdd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f855c3a68424d2097dbb3619276824c87b4236cfcbe41be60c31465368054bdd", kill_on_drop: false }`
[INFO] [stdout] f855c3a68424d2097dbb3619276824c87b4236cfcbe41be60c31465368054bdd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 834b10f1caba79962de9e01592cf2c0030b858c530a551d75168e0836ed56f3b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "834b10f1caba79962de9e01592cf2c0030b858c530a551d75168e0836ed56f3b", kill_on_drop: false }`
[INFO] [stderr] Compiling serde v1.0.119
[INFO] [stderr] Checking itertools v0.7.11
[INFO] [stderr] Checking rand v0.4.6
[INFO] [stderr] Compiling syn v1.0.58
[INFO] [stderr] Compiling serde_derive v1.0.119
[INFO] [stderr] Checking serde_test v1.0.119
[INFO] [stderr] Checking apint v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout] --> src/apint/serialization.rs:135:9
[INFO] [stdout] |
[INFO] [stdout] 135 | b'0'...b'9' => b - b'0',
[INFO] [stdout] | ^^^ help: use `..=` for an inclusive range
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout] --> src/apint/serialization.rs:136:9
[INFO] [stdout] |
[INFO] [stdout] 136 | b'a'...b'z' => b - b'a' + 10,
[INFO] [stdout] | ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout] --> src/apint/serialization.rs:137:9
[INFO] [stdout] |
[INFO] [stdout] 137 | b'A'...b'Z' => b - b'A' + 10,
[INFO] [stdout] | ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `digit` is imported redundantly
[INFO] [stdout] --> src/apint/serialization.rs:173:7
[INFO] [stdout] |
[INFO] [stdout] 4 | use digit;
[INFO] [stdout] | ----- the item `digit` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 173 | use digit;
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `digit` is imported redundantly
[INFO] [stdout] --> src/apint/serialization.rs:197:7
[INFO] [stdout] |
[INFO] [stdout] 4 | use digit;
[INFO] [stdout] | ----- the item `digit` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 197 | use digit;
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `digit` is imported redundantly
[INFO] [stdout] --> src/apint/serialization.rs:238:7
[INFO] [stdout] |
[INFO] [stdout] 4 | use digit;
[INFO] [stdout] | ----- the item `digit` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 238 | use digit;
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout] --> src/apint/serialization.rs:135:9
[INFO] [stdout] |
[INFO] [stdout] 135 | b'0'...b'9' => b - b'0',
[INFO] [stdout] | ^^^ help: use `..=` for an inclusive range
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout] --> src/apint/serialization.rs:136:9
[INFO] [stdout] |
[INFO] [stdout] 136 | b'a'...b'z' => b - b'a' + 10,
[INFO] [stdout] | ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout] --> src/apint/serialization.rs:137:9
[INFO] [stdout] |
[INFO] [stdout] 137 | b'A'...b'Z' => b - b'A' + 10,
[INFO] [stdout] | ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `digit` is imported redundantly
[INFO] [stdout] --> src/apint/serialization.rs:173:7
[INFO] [stdout] |
[INFO] [stdout] 4 | use digit;
[INFO] [stdout] | ----- the item `digit` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 173 | use digit;
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `digit` is imported redundantly
[INFO] [stdout] --> src/apint/serialization.rs:197:7
[INFO] [stdout] |
[INFO] [stdout] 4 | use digit;
[INFO] [stdout] | ----- the item `digit` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 197 | use digit;
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `digit` is imported redundantly
[INFO] [stdout] --> src/apint/serialization.rs:238:7
[INFO] [stdout] |
[INFO] [stdout] 4 | use digit;
[INFO] [stdout] | ----- the item `digit` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 238 | use digit;
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/apint/serialization.rs:269:14
[INFO] [stdout] |
[INFO] [stdout] 269 | let mut carry = 0;
[INFO] [stdout] | ----^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: taking a mutable reference to a `const` item
[INFO] [stdout] --> src/digit.rs:793:16
[INFO] [stdout] |
[INFO] [stdout] 793 | assert_eq!(digit::ONES.set(pos), expected_err);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default
[INFO] [stdout] = note: each usage of a `const` item creates a new temporary
[INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item
[INFO] [stdout] note: mutable reference created due to call to this method
[INFO] [stdout] --> src/digit.rs:361:2
[INFO] [stdout] |
[INFO] [stdout] 361 | pub fn set
(&mut self, pos: P) -> Result<()>
[INFO] [stdout] | _____^
[INFO] [stdout] 362 | | where P: Into
[INFO] [stdout] | |_____________________________^
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout] --> src/digit.rs:47:1
[INFO] [stdout] |
[INFO] [stdout] 47 | pub(crate) const ONES: Digit = Digit(REPR_ONES);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: taking a mutable reference to a `const` item
[INFO] [stdout] --> src/digit.rs:794:16
[INFO] [stdout] |
[INFO] [stdout] 794 | assert_eq!(digit::ZERO.set(pos), expected_err);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: each usage of a `const` item creates a new temporary
[INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item
[INFO] [stdout] note: mutable reference created due to call to this method
[INFO] [stdout] --> src/digit.rs:361:2
[INFO] [stdout] |
[INFO] [stdout] 361 | pub fn set(&mut self, pos: P) -> Result<()>
[INFO] [stdout] | _____^
[INFO] [stdout] 362 | | where P: Into
[INFO] [stdout] | |_____________________________^
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout] --> src/digit.rs:46:1
[INFO] [stdout] |
[INFO] [stdout] 46 | pub(crate) const ZERO: Digit = Digit(REPR_ZERO);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `from_hi_lo`
[INFO] [stdout] --> src/digit.rs:194:16
[INFO] [stdout] |
[INFO] [stdout] 194 | pub(crate) fn from_hi_lo(hi: Digit, lo: Digit) -> DoubleDigit {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:353:22
[INFO] [stdout] |
[INFO] [stdout] 353 | let buffer = val.into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] ...
[INFO] [stdout] 367 | impl_from_array_for_apint!(2); // 128 bits
[INFO] [stdout] | ------------------------------ in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:353:22
[INFO] [stdout] |
[INFO] [stdout] 353 | let buffer = val.into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] ...
[INFO] [stdout] 368 | impl_from_array_for_apint!(3); // 192 bits
[INFO] [stdout] | ------------------------------ in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:353:22
[INFO] [stdout] |
[INFO] [stdout] 353 | let buffer = val.into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] ...
[INFO] [stdout] 369 | impl_from_array_for_apint!(4); // 256 bits
[INFO] [stdout] | ------------------------------ in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:353:22
[INFO] [stdout] |
[INFO] [stdout] 353 | let buffer = val.into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] ...
[INFO] [stdout] 370 | impl_from_array_for_apint!(5); // 320 bits
[INFO] [stdout] | ------------------------------ in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:353:22
[INFO] [stdout] |
[INFO] [stdout] 353 | let buffer = val.into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] ...
[INFO] [stdout] 371 | impl_from_array_for_apint!(6); // 384 bits
[INFO] [stdout] | ------------------------------ in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:353:22
[INFO] [stdout] |
[INFO] [stdout] 353 | let buffer = val.into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] ...
[INFO] [stdout] 372 | impl_from_array_for_apint!(7); // 448 bits
[INFO] [stdout] | ------------------------------ in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:353:22
[INFO] [stdout] |
[INFO] [stdout] 353 | let buffer = val.into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] ...
[INFO] [stdout] 373 | impl_from_array_for_apint!(8); // 512 bits
[INFO] [stdout] | ------------------------------ in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:353:22
[INFO] [stdout] |
[INFO] [stdout] 353 | let buffer = val.into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] ...
[INFO] [stdout] 374 | impl_from_array_for_apint!(16); // 1024 bits
[INFO] [stdout] | ------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:353:22
[INFO] [stdout] |
[INFO] [stdout] 353 | let buffer = val.into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] ...
[INFO] [stdout] 375 | impl_from_array_for_apint!(32); // 2048 bits
[INFO] [stdout] | ------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/apint/serialization.rs:269:14
[INFO] [stdout] |
[INFO] [stdout] 269 | let mut carry = 0;
[INFO] [stdout] | ----^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:353:22
[INFO] [stdout] |
[INFO] [stdout] 353 | let buffer = val.into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] ...
[INFO] [stdout] 367 | impl_from_array_for_apint!(2); // 128 bits
[INFO] [stdout] | ------------------------------ in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:353:22
[INFO] [stdout] |
[INFO] [stdout] 353 | let buffer = val.into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] ...
[INFO] [stdout] 368 | impl_from_array_for_apint!(3); // 192 bits
[INFO] [stdout] | ------------------------------ in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:353:22
[INFO] [stdout] |
[INFO] [stdout] 353 | let buffer = val.into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] ...
[INFO] [stdout] 369 | impl_from_array_for_apint!(4); // 256 bits
[INFO] [stdout] | ------------------------------ in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:353:22
[INFO] [stdout] |
[INFO] [stdout] 353 | let buffer = val.into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] ...
[INFO] [stdout] 370 | impl_from_array_for_apint!(5); // 320 bits
[INFO] [stdout] | ------------------------------ in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:353:22
[INFO] [stdout] |
[INFO] [stdout] 353 | let buffer = val.into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] ...
[INFO] [stdout] 371 | impl_from_array_for_apint!(6); // 384 bits
[INFO] [stdout] | ------------------------------ in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:353:22
[INFO] [stdout] |
[INFO] [stdout] 353 | let buffer = val.into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] ...
[INFO] [stdout] 372 | impl_from_array_for_apint!(7); // 448 bits
[INFO] [stdout] | ------------------------------ in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:353:22
[INFO] [stdout] |
[INFO] [stdout] 353 | let buffer = val.into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] ...
[INFO] [stdout] 373 | impl_from_array_for_apint!(8); // 512 bits
[INFO] [stdout] | ------------------------------ in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:353:22
[INFO] [stdout] |
[INFO] [stdout] 353 | let buffer = val.into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] ...
[INFO] [stdout] 374 | impl_from_array_for_apint!(16); // 1024 bits
[INFO] [stdout] | ------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:353:22
[INFO] [stdout] |
[INFO] [stdout] 353 | let buffer = val.into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] ...
[INFO] [stdout] 375 | impl_from_array_for_apint!(32); // 2048 bits
[INFO] [stdout] | ------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:435:6
[INFO] [stdout] |
[INFO] [stdout] 435 | ].into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:487:6
[INFO] [stdout] |
[INFO] [stdout] 487 | ].into_iter().map(|v| *v))
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:518:6
[INFO] [stdout] |
[INFO] [stdout] 518 | ].into_iter().map(|v| *v))
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:549:6
[INFO] [stdout] |
[INFO] [stdout] 549 | ].into_iter().map(|v| *v))
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:580:6
[INFO] [stdout] |
[INFO] [stdout] 580 | ].into_iter().map(|v| *v))
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:634:5
[INFO] [stdout] |
[INFO] [stdout] 634 | .into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:675:5
[INFO] [stdout] |
[INFO] [stdout] 675 | .into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/constructors.rs:689:5
[INFO] [stdout] |
[INFO] [stdout] 689 | .into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/arithmetic.rs:493:45
[INFO] [stdout] |
[INFO] [stdout] 493 | 1337, 123123, 999999, 987432, 77216417].into_iter().map(|v| *v)
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout] --> src/apint/serialization.rs:478:33
[INFO] [stdout] |
[INFO] [stdout] 478 | [2, 4, 8, 16, 32, 7, 10, 36].into_iter().map(|&r| Radix::new(r).unwrap())
[INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #66145
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 28 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.83s
[INFO] running `Command { std: "docker" "inspect" "834b10f1caba79962de9e01592cf2c0030b858c530a551d75168e0836ed56f3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "834b10f1caba79962de9e01592cf2c0030b858c530a551d75168e0836ed56f3b", kill_on_drop: false }`
[INFO] [stdout] 834b10f1caba79962de9e01592cf2c0030b858c530a551d75168e0836ed56f3b