[INFO] cloning repository https://github.com/rustodo/rustodo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rustodo/rustodo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustodo%2Frustodo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustodo%2Frustodo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e0197b401d442a091024137245f36d7fbbcd232 [INFO] testing rustodo/rustodo/2e0197b401d442a091024137245f36d7fbbcd232 against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustodo%2Frustodo" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rustodo/rustodo [INFO] finished tweaking git repo https://github.com/rustodo/rustodo [INFO] tweaked toml for git repo https://github.com/rustodo/rustodo written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rustodo/rustodo on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rustodo/rustodo 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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-traits v0.2.4 [INFO] [stderr] Downloaded num-integer v0.1.38 [INFO] [stderr] Downloaded time v0.1.40 [INFO] [stderr] Downloaded lazy_static v1.0.1 [INFO] [stderr] Downloaded libc v0.2.42 [INFO] [stderr] Downloaded chrono v0.4.3 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f00b45528bdafc931b302b6a84935b01b75ee10a4c01490da6e7c12e077a0924 [INFO] running `Command { std: "docker" "start" "-a" "f00b45528bdafc931b302b6a84935b01b75ee10a4c01490da6e7c12e077a0924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f00b45528bdafc931b302b6a84935b01b75ee10a4c01490da6e7c12e077a0924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f00b45528bdafc931b302b6a84935b01b75ee10a4c01490da6e7c12e077a0924", kill_on_drop: false }` [INFO] [stdout] f00b45528bdafc931b302b6a84935b01b75ee10a4c01490da6e7c12e077a0924 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ced50f92d3eb3d54f15dd8c19d4e9d6837e4c072daa0710688110315ea4b7d77 [INFO] running `Command { std: "docker" "start" "-a" "ced50f92d3eb3d54f15dd8c19d4e9d6837e4c072daa0710688110315ea4b7d77", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazy_static v1.0.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling chrono v0.4.3 [INFO] [stderr] Compiling rustodo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/tokens.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | / ... lazy_static! { [INFO] [stdout] 19 | | ... static ref TOKENS_REGEX: Regex = Regex::new(r"^(?Px )?(?P\([A-Z]\) )?(?P\d{4}-\d{2}-\d{2} )?(?... [INFO] [stdout] 20 | | ... } [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/description_component.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref PROJECT_REGEX : Regex = Regex::new(r"^\+(?P[^\s]+)").expect("Regex is invalid"); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/description_component.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / lazy_static! { [INFO] [stdout] 45 | | static ref CONTEXT_REGEX : Regex = Regex::new(r"^@(?P[^\s]+)").expect("Regex is invalid"); [INFO] [stdout] 46 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/description_component.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | / lazy_static! { [INFO] [stdout] 63 | | static ref KEY_VALUE_REGEX : Regex = Regex::new(r"^(?P[^\s:]+):(?P[^\s:]+)").expect("Regex is invalid"); [INFO] [stdout] 64 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/description_component.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | / ... lazy_static!{ [INFO] [stdout] 81 | | ... static ref NORMAL_TEXT_REGEX : Regex = Regex::new(r"^(?P[^@\+]*?\s|^\s*)(?:(?:@|\+)|[^\s@\+]+:)[^s]").expect("Regex is in... [INFO] [stdout] 82 | | ... } [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parsers.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | static ref DATE_REGEX : Regex = Regex::new(r"^(\d{4})-(\d{2})-(\d{2})").expect("Regex is invalid"); [INFO] [stdout] 23 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskTokens` is never constructed [INFO] [stdout] --> src/tokens.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TaskTokens { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Tokenizer` is never used [INFO] [stdout] --> src/tokens.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Tokenizer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/description_component.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | fn parse(input: &str) -> Option> { [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 25 | fn parse(input: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/description_component.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | fn parse(input: &str) -> Option> { [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 43 | fn parse(input: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/description_component.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | fn parse(input: &str) -> Option> { [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 61 | fn parse(input: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/description_component.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | fn parse(input: &str) -> Option> { [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 79 | fn parse(input: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/description_component.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | fn parse(input: &str) -> Option> { [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 110 | fn parse(input: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/description_component.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | fn parse(input: &str) -> Option> { [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 123 | fn parse(input: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parsers.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse(input: &str) -> Option>; [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 12 | fn parse(input: &str) -> Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parsers.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | fn parse(input: &str) -> Option> { [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 20 | fn parse(input: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parsers.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | fn parse(input: &str) -> Option> { [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 49 | fn parse(input: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.19s [INFO] running `Command { std: "docker" "inspect" "ced50f92d3eb3d54f15dd8c19d4e9d6837e4c072daa0710688110315ea4b7d77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ced50f92d3eb3d54f15dd8c19d4e9d6837e4c072daa0710688110315ea4b7d77", kill_on_drop: false }` [INFO] [stdout] ced50f92d3eb3d54f15dd8c19d4e9d6837e4c072daa0710688110315ea4b7d77 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c6228e411b0760f763ff89d1b82b3681daa96effb17e1557bc05bbac6306bb4 [INFO] running `Command { std: "docker" "start" "-a" "2c6228e411b0760f763ff89d1b82b3681daa96effb17e1557bc05bbac6306bb4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rustodo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/tokens.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | / ... lazy_static! { [INFO] [stdout] 19 | | ... static ref TOKENS_REGEX: Regex = Regex::new(r"^(?Px )?(?P\([A-Z]\) )?(?P\d{4}-\d{2}-\d{2} )?(?... [INFO] [stdout] 20 | | ... } [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/description_component.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref PROJECT_REGEX : Regex = Regex::new(r"^\+(?P[^\s]+)").expect("Regex is invalid"); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/description_component.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / lazy_static! { [INFO] [stdout] 45 | | static ref CONTEXT_REGEX : Regex = Regex::new(r"^@(?P[^\s]+)").expect("Regex is invalid"); [INFO] [stdout] 46 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/description_component.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | / lazy_static! { [INFO] [stdout] 63 | | static ref KEY_VALUE_REGEX : Regex = Regex::new(r"^(?P[^\s:]+):(?P[^\s:]+)").expect("Regex is invalid"); [INFO] [stdout] 64 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/description_component.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | / ... lazy_static!{ [INFO] [stdout] 81 | | ... static ref NORMAL_TEXT_REGEX : Regex = Regex::new(r"^(?P[^@\+]*?\s|^\s*)(?:(?:@|\+)|[^\s@\+]+:)[^s]").expect("Regex is in... [INFO] [stdout] 82 | | ... } [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parsers.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | static ref DATE_REGEX : Regex = Regex::new(r"^(\d{4})-(\d{2})-(\d{2})").expect("Regex is invalid"); [INFO] [stdout] 23 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskTokens` is never constructed [INFO] [stdout] --> src/tokens.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TaskTokens { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Tokenizer` is never used [INFO] [stdout] --> src/tokens.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Tokenizer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/description_component.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | fn parse(input: &str) -> Option> { [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 25 | fn parse(input: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/description_component.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | fn parse(input: &str) -> Option> { [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 43 | fn parse(input: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/description_component.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | fn parse(input: &str) -> Option> { [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 61 | fn parse(input: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/description_component.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | fn parse(input: &str) -> Option> { [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 79 | fn parse(input: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/description_component.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | fn parse(input: &str) -> Option> { [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 110 | fn parse(input: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/description_component.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | fn parse(input: &str) -> Option> { [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 123 | fn parse(input: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parsers.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse(input: &str) -> Option>; [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 12 | fn parse(input: &str) -> Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parsers.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | fn parse(input: &str) -> Option> { [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 20 | fn parse(input: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parsers.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | fn parse(input: &str) -> Option> { [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 49 | fn parse(input: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/tokens.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | / ... lazy_static! { [INFO] [stdout] 19 | | ... static ref TOKENS_REGEX: Regex = Regex::new(r"^(?Px )?(?P\([A-Z]\) )?(?P\d{4}-\d{2}-\d{2} )?(?... [INFO] [stdout] 20 | | ... } [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/description_component.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref PROJECT_REGEX : Regex = Regex::new(r"^\+(?P[^\s]+)").expect("Regex is invalid"); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/description_component.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / lazy_static! { [INFO] [stdout] 45 | | static ref CONTEXT_REGEX : Regex = Regex::new(r"^@(?P[^\s]+)").expect("Regex is invalid"); [INFO] [stdout] 46 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/description_component.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | / lazy_static! { [INFO] [stdout] 63 | | static ref KEY_VALUE_REGEX : Regex = Regex::new(r"^(?P[^\s:]+):(?P[^\s:]+)").expect("Regex is invalid"); [INFO] [stdout] 64 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/description_component.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | / ... lazy_static!{ [INFO] [stdout] 81 | | ... static ref NORMAL_TEXT_REGEX : Regex = Regex::new(r"^(?P[^@\+]*?\s|^\s*)(?:(?:@|\+)|[^\s@\+]+:)[^s]").expect("Regex is in... [INFO] [stdout] 82 | | ... } [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parsers.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | static ref DATE_REGEX : Regex = Regex::new(r"^(\d{4})-(\d{2})-(\d{2})").expect("Regex is invalid"); [INFO] [stdout] 23 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/task.rs:193:65 [INFO] [stdout] | [INFO] [stdout] 193 | assert!(task.set_completed_at(Some(Utc::now().date())), false); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 193 | assert!(task.set_completed_at(Some(Utc::now().date())), "{}", false); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/task.rs:200:65 [INFO] [stdout] | [INFO] [stdout] 200 | assert!(task.set_completed_at(Some(Utc::now().date())), false); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 200 | assert!(task.set_completed_at(Some(Utc::now().date())), "{}", false); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/description_component.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | fn parse(input: &str) -> Option> { [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 25 | fn parse(input: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/description_component.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | fn parse(input: &str) -> Option> { [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 43 | fn parse(input: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/description_component.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | fn parse(input: &str) -> Option> { [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 61 | fn parse(input: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/description_component.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | fn parse(input: &str) -> Option> { [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 79 | fn parse(input: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/description_component.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | fn parse(input: &str) -> Option> { [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 110 | fn parse(input: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/description_component.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | fn parse(input: &str) -> Option> { [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 123 | fn parse(input: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parsers.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse(input: &str) -> Option>; [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 12 | fn parse(input: &str) -> Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parsers.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | fn parse(input: &str) -> Option> { [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 20 | fn parse(input: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parsers.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | fn parse(input: &str) -> Option> { [INFO] [stdout] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 49 | fn parse(input: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.70s [INFO] running `Command { std: "docker" "inspect" "2c6228e411b0760f763ff89d1b82b3681daa96effb17e1557bc05bbac6306bb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c6228e411b0760f763ff89d1b82b3681daa96effb17e1557bc05bbac6306bb4", kill_on_drop: false }` [INFO] [stdout] 2c6228e411b0760f763ff89d1b82b3681daa96effb17e1557bc05bbac6306bb4 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 287dd75a3b49cdf5a14dfa2d1dd7ff93c2fae25829cd5a6e9b7f40aba079746d [INFO] running `Command { std: "docker" "start" "-a" "287dd75a3b49cdf5a14dfa2d1dd7ff93c2fae25829cd5a6e9b7f40aba079746d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/tokens.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | / ... lazy_static! { [INFO] [stderr] 19 | | ... static ref TOKENS_REGEX: Regex = Regex::new(r"^(?Px )?(?P\([A-Z]\) )?(?P\d{4}-\d{2}-\d{2} )?(?... [INFO] [stderr] 20 | | ... } [INFO] [stderr] | |_______^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/description_component.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | / lazy_static! { [INFO] [stderr] 27 | | static ref PROJECT_REGEX : Regex = Regex::new(r"^\+(?P[^\s]+)").expect("Regex is invalid"); [INFO] [stderr] 28 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/description_component.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | / lazy_static! { [INFO] [stderr] 45 | | static ref CONTEXT_REGEX : Regex = Regex::new(r"^@(?P[^\s]+)").expect("Regex is invalid"); [INFO] [stderr] 46 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/description_component.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | / lazy_static! { [INFO] [stderr] 63 | | static ref KEY_VALUE_REGEX : Regex = Regex::new(r"^(?P[^\s:]+):(?P[^\s:]+)").expect("Regex is invalid"); [INFO] [stderr] 64 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/description_component.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 80 | / ... lazy_static!{ [INFO] [stderr] 81 | | ... static ref NORMAL_TEXT_REGEX : Regex = Regex::new(r"^(?P[^@\+]*?\s|^\s*)(?:(?:@|\+)|[^\s@\+]+:)[^s]").expect("Regex is in... [INFO] [stderr] 82 | | ... } [INFO] [stderr] | |_______^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/parsers.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | static ref DATE_REGEX : Regex = Regex::new(r"^(\d{4})-(\d{2})-(\d{2})").expect("Regex is invalid"); [INFO] [stderr] 23 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `TaskTokens` is never constructed [INFO] [stderr] --> src/tokens.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct TaskTokens { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait `Tokenizer` is never used [INFO] [stderr] --> src/tokens.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | pub trait Tokenizer { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/description_component.rs:25:21 [INFO] [stderr] | [INFO] [stderr] 25 | fn parse(input: &str) -> Option> { [INFO] [stderr] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 25 | fn parse(input: &str) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/description_component.rs:43:21 [INFO] [stderr] | [INFO] [stderr] 43 | fn parse(input: &str) -> Option> { [INFO] [stderr] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 43 | fn parse(input: &str) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/description_component.rs:61:21 [INFO] [stderr] | [INFO] [stderr] 61 | fn parse(input: &str) -> Option> { [INFO] [stderr] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 61 | fn parse(input: &str) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/description_component.rs:79:21 [INFO] [stderr] | [INFO] [stderr] 79 | fn parse(input: &str) -> Option> { [INFO] [stderr] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 79 | fn parse(input: &str) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/description_component.rs:110:21 [INFO] [stderr] | [INFO] [stderr] 110 | fn parse(input: &str) -> Option> { [INFO] [stderr] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 110 | fn parse(input: &str) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/description_component.rs:123:21 [INFO] [stderr] | [INFO] [stderr] 123 | fn parse(input: &str) -> Option> { [INFO] [stderr] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 123 | fn parse(input: &str) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parsers.rs:12:21 [INFO] [stderr] | [INFO] [stderr] 12 | fn parse(input: &str) -> Option>; [INFO] [stderr] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 12 | fn parse(input: &str) -> Option>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parsers.rs:20:21 [INFO] [stderr] | [INFO] [stderr] 20 | fn parse(input: &str) -> Option> { [INFO] [stderr] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 20 | fn parse(input: &str) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parsers.rs:49:21 [INFO] [stderr] | [INFO] [stderr] 49 | fn parse(input: &str) -> Option> { [INFO] [stderr] | ^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 49 | fn parse(input: &str) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `rustodo` (lib) generated 17 warnings [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/task.rs:193:65 [INFO] [stderr] | [INFO] [stderr] 193 | assert!(task.set_completed_at(Some(Utc::now().date())), false); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 193 | assert!(task.set_completed_at(Some(Utc::now().date())), "{}", false); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/task.rs:200:65 [INFO] [stderr] | [INFO] [stderr] 200 | assert!(task.set_completed_at(Some(Utc::now().date())), false); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 200 | assert!(task.set_completed_at(Some(Utc::now().date())), "{}", false); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `rustodo` (lib test) generated 17 warnings (15 duplicates) (run `cargo fix --lib -p rustodo --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustodo-7094026b2d4a79ce) [INFO] [stdout] [INFO] [stdout] running 55 tests [INFO] [stdout] test description_component::tests::context_parser_should_not_parse_non_contexts ... ok [INFO] [stdout] test description_component::tests::project_parser_should_parse_projects ... ok [INFO] [stdout] test description_component::tests::key_value_parser_should_not_parse_non_contexts ... ok [INFO] [stdout] test description_component::tests::key_value_parser_should_parse_key_values ... ok [INFO] [stdout] test description_component::tests::project_parser_should_not_parse_non_projects ... ok [INFO] [stdout] test description_component::tests::text_parser_should_parse_space_before_context ... ok [INFO] [stdout] test description_component::tests::text_parser_should_parse_space_before_key_value ... ok [INFO] [stdout] test description_component::tests::components_can_be_converted_to_string ... ok [INFO] [stdout] test description_component::tests::text_parser_should_parse_text_before_key_value ... ok [INFO] [stdout] test description_component::tests::text_parser_should_parse_text_before_context ... ok [INFO] [stdout] test description_component::tests::context_parser_should_parse_contexts ... ok [INFO] [stdout] test description_component::tests::text_parser_should_parse_space_before_project ... ok [INFO] [stdout] test description_component::tests::components_extractor_should_extract_components_from_description ... ok [INFO] [stdout] test description_component::tests::text_parser_should_not_parse_text_when_it_starts_with_a_tag ... ok [INFO] [stdout] test description_component::tests::text_parser_should_not_parse_empty_string ... ok [INFO] [stdout] test parsers::tests::completion_mark_parse_should_parse_empty_string ... ok [INFO] [stdout] test parsers::tests::completion_mark_parser_should_parse_completion_marks ... ok [INFO] [stdout] test parsers::tests::completion_mark_parse_should_parse_with_space ... ok [INFO] [stdout] test task::tests::can_create_task ... ok [INFO] [stdout] test task::tests::can_get_description_without_to_string ... ok [INFO] [stdout] test parsers::tests::dateparser_should_handle_limits ... ok [INFO] [stdout] test task::tests::can_not_reset_creation_date_if_completion_date_is_set ... ok [INFO] [stdout] test task::tests::chrono_can_parse_dates ... ok [INFO] [stdout] test parsers::tests::should_not_parse_with_prefix ... ok [INFO] [stdout] test description_component::tests::text_parser_should_parse_text_before_project ... ok [INFO] [stdout] test parsers::tests::completion_mark_parse_should_parse_uncompleted ... ok [INFO] [stdout] test parsers::tests::completion_mark_parser_should_parse_completion_marks_before_text ... ok [INFO] [stdout] test task::tests::can_set_dates_to_none_in_correct_order ... ok [INFO] [stdout] test task::tests::created_at_can_be_set_to_date_time ... ok [INFO] [stdout] test task::tests::completed_at_can_be_set_to_datetime ... ok [INFO] [stdout] test task::tests::get_components_and_their_position_in_the_description ... ok [INFO] [stdout] test description_component::tests::text_parser_should_parse_text_without_tags ... ok [INFO] [stdout] test task::tests::description_is_not_altered_by_other_values ... ok [INFO] [stdout] test task::tests::completed_at_cannot_be_set_without_created_at ... ok [INFO] [stdout] test task::tests::description_can_be_set ... ok [INFO] [stdout] test parsers::tests::should_parse_digit_sequence ... ok [INFO] [stdout] test task::tests::print_completed_task_with_both_dates ... ok [INFO] [stdout] test task::tests::print_completed_task_without_completion_date ... ok [INFO] [stdout] test task::tests::print_task_with_just_description ... ok [INFO] [stdout] test tokens::tests::learning_test_tokens_work ... ignored [INFO] [stdout] test task::tests::print_uncompleted_task_with_creation_date ... ok [INFO] [stdout] test task::tests::print_completed_task ... ok [INFO] [stdout] test task::tests::print_uncompleted_task_with_priority ... ok [INFO] [stdout] test task::tests::setting_the_description_parses_tags ... ok [INFO] [stdout] test tokens::tests::tokens_completed_task_priority_and_description ... ok [INFO] [stdout] test tokens::tests::tokens_completed_task_full ... ok [INFO] [stdout] test tokens::tests::tokens_completed_task_just_description ... ok [INFO] [stdout] test tokens::tests::tokens_completed_task_priority_description_and_creation_date ... ok [INFO] [stdout] test tokens::tests::tokens_uncompleted_task_full ... ok [INFO] [stdout] test tokens::tests::tokens_uncompleted_task_just_description ... ok [INFO] [stdout] test tokens::tests::tokens_completed_task_description_with_tags ... ok [INFO] [stdout] test tokens::tests::tokens_uncompleted_task_description_with_tags ... ok [INFO] [stdout] test task::tests::new_task_should_parse_completion_marker ... ok [INFO] [stdout] test task::tests::print_completed_task_with_both_dates_and_priority ... ok [INFO] [stdout] test tokens::tests::tokens_uncompleted_task_priority_and_description ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 54 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Doc-tests rustodo [INFO] [stdout] [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] running `Command { std: "docker" "inspect" "287dd75a3b49cdf5a14dfa2d1dd7ff93c2fae25829cd5a6e9b7f40aba079746d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "287dd75a3b49cdf5a14dfa2d1dd7ff93c2fae25829cd5a6e9b7f40aba079746d", kill_on_drop: false }` [INFO] [stdout] 287dd75a3b49cdf5a14dfa2d1dd7ff93c2fae25829cd5a6e9b7f40aba079746d