[INFO] fetching crate asai 0.1.2... [INFO] checking asai-0.1.2 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate asai 0.1.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate asai 0.1.2 [INFO] finished tweaking crates.io crate asai 0.1.2 [INFO] tweaked toml for crates.io crate asai 0.1.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate asai 0.1.2 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate asai 0.1.2 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bdc962f59bb11b07d06cd3bc94c44ab7d450e982f8d6598148b759d2f4ebcac [INFO] running `Command { std: "docker" "start" "-a" "9bdc962f59bb11b07d06cd3bc94c44ab7d450e982f8d6598148b759d2f4ebcac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bdc962f59bb11b07d06cd3bc94c44ab7d450e982f8d6598148b759d2f4ebcac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bdc962f59bb11b07d06cd3bc94c44ab7d450e982f8d6598148b759d2f4ebcac", kill_on_drop: false }` [INFO] [stdout] 9bdc962f59bb11b07d06cd3bc94c44ab7d450e982f8d6598148b759d2f4ebcac [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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d8adafe2aa32052a982a322c357000a8fd7187ef28120f57ab76d9672aaf56c [INFO] running `Command { std: "docker" "start" "-a" "4d8adafe2aa32052a982a322c357000a8fd7187ef28120f57ab76d9672aaf56c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Compiling asai-macro v0.1.0 [INFO] [stderr] Checking asai v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::structure::FromLine` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::structure::FromLine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::structure::FromLine` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::structure::FromLine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromLine` [INFO] [stdout] --> src/structure/event.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::structure::{FromLine, InvalidValue}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromLine` [INFO] [stdout] --> src/structure/event.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::structure::{FromLine, InvalidValue}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InvalidValue` [INFO] [stdout] --> src/structure/formatted_section.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::structure::{FromLine, FromLines, InvalidValue}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InvalidValue` [INFO] [stdout] --> src/structure/formatted_section.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::structure::{FromLine, FromLines, InvalidValue}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/structure/mod.rs:313:29 [INFO] [stdout] | [INFO] [stdout] 313 | .filter(|(name, value)| *name != "Format") [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse_str(s: &str) -> structure::Ass { [INFO] [stdout] | ^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse_str(s: &str) -> structure::Ass<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/iter/mod.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn parse_str(s: &str) -> Elements { [INFO] [stdout] | ^^^^ --------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn parse_str(s: &str) -> Elements<'_, Lines<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/structure/mod.rs:313:29 [INFO] [stdout] | [INFO] [stdout] 313 | .filter(|(name, value)| *name != "Format") [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse_str(s: &str) -> structure::Ass { [INFO] [stdout] | ^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse_str(s: &str) -> structure::Ass<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/iter/mod.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn parse_str(s: &str) -> Elements { [INFO] [stdout] | ^^^^ --------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn parse_str(s: &str) -> Elements<'_, Lines<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `text` and `custom_field` are never read [INFO] [stdout] --> examples/print-events.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct MyEvent<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | #[name("Text")] [INFO] [stdout] 10 | text: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | custom_field: &'a str [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyEvent` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.89s [INFO] running `Command { std: "docker" "inspect" "4d8adafe2aa32052a982a322c357000a8fd7187ef28120f57ab76d9672aaf56c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d8adafe2aa32052a982a322c357000a8fd7187ef28120f57ab76d9672aaf56c", kill_on_drop: false }` [INFO] [stdout] 4d8adafe2aa32052a982a322c357000a8fd7187ef28120f57ab76d9672aaf56c