[INFO] cloning repository https://github.com/D0liphin/fast_der_regex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/D0liphin/fast_der_regex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FD0liphin%2Ffast_der_regex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FD0liphin%2Ffast_der_regex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec798deba92fe580119670d4382a02eda4d238fa [INFO] checking D0liphin/fast_der_regex/ec798deba92fe580119670d4382a02eda4d238fa against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FD0liphin%2Ffast_der_regex" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/D0liphin/fast_der_regex on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/D0liphin/fast_der_regex [INFO] finished tweaking git repo https://github.com/D0liphin/fast_der_regex [INFO] tweaked toml for git repo https://github.com/D0liphin/fast_der_regex written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/D0liphin/fast_der_regex already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cb0f105d18c94ceb2e0561a468532be08fc260e9fb5f1e23758276bed8616a0 [INFO] running `Command { std: "docker" "start" "-a" "5cb0f105d18c94ceb2e0561a468532be08fc260e9fb5f1e23758276bed8616a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cb0f105d18c94ceb2e0561a468532be08fc260e9fb5f1e23758276bed8616a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cb0f105d18c94ceb2e0561a468532be08fc260e9fb5f1e23758276bed8616a0", kill_on_drop: false }` [INFO] [stdout] 5cb0f105d18c94ceb2e0561a468532be08fc260e9fb5f1e23758276bed8616a0 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff79b68d84cdf618eef6e020d77c0996521f389af5f994af6597bf1cbe734d8d [INFO] running `Command { std: "docker" "start" "-a" "ff79b68d84cdf618eef6e020d77c0996521f389af5f994af6597bf1cbe734d8d", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking fast_regex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/regex/test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `nullable`, `const_eq`, and `eq` are never used [INFO] [stdout] --> src/regex/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Re { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 23 | // TODO: make #[tailcall] [INFO] [stdout] 24 | pub fn nullable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | unsafe fn const_eq(lhs: Const, rhs: Const) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | unsafe fn eq(&self, other: &Self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alloc` is never read [INFO] [stdout] --> src/regex/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Regex<'parent> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | alloc: VecAlloc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_alloc` is never used [INFO] [stdout] --> src/regex/mod.rs:170:4 [INFO] [stdout] | [INFO] [stdout] 170 | fn try_alloc(alloc: &mut VecAlloc, value: Re) -> Result, ()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/regex/mod.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl<'a> Regex<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn alloc(&self) -> &VecAlloc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub unsafe fn alloc_mut(&mut self) -> &mut VecAlloc { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub unsafe fn tree_mut(&mut self) -> &mut Const { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn child(&'a self) -> Regex<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn nullable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | unsafe fn rebuild_with(alloc: &mut VecAlloc, r: Const) -> Const { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn clone(&self) -> Regex<'static> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | unsafe fn der_rec<'b>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn der<'b>(&'b self, c: char) -> Regex<'b> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | unsafe fn simp_rec( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn simp<'b>(&'b self) -> Regex<'b> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 412 | fn ders(r: Regex<'static>, cs: &[char]) -> Regex<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | pub fn is_match(&self, s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone_static` is never used [INFO] [stdout] --> src/regex/mod.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 440 | impl Regex<'static> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 441 | pub fn clone_static(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `dangling`, `ptr_eq`, and `eq` are never used [INFO] [stdout] --> src/regex/const_ptr.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Const { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn dangling() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn ptr_eq(self, rhs: Self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub unsafe fn eq(self, rhs: Self, inner_eq: impl Fn(&T, &T) -> bool) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `re`, `alt`, and `star` are never used [INFO] [stdout] --> src/regex/build_plan.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait ImplicitRe: Into { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 22 | fn re(self) -> Re { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn alt(self, rhs: impl ImplicitRe) -> Re { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn star(self) -> Re { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ptr` and `capacity` are never read [INFO] [stdout] --> src/vec_alloc.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 26 | struct RawBuf { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 27 | ptr: *const (), [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | capacity: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawBuf` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/vec_alloc.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl RawBuf { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn get(&mut self, index: usize) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/vec_alloc.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl VecAlloc { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `nullable`, `const_eq`, and `eq` are never used [INFO] [stdout] --> src/regex/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Re { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 23 | // TODO: make #[tailcall] [INFO] [stdout] 24 | pub fn nullable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | unsafe fn const_eq(lhs: Const, rhs: Const) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | unsafe fn eq(&self, other: &Self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alloc` is never read [INFO] [stdout] --> src/regex/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Regex<'parent> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | alloc: VecAlloc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_alloc` is never used [INFO] [stdout] --> src/regex/mod.rs:170:4 [INFO] [stdout] | [INFO] [stdout] 170 | fn try_alloc(alloc: &mut VecAlloc, value: Re) -> Result, ()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/regex/mod.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl<'a> Regex<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn alloc(&self) -> &VecAlloc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub unsafe fn alloc_mut(&mut self) -> &mut VecAlloc { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub unsafe fn tree_mut(&mut self) -> &mut Const { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn child(&'a self) -> Regex<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn nullable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | unsafe fn rebuild_with(alloc: &mut VecAlloc, r: Const) -> Const { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn clone(&self) -> Regex<'static> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | unsafe fn der_rec<'b>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn der<'b>(&'b self, c: char) -> Regex<'b> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | unsafe fn simp_rec( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn simp<'b>(&'b self) -> Regex<'b> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 412 | fn ders(r: Regex<'static>, cs: &[char]) -> Regex<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | pub fn is_match(&self, s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone_static` is never used [INFO] [stdout] --> src/regex/mod.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 440 | impl Regex<'static> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 441 | pub fn clone_static(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `dangling`, `ptr_eq`, and `eq` are never used [INFO] [stdout] --> src/regex/const_ptr.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Const { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn dangling() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn ptr_eq(self, rhs: Self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub unsafe fn eq(self, rhs: Self, inner_eq: impl Fn(&T, &T) -> bool) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `re`, `alt`, and `star` are never used [INFO] [stdout] --> src/regex/build_plan.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait ImplicitRe: Into { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 22 | fn re(self) -> Re { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn alt(self, rhs: impl ImplicitRe) -> Re { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn star(self) -> Re { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ptr` and `capacity` are never read [INFO] [stdout] --> src/vec_alloc.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 26 | struct RawBuf { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 27 | ptr: *const (), [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | capacity: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawBuf` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/vec_alloc.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl RawBuf { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn get(&mut self, index: usize) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/vec_alloc.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl VecAlloc { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.02s [INFO] running `Command { std: "docker" "inspect" "ff79b68d84cdf618eef6e020d77c0996521f389af5f994af6597bf1cbe734d8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff79b68d84cdf618eef6e020d77c0996521f389af5f994af6597bf1cbe734d8d", kill_on_drop: false }` [INFO] [stdout] ff79b68d84cdf618eef6e020d77c0996521f389af5f994af6597bf1cbe734d8d