[INFO] cloning repository https://github.com/problame/rspamd-logparser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/problame/rspamd-logparser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproblame%2Frspamd-logparser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproblame%2Frspamd-logparser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fedab837539a3e42db189280ffe0d8a8ff5b1043 [INFO] checking problame/rspamd-logparser against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproblame%2Frspamd-logparser" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/problame/rspamd-logparser on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/problame/rspamd-logparser [INFO] finished tweaking git repo https://github.com/problame/rspamd-logparser [INFO] tweaked toml for git repo https://github.com/problame/rspamd-logparser written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/problame/rspamd-logparser already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b161f981db8fd91699c421c79ef615ee23327ca07cdfe04156fe96ae0d867827 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b161f981db8fd91699c421c79ef615ee23327ca07cdfe04156fe96ae0d867827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b161f981db8fd91699c421c79ef615ee23327ca07cdfe04156fe96ae0d867827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b161f981db8fd91699c421c79ef615ee23327ca07cdfe04156fe96ae0d867827", kill_on_drop: false }` [INFO] [stdout] b161f981db8fd91699c421c79ef615ee23327ca07cdfe04156fe96ae0d867827 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b84b4d4093dc019b0c66225b2c4b68f50084fd57b1dd4581d0e0574c072cb6a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6b84b4d4093dc019b0c66225b2c4b68f50084fd57b1dd4581d0e0574c072cb6a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.7 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Checking smallvec v0.6.7 [INFO] [stderr] Checking phf v0.7.23 [INFO] [stderr] Checking smallstr v0.1.0 [INFO] [stderr] Compiling nix v0.7.0 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Checking dirs v1.0.4 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking nom v4.1.1 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling terminfo v0.6.1 [INFO] [stderr] Checking env_logger v0.6.0 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Checking failure v0.1.3 [INFO] [stderr] Checking mortal v0.1.5 [INFO] [stderr] Checking linefeed v0.5.4 [INFO] [stderr] Checking rspamd-logparser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `env_logger` is imported redundantly [INFO] [stdout] --> src/main.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use env_logger; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:79:39 [INFO] [stdout] | [INFO] [stdout] 79 | fn write_repl_search_result(out: &mut std::io::Write, id: &str, span: &RspamdSpan) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::io::Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `env_logger` is imported redundantly [INFO] [stdout] --> src/main.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use env_logger; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:79:39 [INFO] [stdout] | [INFO] [stdout] 79 | fn write_repl_search_result(out: &mut std::io::Write, id: &str, span: &RspamdSpan) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::io::Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | writeln!(out, "log span: {}", id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | writeln!(out, "Combined Metadata:"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | print_metadata!(&parse.metadata_items); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | print_metadata!(&result.metadata_items); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | writeln!(out, "Symbols:"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | writeln!(out, " {: >5.2}\t{}\t{}", sym.score, sym.name, sym.info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `linestructure` should have an upper case name [INFO] [stdout] --> src/main.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | re!(linestructure, r".*<(?P.*)>; task; rspamd_message_parse: loaded message; (?P.*)"); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `LINESTRUCTURE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `linestructure` should have an upper case name [INFO] [stdout] --> src/main.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | linestructure, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `LINESTRUCTURE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `item_structure` should have an upper case name [INFO] [stdout] --> src/main.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | item_structure, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ITEM_STRUCTURE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `sym_regex` should have an upper case name [INFO] [stdout] --> src/main.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | re!(sym_regex, r"(?P.*)\((?P.*)\)\{(?P.*)\}$"); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `SYM_REGEX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | writeln!(out, "log span: {}", id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | writeln!(out, "Combined Metadata:"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | print_metadata!(&parse.metadata_items); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | print_metadata!(&result.metadata_items); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | writeln!(out, "Symbols:"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | writeln!(out, " {: >5.2}\t{}\t{}", sym.score, sym.name, sym.info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `linestructure` should have an upper case name [INFO] [stdout] --> src/main.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | re!(linestructure, r".*<(?P.*)>; task; rspamd_message_parse: loaded message; (?P.*)"); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `LINESTRUCTURE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `linestructure` should have an upper case name [INFO] [stdout] --> src/main.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | linestructure, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `LINESTRUCTURE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `item_structure` should have an upper case name [INFO] [stdout] --> src/main.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | item_structure, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ITEM_STRUCTURE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `sym_regex` should have an upper case name [INFO] [stdout] --> src/main.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | re!(sym_regex, r"(?P.*)\((?P.*)\)\{(?P.*)\}$"); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `SYM_REGEX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.51s [INFO] running `Command { std: "docker" "inspect" "6b84b4d4093dc019b0c66225b2c4b68f50084fd57b1dd4581d0e0574c072cb6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b84b4d4093dc019b0c66225b2c4b68f50084fd57b1dd4581d0e0574c072cb6a", kill_on_drop: false }` [INFO] [stdout] 6b84b4d4093dc019b0c66225b2c4b68f50084fd57b1dd4581d0e0574c072cb6a