[INFO] fetching crate rflex 0.9.0... [INFO] checking rflex-0.9.0 against master#be181dd75c83d72fcc95538e235768bc367b76b9 for pr-140208 [INFO] extracting crate rflex 0.9.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate rflex 0.9.0 on toolchain be181dd75c83d72fcc95538e235768bc367b76b9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+be181dd75c83d72fcc95538e235768bc367b76b9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rflex 0.9.0 [INFO] finished tweaking crates.io crate rflex 0.9.0 [INFO] tweaked toml for crates.io crate rflex 0.9.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate rflex 0.9.0 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" "+be181dd75c83d72fcc95538e235768bc367b76b9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+be181dd75c83d72fcc95538e235768bc367b76b9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4a72bf130eb1306d36c1ef0406834f2ea61154549a1ec48c04e6c674b9ef230 [INFO] running `Command { std: "docker" "start" "-a" "f4a72bf130eb1306d36c1ef0406834f2ea61154549a1ec48c04e6c674b9ef230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4a72bf130eb1306d36c1ef0406834f2ea61154549a1ec48c04e6c674b9ef230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4a72bf130eb1306d36c1ef0406834f2ea61154549a1ec48c04e6c674b9ef230", kill_on_drop: false }` [INFO] [stdout] f4a72bf130eb1306d36c1ef0406834f2ea61154549a1ec48c04e6c674b9ef230 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+be181dd75c83d72fcc95538e235768bc367b76b9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44d8fee50a8bbf80f2c77302322b05eaed35a8ff73f066fa52a2463add7e6e73 [INFO] running `Command { std: "docker" "start" "-a" "44d8fee50a8bbf80f2c77302322b05eaed35a8ff73f066fa52a2463add7e6e73", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling time-core v0.1.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling time-macros v0.2.20 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking anymap2 v0.13.0 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Checking time v0.3.39 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling liquid-derive v0.26.10 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Checking kstring v2.0.2 [INFO] [stderr] Checking liquid-core v0.26.11 [INFO] [stderr] Checking liquid-lib v0.26.11 [INFO] [stderr] Checking liquid v0.26.11 [INFO] [stderr] Checking rflex v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `set_end` and `set_start` are never used [INFO] [stdout] --> src/charclasses.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Interval { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn set_end(&mut self, end: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn set_start(&mut self, start: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_char` is never used [INFO] [stdout] --> src/charclasses.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl IntCharSet { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn add_char(&mut self, c: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_max_char_code`, `set_max_char_code`, and `to_string_i` are never used [INFO] [stdout] --> src/charclasses.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 382 | impl CharClasses { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 396 | pub fn get_max_char_code(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | pub fn set_max_char_code(&mut self, max_char_code: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 511 | pub fn to_string_i(&self, index: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_dot` is never used [INFO] [stdout] --> src/nfa.rs:560:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl NFA { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 560 | pub fn write_dot(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Name` is never constructed [INFO] [stdout] --> src/scanner.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum Ast { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 37 | Name(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ast` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line_num` is never read [INFO] [stdout] --> src/scanner.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct RegexScanner<'a, 'b> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 334 | chars: Chars<'a>, [INFO] [stdout] 335 | line_num: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegexScanner` 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_char_classes` is never used [INFO] [stdout] --> src/scanner.rs:354:12 [INFO] [stdout] | [INFO] [stdout] 341 | impl<'a, 'b> RegexScanner<'a, 'b> { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 354 | pub fn get_char_classes(&self) -> CharClasses { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `num` is never used [INFO] [stdout] --> src/scanner.rs:691:12 [INFO] [stdout] | [INFO] [stdout] 681 | impl Action { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 691 | pub fn num(num: i32) -> Action { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrorKind` [INFO] [stdout] 9 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKind` [INFO] [stdout] 9 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | for cause in failure::Fail::iter_chain(&e) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | for cause in ::iter_chain(&e) { [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | for cause in failure::Fail::iter_chain(&e) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | for cause in ::iter_chain(&e) { [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_end` and `set_start` are never used [INFO] [stdout] --> src/charclasses.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Interval { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn set_end(&mut self, end: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn set_start(&mut self, start: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_max_char_code` and `set_max_char_code` are never used [INFO] [stdout] --> src/charclasses.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 382 | impl CharClasses { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 396 | pub fn get_max_char_code(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | pub fn set_max_char_code(&mut self, max_char_code: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Name` is never constructed [INFO] [stdout] --> src/scanner.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum Ast { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 37 | Name(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ast` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line_num` is never read [INFO] [stdout] --> src/scanner.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct RegexScanner<'a, 'b> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 334 | chars: Chars<'a>, [INFO] [stdout] 335 | line_num: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegexScanner` 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_char_classes` is never used [INFO] [stdout] --> src/scanner.rs:354:12 [INFO] [stdout] | [INFO] [stdout] 341 | impl<'a, 'b> RegexScanner<'a, 'b> { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 354 | pub fn get_char_classes(&self) -> CharClasses { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrorKind` [INFO] [stdout] 9 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKind` [INFO] [stdout] 9 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.57s [INFO] running `Command { std: "docker" "inspect" "44d8fee50a8bbf80f2c77302322b05eaed35a8ff73f066fa52a2463add7e6e73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44d8fee50a8bbf80f2c77302322b05eaed35a8ff73f066fa52a2463add7e6e73", kill_on_drop: false }` [INFO] [stdout] 44d8fee50a8bbf80f2c77302322b05eaed35a8ff73f066fa52a2463add7e6e73