[INFO] fetching crate codepage-437 0.1.0... [INFO] checking codepage-437-0.1.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate codepage-437 0.1.0 into /workspace/builds/worker-3-tc2/source [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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate codepage-437 0.1.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79a29f93bb52236da91bc2ec071d6e1a3760e87a7f95e761b0398a009b512235 [INFO] running `Command { std: "docker" "start" "-a" "79a29f93bb52236da91bc2ec071d6e1a3760e87a7f95e761b0398a009b512235", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79a29f93bb52236da91bc2ec071d6e1a3760e87a7f95e761b0398a009b512235", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79a29f93bb52236da91bc2ec071d6e1a3760e87a7f95e761b0398a009b512235", kill_on_drop: false }` [INFO] [stdout] 79a29f93bb52236da91bc2ec071d6e1a3760e87a7f95e761b0398a009b512235 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 161cf0d18753a6ec0decbc74f8258f0785344f4feb2095bfc606c13f8ff014de [INFO] running `Command { std: "docker" "start" "-a" "161cf0d18753a6ec0decbc74f8258f0785344f4feb2095bfc606c13f8ff014de", 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 memchr v2.7.5 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [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 6.68s [INFO] running `Command { std: "docker" "inspect" "161cf0d18753a6ec0decbc74f8258f0785344f4feb2095bfc606c13f8ff014de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "161cf0d18753a6ec0decbc74f8258f0785344f4feb2095bfc606c13f8ff014de", kill_on_drop: false }` [INFO] [stdout] 161cf0d18753a6ec0decbc74f8258f0785344f4feb2095bfc606c13f8ff014de