[INFO] fetching crate codepage-437 0.1.0... [INFO] checking codepage-437-0.1.0 against master#8f43b85954d2f3d8fc00a7504c603e5ca9eb0695 for pr-133502-5 [INFO] extracting crate codepage-437 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate codepage-437 0.1.0 on toolchain 8f43b85954d2f3d8fc00a7504c603e5ca9eb0695 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f43b85954d2f3d8fc00a7504c603e5ca9eb0695" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate codepage-437 0.1.0 [INFO] finished tweaking crates.io crate codepage-437 0.1.0 [INFO] tweaked toml for crates.io crate codepage-437 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f43b85954d2f3d8fc00a7504c603e5ca9eb0695" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f43b85954d2f3d8fc00a7504c603e5ca9eb0695" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+8f43b85954d2f3d8fc00a7504c603e5ca9eb0695" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0734debb14807737651a59153d457d07c231fffe3d030905cd720a7d7e88213 [INFO] running `Command { std: "docker" "start" "-a" "c0734debb14807737651a59153d457d07c231fffe3d030905cd720a7d7e88213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0734debb14807737651a59153d457d07c231fffe3d030905cd720a7d7e88213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0734debb14807737651a59153d457d07c231fffe3d030905cd720a7d7e88213", kill_on_drop: false }` [INFO] [stdout] c0734debb14807737651a59153d457d07c231fffe3d030905cd720a7d7e88213 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+8f43b85954d2f3d8fc00a7504c603e5ca9eb0695" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 558806c7fe85c2c01acdf1ef855e5676fcf563d96429183c5bbdff2cfc07b8dc [INFO] running `Command { std: "docker" "start" "-a" "558806c7fe85c2c01acdf1ef855e5676fcf563d96429183c5bbdff2cfc07b8dc", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling codepage-437 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/dialect.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | self.overlap_unicode == other.overlap_unicode && // align [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 96 - self.overlap_unicode == other.overlap_unicode && // align [INFO] [stdout] 96 + std::ptr::fn_addr_eq(self.overlap_unicode, other.overlap_unicode) && // align [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/dialect.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | self.overlap_cp437 == other.overlap_cp437 && // align [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 97 - self.overlap_cp437 == other.overlap_cp437 && // align [INFO] [stdout] 97 + std::ptr::fn_addr_eq(self.overlap_cp437, other.overlap_cp437) && // align [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/dialect.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | self.encode == other.encode && // align [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 98 - self.encode == other.encode && // align [INFO] [stdout] 98 + std::ptr::fn_addr_eq(self.encode, other.encode) && // align [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/dialect.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | .then(self.overlap_unicode.cmp(&other.overlap_unicode)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/dialect.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | .then(self.overlap_cp437.cmp(&other.overlap_cp437)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/dialect.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | .then(self.encode.cmp(&other.encode)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/dialect.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | self.overlap_unicode == other.overlap_unicode && // align [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 96 - self.overlap_unicode == other.overlap_unicode && // align [INFO] [stdout] 96 + std::ptr::fn_addr_eq(self.overlap_unicode, other.overlap_unicode) && // align [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/dialect.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | self.overlap_cp437 == other.overlap_cp437 && // align [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 97 - self.overlap_cp437 == other.overlap_cp437 && // align [INFO] [stdout] 97 + std::ptr::fn_addr_eq(self.overlap_cp437, other.overlap_cp437) && // align [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/dialect.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | self.encode == other.encode && // align [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 98 - self.encode == other.encode && // align [INFO] [stdout] 98 + std::ptr::fn_addr_eq(self.encode, other.encode) && // align [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/dialect.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | .then(self.overlap_unicode.cmp(&other.overlap_unicode)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/dialect.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | .then(self.overlap_cp437.cmp(&other.overlap_cp437)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/dialect.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | .then(self.encode.cmp(&other.encode)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> tests/cp437_wingdings/encode/to_cp437/borrowing.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | assert!(is_borrowed(&[c].into_iter().collect::().to_cp437(&CP437_WINGDINGS).unwrap())); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 12 - assert!(is_borrowed(&[c].into_iter().collect::().to_cp437(&CP437_WINGDINGS).unwrap())); [INFO] [stdout] 12 + assert!(is_borrowed(&[c].iter().collect::().to_cp437(&CP437_WINGDINGS).unwrap())); [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 12 - assert!(is_borrowed(&[c].into_iter().collect::().to_cp437(&CP437_WINGDINGS).unwrap())); [INFO] [stdout] 12 + assert!(is_borrowed(&IntoIterator::into_iter([c]).collect::().to_cp437(&CP437_WINGDINGS).unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> tests/cp437_wingdings/encode/to_cp437/borrowing.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | assert!(!is_borrowed(&[c].into_iter().collect::().to_cp437(&CP437_WINGDINGS).unwrap())); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 23 - assert!(!is_borrowed(&[c].into_iter().collect::().to_cp437(&CP437_WINGDINGS).unwrap())); [INFO] [stdout] 23 + assert!(!is_borrowed(&[c].iter().collect::().to_cp437(&CP437_WINGDINGS).unwrap())); [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 23 - assert!(!is_borrowed(&[c].into_iter().collect::().to_cp437(&CP437_WINGDINGS).unwrap())); [INFO] [stdout] 23 + assert!(!is_borrowed(&IntoIterator::into_iter([c]).collect::().to_cp437(&CP437_WINGDINGS).unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> tests/cp437_wingdings/encode/to_cp437/borrowing.rs:42:47 [INFO] [stdout] | [INFO] [stdout] 42 | assert!(!is_borrowed(&[c, new_beyond].into_iter().collect::().to_cp437(&CP437_WINGDINGS).unwrap())); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 42 - assert!(!is_borrowed(&[c, new_beyond].into_iter().collect::().to_cp437(&CP437_WINGDINGS).unwrap())); [INFO] [stdout] 42 + assert!(!is_borrowed(&[c, new_beyond].iter().collect::().to_cp437(&CP437_WINGDINGS).unwrap())); [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 42 - assert!(!is_borrowed(&[c, new_beyond].into_iter().collect::().to_cp437(&CP437_WINGDINGS).unwrap())); [INFO] [stdout] 42 + assert!(!is_borrowed(&IntoIterator::into_iter([c, new_beyond]).collect::().to_cp437(&CP437_WINGDINGS).unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> tests/cp437_control/encode/to_cp437/borrowing.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | assert!(is_borrowed(&[c].into_iter().collect::().to_cp437(&CP437_CONTROL).unwrap())); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 12 - assert!(is_borrowed(&[c].into_iter().collect::().to_cp437(&CP437_CONTROL).unwrap())); [INFO] [stdout] 12 + assert!(is_borrowed(&[c].iter().collect::().to_cp437(&CP437_CONTROL).unwrap())); [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 12 - assert!(is_borrowed(&[c].into_iter().collect::().to_cp437(&CP437_CONTROL).unwrap())); [INFO] [stdout] 12 + assert!(is_borrowed(&IntoIterator::into_iter([c]).collect::().to_cp437(&CP437_CONTROL).unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> tests/cp437_control/encode/to_cp437/borrowing.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | assert!(!is_borrowed(&[c].into_iter().collect::().to_cp437(&CP437_CONTROL).unwrap())); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 23 - assert!(!is_borrowed(&[c].into_iter().collect::().to_cp437(&CP437_CONTROL).unwrap())); [INFO] [stdout] 23 + assert!(!is_borrowed(&[c].iter().collect::().to_cp437(&CP437_CONTROL).unwrap())); [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 23 - assert!(!is_borrowed(&[c].into_iter().collect::().to_cp437(&CP437_CONTROL).unwrap())); [INFO] [stdout] 23 + assert!(!is_borrowed(&IntoIterator::into_iter([c]).collect::().to_cp437(&CP437_CONTROL).unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> tests/cp437_control/encode/to_cp437/borrowing.rs:42:47 [INFO] [stdout] | [INFO] [stdout] 42 | assert!(!is_borrowed(&[c, new_beyond].into_iter().collect::().to_cp437(&CP437_CONTROL).unwrap())); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 42 - assert!(!is_borrowed(&[c, new_beyond].into_iter().collect::().to_cp437(&CP437_CONTROL).unwrap())); [INFO] [stdout] 42 + assert!(!is_borrowed(&[c, new_beyond].iter().collect::().to_cp437(&CP437_CONTROL).unwrap())); [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 42 - assert!(!is_borrowed(&[c, new_beyond].into_iter().collect::().to_cp437(&CP437_CONTROL).unwrap())); [INFO] [stdout] 42 + assert!(!is_borrowed(&IntoIterator::into_iter([c, new_beyond]).collect::().to_cp437(&CP437_CONTROL).unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.94s [INFO] running `Command { std: "docker" "inspect" "558806c7fe85c2c01acdf1ef855e5676fcf563d96429183c5bbdff2cfc07b8dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "558806c7fe85c2c01acdf1ef855e5676fcf563d96429183c5bbdff2cfc07b8dc", kill_on_drop: false }` [INFO] [stdout] 558806c7fe85c2c01acdf1ef855e5676fcf563d96429183c5bbdff2cfc07b8dc