[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] checking rustodo/rustodo against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustodo%2Frustodo" "/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/rustodo/rustodo on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc1/source/Cargo.toml [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-integer v0.1.38 [INFO] [stderr] Downloaded num-traits v0.2.4 [INFO] [stderr] Downloaded chrono v0.4.3 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc00a0079f559835cd7bcbba82efdf48fed16cd02690cbc8064ce82fc34ac108 [INFO] running `Command { std: "docker" "start" "-a" "fc00a0079f559835cd7bcbba82efdf48fed16cd02690cbc8064ce82fc34ac108", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc00a0079f559835cd7bcbba82efdf48fed16cd02690cbc8064ce82fc34ac108", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc00a0079f559835cd7bcbba82efdf48fed16cd02690cbc8064ce82fc34ac108", kill_on_drop: false }` [INFO] [stdout] fc00a0079f559835cd7bcbba82efdf48fed16cd02690cbc8064ce82fc34ac108 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4452a6c03b5b62aba3363c2efbeaba295a0aae90df1e56038300f1cbffd42ee [INFO] running `Command { std: "docker" "start" "-a" "c4452a6c03b5b62aba3363c2efbeaba295a0aae90df1e56038300f1cbffd42ee", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Checking lazy_static v1.0.1 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking chrono v0.4.3 [INFO] [stderr] Checking rustodo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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 `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 `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 `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 `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 `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: use of deprecated constant `std::sync::ONCE_INIT`: the `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 `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 `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 `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 `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 `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: fields `completed`, `priority`, `first_date`, `second_date`, and `description` are never read [INFO] [stdout] --> src/tokens.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TaskTokens { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 5 | pub completed : Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | pub priority : Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | pub first_date : Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | pub second_date : Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | pub description : String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TaskTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tokenize` is never used [INFO] [stdout] --> src/tokens.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Tokenizer { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 13 | fn tokenize(self) -> Option; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.62s [INFO] running `Command { std: "docker" "inspect" "c4452a6c03b5b62aba3363c2efbeaba295a0aae90df1e56038300f1cbffd42ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4452a6c03b5b62aba3363c2efbeaba295a0aae90df1e56038300f1cbffd42ee", kill_on_drop: false }` [INFO] [stdout] c4452a6c03b5b62aba3363c2efbeaba295a0aae90df1e56038300f1cbffd42ee