[INFO] fetching crate pattern-3 0.5.0... [INFO] checking pattern-3-0.5.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate pattern-3 0.5.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate pattern-3 0.5.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90d064d8f1592fc258dc1a34652ec4d47c3ccc172e2bca3418f1c7938f9b80cb [INFO] running `Command { std: "docker" "start" "-a" "90d064d8f1592fc258dc1a34652ec4d47c3ccc172e2bca3418f1c7938f9b80cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90d064d8f1592fc258dc1a34652ec4d47c3ccc172e2bca3418f1c7938f9b80cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90d064d8f1592fc258dc1a34652ec4d47c3ccc172e2bca3418f1c7938f9b80cb", kill_on_drop: false }` [INFO] [stdout] 90d064d8f1592fc258dc1a34652ec4d47c3ccc172e2bca3418f1c7938f9b80cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9487a5c585fffe3064e1c0046a6b606a76d9fecaf709311ff035d823f22f0bf3 [INFO] running `Command { std: "docker" "start" "-a" "9487a5c585fffe3064e1c0046a6b606a76d9fecaf709311ff035d823f22f0bf3", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [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] | ^ [INFO] [stdout] | [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] | ^ [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] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex v1.10.4 [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 18 others [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/boxed.rs:216: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 18 others [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/boxed.rs:216: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 18 others [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/boxed.rs:216: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 18 others [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/boxed.rs:216: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" "9487a5c585fffe3064e1c0046a6b606a76d9fecaf709311ff035d823f22f0bf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9487a5c585fffe3064e1c0046a6b606a76d9fecaf709311ff035d823f22f0bf3", kill_on_drop: false }` [INFO] [stdout] 9487a5c585fffe3064e1c0046a6b606a76d9fecaf709311ff035d823f22f0bf3