[INFO] fetching crate pattern-3 0.5.0... [INFO] checking pattern-3-0.5.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate pattern-3 0.5.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate pattern-3 0.5.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pattern-3 0.5.0 [INFO] finished tweaking crates.io crate pattern-3 0.5.0 [INFO] tweaked toml for crates.io crate pattern-3 0.5.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3bb0743110c4f61bfd6ca61753946163f55d0b3384aadaf4e15448f0462209de [INFO] running `Command { std: "docker" "start" "-a" "3bb0743110c4f61bfd6ca61753946163f55d0b3384aadaf4e15448f0462209de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3bb0743110c4f61bfd6ca61753946163f55d0b3384aadaf4e15448f0462209de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bb0743110c4f61bfd6ca61753946163f55d0b3384aadaf4e15448f0462209de", kill_on_drop: false }` [INFO] [stdout] 3bb0743110c4f61bfd6ca61753946163f55d0b3384aadaf4e15448f0462209de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25d9ed37a8c5d71cdbaf6243dc1adb718353badc1339f8a843462698edf6e621 [INFO] running `Command { std: "docker" "start" "-a" "25d9ed37a8c5d71cdbaf6243dc1adb718353badc1339f8a843462698edf6e621", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking pattern-3 v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | specialization, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/omgwtf8/wtf8.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | 0xf00000...0xffffffff => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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/omgwtf8/wtf8.rs:196:21 [INFO] [stdout] | [INFO] [stdout] 196 | 0x800000...0xbfffff => self.0 & 0x3f | self.0 >> 2 & 0x3c0 | 0xdc00, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/omgwtf8/wtf8.rs:323:31 [INFO] [stdout] | [INFO] [stdout] 323 | ascii_byte @ 0x00 ... 0x7F => ascii_byte, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `int_to_from_bytes` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | int_to_from_bytes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `iterator_find_map` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | iterator_find_map, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ptr_offset_from` has been stable since 1.47.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | ptr_offset_from, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/omgwtf8/wtf8.rs:365:17 [INFO] [stdout] | [INFO] [stdout] 365 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/omgwtf8/wtf8.rs:365:17 [INFO] [stdout] | [INFO] [stdout] 360 | 0..=0x7f => 1, [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] 361 | 0x80..=0xbf => break, [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 362 | 0xc0..=0xdf => 2, [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 363 | b @ 0xe0..=0xef => if b == 0xed && self.bytes[pos + 1] >= 0xa0 { break } else { 3 }, [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 364 | 0xf0..=0xff => if self.len() == pos + 3 { break } else { 4 }, [INFO] [stdout] 365 | _ => unreachable!(), [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/omgwtf8/wtf8.rs:634:17 [INFO] [stdout] | [INFO] [stdout] 634 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/omgwtf8/wtf8.rs:634:17 [INFO] [stdout] | [INFO] [stdout] 616 | 0x00..=0x7f => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 620 | 0x80..=0xbf | 0xe0..=0xff => { [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 629 | 0xc0..=0xdf => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 634 | _ => unreachable!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/omgwtf8/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/omgwtf8/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 33 | 0x00..=0x7f => 1, [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 34 | 0x80..=0xbf => if index == 0 { 3 } else { 2 }, [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 35 | 0xc0..=0xdf => 2, [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 36 | 0xe0..=0xef => 3, [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 37 | 0xf0..=0xff => if index + 3 == self.len() { 3 } else { 2 }, [INFO] [stdout] 38 | _ => unreachable!(), [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> tests/linked_list.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `box_into_raw_non_null` [INFO] [stdout] --> tests/linked_list.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_into_raw_non_null)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `into_raw_non_null` found for struct `Box<_, _>` in the current scope [INFO] [stdout] --> tests/linked_list.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | let node_raw = Box::into_raw_non_null(node); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `Box<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Box<_, _>` consider using one of the following associated functions: [INFO] [stdout] Box::::new [INFO] [stdout] Box::::new_uninit [INFO] [stdout] Box::::new_zeroed [INFO] [stdout] Box::::try_new [INFO] [stdout] and 22 others [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/boxed.rs:254:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `into_raw_non_null` found for struct `Box<_, _>` in the current scope [INFO] [stdout] --> tests/linked_list.rs:59:57 [INFO] [stdout] | [INFO] [stdout] 59 | let mut old_head = replace(&mut self.head, Box::into_raw_non_null(new_head)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `Box<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Box<_, _>` consider using one of the following associated functions: [INFO] [stdout] Box::::new [INFO] [stdout] Box::::new_uninit [INFO] [stdout] Box::::new_zeroed [INFO] [stdout] Box::::try_new [INFO] [stdout] and 22 others [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/boxed.rs:254:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `into_raw_non_null` found for struct `Box<_, _>` in the current scope [INFO] [stdout] --> tests/linked_list.rs:80:57 [INFO] [stdout] | [INFO] [stdout] 80 | let mut old_tail = replace(&mut self.tail, Box::into_raw_non_null(new_tail)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `Box<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Box<_, _>` consider using one of the following associated functions: [INFO] [stdout] Box::::new [INFO] [stdout] Box::::new_uninit [INFO] [stdout] Box::::new_zeroed [INFO] [stdout] Box::::try_new [INFO] [stdout] and 22 others [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/boxed.rs:254:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `into_raw_non_null` found for struct `Box<_, _>` in the current scope [INFO] [stdout] --> tests/linked_list.rs:113:33 [INFO] [stdout] | [INFO] [stdout] 113 | let new_tail = Box::into_raw_non_null(new_tail); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `Box<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Box<_, _>` consider using one of the following associated functions: [INFO] [stdout] Box::::new [INFO] [stdout] Box::::new_uninit [INFO] [stdout] Box::::new_zeroed [INFO] [stdout] Box::::try_new [INFO] [stdout] and 22 others [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/boxed.rs:254:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pattern-3` (test "linked_list") due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> benches/strings.rs:231:40 [INFO] [stdout] | [INFO] [stdout] 231 | make_test!(std_trim_left_unichar, s, s.trim_left_matches('💩'), 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 231 | make_test!(std_trim_left_unichar, s, s.trim_start_matches('💩'), 16); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> benches/strings.rs:244:41 [INFO] [stdout] | [INFO] [stdout] 244 | make_test!(std_trim_right_unichar, s, s.trim_right_matches('!'), 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 244 | make_test!(std_trim_right_unichar, s, s.trim_end_matches('!'), 16); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> benches/strings.rs:260:47 [INFO] [stdout] | [INFO] [stdout] 260 | make_test!(std_trim_left_unicode_string, s, s.trim_left_matches("💩💩"), 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 260 | make_test!(std_trim_left_unicode_string, s, s.trim_start_matches("💩💩"), 16); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> benches/strings.rs:273:46 [INFO] [stdout] | [INFO] [stdout] 273 | make_test!(std_trim_right_ascii_string, s, s.trim_right_matches("m!"), 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 273 | make_test!(std_trim_right_ascii_string, s, s.trim_end_matches("m!"), 16); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> benches/strings.rs:312:43 [INFO] [stdout] | [INFO] [stdout] 312 | make_test!(std_trim_left_ascii_char, s, s.trim_left_matches(|c: char| c.is_ascii())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 312 | make_test!(std_trim_left_ascii_char, s, s.trim_start_matches(|c: char| c.is_ascii())); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> benches/strings.rs:325:44 [INFO] [stdout] | [INFO] [stdout] 325 | make_test!(std_trim_right_ascii_char, s, s.trim_right_matches(|c: char| c.is_ascii())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 325 | make_test!(std_trim_right_ascii_char, s, s.trim_end_matches(|c: char| c.is_ascii())); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "25d9ed37a8c5d71cdbaf6243dc1adb718353badc1339f8a843462698edf6e621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25d9ed37a8c5d71cdbaf6243dc1adb718353badc1339f8a843462698edf6e621", kill_on_drop: false }` [INFO] [stdout] 25d9ed37a8c5d71cdbaf6243dc1adb718353badc1339f8a843462698edf6e621