[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#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproblame%2Frspamd-logparser" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/problame/rspamd-logparser on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallstr v0.1.0 [INFO] [stderr] Downloaded linefeed v0.5.4 [INFO] [stderr] Downloaded mortal v0.1.5 [INFO] [stderr] Downloaded terminfo v0.6.1 [INFO] [stderr] Downloaded nix v0.7.0 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15a329b4ca0d8b49dc67a6d6b7f6cea9f3f65bc6200ec069dbfa5f5b2eb8a74e [INFO] running `Command { std: "docker" "start" "-a" "15a329b4ca0d8b49dc67a6d6b7f6cea9f3f65bc6200ec069dbfa5f5b2eb8a74e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15a329b4ca0d8b49dc67a6d6b7f6cea9f3f65bc6200ec069dbfa5f5b2eb8a74e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15a329b4ca0d8b49dc67a6d6b7f6cea9f3f65bc6200ec069dbfa5f5b2eb8a74e", kill_on_drop: false }` [INFO] [stdout] 15a329b4ca0d8b49dc67a6d6b7f6cea9f3f65bc6200ec069dbfa5f5b2eb8a74e [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e05352f91cb386507cc07d684496d7ed8b1ca2887743cc21a457d88267bb1aea [INFO] running `Command { std: "docker" "start" "-a" "e05352f91cb386507cc07d684496d7ed8b1ca2887743cc21a457d88267bb1aea", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling version_check v0.1.5 [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] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking phf v0.7.23 [INFO] [stderr] Checking smallvec v0.6.7 [INFO] [stderr] Compiling nix v0.7.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Checking smallstr v0.1.0 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Checking nom v4.1.1 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking unicode-width v0.1.5 [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 humantime v1.2.0 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Checking dirs v1.0.4 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Compiling terminfo v0.6.1 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Checking env_logger v0.6.0 [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: 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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 79 | fn write_repl_search_result(out: &mut dyn std::io::Write, id: &str, span: &RspamdSpan) { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 79 | fn write_repl_search_result(out: &mut dyn std::io::Write, id: &str, span: &RspamdSpan) { [INFO] [stdout] | +++ [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (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 the macro `writeln` (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 the macro `writeln` which comes from the expansion of the macro `print_metadata` (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 the macro `writeln` which comes from the expansion of the macro `print_metadata` (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 the macro `writeln` (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 the macro `writeln` (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: 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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (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 the macro `writeln` (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 the macro `writeln` which comes from the expansion of the macro `print_metadata` (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 the macro `writeln` which comes from the expansion of the macro `print_metadata` (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 the macro `writeln` (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 the macro `writeln` (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: 11 warnings emitted [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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0, nom v4.1.1, terminfo v0.6.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e05352f91cb386507cc07d684496d7ed8b1ca2887743cc21a457d88267bb1aea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e05352f91cb386507cc07d684496d7ed8b1ca2887743cc21a457d88267bb1aea", kill_on_drop: false }` [INFO] [stdout] e05352f91cb386507cc07d684496d7ed8b1ca2887743cc21a457d88267bb1aea [INFO] checking problame/rspamd-logparser against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproblame%2Frspamd-logparser" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/problame/rspamd-logparser on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42eff60e758cae093edea85fa0ab422d360627c261b0a3ef3f331e06eef2c58c [INFO] running `Command { std: "docker" "start" "-a" "42eff60e758cae093edea85fa0ab422d360627c261b0a3ef3f331e06eef2c58c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42eff60e758cae093edea85fa0ab422d360627c261b0a3ef3f331e06eef2c58c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42eff60e758cae093edea85fa0ab422d360627c261b0a3ef3f331e06eef2c58c", kill_on_drop: false }` [INFO] [stdout] 42eff60e758cae093edea85fa0ab422d360627c261b0a3ef3f331e06eef2c58c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 655608d86d26e98224ec4d63c53f3d0893b8634ae8649464d1a373c4aa5e1d55 [INFO] running `Command { std: "docker" "start" "-a" "655608d86d26e98224ec4d63c53f3d0893b8634ae8649464d1a373c4aa5e1d55", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling version_check v0.1.5 [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] Compiling semver v0.1.20 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking smallvec v0.6.7 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking phf v0.7.23 [INFO] [stderr] Compiling nix v0.7.0 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Checking smallstr v0.1.0 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking nom v4.1.1 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking unicode-normalization v0.1.7 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking dirs v1.0.4 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking termcolor v1.0.4 [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 backtrace v0.3.9 [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: 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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 79 | fn write_repl_search_result(out: &mut dyn std::io::Write, id: &str, span: &RspamdSpan) { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 79 | fn write_repl_search_result(out: &mut dyn std::io::Write, id: &str, span: &RspamdSpan) { [INFO] [stdout] | +++ [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (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 the macro `writeln` (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 the macro `writeln` which comes from the expansion of the macro `print_metadata` (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 the macro `writeln` which comes from the expansion of the macro `print_metadata` (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 the macro `writeln` (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 the macro `writeln` (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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:209:22 [INFO] [stdout] | [INFO] [stdout] 209 | .map(|s| (s, sym_regex.captures(s))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (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 the macro `writeln` (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 the macro `writeln` which comes from the expansion of the macro `print_metadata` (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 the macro `writeln` which comes from the expansion of the macro `print_metadata` (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 the macro `writeln` (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 the macro `writeln` (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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:209:22 [INFO] [stdout] | [INFO] [stdout] 209 | .map(|s| (s, sym_regex.captures(s))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rspamd-logparser` (bin "rspamd-logparser") due to 2 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rspamd-logparser` (bin "rspamd-logparser" test) due to 2 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "655608d86d26e98224ec4d63c53f3d0893b8634ae8649464d1a373c4aa5e1d55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "655608d86d26e98224ec4d63c53f3d0893b8634ae8649464d1a373c4aa5e1d55", kill_on_drop: false }` [INFO] [stdout] 655608d86d26e98224ec4d63c53f3d0893b8634ae8649464d1a373c4aa5e1d55