[INFO] cloning repository https://github.com/clippingkk/core [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/clippingkk/core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclippingkk%2Fcore", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclippingkk%2Fcore'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8bf2e50e68dcda5fad5cbcff22e2d6ec2c4462d5 [INFO] testing clippingkk/core against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclippingkk%2Fcore" "/workspace/builds/worker-36/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-36/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/clippingkk/core on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/clippingkk/core [INFO] finished tweaking git repo https://github.com/clippingkk/core [INFO] tweaked toml for git repo https://github.com/clippingkk/core written to /workspace/builds/worker-36/source/Cargo.toml [INFO] crate git repo https://github.com/clippingkk/core already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1aee2ab93015580043161eea7a93178955097ca21c132971e3c83136ed11ab44 [INFO] running `Command { std: "docker" "start" "-a" "1aee2ab93015580043161eea7a93178955097ca21c132971e3c83136ed11ab44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1aee2ab93015580043161eea7a93178955097ca21c132971e3c83136ed11ab44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aee2ab93015580043161eea7a93178955097ca21c132971e3c83136ed11ab44", kill_on_drop: false }` [INFO] [stdout] 1aee2ab93015580043161eea7a93178955097ca21c132971e3c83136ed11ab44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9168878ab44057a3cc081c1f7ba584a31cacf20564cfae3c04aadbab483dc31 [INFO] running `Command { std: "docker" "start" "-a" "e9168878ab44057a3cc081c1f7ba584a31cacf20564cfae3c04aadbab483dc31", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling ck-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser_base.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | Err(e) => return Utc.timestamp(0, 0), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/parser_base.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | let m = self.location_regexp.shortest_match(theLocationStr); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut result: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `lang_en_checker` should have an upper case name [INFO] [stdout] --> src/parser.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const lang_en_checker: &str = "Your Highlight on"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `LANG_EN_CHECKER` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `lang_zh_checker` should have an upper case name [INFO] [stdout] --> src/parser.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const lang_zh_checker: &str = "您在"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `LANG_ZH_CHECKER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `regexHead` should have a snake case name [INFO] [stdout] --> src/parser_base.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | let regexHead = Regex::new(r"^(,|。|!|@|【】|——)+").unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `regex_head` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `regexTail` should have a snake case name [INFO] [stdout] --> src/parser_base.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | let regexTail = Regex::new(r"(,|。|!|@|【】|——)+$").unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `regex_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `theDateStr` should have a snake case name [INFO] [stdout] --> src/parser_base.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | let theDateStr = arr.last().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `the_date_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `theLocationStr` should have a snake case name [INFO] [stdout] --> src/parser_base.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | let theLocationStr = arr.first().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `the_location_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pageAtStr` should have a snake case name [INFO] [stdout] --> src/parser_base.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | let pageAtStr = cc.get(cc.len() - 1).unwrap().as_str(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `page_at_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "e9168878ab44057a3cc081c1f7ba584a31cacf20564cfae3c04aadbab483dc31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9168878ab44057a3cc081c1f7ba584a31cacf20564cfae3c04aadbab483dc31", kill_on_drop: false }` [INFO] [stdout] e9168878ab44057a3cc081c1f7ba584a31cacf20564cfae3c04aadbab483dc31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 962075b01a915fdaecabfe6c9babe65f55cb965b27ab7086779b9eddadcb83e7 [INFO] running `Command { std: "docker" "start" "-a" "962075b01a915fdaecabfe6c9babe65f55cb965b27ab7086779b9eddadcb83e7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling ck-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser_base.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | Err(e) => return Utc.timestamp(0, 0), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/parser_base.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | let m = self.location_regexp.shortest_match(theLocationStr); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut result: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `lang_en_checker` should have an upper case name [INFO] [stdout] --> src/parser.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const lang_en_checker: &str = "Your Highlight on"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `LANG_EN_CHECKER` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `lang_zh_checker` should have an upper case name [INFO] [stdout] --> src/parser.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const lang_zh_checker: &str = "您在"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `LANG_ZH_CHECKER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `regexHead` should have a snake case name [INFO] [stdout] --> src/parser_base.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | let regexHead = Regex::new(r"^(,|。|!|@|【】|——)+").unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `regex_head` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `regexTail` should have a snake case name [INFO] [stdout] --> src/parser_base.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | let regexTail = Regex::new(r"(,|。|!|@|【】|——)+$").unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `regex_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `theDateStr` should have a snake case name [INFO] [stdout] --> src/parser_base.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | let theDateStr = arr.last().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `the_date_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `theLocationStr` should have a snake case name [INFO] [stdout] --> src/parser_base.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | let theLocationStr = arr.first().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `the_location_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pageAtStr` should have a snake case name [INFO] [stdout] --> src/parser_base.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | let pageAtStr = cc.get(cc.len() - 1).unwrap().as_str(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `page_at_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> tests/parser_test.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | println!(d); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 18 | println!("{}", d); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ck-core` due to 4 previous errors [INFO] [stdout] error[E0432]: unresolved import `crate::parser` [INFO] [stdout] --> tests/parser_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::parser; [INFO] [stdout] | ^^^^^^^^^^^^^ no `parser` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `parse_from_string` in this scope [INFO] [stdout] --> tests/parser_test.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | let d = parse_from_string(data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser_base.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | Err(e) => return Utc.timestamp(0, 0), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/parser_base.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | let m = self.location_regexp.shortest_match(theLocationStr); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut result: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `lang_en_checker` should have an upper case name [INFO] [stdout] --> src/parser.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const lang_en_checker: &str = "Your Highlight on"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `LANG_EN_CHECKER` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `lang_zh_checker` should have an upper case name [INFO] [stdout] --> src/parser.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const lang_zh_checker: &str = "您在"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `LANG_ZH_CHECKER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `regexHead` should have a snake case name [INFO] [stdout] --> src/parser_base.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | let regexHead = Regex::new(r"^(,|。|!|@|【】|——)+").unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `regex_head` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `regexTail` should have a snake case name [INFO] [stdout] --> src/parser_base.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | let regexTail = Regex::new(r"(,|。|!|@|【】|——)+$").unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `regex_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `theDateStr` should have a snake case name [INFO] [stdout] --> src/parser_base.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | let theDateStr = arr.last().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `the_date_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `theLocationStr` should have a snake case name [INFO] [stdout] --> src/parser_base.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | let theLocationStr = arr.first().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `the_location_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pageAtStr` should have a snake case name [INFO] [stdout] --> src/parser_base.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | let pageAtStr = cc.get(cc.len() - 1).unwrap().as_str(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `page_at_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "962075b01a915fdaecabfe6c9babe65f55cb965b27ab7086779b9eddadcb83e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "962075b01a915fdaecabfe6c9babe65f55cb965b27ab7086779b9eddadcb83e7", kill_on_drop: false }` [INFO] [stdout] 962075b01a915fdaecabfe6c9babe65f55cb965b27ab7086779b9eddadcb83e7