[INFO] fetching crate stable-pattern 0.1.0... [INFO] testing stable-pattern-0.1.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate stable-pattern 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate stable-pattern 0.1.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate stable-pattern 0.1.0 [INFO] finished tweaking crates.io crate stable-pattern 0.1.0 [INFO] tweaked toml for crates.io crate stable-pattern 0.1.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7a1aaf6443e0bca2b06ed695b8ebcb1889e6e96237c22bf4c34a2d5069af2ee [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" "b7a1aaf6443e0bca2b06ed695b8ebcb1889e6e96237c22bf4c34a2d5069af2ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7a1aaf6443e0bca2b06ed695b8ebcb1889e6e96237c22bf4c34a2d5069af2ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7a1aaf6443e0bca2b06ed695b8ebcb1889e6e96237c22bf4c34a2d5069af2ee", kill_on_drop: false }` [INFO] [stdout] b7a1aaf6443e0bca2b06ed695b8ebcb1889e6e96237c22bf4c34a2d5069af2ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2faf0bd5d53b40a10cdfcfdc2f21fd097bece4bca3ab8d69e744beca7cc67913 [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" "2faf0bd5d53b40a10cdfcfdc2f21fd097bece4bca3ab8d69e744beca7cc67913", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.03s [INFO] running `Command { std: "docker" "inspect" "2faf0bd5d53b40a10cdfcfdc2f21fd097bece4bca3ab8d69e744beca7cc67913", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2faf0bd5d53b40a10cdfcfdc2f21fd097bece4bca3ab8d69e744beca7cc67913", kill_on_drop: false }` [INFO] [stdout] 2faf0bd5d53b40a10cdfcfdc2f21fd097bece4bca3ab8d69e744beca7cc67913 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e6f171508a8e7ebaa77093b1114e5f99669d2b9ca65a1ecd02606e061d03c8d [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" "4e6f171508a8e7ebaa77093b1114e5f99669d2b9ca65a1ecd02606e061d03c8d", kill_on_drop: false }` [INFO] [stderr] Compiling stable-pattern v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `Command { std: "docker" "inspect" "4e6f171508a8e7ebaa77093b1114e5f99669d2b9ca65a1ecd02606e061d03c8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e6f171508a8e7ebaa77093b1114e5f99669d2b9ca65a1ecd02606e061d03c8d", kill_on_drop: false }` [INFO] [stdout] 4e6f171508a8e7ebaa77093b1114e5f99669d2b9ca65a1ecd02606e061d03c8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 205b42dd8cb415ebdaba1e1e67f3e2460c58786c11fdcea96fdba2f11d90857a [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" "205b42dd8cb415ebdaba1e1e67f3e2460c58786c11fdcea96fdba2f11d90857a", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/stable_pattern-ee8b1d4ed39e7974) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests stable-pattern [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/split.rs - split::SplitTerminator::as_str (line 439) ... FAILED [INFO] [stdout] test src/split.rs - split::RSplitTerminator::as_str (line 458) ... FAILED [INFO] [stdout] test src/split.rs - split::Split::as_str (line 385) ... FAILED [INFO] [stdout] test src/split.rs - split::RSplit::as_str (line 404) ... FAILED [INFO] [stdout] test src/split.rs - split::RSplitN::as_str (line 575) ... FAILED [INFO] [stdout] test src/split.rs - split::SplitN::as_str (line 556) ... FAILED [INFO] [stdout] test src/pattern.rs - pattern::&'b [char] (line 772) ... ok [INFO] [stdout] test src/pattern.rs - pattern::char (line 521) ... ok [INFO] [stdout] test src/pattern.rs - pattern (line 18) ... ok [INFO] [stdout] test src/pattern.rs - pattern::&'b str (line 852) ... ok [INFO] [stdout] test src/pattern.rs - pattern::F (line 821) ... ok [INFO] [stdout] test src/pattern.rs - pattern::Pattern (line 65) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/split.rs - split::SplitTerminator::as_str (line 439) stdout ---- [INFO] [stdout] error[E0658]: use of unstable library feature 'str_split_as_str' [INFO] [stdout] --> src/split.rs:441:18 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(split.as_str(), "A..B.."); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #77998 for more information [INFO] [stdout] = help: add `#![feature(str_split_as_str)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'str_split_as_str' [INFO] [stdout] --> src/split.rs:443:18 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(split.as_str(), ".B.."); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #77998 for more information [INFO] [stdout] = help: add `#![feature(str_split_as_str)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'str_split_as_str' [INFO] [stdout] --> src/split.rs:445:18 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(split.as_str(), ""); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #77998 for more information [INFO] [stdout] = help: add `#![feature(str_split_as_str)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/split.rs - split::RSplitTerminator::as_str (line 458) stdout ---- [INFO] [stdout] error[E0658]: use of unstable library feature 'str_split_as_str' [INFO] [stdout] --> src/split.rs:460:18 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(split.as_str(), "A..B.."); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #77998 for more information [INFO] [stdout] = help: add `#![feature(str_split_as_str)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'str_split_as_str' [INFO] [stdout] --> src/split.rs:462:18 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(split.as_str(), "A..B"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #77998 for more information [INFO] [stdout] = help: add `#![feature(str_split_as_str)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'str_split_as_str' [INFO] [stdout] --> src/split.rs:464:18 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(split.as_str(), ""); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #77998 for more information [INFO] [stdout] = help: add `#![feature(str_split_as_str)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/split.rs - split::Split::as_str (line 385) stdout ---- [INFO] [stdout] error[E0658]: use of unstable library feature 'str_split_as_str' [INFO] [stdout] --> src/split.rs:387:18 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(split.as_str(), "Mary had a little lamb"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #77998 for more information [INFO] [stdout] = help: add `#![feature(str_split_as_str)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'str_split_as_str' [INFO] [stdout] --> src/split.rs:389:18 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(split.as_str(), "had a little lamb"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #77998 for more information [INFO] [stdout] = help: add `#![feature(str_split_as_str)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'str_split_as_str' [INFO] [stdout] --> src/split.rs:391:18 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(split.as_str(), ""); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #77998 for more information [INFO] [stdout] = help: add `#![feature(str_split_as_str)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/split.rs - split::RSplit::as_str (line 404) stdout ---- [INFO] [stdout] error[E0658]: use of unstable library feature 'str_split_as_str' [INFO] [stdout] --> src/split.rs:406:18 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(split.as_str(), "Mary had a little lamb"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #77998 for more information [INFO] [stdout] = help: add `#![feature(str_split_as_str)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'str_split_as_str' [INFO] [stdout] --> src/split.rs:408:18 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(split.as_str(), "Mary had a little"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #77998 for more information [INFO] [stdout] = help: add `#![feature(str_split_as_str)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'str_split_as_str' [INFO] [stdout] --> src/split.rs:410:18 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(split.as_str(), ""); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #77998 for more information [INFO] [stdout] = help: add `#![feature(str_split_as_str)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/split.rs - split::RSplitN::as_str (line 575) stdout ---- [INFO] [stdout] error[E0658]: use of unstable library feature 'str_split_as_str' [INFO] [stdout] --> src/split.rs:577:18 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(split.as_str(), "Mary had a little lamb"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #77998 for more information [INFO] [stdout] = help: add `#![feature(str_split_as_str)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'str_split_as_str' [INFO] [stdout] --> src/split.rs:579:18 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(split.as_str(), "Mary had a little"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #77998 for more information [INFO] [stdout] = help: add `#![feature(str_split_as_str)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'str_split_as_str' [INFO] [stdout] --> src/split.rs:581:18 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(split.as_str(), ""); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #77998 for more information [INFO] [stdout] = help: add `#![feature(str_split_as_str)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/split.rs - split::SplitN::as_str (line 556) stdout ---- [INFO] [stdout] error[E0658]: use of unstable library feature 'str_split_as_str' [INFO] [stdout] --> src/split.rs:558:18 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(split.as_str(), "Mary had a little lamb"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #77998 for more information [INFO] [stdout] = help: add `#![feature(str_split_as_str)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'str_split_as_str' [INFO] [stdout] --> src/split.rs:560:18 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(split.as_str(), "had a little lamb"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #77998 for more information [INFO] [stdout] = help: add `#![feature(str_split_as_str)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'str_split_as_str' [INFO] [stdout] --> src/split.rs:562:18 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(split.as_str(), ""); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #77998 for more information [INFO] [stdout] = help: add `#![feature(str_split_as_str)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/split.rs - split::RSplit::as_str (line 404) [INFO] [stdout] src/split.rs - split::RSplitN::as_str (line 575) [INFO] [stdout] src/split.rs - split::RSplitTerminator::as_str (line 458) [INFO] [stdout] src/split.rs - split::Split::as_str (line 385) [INFO] [stdout] src/split.rs - split::SplitN::as_str (line 556) [INFO] [stdout] src/split.rs - split::SplitTerminator::as_str (line 439) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 6 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.15s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "205b42dd8cb415ebdaba1e1e67f3e2460c58786c11fdcea96fdba2f11d90857a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "205b42dd8cb415ebdaba1e1e67f3e2460c58786c11fdcea96fdba2f11d90857a", kill_on_drop: false }` [INFO] [stdout] 205b42dd8cb415ebdaba1e1e67f3e2460c58786c11fdcea96fdba2f11d90857a